/* ==========================================================================
   Ratawa Technologies — Global Stylesheet
   Premium purple brand system | Mobile-first | Accessible
   Palette: Primary #6A0DAD · Violet #7B2CBF · Accent #9D4EDD
            Lavender #F3E8FF · White #FFFFFF · Text #1F1F1F · Border #E5E7EB
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #6A0DAD;
  --violet: #7B2CBF;
  --accent: #9D4EDD;
  --lavender: #F3E8FF;
  --lavender-2: #EFE0FF;
  --white: #FFFFFF;
  --ink: #1F1F1F;
  --ink-2: #4B4B57;
  --muted: #6B6B78;
  --border: #E5E7EB;
  --bg-soft: #FAF7FE;

  --grad: linear-gradient(135deg, #6A0DAD 0%, #7B2CBF 45%, #9D4EDD 100%);
  --grad-soft: linear-gradient(135deg, #F6EDFF 0%, #FBF7FF 100%);
  --grad-dark: linear-gradient(135deg, #3F0A66 0%, #6A0DAD 55%, #8A35D1 100%);

  --shadow-sm: 0 2px 8px rgba(106, 13, 173, 0.06);
  --shadow: 0 10px 30px rgba(106, 13, 173, 0.10);
  --shadow-lg: 0 24px 60px rgba(106, 13, 173, 0.16);
  --shadow-primary: 0 12px 28px rgba(106, 13, 173, 0.32);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --section-y: clamp(3.75rem, 7vw, 6.5rem);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--violet); }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
}
.text-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); }
.section-tinted { background: var(--bg-soft); }
.section-lavender { background: linear-gradient(180deg, #FFFFFF 0%, var(--lavender) 100%); }
.section-dark { background: var(--grad-dark); color: #F4ECFF; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #E6D6FF; }
.section-head { max-width: 740px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { margin-top: .5rem; }
.section-head p { margin-top: .9rem; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flow > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap; line-height: 1; cursor: pointer; text-align: center;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(106,13,173,.42); }
.btn-secondary { background: #fff; color: var(--primary); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--primary); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.btn-white { background:#fff; color: var(--primary); }
.btn-white:hover { color: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(31,31,31,.07); background: rgba(255,255,255,.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--primary); letter-spacing: -.02em; }
.brand-name span { color: var(--ink); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: .35rem; }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink);
  padding: .6rem .85rem; border-radius: var(--radius-sm); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: var(--primary); background: var(--lavender); }
.nav-link .caret { width: 14px; height: 14px; transition: transform .25s ease; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink); transition: background .2s, color .2s;
}
.dropdown a:hover { background: var(--lavender); color: var(--primary); }
.dropdown a strong { display: block; font-family: var(--font-head); font-size: .95rem; font-weight: 600; }
.dropdown a small { color: var(--muted); font-size: .82rem; }
.dropdown .dd-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; }
.dropdown .dd-ic svg { width: 18px; height: 18px; }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background:#fff; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5.5rem); background: radial-gradient(1200px 520px at 78% -8%, #F3E8FF 0%, rgba(243,232,255,0) 60%), #fff; overflow: hidden; }
.hero::after { content:""; position:absolute; right:-120px; bottom:-120px; width:320px; height:320px; background: var(--grad); filter: blur(90px); opacity:.14; border-radius:50%; z-index:0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-top: 1rem; }
.hero-sub { margin-top: 1.25rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.25rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.trust-item strong { font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; display:block; line-height:1; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.hero-badge {
  position: absolute; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .85rem 1.05rem; display: flex; align-items: center; gap: .7rem; font-size:.85rem;
}
.hero-badge .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color:#fff; display:grid; place-items:center; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); display:block; line-height:1.1; }
.hero-badge.b1 { bottom: -22px; left: -22px; }
.hero-badge.b2 { top: -20px; right: -10px; }

/* ---------- Cards & grids ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #E3D2F7; }
.icon-badge { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color:#fff; display: grid; place-items: center; margin-bottom: 1.1rem; box-shadow: var(--shadow-primary); }
.icon-badge.soft { background: var(--lavender); color: var(--primary); box-shadow: none; }
.icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card-link:hover svg { transform: translateX(4px); }
.card-list { margin-top: 1rem; display: grid; gap: .55rem; }
.card-list li { position: relative; padding-left: 1.7rem; font-size: .93rem; color: var(--ink-2); }
.card-list li::before { content:""; position:absolute; left:0; top:.35em; width: 18px; height: 18px; background: var(--lavender); border-radius:50%; }
.card-list li::after { content:""; position:absolute; left:6px; top:.62em; width:6px; height:10px; border-right:2px solid var(--primary); border-bottom:2px solid var(--primary); transform: rotate(40deg); }

/* ---------- Steps (How it works) ---------- */
.steps { counter-reset: step; }
.step { position: relative; }
.step-num { width: 52px; height: 52px; border-radius: 14px; background: var(--lavender); color: var(--primary); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1.1rem; }
.step h3 { margin-bottom: .45rem; }
.steps.connected .step::before { content:""; position:absolute; top:26px; left: calc(52px + 1rem); right: -1rem; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.steps.connected .step:last-child::before { display:none; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.price-card { background:#fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-card.featured::before { content: "Most Popular"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color:#fff; font-family: var(--font-head); font-weight: 600; font-size: .75rem; letter-spacing: .05em; padding: .4rem 1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-primary); white-space: nowrap; }
.price-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.price-desc { font-size: .9rem; color: var(--muted); margin-top: .35rem; min-height: 2.6em; }
.price-amount { margin: 1.2rem 0 .3rem; display: flex; align-items: baseline; gap: .3rem; }
.price-amount .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--ink); letter-spacing: -.03em; }
.price-amount .per { color: var(--muted); font-size: .9rem; }
.price-note { font-size: .82rem; color: var(--muted); }
.price-features { margin: 1.4rem 0; display: grid; gap: .7rem; flex: 1; }
.price-features li { position: relative; padding-left: 1.8rem; font-size: .93rem; color: var(--ink-2); }
.price-features li::before { content:""; position:absolute; left:0; top:.3em; width:18px; height:18px; background: var(--lavender); border-radius:50%; }
.price-features li::after { content:""; position:absolute; left:6px; top:.55em; width:5px; height:9px; border-right:2px solid var(--primary); border-bottom:2px solid var(--primary); transform: rotate(40deg); }
.price-features li.off { color: var(--muted); }
.price-features li.off::before { background: #F1F1F4; }
.price-features li.off::after { border-color: #B8B8C0; transform: none; left:5px; top:.5em; width:9px; height:9px; border:0; background: #fff; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background:#fff; }
table.compare th, table.compare td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .94rem; }
table.compare thead th { background: var(--lavender); font-family: var(--font-head); color: var(--primary); font-weight: 600; position: sticky; top: 0; }
table.compare tbody th { font-weight: 500; color: var(--ink); }
table.compare td { text-align: center; color: var(--ink-2); }
table.compare td:first-child, table.compare th:first-child { text-align: left; }
table.compare tbody tr:hover { background: var(--bg-soft); }
.tick { color: #16A34A; font-weight: 700; }
.cross { color: #C4C4CC; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.faq-item { background:#fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--shadow); border-color: #E3D2F7; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); text-align: left; }
.faq-q .pm { width: 26px; height: 26px; flex-shrink: 0; position: relative; border-radius: 50%; background: var(--lavender); transition: background .25s; }
.faq-item.open .faq-q .pm { background: var(--grad); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--primary); border-radius:2px; transition: transform .25s, background .25s; }
.faq-q .pm::before { width: 12px; height: 2px; top: 12px; left: 7px; }
.faq-q .pm::after { width: 2px; height: 12px; top: 7px; left: 12px; }
.faq-item.open .faq-q .pm::before, .faq-item.open .faq-q .pm::after { background:#fff; }
.faq-item.open .faq-q .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--ink-2); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.testi-card { background:#fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #F59E0B; margin-bottom: .9rem; }
.stars svg { width: 18px; height: 18px; }
.testi-quote { font-size: 1rem; color: var(--ink); flex: 1; }
.testi-author { display: flex; align-items: center; gap: .85rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color:#fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.avatar.lg { width: 96px; height: 96px; font-size: 2rem; }
.testi-author .who strong { display: block; font-family: var(--font-head); font-size: .96rem; color: var(--ink); }
.testi-author .who span { font-size: .85rem; color: var(--muted); }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; justify-content: center; align-items: center; }
.logo-chip { display: flex; align-items: center; gap: .55rem; padding: .8rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background:#fff; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; box-shadow: var(--shadow-sm); transition: transform .25s, color .25s, border-color .25s; }
.logo-chip:hover { transform: translateY(-3px); color: var(--primary); border-color: #E3D2F7; }
.logo-chip .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--grad-dark); border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; overflow: hidden; color:#fff; box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content:""; position:absolute; border-radius:50%; background:#fff; opacity:.07; }
.cta-band::before { width: 280px; height: 280px; top:-120px; right:-60px; }
.cta-band::after { width: 220px; height: 220px; bottom:-110px; left:-40px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color:#fff; }
.cta-band p { color: #E6D6FF; max-width: 620px; margin: 1rem auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.9rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(900px 420px at 80% -20%, #F3E8FF 0%, rgba(243,232,255,0) 60%), var(--bg-soft); border-bottom: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.page-hero .eyebrow { margin-bottom: .6rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 1rem; max-width: 60ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li[aria-current] { color: var(--primary); font-weight: 500; }
.breadcrumbs .sep { color: #C9C9D2; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: #DC2626; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background:#fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(157,78,221,.14); }
.field .err-msg { font-size: .82rem; color: #DC2626; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #DC2626; }
.field.invalid .err-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; padding: 1rem 1.2rem; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-sm); color: #065F46; font-size: .95rem; }
.form-success.show { display: block; }

/* ---------- Info list / contact ---------- */
.info-list { display: grid; gap: 1.3rem; }
.info-item { display: flex; gap: 1rem; }
.info-item .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item h4 { margin-bottom: .15rem; }
.info-item p, .info-item a { font-size: .95rem; color: var(--ink-2); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Team ---------- */
.team-card { background:#fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform .28s, box-shadow .28s; height:100%; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 1.1rem; background: var(--grad); color:#fff; display:grid; place-items:center; font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; box-shadow: var(--shadow-primary); }
.team-card h3 { font-size: 1.2rem; }
.team-role { color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-top: .2rem; }
.team-bio { font-size: .92rem; margin-top: .8rem; }
.team-social { display: flex; gap: .5rem; justify-content: center; margin-top: 1.1rem; }
.team-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.team-social a:hover { background: var(--grad); color:#fff; transform: translateY(-2px); }
.team-social svg { width: 18px; height: 18px; }

/* ---------- Case studies ---------- */
.case-card { background:#fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s, box-shadow .28s; height:100%; display:flex; flex-direction:column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card .thumb { aspect-ratio: 3/2; overflow: hidden; }
.case-card .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .thumb img { transform: scale(1.05); }
.case-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .73rem; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); background: var(--lavender); padding: .3rem .7rem; border-radius: var(--radius-pill); margin-bottom: .8rem; align-self: flex-start; }
.case-stats { display: flex; gap: 1.5rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--primary); line-height: 1; letter-spacing: -.02em; }
.stat .lbl { font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.featured-case { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.featured-case .fc-media { height:100%; min-height: 320px; }
.featured-case .fc-media img { width:100%; height:100%; object-fit: cover; }
.featured-case .fc-body { padding: clamp(1.7rem, 3vw, 2.6rem); }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.post-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .28s, box-shadow .28s; height:100%; display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/9; overflow:hidden; }
.post-card .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-body { padding: 1.4rem; display:flex; flex-direction:column; flex:1; }
.post-meta { display:flex; gap:.8rem; flex-wrap:wrap; font-size:.8rem; color: var(--muted); margin-bottom:.6rem; }
.post-meta .tag { margin:0; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { font-size:.92rem; margin-top:.5rem; flex:1; }
.featured-post { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,2.5rem); align-items:center; background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); }
.featured-post .fp-media { height:100%; min-height: 300px; }
.featured-post .fp-media img { width:100%; height:100%; object-fit:cover; }
.featured-post .fp-body { padding: clamp(1.6rem,3vw,2.4rem); }
.sidebar { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.widget { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.widget h4 { margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.widget-list { display:grid; gap:.85rem; }
.widget-list a { display:flex; gap:.8rem; align-items:center; color: var(--ink); }
.widget-list a:hover { color: var(--primary); }
.widget-list .wl-num { font-family: var(--font-head); font-weight:700; color: var(--accent); font-size:1.1rem; }
.tag-cloud { display:flex; flex-wrap:wrap; gap:.5rem; }
.tag-cloud a { font-size:.83rem; padding:.4rem .8rem; background: var(--lavender); color: var(--primary); border-radius: var(--radius-pill); }
.tag-cloud a:hover { background: var(--grad); color:#fff; }
.widget.cta-widget { background: var(--grad-dark); color:#fff; text-align:center; }
.widget.cta-widget h4 { color:#fff; border-color: rgba(255,255,255,.2); }
.widget.cta-widget p { color:#E6D6FF; font-size:.9rem; margin-bottom:1rem; }
.pagination { display:flex; gap:.4rem; justify-content:center; margin-top: 2.5rem; flex-wrap:wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 .8rem; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius: 11px; font-family: var(--font-head); font-weight:600; font-size:.92rem; color: var(--ink); background:#fff; transition: all .2s; }
.pagination a:hover { border-color: var(--accent); color: var(--primary); }
.pagination .current { background: var(--grad); color:#fff; border-color: transparent; }
.pagination .disabled { color: #C9C9D2; pointer-events:none; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: .8rem; }
.legal-content h3 { font-size: 1.12rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-content p, .legal-content li { color: var(--ink-2); margin-bottom: .8rem; font-size: .98rem; }
.legal-content ul { list-style: disc; padding-left: 1.3rem; }
.legal-content ul li { margin-bottom: .4rem; }
.legal-content a { text-decoration: underline; }
.toc { background: var(--bg-soft); border:1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.toc h4 { margin-bottom: .7rem; }
.toc ol { list-style: decimal; padding-left: 1.2rem; display:grid; gap:.4rem; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--primary); }
.note-box { background: var(--lavender); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Stats band ---------- */
.stats-band { display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align:center; }
.stats-band .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing:-.03em; }
.section-dark .stats-band .num { color:#fff; }
.stats-band .num:not(.text-grad) { color: var(--primary); }
.stats-band .lbl { font-size:.92rem; margin-top:.3rem; }

/* ---------- Values / icon row ---------- */
.value-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height:100%; transition: transform .28s, box-shadow .28s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .icon-badge { margin-bottom: .9rem; }
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items:center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mv-card { background:#fff; border:1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); height:100%; }
.mv-card .icon-badge { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #170427; color: #CBB7E6; padding-block: clamp(3rem, 5vw, 4.25rem) 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 46px; margin-bottom: 1.1rem; }
.footer-brand p { color: #B49ED4; font-size: .93rem; max-width: 34ch; }
.footer-col h4 { color:#fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #B49ED4; font-size: .92rem; }
.footer-col a:hover { color:#fff; }
.footer-contact li { display:flex; gap:.7rem; align-items:flex-start; color:#B49ED4; font-size:.92rem; margin-bottom:.8rem; }
.footer-contact svg { width: 18px; height:18px; color: var(--accent); flex-shrink:0; margin-top:3px; }
.footer-contact a { color:#B49ED4; }
.footer-contact a:hover { color:#fff; }
.social { display:flex; gap:.6rem; margin-top:1.3rem; }
.social a { width: 40px; height:40px; border-radius: 11px; background: rgba(255,255,255,.08); color:#E6D6FF; display:grid; place-items:center; transition: background .25s, transform .25s; }
.social a:hover { background: var(--grad); color:#fff; transform: translateY(-3px); }
.social svg { width: 19px; height:19px; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center; padding-block: 1.6rem; font-size: .86rem; color: #9B86BC; }
.legal-links { display:flex; gap:1.3rem; flex-wrap:wrap; }
.legal-links a { color:#9B86BC; }
.legal-links a:hover { color:#fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* floaty decoration */
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--primary); color:#fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-family: var(--font-head); font-weight:600; }
.skip-link:focus { left: 0; color:#fff; }

/* helpers */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.maxw-60{max-width:60ch}.nowrap{white-space:nowrap}
.bg-pattern { background-image: radial-gradient(rgba(106,13,173,.07) 1px, transparent 1px); background-size: 22px 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2,1fr); }
  .featured-case, .featured-post, .split, .hero-grid { grid-template-columns: 1fr; }
  .featured-case .fc-media, .featured-post .fp-media { min-height: 240px; aspect-ratio: 16/9; }
  .hero-media { order: -1; max-width: 560px; margin-inline:auto; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 36px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(86vw, 360px);
    background:#fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.2rem; box-shadow: -20px 0 50px rgba(0,0,0,.15);
    transform: translateX(110%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; width:100%; }
  .nav-link { padding: .9rem .8rem; font-size: 1.05rem; justify-content: space-between; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--lavender); border-radius: 0; margin: .2rem 0 .4rem .8rem;
    padding: 0 0 0 .4rem; max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-item.open .dropdown { max-height: 420px; }
  .dropdown a { padding: .65rem .6rem; }
  .header-cta .btn-primary { display: none; }
  .main-nav .nav-cta-mobile { display: block; margin-top: 1rem; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(23,4,39,.45); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 999; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
.nav-cta-mobile { display: none; }

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .pricing-grid, .stats-band { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-badge { display: none; }
  .footer-bottom { flex-direction: column; text-align:center; }
  .case-stats { gap: 1.1rem; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner page hero with image ---------- */
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: .4rem; }
.page-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { max-width: 560px; } }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pop .4s ease both .6s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 640px) { .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; } .wa-float svg { width: 29px; height: 29px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
