/* =========================================================
   ROOT / TOKENS
========================================================= */
:root {
  --primary: #0071AE;
  --primary-dark: #005b8e;
  --primary-light: #4BC9E9;

  --secondary: #0f172a;
  --text: #233247;
  --muted: #607086;
  --white: #ffffff;

  --bg-soft: #f5f9ff;
  --bg-soft-2: #eef7fc;
  --border-soft: rgba(15, 23, 42, 0.08);

  --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.10);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 12px 28px rgba(15, 23, 42, 0.08);

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --site-max-width: 1280px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET / BASE
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.home-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(75, 201, 233, 0.12), transparent 22%),
    radial-gradient(circle at 100% 10%, rgba(0, 113, 174, 0.10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f5f9ff 100%);
}

.modern-homepage {
  isolation: isolate;
}

.site-shell {
  width: min(100% - 40px, var(--site-max-width));
  margin-inline: auto;
}

.section-space {
  padding: 96px 0;
}

/* =========================================================
   TYPOGRAPHY / COMMON UI
========================================================= */
.section-heading {
  max-width: 760px;
  margin: 0 0 52px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.home-intro__content h2,
.home-features__left h2,
.home-cta__content h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--secondary);
}

.section-heading p,
.home-intro__content p,
.home-features__left p,
.home-cta__content p,
.home-hero__content p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.10), rgba(75, 201, 233, 0.12));
  border: 1px solid rgba(0, 113, 174, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 113, 174, 0.06);
}

.section-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.section-badge--light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-badge--premium {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.gradient-text {
  background: linear-gradient(135deg, #0071AE 0%, #4BC9E9 55%, #005B8E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-modern {
  background: linear-gradient(135deg, #0071AE 0%, #4BC9E9 60%, #0071AE 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease infinite;
}

.gradient-text-premium {
  display: inline-block;
  background: linear-gradient(135deg, #FFFFFF 0%, #4BC9E9 60%, #0071AE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =========================================================
   BUTTONS
========================================================= */
.btn,
.btn-premium-primary,
.btn-premium-ghost,
.btn-premium,
.btn-premium-outline,
.btn-premium-secondary,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, #1498d5 100%);
  box-shadow: 0 18px 40px rgba(0, 113, 174, 0.20);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 113, 174, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--secondary);
  border-color: rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: var(--primary);
  border-color: rgba(0, 113, 174, 0.18);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-large {
  min-height: 58px;
  padding: 0 30px;
}

.btn-outline-light {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-premium-primary {
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(0, 113, 174, 0.25);
}

.btn-premium-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 113, 174, 0.35);
}

.btn-premium-ghost {
  padding: 14px 28px;
  border: 2px solid rgba(0, 113, 174, 0.2);
  border-radius: 999px;
  color: var(--primary);
  background: transparent;
  font-weight: 700;
  font-size: 15px;
}

.btn-premium-ghost:hover {
  border-color: var(--primary);
  background: rgba(0, 113, 174, 0.05);
  transform: translateY(-2px);
}

.btn-premium {
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
  padding: 0 24px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #0071AE 0%, #4BC9E9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 113, 174, 0.35);
}

.btn-premium-outline,
.btn-premium-secondary {
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.btn-premium-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-premium-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #0071AE;
}

.btn-premium-secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   HERO
========================================================= */
.home-hero {
  position: relative;
  padding: 72px 0 110px;
  overflow: hidden;
}

.home-hero__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.home-hero__shape--one {
  top: -120px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 90px;
  transform: rotate(28deg);
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.13), rgba(75, 201, 233, 0.15));
}

.home-hero__shape--two {
  left: -220px;
  bottom: 20px;
  width: 520px;
  height: 300px;
  border-radius: 70px;
  transform: rotate(-18deg);
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.08), rgba(75, 201, 233, 0.12));
}

.home-hero__shape--three {
  right: 15%;
  top: 10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(75, 201, 233, 0.12);
  filter: blur(10px);
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.home-hero__content h1 {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--secondary);
}

.home-hero__content h1 span {
  display: block;
  color: var(--primary);
}

.home-hero__content p {
  max-width: 620px;
  margin: 0 0 30px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 113, 174, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
}

.hero-stat span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.home-hero__visual {
  position: relative;
  min-height: 620px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image-card {
  position: absolute;
  inset: 40px 30px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(145deg, #ffffff 0%, #edf8ff 100%);
  box-shadow: 0 32px 90px rgba(0, 31, 63, 0.12);
}

.hero-image-card::before,
.hero-image-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-image-card::before {
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.12), rgba(75, 201, 233, 0.18));
}

.hero-image-card::after {
  left: -50px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(75, 201, 233, 0.16), rgba(0, 113, 174, 0.08));
}

.hero-image-card img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-floating {
  position: absolute;
  z-index: 3;
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.hero-floating strong {
  display: block;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 800;
}

.hero-floating span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.hero-floating--top {
  top: 22px;
  left: 0;
}

.hero-floating--bottom {
  right: 0;
  bottom: 42px;
}

/* =========================================================
   PREMIUM INTRO
========================================================= */
.premium-intro {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFE 100%);
  overflow: hidden;
}

.premium-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.premium-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.premium-badge--accent {
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.12), rgba(75, 201, 233, 0.12));
  color: var(--primary);
  border: 1px solid rgba(0, 113, 174, 0.2);
}

.premium-badge--glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--secondary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.premium-title {
  position: relative;
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 4.5vw, 3.625rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.title-decoration {
  display: inline-block;
  width: 60px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.premium-description {
  max-width: 560px;
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.premium-description strong {
  color: var(--primary);
  font-weight: 700;
}

.stats-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.stat-block {
  flex: 1;
  min-width: 120px;
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
}

.stat-number .counter {
  font-size: inherit;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.stat-progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0, 113, 174, 0.1);
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trust-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.trust-signal svg {
  flex-shrink: 0;
  color: var(--primary);
}

.premium-intro__visual,
.visual-container {
  position: relative;
  min-height: 620px;
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  transition: var(--transition);
}

.visual-card--main {
  inset: 0 40px 40px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.visual-image,
.visual-card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
  transition: opacity 0.4s ease;
}

.visual-card--main:hover .card-shine {
  opacity: 1;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.1), rgba(75, 201, 233, 0.05));
}

.visual-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 174, 0.03) 0%, transparent 70%);
}

.decoration-dots {
  position: absolute;
  bottom: 20px;
  left: -30px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(0, 113, 174, 0.1) 2px, transparent 2px);
  background-size: 20px 20px;
}

/* =========================================================
   SERVICES MODERN
========================================================= */
.home-services-modern {
  --services-accent: #0071AE;
  --services-accent-light: #4BC9E9;
  --services-text-dark: #0e2234;
  --services-text-soft: #516577;
  --services-shadow: 0 20px 48px rgba(4, 18, 32, 0.16), 0 6px 16px rgba(4, 18, 32, 0.08);
  --services-shadow-hover: 0 28px 62px rgba(4, 18, 32, 0.22), 0 10px 24px rgba(4, 18, 32, 0.10);
  --services-radius: 28px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: transparent;
}

.home-services-modern::before,
.home-services-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-services-modern::before {
  background:
    linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 18%);
  opacity: 0.55;
}

.home-services-modern::after {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.85) 0%, transparent 22%),
    radial-gradient(circle at 82% 76%, rgba(255,255,255,0.75) 0%, transparent 24%),
    radial-gradient(circle at 70% 16%, rgba(75, 201, 233, 0.18) 0%, transparent 20%);
  filter: blur(50px);
  opacity: 0.65;
}

.home-services-modern .site-shell {
  position: relative;
  z-index: 1;
}

.home-services-modern .section-heading {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 3.2rem;
  text-align: center;
}

.home-services-modern .section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--services-text-dark);
}

.home-services-modern .section-heading p {
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #5b6b7c;
}

.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}

.service-modern-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 100%;
  padding: 1.75rem;
  overflow: hidden;
  border-radius: var(--services-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.66) 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: var(--services-shadow);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: var(--transition);
}

.service-modern-card::before,
.service-modern-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-modern-card::before {
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.65) 18%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.65) 82%,
    rgba(255,255,255,0.00) 100%
  );
  opacity: 0.9;
}

.service-modern-card::after {
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.20) 0%, transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 28%);
  opacity: 0.75;
}

.service-modern-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: var(--services-shadow-hover);
}

.service-modern-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--services-accent);
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(230,244,252,0.88) 100%);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 8px 18px rgba(0, 113, 174, 0.08);
  transition: var(--transition);
}

.service-modern-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(75,201,233,0.16) 0%, transparent 70%);
  opacity: 0.55;
  z-index: -1;
  transition: var(--transition);
}

.service-modern-card:hover .service-modern-icon {
  transform: translateY(-2px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--services-accent) 0%, var(--services-accent-light) 100%);
  box-shadow: 0 14px 28px rgba(0, 113, 174, 0.18), 0 0 0 1px rgba(255,255,255,0.14) inset;
}

.service-modern-card:hover .service-modern-icon::after {
  opacity: 0.8;
  transform: scale(1.04);
}

.service-modern-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-modern-content h3 {
  margin: 0 0 0.72rem;
  font-size: 1.3rem;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--services-text-dark);
}

.service-modern-content p {
  flex: 1;
  margin: 0 0 1.15rem;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--services-text-soft);
}

.service-modern-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-modern-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #005a8d;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-modern-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--services-accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.service-modern-cta .arrow {
  transition: transform 0.25s ease;
}

.service-modern-cta:hover {
  gap: 0.78rem;
  color: #005b8e;
}

.service-modern-cta:hover .arrow {
  transform: translateX(4px);
}

/* =========================================================
   DOCTORS
========================================================= */
.home-doctors {
  position: relative;
  overflow: hidden;
}

.home-doctors::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.home-doctors .site-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-doctors .section-heading {
  width: 100%;
  text-align: center;
}

.home-doctors .doctors-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 280px));
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin-top: 20px;
}

.home-doctors .doctor-card {
  width: 100%;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 36px;
  padding: 32px 20px 28px;
  border: 1px solid rgba(0, 113, 174, 0.08);
  box-shadow: 0 20px 35px -12px rgba(0, 35, 55, 0.08), 0 1px 2px rgba(0,0,0,0.02);
  backdrop-filter: blur(2px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.home-doctors .doctor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 113, 174, 0.25);
  box-shadow: 0 32px 48px -18px rgba(0, 113, 174, 0.2), 0 4px 12px rgba(0,0,0,0.02);
  background: #ffffff;
}

.doctor-card__avatar-wrap {
  margin-bottom: 24px;
}

.doctor-card__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(125deg, #FFFFFF 10%, #eef4f9 100%);
  padding: 5px;
  box-shadow: 0 12px 28px -8px rgba(0, 70, 100, 0.18);
  transition: var(--transition);
}

.doctor-card:hover .doctor-card__avatar {
  transform: scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(0, 113, 174, 0.25);
}

.doctor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f5fa;
  border: 3px solid white;
}

.doctor-card__specialty {
  display: inline-block;
  background: #eef4fc;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0071AE;
  margin-bottom: 18px;
  border: 1px solid rgba(0,113,174,0.12);
}

.doctor-card__content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0a1c2c;
  letter-spacing: -0.3px;
}

.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0071AE;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: var(--transition);
}

.doctor-link svg {
  transition: transform 0.25s ease;
}

.doctor-link:hover {
  color: #005b8c;
  gap: 12px;
  border-bottom-color: #0071AE;
}

.doctor-link:hover svg {
  transform: translateX(5px);
}

/* =========================================================
   CTA PREMIUM
========================================================= */
.home-cta {
  position: relative;
  padding: 80px 0;
}

.home-cta__wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  background: linear-gradient(135deg, #0b2a48 0%, #115da4 45%, #0071AE 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 10px 25px rgba(0, 0, 0, 0.05);
}

.home-cta__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 113, 174, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(75, 201, 233, 0.15) 0%, transparent 50%);
}

.bg-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: floatParticles 20s infinite linear;
}

.bg-particles span:nth-child(1) { top: 20%; left: 10%; animation-duration: 15s; }
.bg-particles span:nth-child(2) { top: 60%; left: 85%; width: 6px; height: 6px; animation-duration: 18s; }
.bg-particles span:nth-child(3) { top: 80%; left: 25%; animation-duration: 12s; }
.bg-particles span:nth-child(4) { top: 40%; left: 45%; animation-duration: 20s; }
.bg-particles span:nth-child(5) { top: 15%; left: 75%; width: 3px; height: 3px; animation-duration: 14s; }
.bg-particles span:nth-child(6) { top: 85%; left: 65%; animation-duration: 22s; }
.bg-particles span:nth-child(7) { top: 45%; left: 20%; animation-duration: 16s; }
.bg-particles span:nth-child(8) { top: 10%; left: 55%; animation-duration: 19s; }

@keyframes floatParticles {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}

.home-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  padding: 64px 56px;
  align-items: center;
}

.home-cta__content {
  max-width: 560px;
}

.home-cta__content h2 {
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.home-cta__content p {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

.wave-icon {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.95;
}

.badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.benefit-item svg {
  flex-shrink: 0;
  color: #4BC9E9;
}

.home-cta__form-wrapper {
  position: relative;
}

.form-card {
  padding: 38px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}

.form-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.premium-appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
  min-width: 0;
}

.form-group--icon {
  position: relative;
}

.form-group input,
.premium-select {
  width: 100%;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-group input {
  padding: 0 18px 0 52px;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.form-group input:focus,
.premium-select:focus {
  outline: none;
  border-color: rgba(75, 201, 233, 0.75);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(75, 201, 233, 0.10);
}

.premium-select {
  appearance: none;
  padding: 0 52px 0 52px;
  cursor: pointer;
  background-image: none;
}

.premium-select option {
  color: #0F172A;
  background: #ffffff;
}

.form-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 3;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.50);
  pointer-events: none;
}

.form-group--icon:focus-within .form-icon {
  color: #4BC9E9;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.form-group--select:focus-within .select-arrow {
  color: #4BC9E9;
}

.form-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.46);
}

.home-cta__actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 28px 56px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================
   QUICK APPOINTMENT
========================================================= */
.quick-appointment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.quick-appointment button {
  grid-column: 1 / -1;
}

.quick-appointment .form-group input {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 14px;
}

.quick-appointment .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.70);
}

.quick-appointment .form-group input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

/* =========================================================
   LOCATION / MAP
========================================================= */
.home-location-full {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.home-location-full__wrap {
  width: 100%;
}

.home-location-full__map-block {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(75, 201, 233, 0.22), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(0, 113, 174, 0.14), transparent 24%),
    linear-gradient(180deg, #edf7fc 0%, #e6f1f8 100%);
}

.home-location-full__map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 720px;
  filter: saturate(0.9) contrast(1.02);
}

.home-location-full__shade {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 5;
  width: 50%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(9, 30, 51, 0.78) 0%,
      rgba(9, 30, 51, 0.62) 28%,
      rgba(9, 30, 51, 0.34) 58%,
      rgba(9, 30, 51, 0.14) 78%,
      rgba(9, 30, 51, 0.00) 100%
    );
}

.home-location-full__overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: min(100% - 40px, var(--site-max-width));
  margin-inline: auto;
  pointer-events: none;
}

.home-location-full__overlay .home-location-full__card {
  position: absolute;
  bottom: 80px;
  left: clamp(1rem, 4vw, 4rem);
}

.home-location-full__card {
  position: relative;
  z-index: 11;
  width: min(360px, 100%);
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  pointer-events: auto;
}

.home-location-full__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(75, 201, 233, 0.14);
  border: 1px solid rgba(75, 201, 233, 0.24);
  color: #d9f6ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-location-full__card h2 {
  max-width: 8ch;
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  line-height: 1.02;
  color: #fff;
}

.home-location-full__card p {
  max-width: 42ch;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-location-full__info {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.home-location-full__info-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.85rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.home-location-full__info-item strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.64);
}

.home-location-full__info-item span {
  color: #fff;
  line-height: 1.42;
  font-weight: 500;
  font-size: 0.88rem;
}

.home-location-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.home-location-full__actions .btn,
.home-location-full__actions .btn-outline-light {
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  font-size: 0.86rem;
}

.medexpert-map-pin {
  background: transparent;
}

.medexpert-map-pin__inner {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 16px 35px rgba(0, 113, 174, 0.34), 0 0 0 6px rgba(75, 201, 233, 0.14);
}

.medexpert-map-pin__dot {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.medexpert-map-popup h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}

.medexpert-map-popup p {
  margin: 0 0 0.6rem;
  color: #475569;
  line-height: 1.5;
}

.medexpert-map-popup__meta {
  margin-bottom: 0.3rem;
  color: #64748b;
  font-size: 0.9rem;
}

.medexpert-map-popup a {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.home-location-full .leaflet-control-zoom {
  overflow: hidden;
  border: none !important;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.home-location-full .leaflet-control-zoom a {
  width: 46px;
  height: 46px;
  line-height: 46px;
  border: none !important;
  background: rgba(255, 255, 255, 0.95);
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 700;
}

.home-location-full .leaflet-control-zoom a:hover {
  background: #fff;
  color: var(--primary);
}

.home-location-full .leaflet-popup-content-wrapper {
  padding: 0.15rem;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.home-location-full .leaflet-popup-content {
  margin: 1rem 1rem 0.9rem;
}

.home-location-full .leaflet-popup-tip {
  box-shadow: none;
}

.home-location-full .leaflet-container {
  background: #d8eaf6;
}

/* =========================================================
   INTRO LEGACY / OPTIONAL SUPPORT
========================================================= */
.home-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
}

.home-intro__content p {
  margin-bottom: 28px;
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.home-intro__visual {
  position: relative;
  min-height: 520px;
}

.intro-visual-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.intro-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-visual-card--main {
  inset: 0 40px 40px 0;
}

.intro-visual-card--floating {
  right: 0;
  bottom: 0;
  width: 230px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 113, 174, 0.08) 0%, rgba(75, 201, 233, 0.12) 100%);
  pointer-events: none;
}

.floating-stat {
  text-align: center;
  color: var(--white);
}

.floating-stat strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.floating-stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================================
   ANIMATIONS / REVEAL / LAZY IMAGE
========================================================= */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  will-change: opacity, transform;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.is-visible,
.reveal-up.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

img[onerror] {
  object-fit: contain;
  padding: 40px;
  background: linear-gradient(135deg, #0071AE 0%, #4BC9E9 100%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-up,
  .reveal-up.is-visible,
  .reveal-up.revealed {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1280px) {
  .services-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-doctors .doctors-grid {
    grid-template-columns: repeat(2, minmax(260px, 280px));
  }

  .premium-intro__grid {
    gap: 48px;
  }

  .stats-showcase {
    gap: 24px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 1024px) {
  .section-space {
    padding: 84px 0;
  }

  .home-hero__grid,
  .home-intro__grid,
  .premium-intro__grid,
  .home-cta__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__visual,
  .premium-intro__visual,
  .visual-container {
    min-height: 500px;
  }

  .home-intro__visual {
    min-height: 430px;
  }

  .premium-intro__visual {
    order: -1;
  }

  .visual-card--main,
  .intro-visual-card--main {
    inset: 0 20px 30px 0;
  }

  .home-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-cta__grid {
    gap: 36px;
    padding: 48px 40px;
  }

  .home-cta__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 40px 40px;
  }

  .btn-premium-outline,
  .btn-premium-secondary {
    width: 100%;
  }

  .home-location-full__map-block,
  .home-location-full__map {
    min-height: 640px;
    height: 640px;
  }

  .home-location-full__overlay .home-location-full__card {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .home-location-full__shade {
    width: 100%;
    background:
      linear-gradient(
        180deg,
        rgba(9, 30, 51, 0.18) 0%,
        rgba(9, 30, 51, 0.38) 35%,
        rgba(9, 30, 51, 0.76) 100%
      );
  }

  .home-location-full__card h2 {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .home-doctors .doctors-grid {
    grid-template-columns: minmax(260px, 420px);
    gap: 20px;
  }

  .home-doctors .doctor-card {
    padding: 28px 16px 24px;
  }

  .doctor-card__avatar {
    width: 120px;
    height: 120px;
  }

  .doctor-card__content h3 {
    font-size: 1.28rem;
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(100% - 28px, var(--site-max-width));
  }

  .section-space,
  .premium-intro,
  .home-cta {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .home-intro__content h2,
  .home-features__left h2,
  .home-cta__content h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .section-heading p,
  .home-intro__content p,
  .home-features__left p,
  .home-cta__content p,
  .home-hero__content p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-hero {
    padding: 44px 0 74px;
  }

  .home-hero__content h1 {
    font-size: clamp(2.4rem, 10vw, 3.3rem);
    line-height: 1.02;
  }

  .home-hero__actions,
  .premium-actions,
  .trust-signals,
  .trust-badges,
  .home-location-full__actions {
    flex-direction: column;
  }

  .btn,
  .btn-premium-primary,
  .btn-premium-ghost,
  .btn-premium-outline,
  .btn-premium-secondary,
  .home-location-full__actions .btn,
  .home-location-full__actions .btn-outline-light {
    width: 100%;
    justify-content: center;
  }

  .home-hero__stats,
  .services-modern-grid,
  .quick-appointment,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-image-card {
    inset: 20px 0 0;
    border-radius: 28px;
  }

  .home-hero__visual {
    min-height: 430px;
  }

  .hero-floating {
    min-width: auto;
    padding: 12px 14px;
  }

  .hero-floating--top {
    top: 0;
    left: 0;
  }

  .hero-floating--bottom {
    right: 0;
    bottom: 10px;
  }

  .premium-badge-group {
    gap: 8px;
  }

  .premium-badge {
    padding: 6px 14px;
    font-size: 11px;
  }

  .premium-title {
    font-size: 32px;
  }

  .stats-showcase {
    flex-direction: column;
    gap: 24px;
  }

  .stat-block {
    min-width: auto;
  }

  .services-modern-grid {
    gap: 1.2rem;
    margin-top: 2.2rem;
  }

  .service-modern-card {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .service-modern-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .service-modern-content h3 {
    font-size: 1.16rem;
  }

  .home-services-modern .section-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .home-services-modern .section-heading p {
    font-size: 1rem;
  }

  .home-cta__wrapper {
    border-radius: 28px;
  }

  .home-cta__grid {
    gap: 28px;
    padding: 28px 20px;
  }

  .form-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .home-cta__actions {
    padding: 20px 20px 28px;
  }

  .form-group input,
  .premium-select {
    height: 58px;
    border-radius: 16px;
    font-size: 15px;
  }

  .btn-premium {
    min-height: 58px;
    border-radius: 16px;
  }

  .wave-icon {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-location-full__map-block,
  .home-location-full__map {
    min-height: 580px;
    height: 580px;
  }

  .home-location-full__card {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .home-location-full__overlay {
    width: min(100% - 20px, var(--site-max-width));
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: min(100% - 20px, var(--site-max-width));
  }

  .section-space {
    padding: 48px 0;
  }

  .section-badge,
  .section-badge--premium {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 11px;
  }

  .home-doctors .doctors-grid {
    grid-template-columns: 1fr;
  }

  .home-doctors .doctor-card {
    max-width: 100%;
    border-radius: 24px;
    padding: 20px 16px;
  }

  .service-modern-card {
    padding: 1.2rem;
  }

  .home-hero__content h1 {
    font-size: 2.15rem;
  }

  .hero-stat {
    padding: 16px;
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .home-cta__content h2 {
    font-size: 2rem;
  }

  .form-header h3 {
    font-size: 1.25rem;
  }
}