/* ==========================================================================
   Nissan Özel Servis – Ulu Otomotiv | style.css
   Statik site – HTML5 / CSS3 / Vanilla JS
   ========================================================================== */

:root {
  --primary: #c3002f;
  --primary-dark: #82001f;
  --primary-light: #e12b52;
  --secondary: #24272c;
  --background: #f4f5f7;
  --surface: #ffffff;
  --text: #17191d;
  --muted: #69707a;
  --border: #dce0e5;
  --success: #168f5b;
  --danger: #c93838;

  --whatsapp: #25d366;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(23, 25, 29, 0.06), 0 1px 3px rgba(23, 25, 29, 0.08);
  --shadow: 0 4px 12px rgba(23, 25, 29, 0.08), 0 2px 4px rgba(23, 25, 29, 0.06);
  --shadow-lg: 0 12px 32px rgba(23, 25, 29, 0.12), 0 4px 8px rgba(23, 25, 29, 0.06);

  --container: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  line-height: 1.22;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.section {
  padding: clamp(48px, 7vw, 88px) 0;
}
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.section--alt { background: var(--surface); }
.section--dark {
  background: var(--secondary);
  color: #e7e9ec;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1.1;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(195, 0, 47, 0.28);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--dark {
  background: var(--secondary);
  color: #fff;
}
.btn--dark:hover { background: #12141a; color: #fff; }

.btn--wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn--wa:hover { background: #1eb257; color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--secondary);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--secondary); color: var(--secondary); }

.btn--light {
  background: #fff;
  color: var(--secondary);
}
.btn--light:hover { background: #f0f1f3; color: var(--secondary); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--icon { padding: 10px; }
.btn--icon svg { width: 20px; height: 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--secondary);
  color: #cfd3d9;
  font-size: 0.85rem;
}
.topbar a { color: #cfd3d9; }
.topbar a:hover { color: #fff; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 8px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__item svg { width: 15px; height: 15px; color: var(--primary-light); }
.topbar__spacer { margin-left: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.header__actions { gap: 8px; }

/* Logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
}
/* Görsel logo */
.logo--img { display: inline-block; }
.logo--img img {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 480px) {
  .logo--img img { height: 38px; }
}
.logo__main {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.logo__mark {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 5px;
  letter-spacing: 0.12em;
}
.logo__sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  padding-left: 2px;
}

/* Nav */
.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: var(--header-h);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 100%;
  padding: 0 9px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav__link:hover { color: var(--primary); background: var(--background); }
.nav__link.is-active,
.nav__link[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.nav__caret {
  display: inline-flex;
  transform: rotate(90deg);
  transition: transform 0.2s var(--ease);
}
.nav__caret svg { width: 14px; height: 14px; }
.nav__item.has-sub:hover .nav__caret,
.nav__item.has-sub:focus-within .nav__caret { transform: rotate(-90deg); }

/* Dropdown / mega menu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.submenu--right { left: auto; right: 0; }
.submenu--mega { min-width: 560px; }
.nav__item.has-sub:hover > .submenu,
.nav__item.has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0s;
}
.submenu__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), minmax(160px, 1fr));
  gap: 18px 26px;
}
.submenu__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.submenu__col ul { list-style: none; margin: 0; padding: 0; }
.submenu__col li { margin: 0; }
.submenu__col a {
  display: block;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}
.submenu__col a:hover { background: var(--background); color: var(--primary); }
.submenu__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}
.submenu__all svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.submenu__all:hover svg { transform: translateX(3px); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header__actions .btn { padding: 10px 15px; font-size: 0.9rem; }

.icon-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--secondary);
}
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 29, 0.55);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list > li { margin: 0; }
.mobile-menu__list a {
  display: block;
  padding: 13px 8px;
  color: var(--secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__list a:hover { color: var(--primary); }
.mobile-menu__cta { display: grid; gap: 10px; margin-top: 20px; }

/* Mobil alt menü (accordion) */
.msub__row { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.msub__row a { flex: 1; border-bottom: none !important; }
.msub__toggle {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border: none;
  border-left: 1px solid var(--border);
  background: none;
  color: var(--secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.msub__toggle svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform 0.25s var(--ease); }
.msub__toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
.msub__list {
  list-style: none;
  margin: 0 0 2px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--background);
  border-radius: 8px;
  transition: max-height 0.3s var(--ease);
}
.msub__list li { margin: 0; }
.msub__list a {
  border-bottom: none !important;
  padding: 10px 8px 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.msub__list a:hover { color: var(--primary); }
.msub__all a { color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(23, 25, 29, 0.86) 0%, rgba(36, 39, 44, 0.92) 100%),
    url("../images/hero.svg") center/cover no-repeat;
  background-color: var(--secondary);
  color: #fff;
  padding: clamp(52px, 8vw, 96px) 0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(195, 0, 47, 0.4), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 52px;
  align-items: center;
}
.hero__inner { position: relative; }
.hero__media {
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero__media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: block;
}
.hero__media-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(23, 25, 29, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__media-chip svg { width: 15px; height: 15px; color: var(--primary-light); }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); display: inline-block;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: #dfe2e6;
  max-width: 680px;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hero__trust li {
  list-style: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li::after { content: "›"; color: var(--muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--secondary); font-weight: 700; }

/* ---------- Page header ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2f333a 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 68px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero__lead { color: #d3d7dd; font-size: 1.08rem; max-width: 720px; margin: 0; }
.page-hero__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cdd2d8;
}
.card__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(195, 0, 47, 0.1), rgba(195, 0, 47, 0.04));
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* Model card with image */
.card--model {
  padding: 0;
  overflow: hidden;
}
.card--model .card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card--model .card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}
.card--model:hover .card__image {
  transform: scale(1.05);
}
.card__img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

/* Link-list card (compact) */
.linkcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-weight: 600;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.linkcard:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.linkcard svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ---------- Feature list ---------- */
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(195, 0, 47, 0.08);
  color: var(--primary);
  border-radius: 10px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.section--dark .feature__icon {
  background: rgba(225, 43, 82, 0.16);
  color: var(--primary-light);
}
.section--dark .feature p { color: #b8bdc5; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(22, 143, 91, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168f5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(195, 0, 47, 0.3);
}
.step h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.14), transparent 45%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0 auto 24px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Article / prose ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose .lead {
  font-size: 1.12rem;
  color: var(--muted);
  font-weight: 500;
}
.prose blockquote {
  margin: 1.5rem 0;
  padding: 16px 22px;
  background: rgba(195, 0, 47, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  color: var(--secondary);
}
.prose blockquote p:last-child { margin: 0; }

.note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #92400e;
  margin: 1.4rem 0;
  display: flex;
  gap: 10px;
}
.note svg { width: 20px; height: 20px; flex-shrink: 0; color: #d97706; }

/* Sidebar */
.sidebar { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.side-card--accent {
  background: var(--secondary);
  color: #e7e9ec;
  border-color: var(--secondary);
}
.side-card--accent h3 { color: #fff; }
.side-card h3 { font-size: 1.1rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { margin-bottom: 2px; }
.side-card li a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.92rem;
}
.side-card li a:hover { background: var(--background); color: var(--primary); }
.side-card--accent .cta-list { display: grid; gap: 10px; margin-top: 8px; }

/* ---------- Symptoms grid ---------- */
.symptom {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.symptom h3 { font-size: 1rem; margin-bottom: 4px; }
.symptom p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--primary); }
.faq-q__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.faq-q__icon::before,
.faq-q__icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
}
.faq-q__icon::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq-q__icon::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity 0.2s; }
.faq-q[aria-expanded="true"] .faq-q__icon::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a__inner { padding: 0 20px 18px; color: var(--muted); }
.faq-a__inner p:last-child { margin: 0; }

/* ---------- Related links ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Split / info blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--surface);
}
.media-frame img { width: 100%; }

/* ---------- Info / contact table ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.info-list li:last-child { border-bottom: none; }
.info-list .ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(195, 0, 47, 0.08);
  color: var(--primary);
  border-radius: 10px;
}
.info-list .ico svg { width: 20px; height: 20px; }
.info-list .lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.info-list .val { font-weight: 600; color: var(--secondary); }
.info-list .val a { color: var(--secondary); }
.info-list .val a:hover { color: var(--primary); }

/* ---------- Map ---------- */
.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: 380px; border: 0; }

/* ---------- Form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}
.field label .req { color: var(--primary); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(195, 0, 47, 0.12);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field__error {
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 600;
  min-height: 1em;
  display: none;
}
.field.has-error .field__error { display: block; }

.check-field {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}
.check-field input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.check-field a { font-weight: 600; }
.form-msg {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-msg.is-ok { display: block; background: rgba(22, 143, 91, 0.1); color: var(--success); }
.form-msg.is-err { display: block; background: rgba(201, 56, 56, 0.1); color: var(--danger); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(23, 25, 29, 0.6); }
.modal__box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(640px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal.is-open .modal__box { transform: translateY(0) scale(1); }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--border);
}
.modal__head h2 { margin: 0; font-size: 1.3rem; }
.modal__body { padding: 22px 24px 26px; }
.modal__close {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: none;
  background: var(--background);
  border-radius: 10px;
  cursor: pointer;
  color: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal__close svg { width: 22px; height: 22px; }
.modal__close:hover { background: var(--border); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease);
}
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa svg { width: 30px; height: 30px; }
.float-wa::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.6;
  animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 149;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--secondary);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Mobile bottom bar ---------- */
.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 160;
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(23, 25, 29, 0.08);
}
.mobilebar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px calc(9px + env(safe-area-inset-bottom, 0px));
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--secondary);
}
.mobilebar a svg { width: 20px; height: 20px; }
.mobilebar a.wa { color: var(--whatsapp); }
.mobilebar a.call { color: var(--primary); }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 170;
  max-width: 720px;
  margin: 0 auto;
  background: var(--secondary);
  color: #e7e9ec;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; font-size: 0.88rem; flex: 1 1 280px; }
.cookie a { color: var(--primary-light); }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- Footer ---------- */
.footer {
  background: #16181c;
  color: #aab0b9;
  padding: 56px 0 0;
  font-size: 0.92rem;
}
.footer a { color: #aab0b9; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer .logo__main { color: #fff; }
.footer__about p { margin-bottom: 14px; line-height: 1.6; }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.82rem;
  color: #8b929c;
  line-height: 1.6;
}
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright { margin: 0; font-size: 0.85rem; }
.footer-copyright a { color: var(--primary-light); font-weight: 700; }
.footer-copyright a:hover { text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer__legal a { font-size: 0.82rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.2rem; }
.muted { color: var(--muted); }
.stack-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hidden { display: none !important; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
