/* ============================================================
   AURA Dental — styles.css
   Light calm clinical · cobalt + coral
   ============================================================ */

:root {
  /* Palette */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --accent: #fb7185;
  --accent-dark: #f43f5e;
  --text: #1e293b;
  --muted: #64748b;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --soft-2: #e8eef6;
  --success: #16a34a;
  --line: #e2e8f0;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #3b82f6 100%);
  --grad-duo: linear-gradient(140deg, #1e40af 0%, #2563eb 55%, #fb7185 135%);
  --grad-soft: linear-gradient(160deg, #eef4ff 0%, #f1f5f9 100%);
  --grad-accent: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);

  /* Type scale */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --text-hero: clamp(2.4rem, 1.4rem + 4.6vw, 5rem);

  /* Spacing */
  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.06);
  --shadow: 0 14px 40px -16px rgba(30, 64, 175, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(30, 64, 175, 0.35);
  --shadow-accent: 0 16px 34px -12px rgba(251, 113, 133, 0.5);

  /* Motion */
  --dur: 280ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--text-sm);
  padding: 12px 22px; border-radius: var(--radius-full);
  border: 0; cursor: pointer; color: #fff;
  background: var(--primary);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--primary-dark); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--grad-accent); box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 20px 40px -14px rgba(244, 63, 94, 0.6); }
.btn--lg { padding: 15px 30px; font-size: var(--text-base); }

/* ---------- Icon buttons ---------- */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-full);
  background: transparent; border: 0; cursor: pointer; color: var(--muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover { color: var(--primary); background: var(--soft); transform: translateY(-1px); }
.icon-btn--light { color: rgba(255, 255, 255, 0.8); }
.icon-btn--light:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ---------- Section headings ---------- */
.section-eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.section-title { font-weight: 800; font-size: var(--text-2xl); margin-bottom: 1.6rem; max-width: 24ch; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: var(--text-xs); }
.topbar__inner {
  display: flex; align-items: center; gap: 16px; min-height: 44px;
}
.topbar__social { display: flex; gap: 2px; }
.topbar__search {
  display: flex; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-full);
  padding: 2px 4px 2px 14px; max-width: 240px; flex: 1 1 180px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.topbar__search:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.topbar__search input { border: 0; background: transparent; outline: 0; width: 100%; font: inherit; color: var(--text); }
.topbar__search .icon-btn { width: 28px; height: 28px; }
.topbar__note { margin-left: auto; color: var(--muted); font-weight: 500; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-duo); box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 24px; height: 24px; fill: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__text strong { font-weight: 800; font-size: 1.32rem; letter-spacing: 0.04em; color: var(--text); }
.brand__text span { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--primary); margin-top: 2px; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li > a {
  font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm);
  padding: 9px 14px; border-radius: var(--radius-full); color: var(--text);
  position: relative; transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-list > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-list > li > a:not(.btn):hover { color: var(--primary); }
.nav-list > li > a:not(.btn):hover::after,
.nav-list > li > a.is-active::after { transform: scaleX(1); }
.nav-list > li > a.is-active { color: var(--primary); }
.nav-list__cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero__track { display: flex; transition: transform 620ms var(--ease); }
.slide {
  position: relative; min-width: 100%; min-height: clamp(440px, 64vh, 660px);
  display: flex; align-items: center; color: #fff;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide__inner { position: relative; z-index: 2; max-width: 620px; padding-block: 40px; }
/* brand gradient = readability scrim layered above the photo, still visible as fallback */
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.slide--1::before { background: linear-gradient(100deg, rgba(30, 64, 175, 0.86) 0%, rgba(37, 99, 235, 0.6) 48%, rgba(251, 113, 133, 0.32) 130%); }
.slide--2::before { background: linear-gradient(100deg, rgba(30, 58, 138, 0.86) 0%, rgba(37, 99, 235, 0.58) 58%, rgba(96, 165, 250, 0.3) 130%); }
.slide--3::before { background: linear-gradient(100deg, rgba(30, 64, 175, 0.86) 0%, rgba(59, 130, 246, 0.58) 48%, rgba(251, 113, 133, 0.34) 140%); }
.slide--4::before { background: linear-gradient(100deg, rgba(15, 42, 107, 0.88) 0%, rgba(37, 99, 235, 0.58) 55%, rgba(147, 197, 253, 0.3) 130%); }
/* real photos behind the scrim; gradient remains as fallback if image fails */
.slide--1 { background-color: #1e40af; background-image: url("img/dental-hero.png"); }
.slide--2 { background-color: #1e3a8a; background-image: url("img/dental-banner.png"); }
.slide--3 { background-color: #1e40af; background-image: url("img/dental-banner.png"); }
.slide--4 { background-color: #0f2a6b; background-image: url("img/dental-banner.png"); }
/* decorative grain/orbs */
.slide__inner::before {
  content: ""; position: absolute; right: -200px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%); border-radius: 50%;
  pointer-events: none;
}

.slide__eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.slide__title { color: #fff; font-weight: 800; font-size: var(--text-hero); margin-bottom: 18px; }
.slide__text { font-size: var(--text-lg); max-width: 46ch; margin-bottom: 28px; color: rgba(255, 255, 255, 0.92); }

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--primary); display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero__nav svg { width: 22px; height: 22px; }
.hero__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero__nav--prev { left: 18px; }
.hero__nav--next { right: 18px; }

.hero__dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; display: flex; gap: 9px; }
.hero__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.5); transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero__dots button.is-active { width: 28px; border-radius: var(--radius-full); background: #fff; }

/* ============================================================
   INTRO
   ============================================================ */
.intro { padding-block: var(--space-section); text-align: center; }
.intro .section-title { margin-inline: auto; max-width: 18ch; }
.intro__cols {
  display: grid; gap: 22px; max-width: 880px; margin-inline: auto;
  grid-template-columns: 1fr 1fr; text-align: left; color: var(--muted); font-size: var(--text-lg);
}
.intro__cols strong { color: var(--text); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: var(--space-section); background: var(--soft); }
.services__grid {
  display: grid; gap: 20px; margin-top: 2.4rem;
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__media {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--primary); margin-bottom: 18px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card__media svg { width: 30px; height: 30px; }
.service-card:hover .service-card__media { background: var(--grad-duo); color: #fff; }
.service-card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: var(--text-sm); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding-block: var(--space-section); }
.cta-banner__inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; background: var(--grad-duo); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px); color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-banner__inner::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.4), transparent 70%); border-radius: 50%;
}
.cta-banner__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  /* photo layered over the coral gradient fallback */
  background-color: #f43f5e;
  background-image: url("img/dental-banner.png"), linear-gradient(150deg, #fb7185, #f43f5e 55%, #be123c);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); overflow: hidden;
}
.cta-banner__body { position: relative; z-index: 2; }
.cta-banner__body h2 { color: #fff; font-size: var(--text-xl); font-weight: 800; margin-bottom: 14px; max-width: 18ch; }
.cta-banner__body p { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; max-width: 46ch; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding-block: var(--space-section); background: var(--soft); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__stars { color: #f59e0b; letter-spacing: 3px; font-size: 1.05rem; }
.review-card blockquote { font-size: var(--text-base); color: var(--text); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review-card figcaption strong { font-family: var(--font-head); font-weight: 700; }
.review-card figcaption small { color: var(--muted); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad-duo); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}

/* ============================================================
   WHY
   ============================================================ */
.why { padding-block: var(--space-section); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.reason-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.reason-card__num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: var(--soft-2); display: block; margin-bottom: 6px; line-height: 1;
}
.reason-card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.reason-card p { color: var(--muted); font-size: var(--text-sm); }
.reason-card--accent { background: var(--grad-duo); border-color: transparent; box-shadow: var(--shadow); }
.reason-card--accent .reason-card__num { color: rgba(255, 255, 255, 0.35); }
.reason-card--accent h3 { color: #fff; }
.reason-card--accent p { color: rgba(255, 255, 255, 0.9); }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding-block: var(--space-section); background: var(--soft); text-align: center; }
.team .section-eyebrow, .team .section-title { text-align: left; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4rem; }
.team-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); margin-bottom: 18px;
  /* gradient stays as fallback behind the real photo */
  background-color: #bfdbfe;
  background-image: linear-gradient(150deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
.team-card__photo--valeria { background-image: url("img/dent-valeria.png"), linear-gradient(150deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%); }
.team-card__photo--andres { background-image: url("img/dent-andres.png"), linear-gradient(150deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%); }
.team-card__photo--camila { background-image: url("img/dent-camila.png"), linear-gradient(150deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%); }
.team-card h3 { font-size: var(--text-lg); font-weight: 700; }
.team-card__role { color: var(--primary); font-weight: 600; font-size: var(--text-sm); margin-top: 4px; }
.team-card__rne {
  display: inline-block; margin-top: 10px; font-size: var(--text-xs); color: var(--muted);
  background: var(--soft); padding: 4px 12px; border-radius: var(--radius-full);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 2.4rem;
  font-family: var(--font-head); font-weight: 700; color: var(--primary);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow svg { width: 20px; height: 20px; }
.link-arrow:hover { gap: 14px; color: var(--accent-dark); }
.link-arrow--sm { font-size: var(--text-sm); margin-top: 0; }

/* ============================================================
   BLOG
   ============================================================ */
.blog { padding-block: var(--space-section); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4rem; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media {
  position: relative; aspect-ratio: 16 / 10;
  background-color: #2563eb;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  /* gradient remains as fallback behind each post photo */
  background-image: linear-gradient(140deg, #1e40af, #2563eb 60%, #60a5fa);
}
.post-card__media--1 { background-image: url("img/blog-brackets.png"), linear-gradient(140deg, #1e40af, #2563eb 60%, #60a5fa); }
.post-card__media--2 { background-color: #fb7185; background-image: url("img/blog-blanqueamiento.png"), linear-gradient(140deg, #be123c, #fb7185 70%, #fda4af); }
.post-card__media--3 { background-color: #3b82f6; background-image: url("img/blog-implantes.png"), linear-gradient(140deg, #1e3a8a, #3b82f6 60%, #fb7185 140%); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body time { font-size: var(--text-xs); color: var(--accent-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card__body h3 { font-size: var(--text-lg); font-weight: 700; }
.post-card__body p { color: var(--muted); font-size: var(--text-sm); }
.post-card__body .link-arrow--sm { margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--space-section); background: var(--soft); }
.faq .section-title, .faq .section-eyebrow { text-align: center; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; margin-top: 2.4rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--primary-light); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-head);
  font-weight: 700; font-size: var(--text-base); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--soft); color: var(--primary); display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 400; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad-accent); color: #fff; }
.faq-item__body { padding: 0 24px 22px; }
.faq-item__body p { color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f1f43; color: rgba(255, 255, 255, 0.78); padding-top: clamp(3rem, 5vw, 5rem); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text span { color: var(--accent); }
.footer-col__tag { margin-top: 16px; font-size: var(--text-sm); max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: var(--text-base); margin-bottom: 16px; font-weight: 700; }
.footer-col__sub { margin-top: 24px; }
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: var(--text-sm); }
.footer-list li { display: flex; flex-direction: column; }
.footer-list--contact li { gap: 2px; }
.footer-list__k { color: var(--accent); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.footer-list li span:not(.footer-list__k) { color: rgba(255, 255, 255, 0.55); }
.footer-list--contact a, .footer-list--links a { color: rgba(255, 255, 255, 0.78); transition: color var(--dur) var(--ease); }
.footer-list--contact a:hover, .footer-list--links a:hover { color: #fff; }
.footer-list--links li { flex-direction: row; }
.footer-list--links a { position: relative; padding-left: 16px; }
.footer-list--links a::before { content: "›"; position: absolute; left: 0; color: var(--accent); }
.footer-social { display: flex; gap: 8px; }

.site-footer__bottom { padding-block: 20px; font-size: var(--text-xs); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { color: rgba(255, 255, 255, 0.6); transition: color var(--dur) var(--ease); }
.legal-links a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform var(--dur) var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .topbar__note { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: relative; }
  .nav-list {
    position: absolute; top: calc(100% + 14px); right: 0; flex-direction: column;
    align-items: stretch; gap: 4px; width: min(280px, 80vw);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav-list.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list > li > a:not(.btn) { display: block; }
  .nav-list > li > a:not(.btn)::after { display: none; }
  .nav-list__cta { margin-left: 0; margin-top: 4px; }
  .nav-list__cta a { width: 100%; justify-content: center; }

  .intro__cols { grid-template-columns: 1fr; }
  .testimonials__grid, .why__grid, .team__grid, .blog__grid { grid-template-columns: 1fr; }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__nav { width: 40px; height: 40px; }
  .hero__nav--prev { left: 10px; }
  .hero__nav--next { right: 10px; }
  .topbar__search { max-width: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__track { transition: none; }
}
