/* ============ Base ============ */
:root {
  /* Brand palette - taken from the AG logo: cream #F5EDDA, antique gold #B69649, sage #889069 */
  --ivory: #fcf8ef;
  --cream: #f5edda;
  --sand: #ebdfc3;
  --brand: #8a6d2c;      /* deep antique gold: buttons, links (AA contrast with white) */
  --brand-d: #6f5622;
  --gold: #b69649;       /* logo gold: ornaments, borders, icons */
  --gold-text: #94762f;  /* gold that stays readable on cream */
  --gold-l: #e3d2a3;
  --sage: #889069;       /* logo sage */
  --sage-d: #4f5a3c;
  --sage-dd: #2b3023;
  --ink: #2a2620;
  --ink-2: #4d463b;
  --muted: #7b7264;
  --line: #e9dfc9;
  --white: #fff;
  --green: #4f7a3a;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(60, 50, 25, .22);
  --shadow-lg: 0 30px 60px -20px rgba(60, 50, 25, .3);
  --f-display: 'Playfair Display', 'Noto Serif Gujarati', 'Noto Serif Devanagari', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', 'Noto Sans Gujarati', 'Noto Sans Devanagari', system-ui, sans-serif;
  --wrap: 1700px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--gold-text); margin-bottom: 12px; }
.eyebrow::before, .eyebrow.both::after { content: ''; width: 10px; height: 1px; background: currentColor; }
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 17px; }
.row-between { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.row-between h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(138, 109, 44, .5); }
.btn-primary:hover { background: var(--brand-d); }
.btn-gold { background: linear-gradient(135deg, #c9a95a, #9c7d35); color: #fff; box-shadow: 0 8px 20px -8px rgba(156, 125, 53, .55); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #1ebe5b; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }

/* ============ Header ============ */
.topbar { background: var(--sage-d); color: #f1ead6; font-size: 13px; text-align: center; padding: 8px 16px; letter-spacing: .02em; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(252, 248, 239, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 24px; font-weight: 700; color: var(--brand); flex: none; }
.logo-img { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 2px 8px rgba(60, 50, 25, .14); }
.footer .logo-img { border-radius: 0; box-shadow: none; }
.logo small { display: block; font: 600 10px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav > li > a:hover, .nav > li > a.active { color: var(--brand); background: var(--cream); }
.nav .caret { width: 12px; height: 12px; opacity: .6; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: .18s; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.dropdown a:hover { background: var(--cream); color: var(--brand); }
.dropdown a.all { font-weight: 600; color: var(--brand); border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; margin-left: auto; }
.menu-btn svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(31, 26, 23, .45); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--ivory); padding: 20px; overflow-y: auto; animation: slideIn .25s ease; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-panel .close { float: right; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer .dlink { display: block; padding: 14px 4px; font-weight: 600; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; float: right; color: var(--gold); font-size: 20px; line-height: 1; }
.drawer details[open] summary::after { content: '–'; }
.drawer details a { display: block; padding: 8px 14px; color: var(--ink-2); font-size: 15px; }
.drawer .dlink { border-bottom: 1px solid var(--line); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #f1e4c4 0, transparent 60%), radial-gradient(900px 500px at -10% 110%, #e4e8d6 0, transparent 60%), var(--ivory); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badge { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.hero-badge b { display: block; font-size: 15px; color: var(--ink); }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); flex: none; }
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .hv { position: absolute; top: 0; }
.hero-visual .hv.p1 { transform: rotate(-7deg) translate(-130px, 34px) scale(.84); }
.hero-visual .hv.p2 { z-index: 2; }
.hero-visual .hv.p3 { transform: rotate(7deg) translate(130px, 34px) scale(.84); }
.hero-mandala { position: absolute; right: -140px; top: -140px; opacity: .14; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.floating-chip { position: absolute; z-index: 3; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; display: flex; gap: 8px; align-items: center; animation: float 5s ease-in-out infinite; }
.floating-chip b { color: var(--green); }
.floating-chip.c1 { left: 0; top: 70px; }
.floating-chip.c2 { right: 0; bottom: 90px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ============ Phone mockup / template thumbnail ============ */
.phone { width: 260px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 10px; background: #1b1513; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a302b; flex: none; }
.phone.sm { width: 100%; border-radius: 26px; padding: 7px; }
.phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(170deg, var(--bg), var(--bg2)); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 14px; }
.phone.sm .phone-screen { border-radius: 20px; }
.phone-screen::before { content: ''; position: absolute; top: 7px; left: 50%; width: 34%; height: 14px; transform: translateX(-50%); background: #1b1513; border-radius: 10px; z-index: 3; }
.phone.sm .phone-screen::before { height: 10px; top: 5px; }
.phone-screen > img.thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-frame { position: absolute; inset: 8%; border: 1px solid var(--border); border-radius: 50% 50% 12px 12px / 22% 22% 12px 12px; pointer-events: none; }
.ps-motif { position: absolute; opacity: .35; pointer-events: none; }
.ps-motif.top { top: -22%; left: 50%; transform: translateX(-50%); width: 120%; }
.ps-motif.top svg { width: 100%; height: auto; }
.ps-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.ps-shloka { font: 600 8px/1.2 var(--f-body); letter-spacing: .08em; color: var(--primary); opacity: .9; }
.ps-head { font: 600 9px/1.2 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-top: 6px; }
.ps-names { font: 400 30px/1.05 var(--f-script); color: var(--text); margin: 8px 0 2px; word-break: break-word; }
.phone.sm .ps-names { font-size: clamp(20px, 2.4vw, 28px); }
.ps-amp { font: 400 18px/1 var(--f-script); color: var(--primary); }
.ps-date { font: 600 10px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; padding: 5px 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ps-cd { display: flex; gap: 5px; margin-top: 12px; }
.ps-cd span { font: 600 10px/1 var(--f-body); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 5px 6px; color: var(--primary); }
.ps-btn { margin-top: 12px; font: 600 9px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--primary); color: var(--bg2); padding: 7px 12px; border-radius: 99px; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #000; }

/* ============ Cards ============ */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard-media { position: relative; display: block; background: linear-gradient(180deg, var(--cream), #fff); padding: 22px 22% 0; overflow: hidden; height: 330px; }
.tcard-media .phone { width: 100%; border-radius: 26px 26px 0 0; padding: 7px 7px 0; aspect-ratio: auto; height: calc(100% + 40px); }
.tcard-media .phone-screen { border-radius: 20px 20px 0 0; }
.tcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 3; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.badge.gold { background: linear-gradient(135deg, #d8b25a, #b8862b); color: #fff; }
.badge.brand { background: var(--brand); color: #fff; }
.badge.green { background: #e7f7ee; color: #157347; }
.badge.gray { background: #f1ede7; color: var(--muted); box-shadow: none; }
.tcard-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(31, 26, 23, .35); opacity: 0; transition: .25s; z-index: 4; }
.tcard:hover .tcard-hover { opacity: 1; }
.tcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard-body h3 { font: 600 16px/1.35 var(--f-body); margin: 0; }
.tcard-body h3 a:hover { color: var(--brand); }
.tcard-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 20px; color: var(--brand); font-family: var(--f-display); }
.price s { color: var(--muted); font-size: 14px; }
.price .off { font-size: 12px; font-weight: 700; color: var(--green); }
.tcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.tcard-actions .btn { padding: 10px 10px; font-size: 13px; }

/* category cards */
.ccard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; border-radius: 22px; overflow: hidden; color: var(--text); background: linear-gradient(160deg, var(--bg), var(--bg2)); padding: 26px; isolation: isolate; transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow); }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ccard .cc-motif { position: absolute; right: -50px; top: -50px; opacity: .45; z-index: -1; transition: transform .8s; }
.ccard:hover .cc-motif { transform: rotate(30deg) scale(1.05); }
.ccard img.cc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ccard img.cc-img + .cc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.7)); z-index: -1; }
.ccard h3 { font-size: 28px; margin-bottom: 6px; color: var(--text); }
.ccard p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.ccard .cc-count { position: absolute; top: 20px; left: 22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.ccard .cc-link { font-weight: 600; font-size: 14px; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(135deg, var(--sage-d), #3e4830); color: #fff; border-radius: 24px; padding: 34px 20px; margin-top: -44px; position: relative; z-index: 5; box-shadow: var(--shadow-lg); background-image: radial-gradient(400px 200px at 90% 0, rgba(227, 210, 163, .22), transparent), linear-gradient(135deg, var(--sage-d), #3e4830); }
.stat { text-align: center; padding: 0 10px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border: 0; }
.stat b { display: block; font: 700 clamp(26px, 3.4vw, 40px)/1.1 var(--f-display); color: var(--gold-l); }
.stat span { font-size: 14px; opacity: .85; }

/* features */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s; }
.feature:hover { border-color: var(--gold-l); box-shadow: var(--shadow); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #f6efdc, #ebdfbf); color: var(--brand); margin-bottom: 16px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font: 700 18px/1.3 var(--f-body); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 700 44px/1 var(--f-display); color: var(--gold-l); display: block; margin-bottom: 10px; }
.step h3 { font: 700 18px/1.3 var(--f-body); }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare th { background: var(--cream); font-weight: 700; }
.compare td:nth-child(2), .compare th:nth-child(2) { background: #faf4e4; text-align: center; }
.compare td:nth-child(3), .compare th:nth-child(3) { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #c0392b; font-weight: 700; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 15px; color: var(--ink-2); }
.quote .who { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-d); color: var(--gold-l); display: grid; place-items: center; font-weight: 700; }
.quote .who b { display: block; font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* blog cards */
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.bcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.bcard-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sage-d), var(--gold)); position: relative; overflow: hidden; display: grid; place-items: center; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-img .orn { opacity: .35; }
.bcard-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-body h3 { font-size: 20px; margin: 0; }
.bcard-body p { color: var(--muted); font-size: 15px; margin: 0; }
.bcard-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.bcard-meta .badge { box-shadow: none; background: var(--cream); color: var(--brand); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 40px; text-align: center; color: #fff; background: linear-gradient(135deg, #3b4430, var(--sage-d) 55%, #6a7650); }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; }
.cta-band p { opacity: .85; max-width: 560px; margin: 0 auto 26px; }
.cta-band .orn { position: absolute; opacity: .18; }
.cta-band .orn.l { left: -80px; bottom: -80px; }
.cta-band .orn.r { right: -80px; top: -80px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ Page header / listing ============ */
.page-head { background: linear-gradient(180deg, var(--cream), var(--ivory)); padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 720px; margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 28px 0 24px; }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ============ Forms ============ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small, .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, .toolbar input, .toolbar select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 15px; }
.toolbar input, .toolbar select { width: auto; padding: 10px 14px; }
.field input:focus, .field select:focus, .field textarea:focus, .toolbar input:focus, .toolbar select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(182, 150, 73, .18); }
.field textarea { min-height: 96px; resize: vertical; }
.field input[type=file] { padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: #fff; width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; }
.alert-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }
.alert-success { background: #e8f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.alert-info { background: #fff6e5; color: #7a4b00; border: 1px solid #f3dca8; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.panel h2, .panel h3 { font: 700 19px/1.3 var(--f-body); display: flex; align-items: center; gap: 10px; }
.panel h2 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; display: grid; place-items: center; flex: none; }
.panel > .hint { margin: -4px 0 18px; display: block; }

.repeater-item { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 4px; margin-bottom: 14px; background: var(--ivory); }
.repeater-item .rm { position: absolute; top: 10px; right: 10px; border: 0; background: #fff; border: 1px solid var(--line); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: #b91c1c; font-size: 18px; line-height: 1; }
.repeater-item .ev-num { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.thumbs label { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs input { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.thumbs label:has(input:not(:checked)) img { opacity: .3; filter: grayscale(1); }

.create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding: 36px 20px 80px; }
.create-aside { position: sticky; top: 96px; }
.create-aside .phone { width: 100%; max-width: 300px; margin: 0 auto 18px; }
.summary-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.summary-box li { list-style: none; display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.summary-box ul { padding: 0; margin: 10px 0 16px; }
.summary-box li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ============ Template detail ============ */
.detail { display: grid; grid-template-columns: 420px 1fr; gap: 56px; padding: 40px 20px 70px; align-items: start; }
.detail-preview { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.detail-preview .phone { width: 340px; }
.detail h1 { font-size: clamp(28px, 3.6vw, 42px); }
.detail .price b { font-size: 34px; }
.detail .lead { font-size: 17px; color: var(--ink-2); }
.detail-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 24px 0; }
.feat-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.feat-list li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.specs td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--muted); width: 40%; }

/* order / manage */
.success-hero { text-align: center; padding: 56px 20px 24px; }
.success-hero .tick { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e8f7ee; color: var(--green); }
.success-hero .tick svg { width: 38px; height: 38px; }
.linkbox { display: flex; gap: 8px; align-items: center; background: var(--cream); border: 1px dashed var(--gold); border-radius: 12px; padding: 8px 8px 8px 14px; }
.linkbox code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kpi b { display: block; font: 700 28px/1.1 var(--f-display); color: var(--brand); }
.kpi span { font-size: 13px; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.status.yes, .status.active, .status.paid { background: #e7f7ee; color: #157347; }
.status.no, .status.expired { background: #fdecec; color: #a61b1b; }
.status.maybe, .status.draft, .status.unpaid { background: #fff4dc; color: #8a5a00; }

/* blog post */
.article { max-width: 760px; margin: 0 auto; padding: 40px 20px 70px; }
.article h1 { font-size: clamp(30px, 4.4vw, 46px); }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0 32px; aspect-ratio: 16/8; background: linear-gradient(135deg, var(--sage-d), var(--gold)); display: grid; place-items: center; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; font-style: italic; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; padding: 48px 20px 80px; }
.cinfo { display: flex; flex-direction: column; gap: 14px; }
.cinfo a, .cinfo div.ci { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: .2s; }
.cinfo a:hover { border-color: var(--gold); }
.cinfo .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--brand); flex: none; }
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo b { display: block; }
.cinfo span { color: var(--muted); font-size: 14px; }

/* ============ Footer ============ */
.footer { background: var(--sage-dd); color: #dcd8c4; padding: 70px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.footer .orn { position: absolute; right: -120px; bottom: -120px; opacity: .06; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font: 700 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 18px; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li { margin-bottom: 10px; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 15px; color: #b3af98; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: 13px; color: #96927c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .7); animation: pulse 2.4s infinite; }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .nav > li > a { padding: 10px 8px; font-size: 14px; }
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .detail { grid-template-columns: 1fr; gap: 30px; }
  .detail-preview { position: static; }
  .create-layout { grid-template-columns: 1fr; }
  .create-aside { position: static; order: -1; }
  .create-aside .phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4.keep-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .keep-2 .tcard-media { height: 250px; padding: 16px 12% 0; }
  .keep-2 .tcard-body { padding: 12px; }
  .keep-2 .tcard-body h3 { font-size: 14px; }
  .keep-2 .tcard-actions { grid-template-columns: 1fr; }
  .keep-2 .tcard-meta { display: none; }
  .hero-visual { min-height: 470px; }
  .hero-visual .phone { width: 220px; }
  .hero-visual .hv.p1 { transform: rotate(-7deg) translate(-70px, 30px) scale(.8); }
  .hero-visual .hv.p3 { transform: rotate(7deg) translate(70px, 30px) scale(.8); }
  .floating-chip { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .detail-preview .phone { width: 280px; }
  .feat-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 44px 20px; }
  .compare th, .compare td { padding: 10px; font-size: 13px; }
  .toolbar form { width: 100%; }
  .toolbar input { flex: 1; }
}

/* ============ Fixes: icon sizing, nav, category cards ============ */
:where(svg.i) { width: 1.15em; height: 1.15em; flex: none; }
.nav > li > a { white-space: nowrap; }
.floating-chip svg { width: 22px; height: 22px; color: var(--green); }
.cc-link svg { width: 16px; height: 16px; transition: transform .2s; }
.ccard:hover .cc-link svg { transform: translateX(4px); }
.ccard .cc-count { position: static; margin-bottom: auto; padding-bottom: 16px; }
.panel h3 svg, .panel h2 svg { width: 20px; height: 20px; color: var(--brand); }
.cinfo b + span { display: block; }

/* ============ Brand: AG logo ============ */
::selection { background: var(--gold-l); color: var(--ink); }
.footer .logo-img { width: 76px; height: 76px; }
.drawer .logo-img { width: 42px; height: 42px; }
.logo span small { color: var(--gold-text); }
.footer .logo span small { color: var(--gold-l); }
