/* =========================================================
   Avdesh SEO Theme - main stylesheet
   Design tokens taken from the reference portfolio:
   cream background, near-black navy, warm orange accent.
   ========================================================= */

:root{
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --white: #ffffff;
  --navy: #1a1a2e;
  --navy-2: #14141f;
  --ink: #262633;
  --muted: #6b6b76;
  --orange: #e8973a;
  --orange-2: #f0a94e;
  --orange-soft: #f6d9b3;
  --border: #e6ddce;
  --shadow: 0 18px 40px rgba(26,26,46,.08);
  --shadow-sm: 0 8px 22px rgba(26,26,46,.06);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: var(--orange); text-decoration:none; }
a:hover{ color: var(--navy); }

.container{
  width:100%;
  max-width: var(--maxw);
  margin:0 auto;
  padding:0 22px;
}

/* ---------- Headings ---------- */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .55em;
  font-weight: 800;
}
h1{ font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing:-.5px; }
h2{ font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3{ font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4{ font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
p{ margin:0 0 1.1em; }
.text-orange{ color: var(--orange); }
.lead{ font-size:1.12rem; color:#3d3d47; }

/* Signature lowercase section title with orange dot */
.section-title{
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: lowercase;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--navy);
  line-height:1.05;
  margin:0 0 .2em;
}
.section-title .dot{ color: var(--orange); }
.section-intro{ color:var(--muted); max-width:520px; }
.section-intro .rule{ display:block; width:70px; height:3px; background:var(--orange); margin-top:14px; border-radius:3px; }

.eyebrow{
  display:inline-block;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.72rem;
  color:var(--orange);
  margin-bottom:14px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-head); font-weight:700; font-size:.98rem;
  padding:14px 26px; border-radius:50px; cursor:pointer;
  border:2px solid var(--navy); transition:.2s ease; line-height:1;
}
.btn-primary{ background:var(--navy); color:#fff; border-color:var(--navy); }
.btn-primary:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }
.btn-ghost{ background:transparent; color:var(--navy); }
.btn-ghost:hover{ background:var(--navy); color:#fff; }
.btn-orange{ background:var(--orange); border-color:var(--orange); color:#fff; }
.btn-orange:hover{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* ---------- Sections ---------- */
section{ padding: clamp(56px, 8vw, 96px) 0; }
.bg-cream{ background:var(--cream); }
.bg-white{ background:var(--white); }
.bg-navy{ background:var(--navy); color:#efeaf5; }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4{ color:#fff; }
.section-head{ display:flex; flex-wrap:wrap; gap:20px 40px; align-items:flex-end; justify-content:space-between; margin-bottom:44px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(247,243,236,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:800; font-size:1.25rem; color:var(--navy); }
.brand .brand-dot{ color:var(--orange); }
.brand img{ max-height:44px; width:auto; }
.nav-menu{ list-style:none; display:flex; gap:6px; margin:0; padding:0; align-items:center; }
.nav-menu a{ color:var(--navy); font-weight:600; font-size:.96rem; padding:9px 14px; border-radius:9px; display:block; }
.nav-menu a:hover, .nav-menu .current-menu-item > a{ background:var(--cream-2); color:var(--navy); }
.nav-menu .menu-item-has-children{ position:relative; }
.nav-menu .sub-menu{
  position:absolute; top:100%; left:0; min-width:240px; background:#fff;
  border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow);
  padding:8px; display:none; list-style:none; margin:8px 0 0;
}
.nav-menu .menu-item-has-children:hover .sub-menu{ display:block; }
.nav-menu .sub-menu a{ padding:10px 12px; font-weight:600; font-size:.9rem; }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:26px; height:2px; background:var(--navy); margin:5px 0; transition:.2s; }

/* ---------- Hero ---------- */
.hero{ background:var(--cream); padding-top:clamp(40px,6vw,70px); padding-bottom:0; position:relative; overflow:hidden; }
/* Two column hero: copy on the left, portrait on the right */
.hero{ padding:clamp(36px,5vw,68px) 0 clamp(44px,6vw,80px); overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:1.02fr .98fr; gap:clamp(28px,4.5vw,60px);
  align-items:center;
}
.hero-copy{ position:relative; text-align:left; }
.hello-pill{
  display:inline-block; border:1.5px solid var(--navy); border-radius:50px;
  padding:5px 20px; font-family:var(--font-head); font-weight:600; font-size:.95rem;
  color:var(--navy); margin-bottom:16px;
}
.hero h1{ font-size:clamp(2.2rem,4.4vw,3.9rem); margin-bottom:.1em; line-height:1.08; }
.hero h1 .name{ color:var(--orange); }
.hero .hero-sub{ font-family:var(--font-head); font-weight:800; color:var(--navy); font-size:clamp(1.2rem,2.5vw,1.95rem); margin-bottom:14px; }
.hero-rank{
  display:inline-flex; align-items:center; gap:.5rem;
  background:var(--navy); color:#fff;
  font-family:var(--font-head); font-weight:700; font-size:clamp(.78rem,1.3vw,.95rem);
  letter-spacing:.01em; padding:9px 18px; border-radius:50px;
  margin:0 0 18px; box-shadow:var(--shadow-sm);
}
.hero-rank .rank-ico{ font-size:1.05em; line-height:1; }
.hero .lead{ max-width:520px; margin:0 0 4px; }
.hero-trust{
  display:inline-flex; align-items:center; gap:9px; margin-top:22px;
  font-family:var(--font-head); font-weight:600; font-size:.9rem; color:var(--muted);
}
.hero-trust .trust-dot{
  width:10px; height:10px; border-radius:50%; background:#22c55e; flex:none;
  box-shadow:0 0 0 0 rgba(34,197,94,.5); animation:pulseDot 2.2s ease-out infinite;
}

/* Portrait column */
.hero-photo-wrap{ position:relative; max-width:520px; width:100%; margin:0 auto; }
.hero-photo-glow{
  position:absolute; inset:auto 0 0 0; margin:auto; width:76%; height:80%;
  background:radial-gradient(ellipse at center, var(--orange) 0%, rgba(232,151,58,.35) 55%, transparent 72%);
  border-radius:50% 50% 0 0; bottom:0; left:0; right:0; z-index:0; opacity:.9;
  animation:glowPulse 4.5s ease-in-out infinite;
}
.hero-photo{ position:relative; z-index:1; }
.hero-tag{
  position:absolute; z-index:2; background:var(--navy); color:#fff;
  font-family:var(--font-head); font-weight:600; font-size:.82rem;
  padding:8px 14px; border-radius:50px; white-space:nowrap; box-shadow:var(--shadow-sm);
  animation:floatTag 5.5s ease-in-out infinite;
}
.hero-tag .tdot{ color:var(--orange); margin-right:6px; }
.hero-tag.t1{ top:9%;   left:-5%;  animation-delay:0s; }
.hero-tag.t2{ top:9%;   right:-5%; animation-delay:.5s; }
.hero-tag.t3{ top:41%;  left:-9%;  animation-delay:1s; }
.hero-tag.t4{ top:46%;  right:-9%; animation-delay:1.5s; }
.hero-tag.t5{ bottom:12%; left:1%;  animation-delay:2s; }
.hero-tag.t6{ bottom:12%; right:1%; animation-delay:2.5s; }
.hero-years{
  position:absolute; top:23%; right:-7%; text-align:center; z-index:3;
  background:#fff; border:1px solid var(--border); border-radius:14px;
  padding:9px 15px; box-shadow:var(--shadow-sm); animation:floatTag 6s ease-in-out infinite;
}
.hero-years .big{ font-family:var(--font-head); font-weight:800; font-size:1.5rem; color:var(--navy); line-height:1; }
.hero-years .big .u{ color:var(--orange); }
.hero-years small{ display:block; color:var(--muted); font-size:.72rem; font-weight:600; margin-top:2px; }

/* Hero entrance + ambient animations */
.hero-copy > *{ opacity:0; animation:heroFadeUp .7s ease forwards; }
.hero-copy > *:nth-child(1){ animation-delay:.05s; }
.hero-copy > *:nth-child(2){ animation-delay:.15s; }
.hero-copy > *:nth-child(3){ animation-delay:.25s; }
.hero-copy > *:nth-child(4){ animation-delay:.35s; }
.hero-copy > *:nth-child(5){ animation-delay:.45s; }
.hero-copy > *:nth-child(6){ animation-delay:.55s; }
.hero-copy > *:nth-child(7){ animation-delay:.65s; }
.hero-photo-wrap{ opacity:0; animation:heroFadeUp .8s ease .3s forwards; }
@keyframes heroFadeUp{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }
@keyframes floatTag{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
@keyframes glowPulse{ 0%,100%{ opacity:.72; transform:scale(1); } 50%{ opacity:1; transform:scale(1.05); } }
@keyframes pulseDot{ 0%{ box-shadow:0 0 0 0 rgba(34,197,94,.5); } 70%{ box-shadow:0 0 0 10px rgba(34,197,94,0); } 100%{ box-shadow:0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce){
  .hero-copy > *, .hero-photo-wrap{ opacity:1; animation:none; }
  .hero-tag, .hero-years, .hero-photo-glow, .hero-trust .trust-dot, .ticker-track{ animation:none; }
}

/* Segmented Portfolio / Hire me button */
.hero-actions{ margin:24px 0 0; display:flex; justify-content:flex-start; }
.hire-btn{
  display:inline-flex; align-items:center; gap:4px;
  background:var(--navy); border-radius:50px; padding:6px;
  box-shadow:var(--shadow-sm);
}
.hire-btn a{ font-family:var(--font-head); line-height:1; transition:.2s ease; }
.hire-btn .portfolio{
  display:inline-flex; align-items:center; gap:7px;
  background:var(--orange); color:#fff; font-weight:700; font-size:.98rem;
  padding:12px 22px; border-radius:50px;
}
.hire-btn .portfolio:hover{ background:#fff; color:var(--navy); }
.hire-btn .portfolio .arw{ font-size:.9em; }
.hire-btn .hireme{
  color:#fff; font-weight:600; font-size:.98rem; padding:12px 22px; border-radius:50px;
}
.hire-btn .hireme:hover{ color:var(--orange); }

/* ---------- Stats bar ---------- */
.stats-bar{ background:var(--navy); }
.stats-grid{ display:grid; grid-template-columns:repeat(5,1fr); }
.stat{ padding:26px 18px; text-align:center; border-right:1px solid rgba(255,255,255,.12); display:flex; flex-direction:column; align-items:center; gap:2px; }
.stat:last-child{ border-right:0; }
.stat .snum{ font-family:var(--font-head); font-weight:800; font-size:1.9rem; color:#fff; line-height:1; }
.stat .snum .u{ color:var(--orange); }
.stat .slabel{ color:#cfc9d9; font-size:.82rem; font-weight:600; }
.stat .sicon{ font-size:1.4rem; margin-bottom:4px; color:var(--orange); }

/* ---------- Service ticker ---------- */
.ticker{ background:var(--cream-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; padding:14px 0; }
.ticker-track{ display:flex; gap:34px; white-space:nowrap; width:max-content; animation:ticker 26s linear infinite; }
.ticker-item{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--navy); font-size:1rem; display:flex; align-items:center; gap:34px; }
.ticker-item .sp{ color:var(--orange); }
@keyframes ticker{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.about-photo{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:var(--cream-2); }

/* ---------- Service cards (what i do) ---------- */
.cards-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.svc-card{
  background:#fff; border:1.5px solid var(--navy); border-radius:16px; padding:26px 24px;
  transition:.22s ease; display:flex; flex-direction:column; height:100%;
}
.svc-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--orange); }
.svc-card .num{ font-family:var(--font-head); font-weight:800; font-size:2rem; color:var(--orange); line-height:1; }
.svc-card h3{ margin:.35em 0 .4em; text-transform:none; }
.svc-card p{ color:var(--muted); font-size:.96rem; margin-bottom:1em; }
.svc-card .card-link{ margin-top:auto; font-family:var(--font-head); font-weight:700; font-size:.9rem; color:var(--navy); }
.svc-card .card-link:hover{ color:var(--orange); }
.svc-card .card-top{ display:flex; justify-content:space-between; align-items:flex-start; }
.svc-card .card-ico{ font-size:1.6rem; }

/* ---------- Timeline (experience / process) ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.panel{ background:#fff; border:1.5px solid var(--navy); border-radius:var(--radius); padding:28px; }
.timeline{ list-style:none; margin:0; padding:0; }
.timeline li{ position:relative; padding:0 0 22px 34px; }
.timeline li:before{ content:""; position:absolute; left:8px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--orange); }
.timeline li:after{ content:""; position:absolute; left:13px; top:18px; bottom:0; width:2px; background:var(--orange-soft); }
.timeline li:last-child{ padding-bottom:0; }
.timeline li:last-child:after{ display:none; }
.timeline h4{ margin:0 0 2px; text-transform:none; }
.timeline .when{ color:var(--orange); font-weight:700; font-size:.82rem; }
.timeline .where{ color:var(--muted); font-size:.9rem; }

/* ---------- Logo / brand grid ---------- */
.logo-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.logo-cell{
  background:#fff; border:1px solid var(--border); border-radius:14px; aspect-ratio:3/2;
  display:flex; align-items:center; justify-content:center; padding:16px; text-align:center;
  font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:.85rem;
}
.logo-cell img{ max-height:100%; width:auto; object-fit:contain; }

/* ---------- Case study cards ---------- */
.case-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:.22s ease; }
.case-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.case-card .img-slot{ border-radius:0; min-height:170px; }
.case-card-body{ padding:20px; }
.case-card-body h3{ text-transform:none; margin:.35em 0 .3em; font-size:1.15rem; }
.case-card-body p{ color:var(--muted); font-size:.92rem; margin:0; }
.case-tag{ display:inline-block; background:var(--cream-2); color:var(--navy); border-radius:50px; padding:4px 12px; font-size:.74rem; font-weight:700; letter-spacing:.03em; }

/* Bigger two column featured work grid with clickable cards */
.case-grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; }
a.case-card{ display:block; color:inherit; border-color:var(--border); }
a.case-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--orange); }
.case-card-media{ position:relative; }
.case-grid-2 .case-card .img-slot{ min-height:250px; }
.case-grid-2 .case-card-body{ padding:26px 30px 28px; }
.case-grid-2 .case-card-body h3{ font-size:1.5rem; margin:.4em 0 .35em; }
.case-grid-2 .case-card-body p{ font-size:1rem; }
.case-metric-badge{
  position:absolute; top:16px; left:16px; z-index:2;
  background:var(--orange); color:#fff; font-family:var(--font-head); font-weight:700;
  font-size:.9rem; padding:7px 15px; border-radius:50px; box-shadow:var(--shadow-sm);
}
.case-link{ display:inline-block; margin-top:16px; font-family:var(--font-head); font-weight:700; font-size:.92rem; color:var(--orange); }
a.case-card:hover .case-link{ text-decoration:underline; }

/* Homepage clickable case preview */
.case-preview{ display:block; color:inherit; transition:.22s ease; }
.case-preview:hover{ transform:translateY(-5px); }
.case-preview .case-card-media .img-slot{ border-radius:14px; overflow:hidden; }

/* Case study hero metric */
.cs-metric{ display:inline-flex; align-items:baseline; gap:10px; background:#fff; border:1px solid var(--border); border-radius:14px; padding:12px 20px; margin-bottom:22px; box-shadow:var(--shadow-sm); }
.cs-metric-num{ font-family:var(--font-head); font-weight:800; font-size:1.8rem; color:var(--orange); line-height:1; }
.cs-metric-label{ color:var(--muted); font-weight:600; font-size:.92rem; }

/* ---------- Tools grid ---------- */
.tools-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:26px; text-align:center; }
.tool{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.tool .tico{ width:64px; height:64px; border-radius:16px; background:#fff; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1.7rem; box-shadow:var(--shadow-sm); }
.tool span{ font-size:.82rem; color:var(--muted); font-weight:600; }

/* ---------- Image placeholder / upload section ---------- */
.img-slot{
  position:relative; background:#fff; border:2px dashed var(--orange);
  border-radius:14px; min-height:210px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; padding:22px; color:var(--muted);
}
.img-slot .ph-ico{ font-size:1.8rem; margin-bottom:8px; }
.img-slot strong{ color:var(--navy); font-family:var(--font-head); }
.img-slot small{ font-size:.78rem; }
.img-slot.filled{ border:0; padding:0; overflow:hidden; min-height:0; background:none; display:block; }
.img-slot.filled img{ width:100%; height:auto; display:block; }
.img-slot.filled.about-photo{ border-radius:var(--radius); box-shadow:var(--shadow); }

/* ---------- Feature list / checks ---------- */
.check-list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.check-list li{ position:relative; padding-left:32px; }
.check-list li:before{ content:"✓"; position:absolute; left:0; top:0; width:22px; height:22px; background:var(--orange); color:#fff; border-radius:50%; font-size:.75rem; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* ---------- Key takeaway (AI/GEO block) ---------- */
.takeaway{
  background:var(--cream-2); border-left:4px solid var(--orange); border-radius:12px;
  padding:22px 26px; margin:26px 0;
}
.takeaway h4{ margin:0 0 6px; text-transform:none; }
.takeaway p{ margin:0; color:#3d3d47; }

/* ---------- FAQ ---------- */
.faq{ display:grid; gap:14px; }
.faq details{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:4px 22px; }
.faq summary{ cursor:pointer; font-family:var(--font-head); font-weight:700; color:var(--navy); padding:16px 0; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:after{ content:"+"; color:var(--orange); font-size:1.4rem; font-weight:700; }
.faq details[open] summary:after{ content:"−"; }
.faq details[open] summary{ border-bottom:1px solid var(--border); }
.faq .faq-body{ padding:14px 0 18px; color:#3d3d47; }
.faq .faq-body p:last-child{ margin-bottom:0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ background:var(--cream); border-bottom:1px solid var(--border); padding:clamp(48px,7vw,84px) 0 clamp(40px,5vw,60px); }
.breadcrumbs{ font-size:.82rem; color:var(--muted); margin-bottom:16px; }
.breadcrumbs a{ color:var(--muted); }
.breadcrumbs a:hover{ color:var(--orange); }
.page-hero h1{ max-width:900px; }
.page-hero .lead{ max-width:760px; }

/* ---------- Content prose ---------- */
.prose{ max-width:820px; }
.prose h2{ margin-top:1.6em; }
.prose h3{ margin-top:1.4em; text-transform:none; }
.prose h4{ margin-top:1.2em; text-transform:none; color:var(--orange); }
.prose ul{ padding-left:1.1em; }
.prose li{ margin-bottom:.5em; }
/* Editable content blockquotes render as the "quick answer" callout box */
.prose blockquote, .entry-content blockquote{
  background:var(--cream-2); border-left:4px solid var(--orange); border-radius:12px;
  padding:18px 24px; margin:26px 0; font-style:normal; color:#3d3d47;
}
.prose blockquote p, .entry-content blockquote p{ margin:0; }
.entry-content ul{ padding-left:1.1em; }
.entry-content li{ margin-bottom:.5em; }
.content-cols{ display:grid; grid-template-columns:1fr 320px; gap:48px; align-items:start; }
.sidebar-card{ background:var(--navy); color:#efeaf5; border-radius:var(--radius); padding:28px; position:sticky; top:96px; }
.sidebar-card h3{ color:#fff; }
.sidebar-card ul{ list-style:none; margin:0 0 18px; padding:0; }
.sidebar-card ul a{ color:#efeaf5; display:block; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:.94rem; }
.sidebar-card ul a:hover{ color:var(--orange); }
.sidebar-card ul a.is-active{ color:var(--orange); font-weight:700; }

/* ---------- Service page hero (advanced inner page design) ---------- */
.service-hero{
  background:linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-bottom:1px solid var(--border);
  padding:clamp(38px,5.5vw,70px) 0 clamp(42px,5.5vw,70px); overflow:hidden;
}
.service-hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,4vw,56px); align-items:center; }
.service-hero-copy .eyebrow{ display:inline-flex; align-items:center; gap:7px; }
.service-hero-copy .eyebrow-ico{ font-size:1.15em; }
.service-hero-copy h1{ margin-bottom:.25em; }
.service-hero-copy .lead{ max-width:560px; margin-bottom:22px; }
.service-chips{ display:flex; flex-wrap:wrap; gap:0; margin-bottom:26px; }
.service-chips .chip{ position:relative; padding-left:30px; }
.service-chips .chip::before{ content:"✓"; position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--orange); font-weight:800; }
.service-hero-actions{ display:flex; flex-wrap:wrap; gap:12px; }

.service-hero-media{ position:relative; }
.service-photo.img-slot{ min-height:360px; border-radius:20px; }
.service-photo.img-slot.filled{ border-radius:20px; box-shadow:var(--shadow); overflow:hidden; min-height:0; }
.service-photo.img-slot.filled img{ width:100%; height:100%; object-fit:cover; aspect-ratio:9/8; }
.service-badge{
  position:absolute; z-index:2; top:-16px; left:-16px; width:62px; height:62px;
  border-radius:18px; background:var(--navy); color:#fff; display:flex;
  align-items:center; justify-content:center; font-size:1.7rem; box-shadow:var(--shadow-sm);
}

/* ---------- Prose polish (shared by service and inner pages) ---------- */
.prose h2{ position:relative; }
.prose h2::after{ content:""; display:block; width:46px; height:3px; background:var(--orange); border-radius:3px; margin-top:.45em; }
.prose ul{ list-style:none; padding-left:0; }
.prose ul li{ position:relative; padding-left:28px; margin-bottom:.55em; }
.prose ul li::before{ content:"✓"; position:absolute; left:0; top:0; color:var(--orange); font-weight:800; }
.prose > p:first-of-type{ font-size:1.06rem; color:#3d3d47; }

/* ---------- FAQ accordion (built from Q&A headings by main.js) ---------- */
.faq-item{ background:#fff; border:1px solid var(--border); border-radius:14px; margin:0 0 12px; box-shadow:var(--shadow-sm); }
.faq-item > summary{
  list-style:none; cursor:pointer; padding:17px 22px; gap:16px;
  font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:1.02rem;
  display:flex; justify-content:space-between; align-items:center;
}
.faq-item > summary::-webkit-details-marker{ display:none; }
.faq-item > summary::after{ content:"+"; font-size:1.5rem; line-height:1; color:var(--orange); font-weight:700; flex:none; }
.faq-item[open] > summary{ color:var(--orange); }
.faq-item[open] > summary::after{ content:"–"; }
.faq-answer{ padding:0 22px 18px; color:var(--muted); }
.faq-answer p{ margin:0; }

/* ---------- Service sidebar (nav + consultation card) ---------- */
.service-aside{ display:flex; flex-direction:column; gap:20px; position:sticky; top:96px; }
.service-aside .sidebar-card{ position:static; top:auto; padding-bottom:10px; }
.sidebar-cta{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:26px 24px; text-align:center; box-shadow:var(--shadow-sm); }
.sidebar-cta-photo{ width:74px; height:74px; border-radius:50%; object-fit:cover; margin:0 auto 12px; border:3px solid var(--cream-2); display:block; }
.sidebar-cta h4{ text-transform:none; margin:0 0 .45em; }
.sidebar-cta p{ color:var(--muted); font-size:.9rem; margin-bottom:16px; }
.sidebar-cta .btn{ width:100%; justify-content:center; }
.sidebar-cta-meta{ display:block; margin-top:12px; font-size:.78rem; color:var(--muted); }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--navy); border-radius:var(--radius); padding:clamp(34px,5vw,56px); text-align:center; color:#fff; }
.cta-band h2{ color:#fff; margin-bottom:.4em; }
.cta-band p{ color:#cfc9d9; max-width:620px; margin:0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-item{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.contact-item .ci-ico{ width:44px; height:44px; border-radius:12px; background:var(--navy); color:var(--orange); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex:0 0 auto; }
.contact-item h4{ margin:0 0 2px; text-transform:none; }
.contact-item a, .contact-item span{ color:var(--muted); }
.contact-form{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:30px; }
.contact-form label{ display:block; font-weight:600; font-size:.9rem; margin-bottom:6px; color:var(--navy); }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%; padding:13px 15px; border:1px solid var(--border); border-radius:11px;
  font-family:var(--font-body); font-size:1rem; margin-bottom:16px; background:var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus{ outline:2px solid var(--orange); border-color:var(--orange); }
.cf-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-note{ padding:13px 16px; border-radius:11px; font-size:.95rem; font-weight:600; margin-bottom:18px; }
.form-note--ok{ background:#e7f6ec; color:#1c6b3a; border:1px solid #b8e2c6; }
.form-note--err{ background:#fbeceb; color:#a12622; border:1px solid #f0c0bd; }

/* ---------- Testimonials ---------- */
.quote-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px; height:100%; }
.quote-card .stars{ color:var(--orange); margin-bottom:10px; letter-spacing:2px; }
.quote-card .who-row{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.quote-card .who-photo{ width:48px; height:48px; border-radius:50%; object-fit:cover; flex:0 0 auto; border:2px solid var(--orange-soft); }
.quote-card .who-initials{ background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; font-size:1.1rem; }
.quote-card .who{ font-family:var(--font-head); font-weight:700; color:var(--navy); }
.quote-card .who small{ display:block; color:var(--muted); font-weight:500; }
.logo-cell .logo-empty{ color:var(--muted); font-size:.82rem; font-weight:600; line-height:1.3; }
.logo-cell .logo-empty small{ color:#b7b2c4; font-weight:500; font-size:.72rem; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-2); color:#c9c4d6; padding:64px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; }
.site-footer h4{ color:#fff; text-transform:none; margin-bottom:16px; font-size:1rem; }
.site-footer a{ color:#c9c4d6; }
.site-footer a:hover{ color:var(--orange); }
.footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:.92rem; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); margin-top:44px; padding-top:22px; display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:.85rem; color:#8f8a9e; }
.footer-brand-dot{ color:var(--orange); }

/* ---------- Utility ---------- */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.chip{ display:inline-block; background:var(--cream-2); border:1px solid var(--border); border-radius:50px; padding:6px 14px; font-size:.82rem; font-weight:600; color:var(--navy); margin:0 6px 8px 0; }

/* ===================================================
   Testimonials v2 (stat card + featured quote + cards)
   =================================================== */
.tst2-head{ margin-bottom:34px; }
.tst2-eyebrow{ display:inline-block; font-family:var(--font-head); font-weight:800; letter-spacing:.16em; text-transform:uppercase; font-size:.8rem; color:var(--orange); margin-bottom:6px; }
.tst2-title{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; font-size:clamp(1.8rem,4.6vw,3.3rem); line-height:1.02; letter-spacing:-.5px; color:var(--navy); margin:0; }
.tst2-title .tst2-outline{ color:var(--cream); -webkit-text-stroke:1.5px #bdb8c7; }
.tst2-title .tst2-dot{ color:var(--orange); }

.tst2-top{ display:grid; grid-template-columns:.85fr 1.55fr; gap:24px; margin-bottom:24px; }
.tst2-stat{ background:var(--orange); color:var(--navy); border-radius:22px; padding:34px 32px; display:flex; flex-direction:column; justify-content:center; }
.tst2-stat-label{ font-weight:700; font-size:.95rem; opacity:.85; margin-bottom:14px; text-transform:uppercase; letter-spacing:.08em; }
.tst2-stat-num{ font-family:var(--font-head); font-weight:800; font-size:clamp(3rem,7vw,4.6rem); line-height:1; margin-bottom:14px; }
.tst2-stat p{ margin:0; font-weight:700; font-size:1.05rem; line-height:1.4; }
.tst2-feature{ position:relative; border-radius:22px; overflow:hidden; background:var(--navy); background-size:cover; background-position:center; min-height:300px; display:flex; align-items:center; }
.tst2-feature-inner{ margin-left:auto; max-width:62%; padding:34px 34px 34px 20px; text-align:right; color:#fff; position:relative; z-index:1; }
.tst2-feature blockquote{ margin:0 0 18px; font-family:var(--font-head); font-weight:700; font-size:clamp(1.05rem,1.8vw,1.4rem); line-height:1.42; }
.tst2-feature cite{ font-style:normal; font-weight:800; font-family:var(--font-head); font-size:1.05rem; }

.tst2-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.tst2-card{ background:#fff; border:1px solid var(--border); border-radius:18px; padding:24px 22px 20px; box-shadow:var(--shadow-sm); text-align:center; display:flex; flex-direction:column; }
.tst2-card .stars{ color:#f5b301; letter-spacing:2px; margin-bottom:10px; }
.tst2-card p{ color:#3d3d47; font-size:.94rem; margin:0 0 18px; }
.tst2-who{ margin-top:auto; }
.tst2-avatar{ position:relative; display:inline-block; width:58px; height:58px; margin:0 auto 8px; }
.tst2-avatar img{ width:58px; height:58px; border-radius:50%; object-fit:cover; display:block; }
.tst2-initials{ border-radius:50%; background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:800; font-size:1.4rem; display:flex; align-items:center; justify-content:center; }
.tst2-g{ position:absolute; right:-2px; bottom:-2px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.22); color:#4285F4; font-family:var(--font-head); font-weight:800; font-size:.78rem; display:flex; align-items:center; justify-content:center; }
.tst2-who-txt strong{ display:block; font-family:var(--font-head); color:var(--navy); font-size:.95rem; }
.tst2-who-txt small{ color:var(--muted); font-size:.8rem; }

/* ===================================================
   Top ranking keywords (client result tables)
   =================================================== */
.rankkw-head{ max-width:780px; margin:0 auto 44px; }
.rankkw-eyebrow{ display:inline-block; font-family:var(--font-head); font-weight:800; letter-spacing:.16em; text-transform:uppercase; font-size:.8rem; color:var(--orange); margin-bottom:10px; }
.rankkw-title{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; font-size:clamp(1.8rem,4.4vw,3rem); color:var(--navy); margin:0 0 .3em; letter-spacing:-.5px; }
.rankkw-sub{ color:var(--muted); font-size:1.05rem; margin:0; }
.rankkw-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.rankkw-card{ background:#fff; border:1px solid var(--border); border-radius:18px; padding:20px; box-shadow:var(--shadow-sm); }
.rankkw-card-head{ display:flex; align-items:center; gap:8px; padding:4px 6px 16px; }
.rankkw-g{ width:22px; height:22px; border-radius:50%; background:#fff; border:1px solid var(--border); color:#4285F4; font-family:var(--font-head); font-weight:800; font-size:.78rem; display:flex; align-items:center; justify-content:center; flex:none; }
.rankkw-country{ font-family:var(--font-head); font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:.04em; font-size:.9rem; }
.rankkw-meta{ margin-left:auto; text-align:right; display:flex; flex-direction:column; line-height:1.25; }
.rankkw-client{ color:var(--orange); font-weight:800; font-family:var(--font-head); font-size:.82rem; }
.rankkw-year{ color:var(--muted); font-size:.72rem; font-weight:600; }
.rankkw-table{ width:100%; border-collapse:separate; border-spacing:0; border-radius:14px; overflow:hidden; }
.rankkw-table thead th{ background:var(--navy); color:#fff; text-align:left; font-family:var(--font-head); font-size:.9rem; font-weight:700; padding:12px 16px; }
.rankkw-table thead th:last-child{ text-align:right; }
.rankkw-table tbody td{ background:#242a4d; color:#e9ebff; padding:12px 16px; font-size:.92rem; border-top:1px solid rgba(255,255,255,.08); }
.rankkw-table tbody td.pos{ text-align:right; font-weight:800; font-variant-numeric:tabular-nums; }

@media (max-width:992px){
  .tst2-top{ grid-template-columns:1fr; }
  .tst2-feature{ min-height:230px; }
  .tst2-feature-inner{ max-width:100%; text-align:left; padding:28px; margin-left:0; }
  .tst2-cards{ grid-template-columns:repeat(2,1fr); }
  .rankkw-grid{ grid-template-columns:1fr; max-width:520px; margin:0 auto; }
}
@media (max-width:680px){
  .tst2-cards{ grid-template-columns:1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px){
  .about-grid, .two-col, .content-cols, .contact-grid, .grid-2{ grid-template-columns:1fr; }
  .cards-grid, .grid-3{ grid-template-columns:repeat(2,1fr); }
  .logo-grid, .tools-grid{ grid-template-columns:repeat(4,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(3,1fr); }
  .stat:nth-child(3){ border-right:0; }
  .sidebar-card{ position:static; }
  /* Stack the service hero and unstick the sidebar */
  .service-hero-grid{ grid-template-columns:1fr; gap:30px; }
  .service-hero-media{ order:-1; max-width:560px; }
  .service-aside{ position:static; top:auto; }
  /* Stack the hero: copy first, portrait below, all centered */
  .hero-grid{ grid-template-columns:1fr; gap:34px; }
  .hero-copy{ text-align:center; order:1; }
  .hero-copy .lead{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-trust{ justify-content:center; }
  .hero-photo-wrap{ order:2; max-width:420px; }
  .hero-years{ top:20%; right:-2%; }
  .hero-tag.t3,.hero-tag.t4{ display:none; }
}
@media (max-width: 680px){
  body{ font-size:16px; }
  .nav-menu{
    position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column;
    align-items:stretch; padding:12px; border-bottom:1px solid var(--border); box-shadow:var(--shadow);
    display:none;
  }
  .nav-menu.open{ display:flex; }
  .nav-menu .sub-menu{ position:static; box-shadow:none; border:0; padding-left:14px; display:block; }
  .nav-toggle{ display:block; }
  .cards-grid, .grid-3, .logo-grid, .tools-grid, .grid-4, .footer-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-right:0 !important; border-bottom:1px solid rgba(255,255,255,.12); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .hero-tag{ display:none; }
  .hero-years{ display:none; }
  .hero-photo-wrap{ max-width:340px; }
  .hero-photo-glow{ width:88%; }
  .case-grid-2{ grid-template-columns:1fr; }
}
@media (max-width: 420px){
  .cards-grid, .grid-3, .grid-4, .tools-grid{ grid-template-columns:1fr; }
  .logo-grid{ grid-template-columns:repeat(2,1fr); }
}
