/* ==========================================================================
   Encash Gold Buyer - main stylesheet
   Theme: black + gold + cream. Edit the colours in :root to restyle the site.
   ========================================================================== */

:root {
  --ink: #14110d;
  --ink-2: #1f1a12;
  --ink-3: #2c2418;
  --gold: #d4a84b;
  --gold-light: #f0d37a;
  --gold-dark: #a87414;
  --gold-deep: #7a5410;
  --gold-grad: linear-gradient(135deg, #f3d98b 0%, #d4a84b 48%, #b8862b 100%);
  --cream: #faf6ee;
  --cream-2: #f4ecda;
  --line: #e9dfca;
  --text: #2b2620;
  --muted: #6c6457;
  --white: #ffffff;
  --green: #1fa855;
  --success: #1f7a4d;
  --danger: #b3261e;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(20, 17, 13, .06);
  --shadow: 0 12px 34px rgba(20, 17, 13, .10);
  --shadow-lg: 0 28px 60px rgba(20, 17, 13, .22);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); letter-spacing: -.005em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 110px; }
::selection { background: var(--gold-light); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.text-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #231a08; box-shadow: 0 8px 20px rgba(184, 134, 43, .35); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(184, 134, 43, .5); filter: brightness(1.05); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--gold-dark); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .3); }
.btn-wa:hover { background: #178f47; }
.btn-sm { padding: .62rem 1.15rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d8cdb3; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .icon { color: var(--gold); width: 1em; height: 1em; }
.topbar-info a:hover { color: var(--gold-light); }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #d8cdb3; transition: .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }
.topbar-social a { width: 30px; height: 30px; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 17, 13, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-text small { margin-top: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: var(--gold); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; padding: .7rem .95rem; font-weight: 500; font-size: .96rem; color: var(--ink); transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .35rem; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-deep); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.has-sub > .nav-link { padding-right: .4rem; }
.has-sub::after { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); margin-right: .7rem; margin-left: .15rem; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 270px; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: flex; align-items: center; gap: 12px; padding: .7rem .9rem; border-radius: 10px; font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.submenu a .icon { color: var(--gold-dark); }
.submenu a:hover, .submenu a[aria-current] { background: var(--cream); color: var(--gold-deep); }
.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: none; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.header-phone .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--cream-2); color: var(--gold-deep); }
.header-phone small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Toast (form messages) ---------- */
.toast { position: fixed; z-index: 120; top: 96px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: min(92vw, 560px); padding: 14px 18px; border-radius: 12px; color: #fff; font-weight: 500; box-shadow: var(--shadow-lg); animation: toastIn .4s ease; }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-close { flex: none; background: transparent; border: 0; color: #fff; display: grid; place-items: center; opacity: .8; padding: 2px; }
.toast-close:hover { opacity: 1; }
.toast.is-hiding { opacity: 0; transform: translate(-50%, -10px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: radial-gradient(900px 400px at 85% 0, rgba(212, 168, 75, .16), transparent 60%), linear-gradient(160deg, #100d09, #1f1a12); color: #d9ceb4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p { color: #c9bd9f; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.section-dark .eyebrow { color: var(--gold); }
.section-cta { text-align: center; margin-top: 44px; }
.lead { font-size: 1.12rem; color: var(--muted); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse > :first-child { order: 2; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 84px 0 150px;
  background:
    radial-gradient(900px 480px at 88% 0, rgba(212, 168, 75, .3), transparent 62%),
    radial-gradient(640px 380px at 0 100%, rgba(212, 168, 75, .16), transparent 62%),
    linear-gradient(135deg, #0e0c09 0%, #1d1710 55%, #2a2012 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4l24 24-24 24L4 28z' fill='none' stroke='%23f0d37a' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-lead { font-size: 1.12rem; color: #d9ceb4; max-width: 560px; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 500; color: #f1e6c9; }
.hero-points .icon { color: var(--gold); width: 1.2em; height: 1.2em; stroke-width: 2.4; }

.quote-card { background: #fff; color: var(--text); border-radius: 22px; padding: 30px; border-top: 5px solid var(--gold); box-shadow: var(--shadow-lg); }
.quote-card h2 { font-size: 1.65rem; margin-bottom: .2em; }
.quote-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.3em; }
.quote-alt { margin: 16px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.quote-alt a { color: var(--green); font-weight: 700; }
.quote-alt a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 3; margin-top: -78px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.icon-badge { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-grad); color: #231a08; box-shadow: 0 6px 14px rgba(184, 134, 43, .3); }
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.trust-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 2px 0 4px; }
.trust-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- About / split visuals ---------- */
.about-visual { position: relative; border-radius: 28px; padding: 22px; background: linear-gradient(145deg, var(--cream-2), #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: auto; }
.about-badge { position: absolute; left: 26px; bottom: -26px; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 14px 20px 14px 14px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-badge .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.about-badge strong { display: block; font-size: .95rem; line-height: 1.2; }
.about-badge span { font-size: .8rem; color: #cbbd99; }
.check-list { margin: 0 0 1.6em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231a08' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--gold-grad);
  box-shadow: 0 3px 8px rgba(184, 134, 43, .3);
}
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }

/* ---------- Service cards ---------- */
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-badge { margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-deep); font-size: .95rem; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover .icon, .service-card:hover .link-arrow .icon { transform: translateX(5px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 12px; counter-increment: step; }
.step-num { position: relative; z-index: 1; width: 84px; height: 84px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--gold-deep); box-shadow: 0 0 0 8px var(--cream-2), var(--shadow-sm); }
.step-num .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.step-num::after { content: counter(step); position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 42px; left: calc(50% + 62px); width: calc(100% - 124px + 30px); border-top: 2px dashed var(--gold); opacity: .55; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }
.section-alt .step-num { box-shadow: 0 0 0 8px #fff, var(--shadow-sm); }

/* ---------- Calculator ---------- */
.calc-wrap { background: #fff; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.calc { display: grid; grid-template-columns: 1.15fr .85fr; }
.calc-fields { padding: 38px; display: grid; gap: 20px; align-content: center; }
.calc-result { padding: 38px; color: #e7dcc0; background: radial-gradient(400px 220px at 100% 0, rgba(212, 168, 75, .3), transparent 65%), linear-gradient(160deg, #14110d, #2c2418); display: flex; flex-direction: column; justify-content: center; }
.calc-label { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.calc-amount { font-family: var(--font-head); font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1.15; margin: 6px 0 4px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-word; }
.calc-detail { font-size: .95rem; color: #cdbf9d; min-height: 3em; }
.calc-note { margin: 16px 0 0; font-size: .8rem; color: #a99d82; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.calc-fields .field, .form-row .field { margin-bottom: 0; }
.form-row { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; font-size: 1rem; background: #fff; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c6457' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 2.6rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a39b8c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 75, .22); }
.field input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.field-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.form-note .icon { width: 1em; height: 1em; color: var(--gold-dark); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 30px 26px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s, border-color .3s, background .3s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(212, 168, 75, .6); background: rgba(255, 255, 255, .07); }
.feature .icon-badge { margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { margin: 0; font-size: .95rem; color: #c9bd9f; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: .65rem 1.15rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-sm); transition: .2s; }
.chip .icon { width: 1.05em; height: 1.05em; color: var(--gold-dark); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Testimonials ---------- */
.t-wrap { position: relative; }
.t-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.t-card .quote-mark { position: absolute; right: 24px; top: 22px; width: 38px; height: 38px; color: var(--cream-2); fill: currentColor; stroke: none; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.t-card { display: flex; flex-direction: column; }
.t-card blockquote { flex: 1; margin: 0 0 22px; font-size: 1rem; color: var(--text); }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #231a08; font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; }
.t-author strong { display: block; line-height: 1.2; }
.t-author span { font-size: .85rem; color: var(--muted); }
.t-controls { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.t-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold-dark); background: #fff; color: var(--gold-deep); display: grid; place-items: center; transition: .2s; }
.t-btn:hover { background: var(--gold-dark); color: #fff; }
.t-btn.prev .icon { transform: rotate(180deg); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.blog-thumb { position: relative; height: 170px; display: grid; place-items: center; color: var(--gold-light); background: radial-gradient(300px 160px at 80% 0, rgba(212, 168, 75, .35), transparent 65%), linear-gradient(135deg, #14110d, #2c2418); overflow: hidden; }
.blog-thumb::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4l24 24-24 24L4 28z' fill='none' stroke='%23f0d37a' stroke-width='1'/%3E%3C/svg%3E"); }
.blog-thumb .icon { width: 58px; height: 58px; stroke-width: 1.2; position: relative; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.blog-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .5em; }
.blog-card h3 a:hover { color: var(--gold-deep); }
.blog-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--gold-deep); transition: transform .25s, background .25s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--gold-grad); color: #231a08; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; }
.faq-group { max-width: 860px; margin: 0 auto 44px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.faq-group h2::before { content: ""; width: 8px; height: 26px; border-radius: 4px; background: var(--gold-grad); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--gold-grad); color: var(--ink); position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4l24 24-24 24L4 28z' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E"); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 54px; padding-bottom: 54px; }
.cta-banner h2 { margin: 0 0 .2em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner p { margin: 0; max-width: 620px; color: #3a2d10; font-size: 1.05rem; }
.cta-inner > div:first-child { flex: 1; min-width: 0; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------- Inner page hero + breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 62px 0 70px; background: radial-gradient(700px 320px at 90% 0, rgba(212, 168, 75, .28), transparent 62%), linear-gradient(135deg, #0e0c09 0%, #1d1710 60%, #2a2012 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35em; }
.page-hero .lead { color: #d9ceb4; max-width: 680px; margin: 0; }
.breadcrumbs { margin-bottom: 18px; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; color: #bfb08c; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #7d714f; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs [aria-current] { color: var(--gold-light); }

/* ---------- Content blocks ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .5em; }
.card-icon { display: flex; align-items: flex-start; gap: 18px; }
.value-card { text-align: center; padding: 34px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.value-card .icon-badge { margin: 0 auto 18px; }
.value-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.notice { display: flex; gap: 16px; padding: 22px 24px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--gold); }
.notice .icon { color: var(--gold-dark); width: 26px; height: 26px; margin-top: 2px; }
.notice p { margin: 0; color: var(--text); }
.notice strong { color: var(--ink); }
.notice-warning { background: #fff7ea; border-color: #f0dcb5; border-left-color: var(--danger); }
.notice-warning .icon { color: var(--danger); }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th { background: var(--ink); color: var(--gold-light); text-align: left; font-weight: 600; padding: 14px 18px; white-space: nowrap; }
td { padding: 14px 18px; border-top: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--cream); }

.example-box { background: #fff; border: 2px dashed var(--gold); border-radius: 18px; padding: 26px 28px; }
.example-box h3 { margin-bottom: .6em; }
.example-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.example-row.total { border-bottom: 0; font-weight: 700; font-size: 1.1rem; color: var(--gold-deep); padding-top: 14px; }
.example-box small { display: block; margin-top: 10px; color: var(--muted); }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.doc-item .icon-badge { width: 46px; height: 46px; }
.doc-item h3 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 4px; font-weight: 700; }
.doc-item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Prose (blog + legal pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.prose p, .prose li { color: #403a30; line-height: 1.8; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-dark); }
.prose table { margin: 1.4em 0; }
.prose .table-wrap { margin: 1.4em 0; }
.prose .table-wrap table { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #bfb08c; font-size: .92rem; margin-top: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 1em; height: 1em; color: var(--gold); }
.article-cta { max-width: 780px; margin: 48px auto 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: .25s; }
a.contact-card:hover { border-color: var(--gold); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 4px; font-weight: 700; }
.contact-card p { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-card p small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.form-card h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form-card > p { color: var(--muted); margin-bottom: 1.4em; }
.map-wrap { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--cream-2); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #100d09; color: #cfc3a8; padding-top: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1.4fr; gap: 48px; padding-bottom: 50px; }
.footer-brand p { margin: 18px 0 20px; color: #b3a784; max-width: 340px; font-size: .95rem; }
.footer-title { font-size: 1.15rem; color: #fff; margin-bottom: 1.1em; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 2px; background: var(--gold-grad); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { position: relative; padding-left: 0; transition: color .2s, padding .2s; font-size: .95rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-contact { display: grid; gap: 14px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-notice { padding: 20px 20px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .86rem; color: #a89c7d; }
.footer-notice strong { color: var(--gold); }
.footer-bottom { background: #0a0806; padding: 18px 0; font-size: .88rem; color: #8f846a; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(31, 168, 85, .45); transition: transform .2s; }
.whatsapp-float .icon { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1180px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .header-inner { min-height: 70px; }
  .nav-toggle { display: grid; }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; justify-content: flex-start;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 20px 26px;
  }
  .nav-open .main-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 1rem .25rem; font-size: 1.05rem; }
  .nav-link::after, .has-sub::after { display: none; }
  .has-sub > .nav-link { padding-right: .25rem; }
  .sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--ink); }
  .sub-toggle .icon { transition: transform .25s; }
  .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .submenu { position: static; display: none; width: 100%; min-width: 0; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 12px 8px; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { transform: none; }
  .has-sub.open > .submenu { display: block; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 22px; width: 100%; }

  .hero { padding: 64px 0 130px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse > :first-child { order: 0; }
  .about-badge { left: 20px; }
  .about-visual { margin-bottom: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::before { display: none; }
  .calc { grid-template-columns: 1fr; }
  .why-grid, .blog-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex-basis: calc((100% - 22px) / 2); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .whatsapp-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 85; left: 0; right: 0; bottom: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(20, 17, 13, .12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; font-size: .74rem; font-weight: 600; color: var(--ink); }
  .mobile-bar .icon { width: 22px; height: 22px; }
  .mobile-bar .mb-wa { color: var(--green); }
  .mobile-bar .mb-wa .icon { fill: currentColor; stroke: none; }
  .mobile-bar .mb-quote { background: var(--gold-grad); color: #231a08; }
  .header-cta { display: none; }
  .toast { top: 82px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .grid-2, .grid-3, .grid-4, .why-grid, .blog-grid, .trust-grid, .doc-grid, .form-row, .check-list.cols-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 120px; }
  .hero-actions .btn { width: 100%; }
  .quote-card, .form-card { padding: 24px 20px; }
  .calc-fields, .calc-result { padding: 28px 22px; }
  .t-card { flex-basis: 88%; padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cta-buttons, .cta-buttons .btn { width: 100%; }
  .brand-text strong { font-size: 1.4rem; }
  .brand img { width: 42px; height: 42px; }
  .about-badge { position: static; margin-top: 16px; }
  .map-wrap iframe { height: 320px; }
  th, td { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .whatsapp-float, .mobile-bar, .cta-banner, .site-footer, .toast { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}

/* Form validation message (added by main.js) */
.field-error { display: block; margin-top: 6px; font-size: .8rem; font-weight: 500; color: var(--danger); }

/* ---------- Price formula (service pages) ---------- */
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 0 0 36px; }
.formula-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 26px; text-align: center; min-width: 180px; box-shadow: var(--shadow-sm); }
.formula-box strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.formula-box span { font-size: .85rem; color: var(--muted); }
.formula-box.result { background: var(--ink); border-color: var(--ink); }
.formula-box.result strong { color: var(--gold-light); }
.formula-box.result span { color: #cbbd99; }
.formula-op { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--gold-dark); font-weight: 700; }
.top-split { align-items: start; }
.quote-box h2 { font-size: 1.6rem; }
.grid-3 .value-card, .grid-4 .value-card { height: 100%; }
@media (max-width: 640px) { .formula-op { width: 100%; text-align: center; } .formula-box { width: 100%; } }


/* ---------- Pictures on cards (service, step, blog) ---------- */
.service-img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 20px; background: var(--ink); }
.step-img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 14px; margin: 0 auto 18px; box-shadow: var(--shadow-sm); background: var(--ink); }
.blog-thumb img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
