/* NewSmileDent — premium clinic site
   Built on Çizgi design system, adapted with logo's blue/green palette.
   Performance-first: single CSS file, no frameworks, system + Google fonts only. */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&display=swap");

:root {
  /* Type */
  --ff-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-editorial: "Fraunces", "Times New Roman", serif;

  /* Premium clinic palette — pulled from logo */
  --brand-blue: #2C5C8A;       /* logo blue */
  --brand-blue-deep: #1a3d5e;
  --brand-blue-soft: #e8f0f7;
  --brand-green: #4FA77F;      /* logo green */
  --brand-green-deep: #357a5c;
  --brand-green-soft: #ebf5ef;
  --ink: #0E2742;              /* deep navy ink */
  --ink-2: #1a2438;

  /* Surfaces */
  --bg-1: #ffffff;
  --bg-2: #fbfbfa;
  --bg-3: #f4f6f8;
  --bg-cream: #f7f3ec;
  --bg-inverse: #0E2742;

  /* FG */
  --fg-1: #141a22;
  --fg-2: #4a5260;
  --fg-3: #8a8e96;
  --fg-on-inverse: #f6f2ec;
  --fg-on-inverse-2: #b6bdc7;

  /* Lines */
  --line-1: #e6e8ec;
  --line-2: #2c3a4a;
  --line-strong: #141a22;

  /* Status */
  --whatsapp: #25D366;
  --whatsapp-deep: #1ea952;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Layout */
  --container-max: 1280px;
  --header-h: 80px;
  --header-h-scrolled: 64px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* Type scale */
  --fs-display-xl: clamp(2.5rem, 4.5vw + 1rem, 4.75rem);
  --fs-display-lg: clamp(2rem, 3vw + 1rem, 3.25rem);
  --fs-display-md: clamp(1.625rem, 1.8vw + 1rem, 2.25rem);
  --fs-h2: clamp(1.5rem, 1vw + 1.125rem, 2rem);
  --fs-h3: 1.25rem;
  --fs-body-lg: 1.0625rem;
  --fs-body: 1rem;
  --fs-caption: 0.8125rem;
  --fs-eyebrow: 0.75rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand-blue); color: white; }

/* ===== Container / Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 56px; }
}
.section { padding: var(--sp-9) 0; }
@media (min-width: 768px) {
  .section { padding: var(--sp-10) 0; }
}
.section--tight { padding: var(--sp-8) 0; }
.section--inverse { background: var(--bg-inverse); color: var(--fg-on-inverse); }
.section--cream { background: var(--bg-cream); }
.section--soft { background: var(--bg-2); }

/* ===== Type ===== */
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; color: var(--fg-1); text-wrap: balance; }
.display-xl { font-size: var(--fs-display-xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.display-lg { font-size: var(--fs-display-lg); font-weight: 700; line-height: 1.05; }
.display-md { font-size: var(--fs-display-md); font-weight: 700; line-height: 1.15; }
h2.display-lg, h2 { font-size: var(--fs-display-lg); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 16px; line-height: 1.65; color: var(--fg-2); max-width: 65ch; }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.65; }
.editorial { font-family: var(--ff-editorial); font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--inverse .eyebrow { color: #7fc4a3; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: filter var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  background: transparent;
  color: var(--fg-1);
}
.btn:hover { filter: brightness(0.95); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn--blue { background: var(--brand-blue); color: white; border-color: var(--brand-blue); }
.btn--green { background: var(--brand-green); color: white; border-color: var(--brand-green); }
.btn--whatsapp { background: var(--whatsapp); color: white; border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-deep); border-color: var(--whatsapp-deep); filter: none; }
.btn--outline { background: transparent; color: var(--fg-1); border-color: var(--line-strong); }
.btn--outline-light { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); filter: none; }
.btn--ghost { background: transparent; border-color: transparent; }
.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--sm { padding: 10px 16px; font-size: 13px; }

.btn .icn { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-1);
  transition: background var(--dur-base) var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-header__logo img { height: 38px; width: auto; max-width: none; display: block; }
.site-header__nav { display: flex; gap: 36px; align-items: center; }
.site-header__link {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}
.site-header__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.site-header__link:hover::after { transform: scaleX(1); }
.site-header__right { display: flex; align-items: center; gap: 24px; }
.site-header__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--fg-3);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  padding: 4px 6px;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease);
}
.lang-btn:hover { color: var(--fg-1); }
.lang-btn--active { color: var(--ink); border-bottom: 1px solid var(--brand-green); }
.lang-sep { color: var(--line-1); }

@media (max-width: 900px) {
  .site-header__nav { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin: 18px 0 28px; }
.hero__title .accent { color: var(--brand-green); font-family: var(--ff-editorial); font-style: italic; font-weight: 300; }
.hero__lede { max-width: 52ch; margin-bottom: 36px; font-size: 17px; color: var(--fg-2); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__trust {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero__trust-item { }
.hero__trust-num {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero__trust-num .star { color: #f5b400; font-size: 16px; }
.hero__trust-lbl {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-blue-soft) 0%, var(--brand-green-soft) 100%);
  overflow: hidden;
}
.hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: white;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(14, 39, 66, 0.12);
}
.hero__badge-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge-icon svg { width: 22px; height: 22px; color: var(--brand-green); }
.hero__badge-text { display: flex; flex-direction: column; }
.hero__badge-title { font-family: var(--ff-display); font-size: 13px; font-weight: 700; color: var(--ink); }
.hero__badge-sub { font-size: 12px; color: var(--fg-3); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { aspect-ratio: 4/3; }
}

/* ===== Section heads ===== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head__lede { max-width: 50ch; font-size: 17px; }
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Treatments grid ===== */
.treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-1);
  border-left: 1px solid var(--line-1);
}
.treatment {
  background: var(--bg-1);
  border-right: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  display: flex;
  flex-direction: column;
  transition: background var(--dur-base) var(--ease);
  text-decoration: none;
  color: inherit;
}
.treatment:hover { background: var(--bg-2); }

.treatment__media {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-blue-soft) 0%, #d8e6f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-1);
}
.treatment__media[data-i="1"] {
  background: linear-gradient(135deg, var(--brand-green-soft) 0%, #d1eadd 100%);
}
.treatment__media[data-i="2"] {
  background: linear-gradient(135deg, #f0ece4 0%, #e3dccd 100%);
}
.treatment__media-icon {
  width: 56px;
  height: 56px;
  color: var(--brand-blue);
  opacity: 0.9;
  transition: transform var(--dur-base) var(--ease);
}
.treatment__media[data-i="1"] .treatment__media-icon { color: var(--brand-green); }
.treatment__media[data-i="2"] .treatment__media-icon { color: var(--ink); }
.treatment:hover .treatment__media-icon { transform: scale(1.08); }

.treatment__num-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  padding: 5px 10px;
}

.treatment__body-wrap {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.treatment__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.treatment__body {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.treatment__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: 4px;
}
.treatment__cta-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease);
}
.treatment:hover .treatment__cta { color: var(--brand-green); }
.treatment:hover .treatment__cta-arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .treatments__grid { grid-template-columns: 1fr; }
}

/* ===== Patient Journey ===== */
.journey { background: var(--ink); color: var(--fg-on-inverse); position: relative; overflow: hidden; }
.journey h2 { color: white; }
.journey p { color: var(--fg-on-inverse-2); }
.journey__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.journey__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 196, 163, 0.4), rgba(127, 196, 163, 0.4), transparent);
}
.journey-step {
  position: relative;
  padding: 0 16px;
  text-align: center;
  z-index: 1;
}
.journey-step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  background: var(--ink);
  border: 1px solid rgba(127, 196, 163, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-green);
  position: relative;
}
.journey-step__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  color: var(--brand-green);
}
.journey-step__title { font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: white; margin: 0 0 8px; }
.journey-step__body { font-size: 13.5px; color: var(--fg-on-inverse-2); margin: 0; line-height: 1.55; max-width: none; }

@media (max-width: 900px) {
  .journey__steps { grid-template-columns: 1fr; gap: 32px; }
  .journey__steps::before { display: none; }
  .journey-step { display: grid; grid-template-columns: 56px 1fr; text-align: left; gap: 16px; align-items: start; padding: 0; }
  .journey-step__num { margin: 0; }
  .journey-step__icon { display: none; }
}

/* ===== Before/After Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ba-card {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  overflow: hidden;
}
.ba-card__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 2/1.2;
  position: relative;
}
.ba-card__half {
  position: relative;
  background: linear-gradient(135deg, #d4dde5, #b9c4cf);
  overflow: hidden;
}
.ba-card__half--after {
  background: linear-gradient(135deg, #e0eee5, #c2dfcd);
}
.ba-card__half img { width: 100%; height: 100%; object-fit: cover; }
.ba-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  font-family: var(--ff-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  color: var(--fg-1);
}
.ba-card__half--after .ba-card__label { color: var(--brand-green-deep); }
.ba-card__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  transform: translateX(-50%);
}
.ba-card__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ba-card__divider::before {
  content: "‹›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: 14px;
  color: var(--ink);
  z-index: 1;
  letter-spacing: -2px;
}
.ba-card__meta {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-1);
}
.ba-card__title { font-family: var(--ff-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.ba-card__sub { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.ba-card__country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
}

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

/* ===== Reviews ===== */
.reviews__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  padding: 24px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
}
.reviews__score {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 32px;
  border-right: 1px solid var(--line-1);
}
.reviews__score-num {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.reviews__score-stars { color: #f5b400; font-size: 18px; letter-spacing: 2px; }
.reviews__score-meta { font-size: 12px; color: var(--fg-3); margin-top: 4px; }
.reviews__platforms { display: flex; gap: 32px; flex-wrap: wrap; }
.reviews__platform { display: flex; flex-direction: column; gap: 4px; }
.reviews__platform-name { font-family: var(--ff-display); font-size: 13px; font-weight: 600; color: var(--fg-2); }
.reviews__platform-rating { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 4px; }
.reviews__platform-count { font-size: 11px; color: var(--fg-3); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__stars { color: #f5b400; font-size: 14px; letter-spacing: 2px; }
.review__quote { font-size: 15px; line-height: 1.6; color: var(--fg-1); margin: 0; flex: 1; }
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-1);
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.review__name { font-family: var(--ff-display); font-size: 14px; font-weight: 600; color: var(--ink); }
.review__loc { font-size: 12px; color: var(--fg-3); display: flex; align-items: center; gap: 6px; margin-top: 2px; }

@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__score { border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line-1); }
}

/* ===== Application Form ===== */
.form-section {
  background: var(--bg-cream);
  position: relative;
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.form-wrap__copy h2 { color: var(--ink); }
.form-wrap__list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.form-wrap__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-1);
}
.form-wrap__list svg { width: 20px; height: 20px; color: var(--brand-green); flex-shrink: 0; margin-top: 2px; }

.app-form {
  background: white;
  padding: 40px;
  border: 1px solid var(--line-1);
}
.app-form__head { margin-bottom: 28px; }
.app-form__title { font-family: var(--ff-display); font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.app-form__sub { font-size: 14px; color: var(--fg-2); margin: 0; }
.app-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.app-form__row--single { grid-template-columns: 1fr; }
.app-form__field { display: flex; flex-direction: column; gap: 6px; }
.app-form__label {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-form input[type="text"],
.app-form input[type="email"],
.app-form select,
.app-form textarea {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--fg-1);
  background: white;
  border: 1px solid var(--line-1);
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease);
}
.app-form input:focus, .app-form select:focus, .app-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}
.app-form textarea { resize: vertical; min-height: 90px; font-family: inherit; }

/* Phone input — flag prefix + number */
.phone-group {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  border: 1px solid var(--line-1);
  background: white;
}
.phone-group:focus-within { border-color: var(--brand-blue); }
.phone-group__country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-right: 1px solid var(--line-1);
  background: var(--bg-2);
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--fg-1);
  cursor: pointer;
  position: relative;
  user-select: none;
}
.phone-group__flag { font-size: 20px; line-height: 1; }
.phone-group__code { font-weight: 600; }
.phone-group__chev { margin-left: auto; color: var(--fg-3); }
.phone-group input[type="tel"] {
  border: 0;
  padding: 13px 14px;
  font-size: 15px;
  font-family: var(--ff-body);
  width: 100%;
  background: transparent;
}
.phone-group input[type="tel"]:focus { outline: none; }

.country-pop {
  position: absolute;
  top: 100%;
  left: -1px;
  right: 0;
  min-width: 280px;
  max-height: 280px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line-1);
  z-index: 30;
  box-shadow: 0 8px 32px rgba(14, 39, 66, 0.12);
  display: none;
}
.country-pop.is-open { display: block; }
.country-pop__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--bg-3);
}
.country-pop__item:hover { background: var(--brand-blue-soft); }
.country-pop__item:last-child { border-bottom: 0; }
.country-pop__name { flex: 1; }
.country-pop__code { color: var(--fg-3); font-weight: 600; }

.app-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
  margin: 16px 0 24px;
  line-height: 1.5;
}
.app-form__consent input { margin-top: 3px; flex-shrink: 0; }
.app-form__consent a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.app-form__submit { width: 100%; }
.app-form__hint { font-size: 12px; color: var(--fg-3); text-align: center; margin: 12px 0 0; }
.app-form__hint svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 4px; }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .app-form { padding: 28px 22px; }
  .app-form__row { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1c30;
  color: var(--fg-on-inverse);
  padding: 80px 0 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand img { height: 36px; filter: brightness(0) invert(1) opacity(0.95); margin-bottom: 20px; }
.site-footer__tag { font-size: 14px; color: var(--fg-on-inverse-2); line-height: 1.6; max-width: 32ch; margin: 0 0 24px; }
.site-footer h4 {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a {
  color: var(--fg-on-inverse-2);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__list a:hover { color: white; }
.site-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--fg-on-inverse-2); }
.site-footer__contact-item { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact-item svg { width: 16px; height: 16px; color: var(--brand-green); flex-shrink: 0; margin-top: 2px; }
.site-footer__contact-item a { color: inherit; text-decoration: none; }
.site-footer__contact-item a:hover { color: white; }
.site-footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-on-inverse-2);
}
.site-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { color: white; }

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ===== Floating WhatsApp ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 100;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease);
  border: 0;
  cursor: pointer;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 30px; height: 30px; color: white; }
.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.5;
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Trust strip (sub-hero) ===== */
.trust-strip {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  padding: 24px 0;
  background: var(--bg-1);
}
.trust-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
}
.trust-strip__item svg { width: 18px; height: 18px; color: var(--brand-green); }

/* ===== About Section ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__media {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8eef4 0%, #d8e3eb 100%);
  position: relative;
  overflow: hidden;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-1);
}
.about__stat-num {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.about__stat-lbl {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 8px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Tweaks panel small adjustments ===== */
.density-compact .section { padding: 64px 0; }
.density-compact .section--tight { padding: 48px 0; }
.density-spacious .section { padding: 144px 0; }

.theme-warm {
  --bg-1: #fefcf8;
  --bg-2: #f7f3ec;
  --bg-cream: #f0e8d8;
}
