/* ============================================
   Işıl Temizlik — Styles (multi-page)
   Palette based on logo (blue)
============================================ */

:root {
  --blue: #1b6ca8;
  --blue-dark: #11517f;
  --blue-darker: #0d3f63;
  --blue-light: #4ba3d8;
  --blue-lighter: #e8f3fb;
  --sky: #d7ecfa;
  --accent: #2fb6e8;

  --ink: #14212e;
  --body: #475a6b;
  --muted: #7d8ea0;
  --line: #e4edf4;
  --bg: #ffffff;
  --bg-soft: #f4f9fd;

  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(27, 108, 168, 0.08);
  --shadow: 0 20px 45px rgba(27, 108, 168, 0.14);
  --shadow-lg: 0 30px 70px rgba(13, 63, 99, 0.2);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Height of the home hero's bottom wave: lower on narrow screens so the curve stays gentle */
  --wave-h: 90px;
}
@media (max-width: 768px) { :root { --wave-h: 60px; } }
@media (max-width: 560px) { :root { --wave-h: 44px; } }

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.text-gradient {
  background: linear-gradient(120deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Icons ---------- */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn .ic { width: 19px; height: 19px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(27, 108, 168, 0.32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(27, 108, 168, 0.42); }
.btn--primary:hover .ic--arrow { transform: translateX(3px); }
.btn .ic--arrow { transition: transform 0.3s var(--ease); }

.btn--ghost {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue-light); color: var(--blue); }

.btn--white {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}
.btn--white:hover { transform: translateY(-3px); }

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(37, 211, 102, 0.42); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(13, 63, 99, 0.08);
  padding: 10px 0;
}
/* inner pages always get a solid header */
.header--solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(13, 63, 99, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand__logo { height: 46px; width: auto; transition: height 0.4s; }
.header.scrolled .brand__logo { height: 40px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--blue); background: var(--blue-lighter); }
.nav__link.active { color: var(--blue); background: var(--blue-lighter); font-weight: 600; }
.nav__cta { margin-left: 10px; }

.nav__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
  padding-left: 18px;
  border-left: 1px solid rgba(27, 108, 168, 0.15);
  color: var(--ink);
}
.nav__phone-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue-lighter);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.nav__phone-icon .ic { width: 18px; height: 18px; }
.nav__phone:hover .nav__phone-icon { background: var(--blue); color: #fff; }
.nav__phone-text {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.25s;
}
.nav__phone:hover .nav__phone-text { color: var(--blue); }
.nav__phone-text small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted);
}

/* Tight desktop / tablet: keep the phone as an icon only */
@media (min-width: 769px) and (max-width: 1120px) {
  .nav__link { padding: 9px 11px; }
  .nav__phone-text { display: none; }
  .nav__phone { padding-left: 14px; margin-left: 8px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 120px;
  background: linear-gradient(160deg, #f4f9fd 0%, #e8f3fb 60%, #dcebf8 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 1;
}
.hero__blob--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(75,163,216,0.5), transparent 70%);
  top: -80px; right: -60px;
  animation: float-blob 14s ease-in-out infinite;
}
.hero__blob--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(47,182,232,0.35), transparent 70%);
  bottom: -100px; left: -80px;
  animation: float-blob 16s ease-in-out infinite reverse;
}
@keyframes float-blob {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.08); }
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__text {
  font-size: 1.12rem;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
/* Load-in animation (CSS only, so the hero shows without waiting for JS) */
.hero-in { animation: hero-in 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Dot pattern */
.hero__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(27,108,168,0.18) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 65% 75% at 72% 40%, #000 15%, transparent 75%);
}

/* Rotating word */
.rotator { display: grid; }
.rotator > span {
  grid-area: 1 / 1;
  justify-self: start;
  opacity: 0;
  animation: rotate-word 10s infinite;
}
/* 4 words, 2.5s each */
.rotator > span:nth-child(2) { animation-delay: 2.5s; }
.rotator > span:nth-child(3) { animation-delay: 5s; }
.rotator > span:nth-child(4) { animation-delay: 7.5s; }
@keyframes rotate-word {
  0% { opacity: 0; transform: translateY(45%); }
  4% { opacity: 1; transform: none; }
  22% { opacity: 1; transform: none; }
  26% { opacity: 0; transform: translateY(-45%); }
  100% { opacity: 0; transform: translateY(-45%); }
}
.hero__title-line { display: block; }

/* Hand-drawn underline */
.squiggle { position: relative; z-index: 0; display: inline-block; }
.squiggle svg {
  position: absolute;
  left: -2%; bottom: -4px;
  width: 104%; height: 16px;
  z-index: -1;
  overflow: visible;
}
.squiggle path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-line 1.1s var(--ease) 0.9s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* "ışıl ışıl": a soft blue sweep across the letters now and then */
.shine {
  display: inline-block;
  background: linear-gradient(
    110deg,
    var(--ink) 0%, var(--ink) 44%,
    var(--blue) 50%,
    var(--ink) 56%, var(--ink) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 8s ease-in-out 1.6s infinite;
}
@keyframes text-shine {
  0% { background-position: 100% 0; }
  22%, 100% { background-position: 0% 0; }
}

/* Small four-point stars that pop in and out around the words */
.star {
  position: absolute;
  z-index: 1;
  background: var(--accent);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  pointer-events: none;
  animation: star-pop 3.3s ease-in-out infinite;
}
.star--1 { width: 16px; height: 16px; top: -10px; left: -14px; animation-delay: 1.8s; }
.star--2 { width: 20px; height: 20px; top: -18px; left: 50%; animation-delay: 2.9s; background: var(--blue-light); }
.star--3 { width: 12px; height: 12px; top: -4px; right: -10px; animation-delay: 4s; }
@keyframes star-pop {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  14% { opacity: 1; transform: scale(1) rotate(45deg); }
  30% { opacity: 0; transform: scale(0) rotate(90deg); }
}

/* Phone + hours row */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero__call, .hero__hours { display: flex; align-items: center; gap: 12px; }
.hero__call-icon {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.hero__call-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  animation: ring-pulse 2.2s ease-out infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero__call-icon .ic { width: 20px; height: 20px; }
.hero__hours > .ic { width: 22px; height: 22px; color: var(--blue); }
.hero__call small, .hero__hours small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.hero__call strong, .hero__hours strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.25s;
}
.hero__call:hover strong { color: var(--blue); }
.hero__meta-sep { width: 1px; height: 36px; background: rgba(27,108,168,0.2); }

/* Rotating dashed ring behind the image */
.hero__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 112%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 2px dashed rgba(27,108,168,0.22);
  border-radius: 50%;
  animation: spin 50s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__img-wrap { z-index: 1; }

/* Scroll hint */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 96px;
  translate: -50% 0;
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(27,108,168,0.35);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--blue);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(-3px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Hero media */
.hero__media { position: relative; }
.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  animation: float-img 6s ease-in-out infinite;
}
@keyframes float-img {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.hero__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.hero__sparkle {
  position: absolute;
  color: var(--blue-light);
  animation: twinkle 2.5s ease-in-out infinite;
}
.hero__sparkle .ic { width: 34px; height: 34px; }
.hero__sparkle--1 { top: -16px; left: -12px; }
.hero__sparkle--2 { bottom: 40px; right: -16px; }
.hero__sparkle--2 .ic { width: 22px; height: 22px; }
.hero__sparkle--2 { animation-delay: 0.8s; }
@keyframes twinkle {
  0%,100% { opacity: 0.35; transform: scale(0.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.15) rotate(90deg); }
}

.hero__card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__card strong { display: block; font-size: 14px; color: var(--ink); }
.hero__card span { font-size: 12px; color: var(--muted); }
.hero__card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blue-lighter);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__card-icon .ic { width: 22px; height: 22px; }
.hero__card--top {
  top: 24px; left: -34px;
  animation: float-card 4s ease-in-out infinite;
}
.hero__card--bottom {
  bottom: 30px; right: -30px;
  animation: float-card 4s ease-in-out infinite 1.5s;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  z-index: 1;
}
.hero__wave svg { width: 100%; height: var(--wave-h); }
.hero__wave path { fill: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  background: linear-gradient(160deg, #11517f 0%, #1b6ca8 55%, #2a7fbd 100%);
  overflow: hidden;
  text-align: center;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.page-hero::before { width: 320px; height: 320px; top: -120px; right: 8%; }
.page-hero::after { width: 220px; height: 220px; bottom: -110px; left: 6%; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.page-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.breadcrumb a { color: #fff; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .ic { width: 15px; height: 15px; opacity: 0.7; }
.page-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0; z-index: 1;
}
.page-hero__wave svg { width: 100%; height: 70px; }
.page-hero__wave path { fill: #fff; }

/* ---------- Stats ---------- */
.stats {
  background: #fff;
  padding: 50px 0;
}
.stats--soft { background: var(--bg-soft); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.stats--soft .stat { background: #fff; box-shadow: var(--shadow-sm); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.stat__num {
  font-family: "Poppins", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat__plus {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-light);
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Section base ---------- */
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section__head--left { text-align: left; margin-left: 0; }
.section__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-lighter);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section__sub { font-size: 1.08rem; color: var(--body); }

/* ---------- Services (cards) ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__img { transform: scale(1.08); }
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,63,99,0.28) 0%, rgba(13,63,99,0) 45%);
}
.service-card__icon {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(13,63,99,0.18);
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s;
}
.service-card__icon .ic { width: 28px; height: 28px; }
.service-card:hover .service-card__icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--blue);
  color: #fff;
}
.service-card__body { padding: 28px 28px 30px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { font-size: 15px; margin-bottom: 18px; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.service-card__link .ic { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__link .ic { transform: translateX(4px); }

/* ---------- Service detail rows (hizmetler page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.service-row__badge {
  position: absolute;
  top: 20px; left: 20px;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.service-row__badge .ic { width: 30px; height: 30px; }
.service-row h2 { font-size: 1.7rem; margin-bottom: 14px; }
.service-row__list { margin: 20px 0 0; display: grid; gap: 12px; }
.service-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.service-row__list .ic {
  width: 20px; height: 20px;
  color: var(--blue);
  margin-top: 2px;
}

/* ---------- Why ---------- */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why__media { position: relative; }
.why__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.why__badge {
  position: absolute;
  bottom: 30px; right: -24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 20px 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: float-card 5s ease-in-out infinite;
}
.why__badge-num { display: block; font-family: "Poppins"; font-size: 1.8rem; font-weight: 800; }
.why__badge-text { font-size: 13px; opacity: 0.9; }

.why__list { margin: 28px 0 32px; display: grid; gap: 20px; }
.why__list li { display: flex; gap: 16px; align-items: flex-start; }
.why__ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--blue-lighter);
  color: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__ic .ic { width: 24px; height: 24px; }
.why__list strong { display: block; color: var(--ink); font-family: "Poppins"; font-size: 1.05rem; margin-bottom: 2px; }
.why__list p { font-size: 15px; margin: 0; }

/* ---------- Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.process-step {
  background: #fff;
  padding: 36px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.process-step__num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: "Poppins";
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--blue-lighter);
  line-height: 1;
}
.process-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(27, 108, 168, 0.3);
}
.process-step__icon .ic { width: 28px; height: 28px; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: 14px; }

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about__content p { margin-bottom: 16px; }
.about__features {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--ink);
}
.about__feature-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.about__feature-ic .ic { width: 21px; height: 21px; }
.about__feature p { margin: 0; font-size: 14px; }
.about__media { position: relative; }
.about__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- Values (hakkimizda) ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  background: #fff;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--blue-lighter);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-card__icon .ic { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
}
.testimonial:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.testimonial__quote {
  position: absolute;
  top: 26px; right: 28px;
  color: var(--blue-lighter);
}
.testimonial__quote .ic { width: 40px; height: 40px; }
.testimonial__stars { display: flex; gap: 2px; color: #ffb400; margin-bottom: 14px; }
.testimonial__stars .ic { width: 17px; height: 17px; }
.testimonial p { font-style: italic; color: var(--body); margin-bottom: 22px; position: relative; z-index: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Poppins";
}
.testimonial__author strong { display: block; color: var(--ink); font-size: 15px; }
.testimonial__author span { font-size: 13px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner::before { width: 300px; height: 300px; top: -120px; right: 10%; }
.cta-banner::after { width: 200px; height: 200px; bottom: -100px; left: 5%; }
.cta-banner__inner {
  position: relative;
  z-index: 2;
  padding: 64px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact__list { margin: 28px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: var(--blue-lighter);
  color: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon .ic { width: 23px; height: 23px; }
.contact__list strong { display: block; color: var(--ink); font-family: "Poppins"; font-size: 15px; }
.contact__list a, .contact__list span { color: var(--body); font-size: 15px; }
.contact__list a:hover { color: var(--blue); }

.contact__form {
  background: #fff;
  padding: 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75, 163, 216, 0.15);
}
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #2e9e5b;
  min-height: 20px;
}

/* ---------- Map ---------- */
.map {
  margin-top: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(1.05); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .ic { width: 22px; height: 22px; color: var(--blue); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p { padding: 0 24px 22px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer {
  background: #0d2537;
  color: #b9c9d6;
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__logo {
  height: 48px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.footer__brand p { font-size: 15px; max-width: 320px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,0.08);
  color: #cfe0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.footer__social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer__social .ic { width: 20px; height: 20px; }
.footer__col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer__col a, .footer__col span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9fb3c4;
  font-size: 15px;
  margin-bottom: 11px;
  transition: color 0.25s, padding-left 0.25s;
}
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__col .ic { width: 17px; height: 17px; color: var(--blue-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p { font-size: 14px; color: #8198ab; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.3s var(--ease);
  animation: pulse-wa 2.5s infinite;
}
.float-wa .ic { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__media { max-width: 460px; margin: 0 auto; }
  .why__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: -1; max-width: 500px; }
  .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .service-row__media { max-width: 520px; }
  .services__grid, .testimonials__grid, .values__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .why__badge { right: 20px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 30px;
    gap: 6px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    transition: right 0.4s var(--ease);
    z-index: 999;
  }
  .nav.open { right: 0; }
  .nav__link { width: 100%; font-size: 17px; padding: 12px 15px; }
  .nav__cta { margin: 10px 0 0; width: 100%; }
  .nav__phone { margin: 10px 0 0; padding: 12px 15px; border-left: none; border-top: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: flex; z-index: 1001; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 90px; }
  .page-hero { padding: 130px 0 70px; }
  .hero__card--top { left: 0; }
  .hero__card--bottom { right: 0; }
}

@media (max-width: 560px) {
  .services__grid, .testimonials__grid, .values__grid, .process__grid, .stats__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .contact__form { padding: 26px; }
  .hero__card { display: none; }
  .why__badge { right: 16px; bottom: 16px; padding: 14px 18px; }
}

/* ============================================
   Polish layer
============================================ */

/* ---------- Service text riding the hero's wave edge ---------- */
.scroll-text {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--wave-h)); /* sits exactly on top of .hero__wave */
  height: 150px;     /* JS sets the exact height from the font size */
  pointer-events: none;
}
.scroll-text__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.scroll-text__row {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.3px;
  fill: url(#stGrad);
}
.scroll-text__row--outline {
  fill: none;
  stroke: rgba(27, 108, 168, 0.45);
  stroke-width: 1;
}
.st-sep { fill: var(--accent); stroke: none; }
.scroll-text__row--outline .st-sep { fill: rgba(27, 108, 168, 0.3); }

/* ---------- Cursor spotlight on cards ---------- */
.service-card:hover,
.value-card:hover,
.process-step:hover,
.testimonial:hover,
.stat:hover {
  background-image: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(75, 163, 216, 0.14),
    transparent 60%
  );
}

/* ---------- Gradient stat numbers ---------- */
.stat__num {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Button shine ---------- */
.btn--primary, .btn--whatsapp { position: relative; overflow: hidden; }
.btn--primary::after, .btn--whatsapp::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after, .btn--whatsapp:hover::after { left: 130%; }

/* ---------- Section tag dot ---------- */
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: tag-pulse 2s ease-out infinite;
}
@keyframes tag-pulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 108, 168, 0.45); }
  100% { box-shadow: 0 0 0 7px rgba(27, 108, 168, 0); }
}

/* ---------- Inner page hero + CTA texture ---------- */
.page-hero {
  background:
    radial-gradient(rgba(255,255,255,0.13) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    linear-gradient(160deg, #11517f 0%, #1b6ca8 55%, #2a7fbd 100%);
}
.page-hero::before { animation: float-blob 12s ease-in-out infinite; }
.page-hero::after { animation: float-blob 14s ease-in-out infinite reverse; }
.page-hero h1 { animation: hero-in 0.9s var(--ease) both; }
.page-hero p { animation: hero-in 0.9s var(--ease) 0.12s both; }
.page-hero .breadcrumb { animation: hero-in 0.9s var(--ease) 0.24s both; }

.cta-banner {
  background:
    radial-gradient(rgba(255,255,255,0.1) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--blue), var(--blue-darker));
}
.cta-banner::before { animation: float-blob 12s ease-in-out infinite; }
.cta-banner::after { animation: float-blob 15s ease-in-out infinite reverse; }

/* ---------- Footer glow ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(900px 320px at 85% 0%, rgba(75, 163, 216, 0.16), transparent 70%),
    #0d2537;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--accent), var(--blue));
}

/* ---------- Back to top (with scroll ring) ---------- */
.to-top {
  position: fixed;
  right: 30px; bottom: 98px;
  z-index: 900;
  width: 50px; height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }
.to-top > .ic { position: relative; width: 20px; height: 20px; }
.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.to-top__ring circle { fill: none; stroke: var(--blue-lighter); stroke-width: 3; transition: stroke 0.25s; }
.to-top__ring .to-top__bar {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.to-top:hover .to-top__ring circle { stroke: rgba(255,255,255,0.3); }
.to-top:hover .to-top__ring .to-top__bar { stroke: #fff; }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }

@media (max-width: 992px) {
  .hero__scroll { display: none; }
  .scroll-text__row { font-size: 26px; }
}

@media (max-width: 768px) {
  .float-wa { display: none; }
  body { padding-bottom: var(--mbar-h, 74px); }
  .mbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -8px 26px rgba(13, 63, 99, 0.12);
  }
  .mbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 46px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--blue-dark);
    background: var(--blue-lighter);
  }
  .mbar__btn .ic { width: 19px; height: 19px; }
  .mbar__btn--wa { background: #25d366; color: #fff; }
  .mbar__btn--primary { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff; }
  /* --mbar-h is the bar's real height (incl. the iPhone home-indicator area), set by script.js */
  .to-top {
    right: 16px;
    bottom: calc(var(--mbar-h, 74px) + 12px);
    z-index: 960;
    width: 46px; height: 46px;
  }
}

@media (max-width: 560px) {
  .scroll-text__row { font-size: 20px; }

  /* Hero: the two buttons side by side */
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 14.5px; }
  .hero__actions .ic--arrow { display: none; }

  /* Hero: phone and hours side by side */
  .hero__meta { flex-wrap: nowrap; gap: 14px; }
  .hero__meta-sep { height: 30px; }
  .hero__call, .hero__hours { gap: 9px; min-width: 0; }
  .hero__call-icon { width: 38px; height: 38px; flex-shrink: 0; }
  .hero__call-icon .ic { width: 17px; height: 17px; }
  .hero__hours > .ic { width: 19px; height: 19px; }
  .hero__call strong, .hero__hours strong { font-size: 14px; white-space: nowrap; }
  .hero__call small, .hero__hours small { font-size: 11.5px; }

  /* Stats: 2 x 2 cards instead of one long column */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 20px 8px; }
  .stat__num { font-size: 2rem; }
  .stat__plus { font-size: 1.25rem; }
  .stat__label { font-size: 12.5px; margin-top: 6px; }
}

/* Very narrow phones (≤360px): shrink a bit more, let the info row wrap */
@media (max-width: 360px) {
  .hero__actions .btn { font-size: 13.5px; padding: 13px 8px; }
  .hero__meta { flex-wrap: wrap; }
  .hero__meta-sep { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator > span:first-child { opacity: 1; }
  .squiggle path { stroke-dashoffset: 0; }
}
