/* ==========================================================================
   Hamidoğlu Emlak — Design System
   Emlak · Sigorta & Kasko · Çelik Konstrüksiyon & Prefabrik Evler
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #050f1c;
  --navy-900: #0a1c30;
  --navy-800: #0f2943;
  --navy-700: #16385c;
  --teal-700: #0b6670;
  --teal-600: #0e7c86;
  --teal-500: #12a0a6;
  --teal-400: #2cc4c0;
  --teal-100: #dff5f4;
  --gold: #f4b740;
  --gold-600: #e09a17;

  /* Service accents */
  --c-emlak: #12a0a6;
  --c-emlak-2: #0e7c86;
  --c-sigorta: #2f6fed;
  --c-sigorta-2: #1d4fc4;
  --c-yapi: #f08a24;
  --c-yapi-2: #d46b0c;
  --c-green: #25d366;

  /* Neutrals */
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #0a1c30;
  --muted: #5a6b80;
  --line: #e2e8f0;

  /* Type */
  --ff-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-script: "Caveat", "Segoe Script", cursive;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 84px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 28, 48, .06);
  --shadow: 0 12px 34px -12px rgba(10, 28, 48, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 28, 48, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --accent: var(--c-emlak);
  --accent-2: var(--c-emlak-2);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--ff-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal-500); color: #fff; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--dark { background: var(--navy-900); color: #dbe6f2; }
.section--white { background: var(--surface); }
.text-center { text-align: center; }

/* ---------- Icons ---------- */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 32px; height: 32px; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--teal-400); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.section-title em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .section-title { color: #fff; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.section--dark .section-lead { color: #9fb3c8; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.text-center .section-lead { margin-inline: auto; }
.script { font-family: var(--ff-script); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--accent); }
.grad-text { background: linear-gradient(110deg, #fff 10%, var(--teal-400) 50%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  color: #fff; background: var(--b-bg);
  box-shadow: 0 10px 24px -10px rgba(14, 124, 134, .7);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(14, 124, 134, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn--gold { --b-bg: linear-gradient(135deg, #f8c75a, var(--gold-600)); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(224,154,23,.75); }
.btn--wa { --b-bg: linear-gradient(135deg, #2fe077, #12a150); box-shadow: 0 10px 24px -10px rgba(18,161,80,.7); }
.btn--blue { --b-bg: linear-gradient(135deg, #4f8bff, var(--c-sigorta-2)); box-shadow: 0 10px 24px -10px rgba(47,111,237,.7); }
.btn--orange { --b-bg: linear-gradient(135deg, #ffa448, var(--c-yapi-2)); box-shadow: 0 10px 24px -10px rgba(240,138,36,.7); }
.btn--ghost {
  --b-bg: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--ghost:hover { --b-bg: rgba(255,255,255,.16); box-shadow: none; }
.btn--outline { --b-bg: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-2); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 600; color: var(--accent-2); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Top bar & Header ---------- */
.topbar { background: var(--navy-950); color: #9fb3c8; font-size: .85rem; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 15px; height: 15px; color: var(--teal-400); }

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header--overlay { position: fixed; left: 0; right: 0; top: 42px; }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled, .header--solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(10,28,48,.06), 0 10px 30px -18px rgba(10,28,48,.3);
}
.header.is-scrolled { top: 0; height: 72px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo__mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--ff-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; }
.logo__sub { font-family: var(--ff-head); font-weight: 600; font-size: .7rem; letter-spacing: .5em; color: var(--teal-400); margin-top: 5px; display: flex; align-items: center; gap: 6px; }
.logo__sub::before, .logo__sub::after { content: ""; height: 1.5px; width: 14px; background: currentColor; opacity: .7; }
.header.is-scrolled .logo, .header--solid .logo, .footer .logo { color: var(--navy-900); }
.footer .logo { color: #fff; }
.header.is-scrolled .logo__sub, .header--solid .logo__sub { color: var(--teal-600); }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 500; font-size: .98rem; color: rgba(255,255,255,.88);
  transition: color .25s, background .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px;
  background: var(--teal-400); transform: translateX(-50%); transition: width .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 22px; }
.nav__link[aria-current="page"] { color: #fff; }
.header.is-scrolled .nav__link, .header--solid .nav__link { color: var(--text); }
.header.is-scrolled .nav__link:hover, .header--solid .nav__link:hover,
.header.is-scrolled .nav__link[aria-current="page"], .header--solid .nav__link[aria-current="page"] { color: var(--teal-600); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--ff-head); font-weight: 600; }
.header__phone small { display: block; font-size: .72rem; font-weight: 500; opacity: .7; letter-spacing: .04em; }
.header__phone .ico-wrap { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.header.is-scrolled .header__phone, .header--solid .header__phone { color: var(--text); }
.header.is-scrolled .header__phone .ico-wrap, .header--solid .header__phone .ico-wrap { background: var(--teal-100); border-color: transparent; color: var(--teal-600); }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.header.is-scrolled .burger, .header--solid .burger { color: var(--text); background: var(--bg); border-color: var(--line); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5,15,28,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--navy-900); color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.drawer__link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; font-family: var(--ff-head); font-size: 1.08rem; font-weight: 500; transition: background .25s; }
.drawer__link .ico { color: var(--teal-400); }
.drawer__link:hover, .drawer__link[aria-current="page"] { background: rgba(255,255,255,.07); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 20px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 15% 50%, rgba(5,15,28,.88), transparent 70%),
    linear-gradient(180deg, rgba(5,15,28,.55) 0%, rgba(5,15,28,.25) 40%, rgba(5,15,28,.85) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .9rem; font-weight: 500; margin-bottom: 26px;
}
.hero__badge b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
.hero__badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.85); max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.15em; }
.hero__rotator span { grid-area: 1/1; transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.hero__rotator span.is-active { transform: none; opacity: 1; }
.hero__rotator span.is-leaving { transform: translateY(-110%); opacity: 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; color: rgba(255,255,255,.82); font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .ico { color: var(--teal-400); }

.hero__script { position: absolute; right: 6%; top: calc(var(--header-h) + 80px); font-family: var(--ff-script); font-size: clamp(1.6rem, 2.6vw, 2.4rem); transform: rotate(-6deg); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero__script::after { content: ""; display: block; height: 3px; width: 70%; margin: 4px 0 0 20%; border-radius: 3px; background: var(--teal-400); transform: rotate(-2deg); }

.hero-cards { display: grid; gap: 14px; }
.hero-card {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
  overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.12), transparent); transform: translateX(-100%); transition: transform .9s var(--ease); }
.hero-card:hover { transform: translateX(-8px); background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.hero-card:hover::before { transform: translateX(100%); }
.hero-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 20px -8px rgba(0,0,0,.5); }
.hero-card__icon .ico { width: 28px; height: 28px; }
.hero-card h2 { font-size: 1.12rem; margin: 0 0 2px; font-weight: 700; }
.hero-card p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.hero-card .ico--arrow { margin-left: auto; opacity: .6; transition: transform .3s var(--ease), opacity .3s; }
.hero-card:hover .ico--arrow { transform: translateX(4px); opacity: 1; }
.bg-emlak { background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); }
.bg-sigorta { background: linear-gradient(135deg, #5b95ff, var(--c-sigorta-2)); }
.bg-yapi { background: linear-gradient(135deg, #ffad5c, var(--c-yapi-2)); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255,255,255,.5); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 120px) 0 110px;
  min-height: 68vh; display: flex; align-items: flex-end;
}
.page-hero .hero__media img { animation-duration: 28s; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,15,28,.92) 0%, rgba(5,15,28,.7) 45%, rgba(5,15,28,.25) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; z-index: -1; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; max-width: 820px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 640px; }
.page-hero .hero__actions { margin: 30px 0 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

.theme-emlak { --accent: var(--c-emlak); --accent-2: var(--c-emlak-2); }
.theme-sigorta { --accent: #5b95ff; --accent-2: var(--c-sigorta); }
.theme-yapi { --accent: #ffa448; --accent-2: var(--c-yapi); }

/* ---------- Marquee ---------- */
.marquee { background: linear-gradient(90deg, var(--teal-700), var(--navy-800) 50%, var(--teal-700)); color: #fff; padding: 20px 0; overflow: hidden; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding-inline: 28px; font-family: var(--ff-head); font-size: 1.08rem; font-weight: 600; white-space: nowrap; }
.marquee__item .ico { color: var(--gold); width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards (home) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  --sc: var(--c-emlak); --sc2: var(--c-emlak-2);
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(10,28,48,.05);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  isolation: isolate;
}
.service-card--sigorta { --sc: #4f8bff; --sc2: var(--c-sigorta-2); }
.service-card--yapi { --sc: #ffa448; --sc2: var(--c-yapi-2); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,15,28,.6)); }
.service-card__num { position: absolute; top: 18px; left: 20px; z-index: 2; font-family: var(--ff-head); font-weight: 800; font-size: .85rem; letter-spacing: .14em; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(5,15,28,.35); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.service-card__icon {
  position: absolute; right: 24px; bottom: -30px; z-index: 3;
  width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--sc), var(--sc2));
  box-shadow: 0 14px 28px -10px var(--sc2), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .6s var(--ease-spring);
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); }
.service-card__icon .ico { width: 30px; height: 30px; }
.service-card__body { padding: 36px 28px 30px; display: flex; flex-direction: column; flex: 1; position: relative; }
.service-card__body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--sc) 12%, transparent), transparent 60%);
}
.service-card:hover .service-card__body::before { opacity: 1; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--sc2, var(--accent-2)); background: color-mix(in srgb, var(--sc, var(--accent)) 10%, white); border: 1px solid color-mix(in srgb, var(--sc, var(--accent)) 22%, white); }
.chip .ico { width: 14px; height: 14px; }
.service-card .link-arrow { margin-top: auto; color: var(--sc2); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; transition: transform 1.2s var(--ease); }
.img-frame:hover img { transform: scale(1.05); }
.deco-dots { position: absolute; width: 140px; height: 140px; z-index: -1; background-image: radial-gradient(var(--accent) 2px, transparent 2px); background-size: 16px 16px; opacity: .35; }
.deco-dots--tl { top: -30px; left: -30px; }
.deco-dots--br { bottom: -30px; right: -30px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.7);
  animation: floaty 6s ease-in-out infinite;
}
.float-card--bl { left: -28px; bottom: 34px; }
.float-card--tr { right: -24px; top: 34px; animation-delay: -3s; }
.float-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.float-card strong { display: block; font-family: var(--ff-head); font-size: 1.35rem; line-height: 1.1; color: var(--text); }
.float-card span { font-size: .84rem; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 30px 0; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .3s;
}
.cat__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .5s var(--ease-spring); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat:hover .cat__icon { transform: scale(1.12) rotate(-6deg); }
.c1 { background: linear-gradient(135deg, #1f4e79, var(--navy-800)); }
.c2 { background: linear-gradient(135deg, #4f8bff, #1d4fc4); }
.c3 { background: linear-gradient(135deg, #ffad5c, #e2730f); }
.c4 { background: linear-gradient(135deg, #5dc77a, #22894a); }
.c5 { background: linear-gradient(135deg, #8fd16a, #4c9a2a); }

/* Check list */
.checklist { display: grid; gap: 14px; margin: 24px 0 32px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-top: 1px; }
.checklist .tick .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.checklist strong { display: block; font-family: var(--ff-head); font-size: 1.04rem; }
.checklist span { color: var(--muted); font-size: .94rem; }
.section--dark .checklist span { color: #9fb3c8; }
.section--dark .checklist strong { color: #fff; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  color: var(--accent-2); background: color-mix(in srgb, var(--accent) 12%, white);
  transition: transform .5s var(--ease-spring), background .3s, color .3s;
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.feature__icon .ico { width: 28px; height: 28px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature__tag { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: color-mix(in srgb, var(--accent) 10%, white); padding: 4px 10px; border-radius: 999px; }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p { color: #9fb3c8; }
.section--dark .feature__icon { background: rgba(255,255,255,.07); color: var(--accent); }

/* ---------- Insurance section (dark) ---------- */
.ins-section { background: radial-gradient(ellipse at 80% 0%, #143a6b 0%, transparent 55%), radial-gradient(ellipse at 0% 100%, #0b4a55 0%, transparent 50%), var(--navy-900); overflow: hidden; }
.ins-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.ins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0 34px; }
.ins-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  transition: background .3s, transform .4s var(--ease), border-color .3s;
}
.ins-item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(91,149,255,.45); }
.ins-item__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #5b95ff, #1d4fc4); box-shadow: 0 10px 20px -10px #2f6fed; }
.ins-item h3 { color: #fff; font-size: 1.08rem; margin: 2px 0 4px; }
.ins-item p { color: #9fb3c8; font-size: .9rem; margin: 0; line-height: 1.55; }
.shield-badge { position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #5b95ff, #1d4fc4); color: #fff; box-shadow: 0 20px 40px -10px rgba(47,111,237,.7); animation: floaty 6s ease-in-out infinite; }
.shield-badge .ico { width: 54px; height: 54px; stroke-width: 1.5; }
.shield-badge::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(91,149,255,.5); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Build (yapı) showcase ---------- */
.build-duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-bottom: 40px; }
.build-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; color: #fff; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow); }
.build-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.build-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,15,28,.9)); }
.build-tile:hover img { transform: scale(1.07); }
.build-tile__body { padding: 30px; width: 100%; }
.build-tile__label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; font-family: var(--ff-head); font-weight: 700; background: linear-gradient(135deg, #ffa448, var(--c-yapi-2)); transform: skewX(-8deg); margin-bottom: 14px; }
.build-tile__label > * { transform: skewX(8deg); }
.build-tile h3 { font-size: 1.7rem; margin-bottom: 6px; }
.build-tile p { color: rgba(255,255,255,.82); margin: 0; max-width: 460px; }

.build-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-800), var(--teal-700)); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.build-strip__item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; position: relative; }
.build-strip__item + .build-strip__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255,255,255,.18); }
.build-strip__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid rgba(255,255,255,.35); transition: background .3s, transform .5s var(--ease-spring); }
.build-strip__item:hover .build-strip__icon { background: rgba(255,255,255,.14); transform: rotate(-10deg) scale(1.08); }
.build-strip strong { display: block; font-family: var(--ff-head); font-size: 1.08rem; }
.build-strip span { font-size: .86rem; color: rgba(255,255,255,.72); line-height: 1.4; display: block; }

/* ---------- Stats ---------- */
.stats { position: relative; background: linear-gradient(120deg, var(--teal-700), var(--navy-800)); color: #fff; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(44,196,192,.35), transparent 65%); top: -300px; right: -150px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { text-align: center; padding: 10px; }
.stat__num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #bfe9e7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; color: rgba(255,255,255,.78); font-weight: 500; }
.stat__icon { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--gold); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__icon {
  position: relative; width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--accent-2); border: 2px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-spring), background .3s, color .3s, border-color .3s;
}
.step:hover .step__icon { transform: translateY(-6px) scale(1.06); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.step__icon .ico { width: 30px; height: 30px; }
.step__icon::after { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -6px; right: -8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: .76rem; color: #fff; background: var(--navy-900); border: 3px solid var(--bg); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-900); color: #fff; font-family: var(--ff-head); font-size: 1.05rem; }
.compare thead th:nth-child(2) { background: linear-gradient(135deg, var(--navy-800), #8a4a10); }
.compare thead th:nth-child(3) { background: linear-gradient(135deg, var(--navy-800), var(--teal-700)); }
.compare tbody th { font-family: var(--ff-head); font-weight: 600; width: 26%; color: var(--text); background: #fafcfe; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: color-mix(in srgb, var(--accent) 5%, white); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item::after { content: attr(data-caption); position: absolute; left: 14px; bottom: 14px; right: 14px; color: #fff; font-family: var(--ff-head); font-weight: 600; padding: 10px 14px; border-radius: 12px; background: rgba(5,15,28,.55); backdrop-filter: blur(8px); transform: translateY(20px); opacity: 0; transition: .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,28,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; border-radius: 16px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, white); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 12%, white); transition: background .3s, transform .4s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--accent-2); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--teal-700) 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px; z-index: -1; background: radial-gradient(circle, rgba(44,196,192,.45), transparent 65%); animation: floaty 10s ease-in-out infinite; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -120px; bottom: -220px; z-index: -1; background: radial-gradient(circle, rgba(244,183,64,.25), transparent 65%); }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: #fff; }
.cta p { color: rgba(255,255,255,.8); font-size: 1.08rem; margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta .script { color: var(--gold); display: block; margin-bottom: 6px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold)); }
.form-card h2, .form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fafcfe;
  font-size: .98rem; transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field input:user-invalid { border-color: #e5484d; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-top: 14px; }
.form-note .ico { width: 16px; height: 16px; color: var(--c-green); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fafcfe; cursor: pointer; font-weight: 600; font-size: .9rem; transition: .25s; display: inline-flex; align-items: center; gap: 8px; }
.seg label .ico { width: 17px; height: 17px; }
.seg input:checked + label { border-color: var(--accent); color: var(--accent-2); background: color-mix(in srgb, var(--accent) 10%, white); box-shadow: 0 4px 14px -6px var(--accent); }
.seg input:focus-visible + label { outline: 3px solid var(--teal-400); outline-offset: 2px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); }
.contact-card h3 { font-size: 1.1rem; margin: 0; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.contact-card a:hover { color: var(--teal-600); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: #e9eef4; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #8ea3b9; padding-top: 84px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--teal-500), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; letter-spacing: .02em; }
.footer p { font-size: .95rem; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; transition: color .2s, transform .3s var(--ease); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__links a .ico { width: 14px; height: 14px; color: var(--teal-400); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .95rem; }
.footer__contact .ico { color: var(--teal-400); margin-top: 3px; width: 18px; height: 18px; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #cfe0ef; transition: .3s var(--ease); }
.socials a:hover { background: var(--teal-600); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer__bottom a:hover { color: #fff; }
.footer__big { position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); font-family: var(--ff-head); font-weight: 900; font-size: clamp(4rem, 15vw, 13rem); letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); pointer-events: none; line-height: 1; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .4s var(--ease-spring); }
.fab__btn:hover { transform: scale(1.1); }
.fab__btn--wa { background: linear-gradient(135deg, #2fe077, #12a150); }
.fab__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab__btn .ico { width: 30px; height: 30px; }
.fab__tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(10px); white-space: nowrap; background: var(--navy-900); color: #fff; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.fab__btn:hover .fab__tip { opacity: 1; transform: translateY(-50%); }
.to-top { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--navy-900); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .4s var(--ease); position: relative; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--teal-500); stroke-width: 3; stroke-dasharray: 138; stroke-dashoffset: var(--p, 138); transition: stroke-dashoffset .1s linear; }

.mobile-bar { display: none; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--teal-400), var(--gold)); z-index: 70; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.hero [data-anim] { opacity: 0; transform: translateY(30px); animation: heroIn 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: radial-gradient(ellipse at top, var(--navy-800), var(--navy-950)); color: #fff; padding: 24px; }
.notfound h1 { font-size: clamp(6rem, 20vw, 12rem); margin: 0; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .94rem; }
  .header__phone small, .header__phone .num { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__script { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service-card:last-child { grid-column: span 2; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .build-strip { grid-template-columns: repeat(2, 1fr); }
  .build-strip__item:nth-child(3)::before { display: none; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(4) { grid-column: span 1; }
  .float-card--bl { left: 12px; }
  .float-card--tr { right: 12px; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .header--overlay { top: 0; }
  .container { padding-inline: 18px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { gap: 14px 20px; }
  .services { grid-template-columns: 1fr; }
  .services .service-card:last-child { grid-column: auto; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .features, .features--3, .features--2 { grid-template-columns: 1fr; }
  .ins-grid { grid-template-columns: 1fr; }
  .build-duo { grid-template-columns: 1fr; }
  .build-tile { min-height: 340px; }
  .build-strip { grid-template-columns: 1fr; }
  .build-strip__item::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .page-hero { padding: calc(var(--header-h) + 70px) 0 90px; min-height: 0; }
  .float-card { display: none; }
  .shield-badge { width: 90px; height: 90px; right: 10px; bottom: -14px; }
  .fab { bottom: 84px; right: 16px; }
  .fab__btn--wa { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -8px 30px -12px rgba(10,28,48,.3);
  }
  .mobile-bar .btn { padding: 13px 12px; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero [data-anim] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .fab, .mobile-bar, .drawer, .progress { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
