/* ==========================================================================
   KirpiGlobal - styles.css
   Prompt 2 Dizayn və Mobil Yeniləmə
   Bütün rənglər, kölgələr və radiuslar yalnız :root-da təyin edilir.
   ========================================================================== */

@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/geologica-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/geologica-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/onest-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Əsas rənglər */
  --navy: #132A4F;
  --blue: #1C5088;
  --orange: #F2901E;
  --orange-dark: #D97A0C;
  --white: #FFFFFF;
  --mist: #F2F6FB;
  --line: #D5DFEC;
  --muted: #52617A;
  --error: #B42318;
  --success: #15803D;
  --success-soft: #ECF8F1;
  --success-glow: rgba(21, 128, 61, 0.38);
  /* Matcher qrupu "Etibarlı" (matcher.css ilə eyni dəyər) */
  --safe: #3B82C4;
  --safe-dark: #2C6AA6;

  /* Prompt 2 yeni rənglər və kölgələr */
  --orange-soft: #FDEBD2;
  --blue-soft: #E4EDF8;
  --shadow-sm: 0 2px 8px rgba(19, 42, 79, 0.06);
  --shadow-md: 0 12px 32px rgba(19, 42, 79, 0.10);
  --shadow-lg: 0 24px 56px rgba(19, 42, 79, 0.16);
  --radius-btn: 999px;
  --radius-card: 20px;
  --radius-xl: 28px;

  /* Tünd bölmə üçün törəmə rənglər */
  --navy-card-bg: rgba(255, 255, 255, 0.05);
  --navy-card-border: rgba(255, 255, 255, 0.10);
  --navy-line-subtle: rgba(255, 255, 255, 0.20);
  --navy-circle-outline: rgba(255, 255, 255, 0.04);
  --backdrop-overlay: rgba(19, 42, 79, 0.65);
  --focus-ring: rgba(28, 80, 136, 0.2);
  --shadow-btn-orange: 0 4px 12px rgba(242, 144, 30, 0.25);
  --shadow-number-orange: 0 4px 14px rgba(242, 144, 30, 0.35);
  --shadow-sticky: 0 -4px 16px rgba(19, 42, 79, 0.08);
  --shadow-sheet: 0 -8px 32px rgba(19, 42, 79, 0.20);

  /* Tipoqrafiya */
  --font-heading: 'Geologica', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ölçülər */
  --container-max: 1200px;
  --header-height: 76px;
  --section-pad-y: 96px;
  --section-pad-x: 24px;
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --section-pad-y: 64px;
    --section-pad-x: 20px;
  }
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, picture, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ==========================================================================
   Tipoqrafiya
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-blue {
  color: var(--blue);
}

.text-muted {
  color: var(--muted);
}

/* ==========================================================================
   Narıncı Qövs (Swoosh İmza)
   ========================================================================== */

.swoosh {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 0;
}

.swoosh-line {
  position: absolute;
  left: -3%;
  bottom: -0.2em;
  width: 106%;
  height: 0.36em;
  z-index: -1;
  overflow: visible;
  fill: var(--orange);
}

/* İzlərin basılması (.kirpi-tracks): soldan sağa bir-bir */
@keyframes kirpi-steps {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Kirpilərin arxasında izlər: kirpi bura yeriyib gəlib. İzlər arxa ayağın arxasından başlayır, köhnəsi solğundur,
   həmişə bütöv addımdır (kafel 44 × 30, iki iz). Rəng --orange-dən gəlir. --kt-h kafelin hündürlüyü, --kt-n addım
   sayı, --kt-p iz sayı (2 × --kt-n). Yeri hər kirpidə ayrıca: arxa ayaq şəklin enindən 16%-dədir. */
.kirpi-tracks {
  --kt-h: 13px;
  --kt-n: 2;
  --kt-p: 4;
  --kt-w: calc(var(--kt-h) * var(--kt-n) * 44 / 30);
  position: relative;
  isolation: isolate;
}

.kirpi-tracks::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: var(--kt-w);
  height: var(--kt-h);
  background-color: var(--orange);
  opacity: 0.8;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 30'%3E%3Cg transform='translate(11 20) rotate(96) scale(.5)'%3E%3Cpath d='M-9 4C-11-2-6-6 0-6C6-6 11-2 9 4C8 9 4 12 0 12C-4 12-8 9-9 4Z'/%3E%3Cellipse cx='-13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(-70 -13.2 -2.8)'/%3E%3Ccircle cx='-18.8' cy='-4.8' r='1.2'/%3E%3Cellipse cx='-8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(-35 -8.0 -9.5)'/%3E%3Ccircle cx='-11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='0.0' cy='-12.0' rx='2.6' ry='5.2'/%3E%3Ccircle cx='0.0' cy='-18.0' r='1.2'/%3E%3Cellipse cx='8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(35 8.0 -9.5)'/%3E%3Ccircle cx='11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(70 13.2 -2.8)'/%3E%3Ccircle cx='18.8' cy='-4.8' r='1.2'/%3E%3C/g%3E%3Cg transform='translate(33 10) rotate(84) scale(.5)'%3E%3Cpath d='M-9 4C-11-2-6-6 0-6C6-6 11-2 9 4C8 9 4 12 0 12C-4 12-8 9-9 4Z'/%3E%3Cellipse cx='-13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(-70 -13.2 -2.8)'/%3E%3Ccircle cx='-18.8' cy='-4.8' r='1.2'/%3E%3Cellipse cx='-8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(-35 -8.0 -9.5)'/%3E%3Ccircle cx='-11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='0.0' cy='-12.0' rx='2.6' ry='5.2'/%3E%3Ccircle cx='0.0' cy='-18.0' r='1.2'/%3E%3Cellipse cx='8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(35 8.0 -9.5)'/%3E%3Ccircle cx='11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(70 13.2 -2.8)'/%3E%3Ccircle cx='18.8' cy='-4.8' r='1.2'/%3E%3C/g%3E%3C/svg%3E") right center / auto 100% repeat-x, linear-gradient(to right, rgba(0, 0, 0, 0.25), #000 70%);
  -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 30'%3E%3Cg transform='translate(11 20) rotate(96) scale(.5)'%3E%3Cpath d='M-9 4C-11-2-6-6 0-6C6-6 11-2 9 4C8 9 4 12 0 12C-4 12-8 9-9 4Z'/%3E%3Cellipse cx='-13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(-70 -13.2 -2.8)'/%3E%3Ccircle cx='-18.8' cy='-4.8' r='1.2'/%3E%3Cellipse cx='-8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(-35 -8.0 -9.5)'/%3E%3Ccircle cx='-11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='0.0' cy='-12.0' rx='2.6' ry='5.2'/%3E%3Ccircle cx='0.0' cy='-18.0' r='1.2'/%3E%3Cellipse cx='8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(35 8.0 -9.5)'/%3E%3Ccircle cx='11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(70 13.2 -2.8)'/%3E%3Ccircle cx='18.8' cy='-4.8' r='1.2'/%3E%3C/g%3E%3Cg transform='translate(33 10) rotate(84) scale(.5)'%3E%3Cpath d='M-9 4C-11-2-6-6 0-6C6-6 11-2 9 4C8 9 4 12 0 12C-4 12-8 9-9 4Z'/%3E%3Cellipse cx='-13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(-70 -13.2 -2.8)'/%3E%3Ccircle cx='-18.8' cy='-4.8' r='1.2'/%3E%3Cellipse cx='-8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(-35 -8.0 -9.5)'/%3E%3Ccircle cx='-11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='0.0' cy='-12.0' rx='2.6' ry='5.2'/%3E%3Ccircle cx='0.0' cy='-18.0' r='1.2'/%3E%3Cellipse cx='8.0' cy='-9.5' rx='2.6' ry='5' transform='rotate(35 8.0 -9.5)'/%3E%3Ccircle cx='11.5' cy='-14.4' r='1.2'/%3E%3Cellipse cx='13.2' cy='-2.8' rx='2.6' ry='4.2' transform='rotate(70 13.2 -2.8)'/%3E%3Ccircle cx='18.8' cy='-4.8' r='1.2'/%3E%3C/g%3E%3C/svg%3E") right center / auto 100% repeat-x, linear-gradient(to right, rgba(0, 0, 0, 0.25), #000 70%);
  mask-composite: intersect;
}

.header-brand.kirpi-tracks::before {
  left: calc(14px - var(--kt-w));
  bottom: -5px;
}

.footer-brand-plate.kirpi-tracks {
  padding-left: 28px;
}

.footer-brand-plate.kirpi-tracks::before {
  left: calc(42px - var(--kt-w));
  bottom: 5px;
}

/* Paketlərdəki kirpi sola baxır, izləri sağdadır */
.packages-kirpi.kirpi-tracks::before {
  right: calc(14px - var(--kt-w));
  bottom: calc(50% - 29px);
  transform: scaleX(-1);
}

@media (min-width: 1300px) {
  .header-brand.kirpi-tracks,
  .packages-kirpi.kirpi-tracks {
    --kt-n: 4;
    --kt-p: 8;
  }
}

@media (max-width: 768px) {
  .kirpi-tracks {
    --kt-h: 12px;
  }
}

@media (max-width: 600px) {
  .kirpi-tracks {
    --kt-h: 11px;
  }

  .packages-kirpi.kirpi-tracks {
    --kt-h: 10px;
  }

  .footer-brand-plate.kirpi-tracks {
    padding-left: 20px;
  }

  .header-brand.kirpi-tracks::before {
    left: calc(14px - var(--kt-w)); /* kənar 18px: ən köhnə iz ekranın içində qalsın */
    bottom: -3px;
  }

  .footer-brand-plate.kirpi-tracks::before {
    left: calc(31px - var(--kt-w));
    bottom: 4px;
  }

  .packages-kirpi.kirpi-tracks::before {
    right: calc(10px - var(--kt-w));
    bottom: calc(50% - 22px);
  }
}

/* İzlər kirpi görünəndə köhnədən təzəyə bir-bir basılır (main.js .is-on qoyur), «addım» kimi */
.js-steps .kirpi-tracks::before {
  clip-path: inset(0 100% 0 0);
}

.js-steps .kirpi-tracks.is-on::before {
  animation: kirpi-steps calc(var(--kt-p) * 0.25s) steps(var(--kt-p), end) 0.3s forwards;
}

/* Kirpi yolu (main.js qurur): bölmə etiketlərinin narıncı nöqtələrini birləşdirən bir iz xətti. Sol kənar boşluqla
   enir, hər etiketin nöqtəsinə yaxınlaşıb davam edir. Bölmə fonunun üstündə, məzmunun (.container, z-index 1) altındadır.
   Ziyarətçi aşağı düşdükcə izlər qabağında görünür. */
.kirpi-route-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  max-width: none;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
  fill: var(--orange);
}

.kirpi-route-layer use {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.kirpi-route-layer use.on {
  opacity: 0.75;
}

@media (max-width: 600px) {
  .kirpi-route-layer use.on {
    opacity: 0.55; /* telefonda xətt ekranın kənarındadır, daha sakit */
  }
}

@media (prefers-reduced-motion: reduce) {
  .kirpi-route-layer use {
    transition: none;
  }
}

/* Gəzən kirpi (main.js): geniş ekranda başlıqdakı loqodan yola tullanır, ziyarətçi ilə yol boyu gəzir və
   ən yuxarıda loqonun yerinə qayıdır. Başlığın (100) altında gəzir, tullananda başlığın üstündən keçir. */
.header-logo {
  transition: opacity 0.15s ease;
}

.kirpi-out .header-logo {
  opacity: 0;
}

/* Gəzənin başlanğıc nöqtəsi yolun üstündədir: yandan görünüş ayaqları ilə, yuxarıdan görünüş ortası ilə ora durur.
   Səhifənin özündədir (absolute), ona görə sürüşmə ilə birlikdə, gecikmədən hərəkət edir. */
.kirpi-walker-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
}

.kirpi-walker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 0;
  pointer-events: none;
  visibility: hidden;
  will-change: transform;
}

.kirpi-walker.is-on {
  visibility: visible;
}

/* Gəzən kirpiyə klik konsultasiya formasını açır */
.kirpi-walker.is-on .kirpi-walker-top {
  pointer-events: auto;
  cursor: pointer;
}

.kirpi-walker.is-hopping {
  z-index: 101;
}

.kirpi-walker-hop {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

/* Ölçü --kw-dən gəlir: yuxarıdan görünüşün eni. main.js onu kənar boşluğa görə qoyur (geniş ekranda 40px,
   telefonda və planşetdə boşluq qədər), yandan görünüş də ona uyğun kiçilir. */
.kirpi-walker-side {
  position: absolute;
  top: calc(var(--kw, 40px) * -0.725);
  left: calc(var(--kw, 40px) * -0.65);
  width: calc(var(--kw, 40px) * 1.3);
  max-width: none;
  height: auto;
  opacity: 0;
}

.kirpi-walker-top {
  position: absolute;
  top: calc(var(--kw, 40px) * -0.65);
  left: calc(var(--kw, 40px) * -0.5);
  width: var(--kw, 40px);
  height: calc(var(--kw, 40px) * 1.3075);
  max-width: none;
  overflow: visible;
}

.kw-paw,
.kw-ink {
  fill: var(--navy);
}

.kw-face {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 2;
}

.kw-spines {
  fill: var(--orange);
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.kw-shine {
  fill: var(--white);
}

.kw-cheek {
  fill: var(--orange);
  opacity: 0.35;
}

.kw-tassel {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kw-button {
  fill: var(--orange);
}

.kw-board-edge {
  fill: none;
  stroke: var(--white);
  stroke-opacity: 0.35;
  stroke-width: 1;
}

/* Yeriş: çarpaz ayaqlar növbə ilə irəli (yuxarıdan görünüşdə irəli aşağıdır), bədən yüngülcə yellənir */
.kirpi-walker.is-walking .kw-fa {
  animation: kw-step 0.34s ease-in-out infinite;
}

.kirpi-walker.is-walking .kw-fb {
  animation: kw-step 0.34s ease-in-out -0.17s infinite;
}

.kirpi-walker.is-walking .kw-body {
  animation: kw-wiggle 0.34s ease-in-out infinite;
}

@keyframes kw-step {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(3px); }
}

@keyframes kw-wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* Paketlər (gəzən kirpi olanda): oradakı kirpi və bulud gəzən kirpi gələnə qədər gizlidir. Kirpi gəlib
   loqo olur (.is-home), bulud quyruğu tərəfdən açılır (.is-said) və açıq qalır. Klaviatura ilə fokusda da görünür. */
.kirpi-walk .packages-kirpi img {
  visibility: hidden;
}

.kirpi-walk .packages-kirpi.is-home img {
  visibility: visible;
}

.kirpi-walk .packages-kirpi.kirpi-tracks::before {
  display: none;
}

/* Altbilgidəki loqo gəzən kirpinin yolunun sonudur: kirpi gəlib oraya girənə qədər yeri boşdur */
.kirpi-end .footer-brand-plate .footer-logo {
  visibility: hidden;
}

.kirpi-end .footer-brand-plate.is-home .footer-logo {
  visibility: visible;
}

.kirpi-end .footer-brand-plate.kirpi-tracks::before {
  display: none;
}

.kirpi-walk .packages-kirpi-text {
  opacity: 0;
  transform: translateX(24px) scale(0.6);
  transform-origin: right center;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.15s ease, box-shadow 0.15s ease;
}

.kirpi-walk .packages-kirpi.is-said .packages-kirpi-text,
.kirpi-walk .packages-kirpi:focus-visible .packages-kirpi-text {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-swoosh .swoosh-line {
    animation: drawSwoosh 700ms ease-out forwards;
  }
}

@keyframes drawSwoosh {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* ==========================================================================
   Bölmə Etiketi (Eyebrow)
   ========================================================================== */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
  flex-shrink: 0;
}

.section-navy .section-eyebrow {
  color: var(--line);
}

/* ==========================================================================
   Dekorativ Formalar (Hero və Əlaqə)
   ========================================================================== */

.deco-shape-wrapper {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}

.deco-blob-orange {
  position: absolute;
  background-color: var(--orange);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  opacity: 0.9;
  filter: blur(1px);
}

.deco-dot-orange {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--orange);
  border-radius: 50%;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
  position: relative;
  z-index: 1;
}

section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-header {
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 14px;
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
}

/* Bölmə fonları */
.section-white {
  background-color: var(--white);
}

.section-mist {
  background-color: var(--mist);
}

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p,
.section-navy .section-header p,
.section-navy .text-muted {
  color: var(--line);
}

/* ==========================================================================
   Düymələr (Pill formalı)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

/* Telefonda :hover yoxdur — basılı (:active) vəziyyəti kompüterdəki hover ilə eyni görünür */
.btn,
.btn-whatsapp-square {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:active {
  transform: translateY(-2px);
  transition-duration: 0.05s;
}

/* Böyük CTA variantı (56px) */
.btn-lg {
  min-height: 56px;
  padding: 14px 32px;
  font-size: 17px;
}

/* Əsas CTA: narıncı, mətn HƏMİŞƏ --navy */
.btn-primary {
  background-color: var(--orange);
  color: var(--navy) !important;
  border-color: var(--orange);
  box-shadow: var(--shadow-btn-orange);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* İkinci dərəcəli düymə */
.btn-secondary {
  background-color: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:active {
  background-color: var(--blue);
  border-color: var(--blue);
}

/* Çərçivəli düymə */
.btn-outline {
  background-color: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}

.btn-outline:hover,
.btn-outline:active {
  background-color: var(--navy);
  color: var(--white) !important;
}

.btn-outline-line {
  background-color: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}

.btn-outline-line:hover,
.btn-outline-line:active {
  background-color: var(--mist);
  border-color: var(--blue);
  color: var(--blue) !important;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Kartlar */
.card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* ==========================================================================
   Header (Yapışqan)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  flex-shrink: 0;
  min-height: 44px;
}

.header-logo {
  width: 87px;
  height: 48px;
  object-fit: contain;
}

.header-wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-link:hover {
  color: var(--blue);
  text-decoration: none;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobil menyu düyməsi (44x44px) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.menu-toggle:hover {
  border-color: var(--blue);
  background-color: var(--mist);
}

.menu-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-cta-item {
  display: none;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.menu-cta-item .btn {
  width: 100%;
}

/* 1100 px-dən aşağıda yeddi link, loqo və CTA bir sətrə sığmır */
@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--section-pad-x);
    gap: 8px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    font-size: 18px;
    width: 100%;
    min-height: 48px;
    padding: 10px 0;
  }

  .menu-cta-item {
    display: block;
  }
}

/* ==========================================================================
   01 Hero Bölməsi
   ========================================================================== */

.hero-section {
  background-color: var(--white);
  padding-top: calc(var(--section-pad-y) * 0.75);
  padding-bottom: calc(var(--section-pad-y) * 1.25);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Hero bəndləri (Fərdi plan, Şəffaf proses, Addım-addım dəstək) */
.hero-highlights {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.hero-highlight-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-highlight-icon svg {
  width: 11px;
  height: 11px;
}

/* Hero vizual kompozisiyası */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.hero-blob {
  top: -24px;
  right: -24px;
  width: 280px;
  height: 280px;
  z-index: 0;
}

.hero-dot {
  top: -10px;
  left: 20%;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.hero-card--art {
  padding: 60px 8px 100px;   /* the globe stays clear of the two floating badges above and below it */
}

.hero-card--photo {
  aspect-ratio: 4 / 5;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fırlanan planet: abidələr qatı mərkəzin ətrafında yavaş fırlanır, kirpi və ad üstdə yerində qalır.
   Hər iki şəkil eyni kvadrat çərçivədədir, ona görə mərkəzləri üst-üstə düşür. */
/* Planetin yalnız üst üçdə biri görünür: kəsik «KirpiGlobal» yazısının altından keçir (çərçivə 1728, mərkəz 864,
   kəsik mərkəzdən 170 yuxarı, ona görə görünən hündürlük 694; make_landmarks.py-də CUT). Qatlar kvadratdır,
   qalanı qutudan kənarda qalır. */
.hero-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1728 / 694;
  overflow: hidden;
}

.hero-globe img,
.hero-globe-trail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* İzlər planetlə birlikdə fırlanır, amma yalnız kirpinin artıq keçdiyi yerdə görünür: ən arxadakı ayağının
   arxasından (saat 12-dən 17° solda) başlayıb sola doğru solur. Maska fırlanmır, şəkil onun içində fırlanır. */
.hero-globe-trail {
  -webkit-mask-image: conic-gradient(from 280deg at 50% 50%, transparent 0deg, #000 48deg, #000 63deg, transparent 64deg);
  mask-image: conic-gradient(from 280deg at 50% 50%, transparent 0deg, #000 48deg, #000 63deg, transparent 64deg);
}

/* 48 saniyəyə bir dövrə: hər 0.8 saniyədə bir iz düşür, kirpinin addımları ilə eyni ritmdə (kirpi-globe-top.svg) */
@media (prefers-reduced-motion: no-preference) {
  .hero-globe-turning,
  .hero-globe-steps {
    animation: kirpi-globe 48s linear infinite;
  }
}

@keyframes kirpi-globe {
  to { transform: rotate(-360deg); }
}

.hero-card--photo .hero-card-img {
  object-fit: cover;
}

/* Üzən kiçik kartlar */
.floating-badge {
  position: absolute;
  z-index: 2;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  max-width: 250px;
}

/* Kənara çıxma səhifə kənarı boşluğundan 10 px az olsun: 601-1247 px enində kart ekranın kənarına dəyib kəsilmiş görünürdü */
.floating-badge--top {
  top: 24px;
  left: calc(-1 * min(24px, var(--section-pad-x) - 10px));
  background-color: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.floating-badge--bottom {
  bottom: 24px;
  right: calc(-1 * min(24px, var(--section-pad-x) - 10px));
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy-line-subtle);
}

.floating-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-icon svg {
  width: 13px;
  height: 13px;
}

/* Fakt Zolağı (Hero altında) */
.hero-contact-bar {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-contact-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  color: var(--navy);
  text-decoration: none !important;
  border-right: 1px solid var(--line);
  transition: background-color 0.15s ease;
}

.hero-contact-cell:last-child {
  border-right: none;
}

.hero-contact-cell:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

@media (hover: hover) {
  .hero-contact-cell:hover {
    background-color: var(--mist);
  }
}

.hero-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-contact-icon svg {
  width: 26px;
  height: 26px;
}

.hero-contact-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-contact-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-contact-hint {
  font-size: 15px;
  color: var(--muted);
}

.hero-contact-arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
}

/* Üfüq qövsü motivi (Hero alt kənarında) */
.hero-arc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.hero-arc svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   02 Haqqımızda Bölməsi
   ========================================================================== */

.about-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;   /* center mətni sitat kartının ortasına endirirdi: başlıqla mətn arasında boşluq qalırdı */
  margin-bottom: 56px;
}

.about-intro p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-quote-card {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-line-subtle);
}

.about-quote-mark {
  color: var(--orange);
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.about-quote-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 0;
}

.about-reasons-title {
  margin-bottom: 28px;
  font-size: 26px;
}

.about-reasons-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-reason-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .about-reason-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.about-reason-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.about-reason-icon svg {
  width: 18px;
  height: 18px;
}

.about-reason-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.about-reason-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   03 Xidmətlər Bölməsi
   ========================================================================== */

.services-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card {
  flex: 1 1 320px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
  }
}

.service-card-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--orange-soft);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ==========================================================================
   Alət kartları (#tools): bütün kart bir linkdir
   ========================================================================== */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.tool-card,
.tool-card:hover {
  color: inherit;
  text-decoration: none;
}

.tool-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.tool-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Önizləmə pəncərəsi */
.tool-preview {
  height: 140px;
  background-color: var(--mist);
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Variantlar */
.tool-preview--matcher {
  gap: 18px;
}

.tp-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-segs {
  flex: 1;
  display: flex;
  gap: 4px;
}

.tp-seg {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background-color: var(--line);
  transition: background-color 0.2s ease;
}

.tp-seg.is-on {
  background-color: var(--orange);
}

.tp-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.tp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-pill {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
}

/* Etibarlı: --safe-dark fon (ağ mətn AA keçsin deyə), qrup rəngi ilə eyni ailə */
.tp-pill--safe {
  background-color: var(--safe-dark);
  border-color: var(--safe-dark);
  color: var(--white);
}

.tp-pill--target {
  background-color: var(--orange);
  border-color: var(--orange-dark);
  color: var(--navy);
}

.tp-pill--reach {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Bank */
.tool-preview--bank {
  padding: 10px 16px;
}

.tp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.tp-row + .tp-row {
  border-top: 1px solid var(--line);
}

.tp-country {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.2;
}

.tp-bar {
  width: 64px;
  height: 10px;
  border-radius: var(--radius-btn);
  background-color: var(--navy);
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

/* Tarixlər */
.tool-preview--dates {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.tp-sheet {
  width: 104px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.tp-sheet-top {
  height: 6px;
  background-color: var(--navy);
}

.tp-sheet-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 8px;
}

.tp-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background-color: var(--line);
}

.tp-cell--mark {
  border-radius: 50%;
  background-color: var(--orange);
}

.tp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: var(--radius-btn);
  background-color: var(--success-soft);
  color: var(--success);
}

.tp-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success);
  flex-shrink: 0;
}

/* Hərəkət sətri */
.tool-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.tool-action-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}

.tool-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.tool-action-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
  }

  .tool-card:hover .tool-action-btn {
    background-color: var(--orange);
  }

  .tool-card:hover .tool-action-btn svg {
    transform: translateX(3px);
  }

  .tool-card:hover .tp-seg--next,
  .tool-card:hover .tp-bar--last {
    background-color: var(--orange);
  }
}

.tool-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: var(--shadow-sm), 0 0 0 3px var(--focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  .tool-card:hover {
    transform: none;
  }

  .tool-card:hover .tool-action-btn svg {
    transform: none;
  }

  .tool-card,
  .tool-action-btn svg {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Sonuncu CTA kartı (--navy) */
.service-cta-card {
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-cta-card h3 {
  color: var(--white);
}

.service-cta-card p {
  color: var(--line);
  margin-bottom: 24px;
}

.service-cta-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   04 Paketlər Bölməsi
   ========================================================================== */

/* Başlıq: solda "Paketlər", sağda danışıq buludu və kirpi (klikləyəndə müraciət pəncərəsi).
   Kirpi ən sağdadır və buluda tərəf baxır; bulud ilə kirpi eyni orta xətdədir */
.packages-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.packages-kirpi {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.packages-kirpi img {
  width: 88px;
  height: auto;
  flex-shrink: 0;
  transform: scaleX(-1); /* loqodakı kirpi sağa baxır, burada buluda baxsın */
  transition: transform 0.2s ease;
}

.packages-kirpi-text {
  position: relative;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Buludun quyruğu: sağ tərəfin ortasından kirpiyə */
.packages-kirpi-text::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -7px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background-color: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
  transition: border-color 0.15s ease;
}

@media (hover: hover) {
  .packages-kirpi:hover .packages-kirpi-text,
  .packages-kirpi:hover .packages-kirpi-text::after {
    border-color: var(--orange);
  }

  .packages-kirpi:hover .packages-kirpi-text {
    box-shadow: var(--shadow-md);
  }

  .packages-kirpi:hover img {
    transform: scaleX(-1) translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .packages-kirpi:hover img {
    transform: scaleX(-1);
  }
}

.packages-kirpi:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 16px;
}

.packages-wrapper {
  position: relative;
  padding-top: 20px; /* Tövsiyə edirik etiketi üçün */
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* minmax: məzmun kartı enləndirməsin, dörd kart eyni endə */
  gap: 20px;
  align-items: stretch;
}

/* Kartın özü klikləyə bilən */
.package-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  padding: 32px 22px;
  height: 100%;
  position: relative;
  container-type: inline-size; /* rəqəm qutuları kartın eninə görə düzülür */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

/* Dörd kart eyni hündürlükdə başlayır və eyni cür qalxır; əvvəl Pro 16px yuxarıda idi, etiketlər fərqli səviyyədə qalırdı */
@media (hover: hover) {
  .package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .package-card--basic:hover,
  .package-card--custom:hover {
    border-color: var(--orange);
  }

  .package-card--standard:hover {
    box-shadow: var(--shadow-lg);
  }
}

/* Səviyyə göstəricisi (3 zolaq) */
.package-level-bars {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.level-bar {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background-color: var(--line);
}

.level-bar.is-active {
  background-color: var(--orange);
}

.level-bar.is-dashed {
  background-color: transparent;
  border: 1.5px dashed var(--orange);
  opacity: 0.45;
}

.package-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Təsvirə sabit yer: yan-yana kartlarda siyahılar eyni xətdən başlasın (4 sütunda 3 sətir, 2 sütunda 2 sətir) */
.package-for {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 3.2em;
}

@media (min-width: 1081px) {
  .package-for {
    min-height: 4.8em;
  }
}

.package-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}

/* Bütün kartlarda eyni işarə: dairəsiz narıncı quş */
.package-feature-check {
  width: 18px;
  height: 18px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.package-feature-check svg {
  width: 16px;
  height: 16px;
}

.package-feature-item strong {
  font-weight: 700;
}

/* Universitet və təqaüd sayı: kiçik qutu, rəqəm və yazı yan-yana. Hər qutu öz kartının açıq tonundadır:
   Standart boz, Pro tünd fonda narıncı rəqəm, Premium açıq narıncı (vurğulanan araşdırma bəndi ilə eyni ton) */
.package-keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.package-key {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background-color: var(--mist);
}

.package-key-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.package-key-label {
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
}

.package-card--standard .package-key {
  background-color: var(--navy-card-bg);
  box-shadow: inset 0 0 0 1px var(--navy-card-border);
}

.package-card--standard .package-key-num {
  color: var(--orange);
}

.package-card--standard .package-key-label {
  color: var(--line);
}

.package-card--premium .package-key {
  background-color: var(--orange-soft);
}

.package-card--premium .package-key-label {
  color: var(--navy);
}

/* Dar kartda (4 sütun, təxminən 1081-1240px ekran) iki qutu yan-yana sığmır: rəqəm yazının üstünə keçir,
   təsvir də 4 sətrə düşür */
@container (max-width: 221px) {
  .package-for {
    min-height: 6.4em;
  }

  .package-key {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* Vurğulanan söz (məs. «ayrıca»): qalın və narıncı alt xətt */
.package-up {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Premium-un əsas fərqi: akademik araşdırma bəndi vurğulanır */
.package-feature-item--highlight {
  margin-top: 2px;
  padding: 12px;
  border-radius: 12px;
  background-color: var(--orange-soft);
  color: var(--navy);
}

.package-feature-item--highlight .package-feature-check {
  color: var(--navy);
}

.package-card .btn {
  display: none; /* Düymə artıq gizlidir — kart özü klikləyə biləndir */
}

/* Kartın altındakı düymə görünüşü: dörd kartda eyni, yalnız Pro-da narıncı (div olaraq qalır, klikləmə kartdadır) */
.package-cta-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-btn);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.package-card--standard .package-cta-hint {
  background-color: var(--orange);
  border-color: var(--orange);
}

@media (hover: hover) {
  .package-card:hover .package-cta-hint {
    background-color: var(--navy);
    color: var(--white);
  }

  .package-card--standard:hover .package-cta-hint {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--navy);
  }

  .package-card:hover .package-cta-arrow {
    transform: translateX(4px);
  }
}

/* Dörd kartın fərqli xarakterləri */
/* 1. Basic */
.package-card--basic {
  background-color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* 2. Standard (Seçilmiş / Tövsiyə) */
.package-card--standard {
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.package-card--standard .package-name {
  color: var(--white);
}

.package-card--standard .package-for {
  color: var(--line);
}

.package-card--standard .level-bar.is-active {
  background-color: var(--white);
}

.package-card--standard .level-bar:not(.is-active) {
  background-color: var(--navy-line-subtle);
}

.package-card--standard .level-bar.is-dashed {
  border-color: var(--navy-line-subtle);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background-color: var(--orange);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-sm);
}

/* 3. Premium: yalnız tünd çərçivə; əvvəlki zolaq, dairə və nöqtə kartı yükləyirdi */
.package-card--premium {
  background-color: var(--white);
  border: 1.5px solid var(--navy);
  box-shadow: var(--shadow-sm);
}

.package-badge--premium {
  background-color: var(--navy);
  color: var(--white);
}

.package-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.package-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .package-card:hover,
  .package-card:hover .package-cta-arrow {
    transform: none;
  }

  .package-cta-arrow {
    transition: none;
  }
}

/* 4. Custom: ağ fon, kəsik xətt; əvvəl --mist üstündə --mist idi, kart görünmürdü */
.package-card--custom {
  background-color: var(--white);
  border: 2px dashed var(--line);
  box-shadow: none;
}

/* Karusel Nöqtələri (Mobil üçün) */
.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
}

.carousel-dot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--line);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active::after {
  background-color: var(--orange);
  transform: scale(1.25);
}

.packages-note {
  margin-top: 32px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* 600.02px: 600 ilə 601 arasındakı kəsr enli ekranlar (zoom, DPR) nə telefon, nə planşet qaydasına düşürdü */
@media (max-width: 1080px) and (min-width: 600.02px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px; /* ikinci sıradakı etiketlər üçün yer */
  }
}

/* ==========================================================================
   05 Necə işləyir Bölməsi (Tünd fon)
   ========================================================================== */

.process-section {
  background-color: var(--navy);
  color: var(--white);
  overflow: clip;
}

.process-bg-circles {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--navy-circle-outline);
  box-shadow: 0 0 0 100px var(--navy-circle-outline), 0 0 0 200px var(--navy-circle-outline);
  pointer-events: none;
  z-index: 0;
}

.steps-container {
  position: relative;
  margin-bottom: 48px;
}

/* Kompüterdə qırıq birləşdirici xətt */
.steps-connecting-line {
  display: none;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.step-card {
  background-color: var(--navy-card-bg);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.step-number-wrap {
  margin-bottom: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  box-shadow: var(--shadow-number-orange);
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--white);
}

.step-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--line);
  margin-bottom: 0;
}

.steps-cta-wrapper {
  text-align: center;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   06 Uğur hekayələri (hidden)
   ========================================================================== */

.stories-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card-mark {
  color: var(--orange);
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}

.review-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.review-quote {
  font-style: italic;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.6;
}

.admissions-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.admissions-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.admission-item {
  padding: 16px 20px;
  background-color: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-size: 15px;
}

/* ==========================================================================
   07 FAQ (Suallar - İki sütun)
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.faq-side-card {
  background-color: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-top: 32px;
}

.faq-side-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.faq-side-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  min-height: 48px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-icon-circle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon-circle {
  background-color: var(--orange);
  color: var(--navy);
}

.faq-content {
  padding: 0 28px 24px 28px;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.65;
}

/* ==========================================================================
   08 Əlaqə & Forma Bölməsi
   ========================================================================== */

.contact-section {
  background-color: var(--mist);
  position: relative;
  overflow: clip;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
}

/* Başlıq .section-header-də deyil: altdakı mətn başlığa yapışırdı, narıncı xətt mətnin üstündən keçirdi */
.faq-side h2 + p,
.contact-info h2 + p {
  margin-top: 14px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--white);
  color: var(--navy);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  min-height: 64px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
  .contact-channel-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

.contact-channel-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.contact-channel-arrow {
  color: var(--muted);
  width: 18px;
  height: 18px;
}

/* Forma qutusu (Hero ilə eyni dekorativ motiv) */
.contact-form-wrapper {
  position: relative;
  width: 100%;
}

.contact-blob {
  top: -24px;
  right: -24px;
  width: 260px;
  height: 260px;
  z-index: 0;
}

.form-box {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 15px;
  color: var(--muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-control.has-error {
  border-color: var(--error);
}

.field-error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 4px;
}

.field-error.is-visible {
  display: block;
}

/* Honeypot */
.visually-hidden-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}


/* Vəziyyət bildirişləri */
.form-status {
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
  display: none;
  font-size: 15px;
  line-height: 1.5;
}

.form-status.status-error {
  display: block;
  background-color: var(--white);
  border: 1.5px solid var(--error);
  color: var(--error);
}

/* Uğurlu göndəriş: yaşıl qutu, cızılan ✓ işarəsi, çərçivə yaşıl parıltı ilə yanır */
.form-status.status-success {
  display: block;
  background-color: var(--success-soft);
  border: 1.5px solid var(--success);
  color: var(--navy);
  padding: 24px;
  text-align: center;
  animation: success-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.form-status.status-success h4 {
  color: var(--success);
  font-size: 20px;
  line-height: 1.3;
}

.success-check {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  animation: success-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}

.success-check circle {
  fill: var(--white);
  stroke: var(--success);
  stroke-width: 3;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: success-draw 0.6s ease-out 0.1s forwards;
}

.success-check path {
  fill: none;
  stroke: var(--success);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: success-draw 0.35s ease-out 0.6s forwards;
}

/* Dialoq: kənar parıltısı <dialog>-un özündə olmalıdır (daxili qutunun xarici kölgəsini dialoq kəsər) */
.form-box.is-success {
  border-color: var(--success);
}

dialog.modal-dialog.is-success {
  box-shadow: 0 0 0 2px var(--success), 0 0 36px 4px var(--success-glow), var(--shadow-lg);
  animation: success-glow 1.8s ease-out both;
}

/* Səhifə içi forma (dialoq olmayan) */
.form-box.is-success:not(.dialog-inner) {
  box-shadow: 0 0 0 2px var(--success), 0 0 36px 4px var(--success-glow), var(--shadow-lg);
  animation: success-glow 1.8s ease-out both;
}

@keyframes success-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 128, 61, 0), 0 0 0 0 rgba(21, 128, 61, 0), var(--shadow-lg);
  }
  35% {
    box-shadow: 0 0 0 6px rgba(21, 128, 61, 0.55), 0 0 72px 16px rgba(21, 128, 61, 0.5), var(--shadow-lg);
  }
  100% {
    box-shadow: 0 0 0 2px var(--success), 0 0 36px 4px var(--success-glow), var(--shadow-lg);
  }
}

@keyframes success-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes success-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes success-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .success-check,
  .form-status.status-success,
  dialog.modal-dialog.is-success,
  .form-box.is-success:not(.dialog-inner) {
    animation: none;
  }

  .success-check circle,
  .success-check path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.form-status-actions {
  margin-top: 12px;
}

/* Göndərilir: düymədə fırlanan işarə, altında hərəkətli zolaq və dəyişən mətn */
.btn.is-loading:disabled {
  opacity: 1;
  cursor: progress;
}

.btn-spinner {
  width: 20px;
  height: 20px;
  flex: none;
  border: 2.5px solid rgba(19, 42, 79, 0.25);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

.form-status.status-pending {
  display: block;
  background-color: var(--blue-soft);
  border: 1.5px solid var(--line);
  color: var(--navy);
  padding: 20px;
  text-align: center;
  animation: success-rise 0.35s ease-out both;
}

.pending-bar {
  position: relative;
  height: 6px;
  margin: 2px auto 14px;
  max-width: 240px;
  border-radius: 999px;
  background-color: var(--white);
  overflow: hidden;
}

.pending-bar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  border-radius: 999px;
  background-color: var(--orange);
  animation: pending-slide 1.3s ease-in-out infinite;
}

.pending-text {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.pending-text.is-swapping {
  animation: pending-swap 0.35s ease-out both;
}

.pending-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

@keyframes pending-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes pending-swap {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hərəkət azaldılıbsa: fırlanma və sürüşmə yerinə yumşaq yanıb-sönmə (gözləmə yenə də görünür) */
@media (prefers-reduced-motion: reduce) {
  .btn-spinner,
  .pending-bar span {
    animation: pending-pulse 1.6s ease-in-out infinite;
  }

  .pending-bar span {
    left: 0;
    width: 100%;
  }

  .form-status.status-pending,
  .pending-text.is-swapping {
    animation: none;
  }
}

@keyframes pending-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==========================================================================
   Dialoq (Modal Forma)
   ========================================================================== */

dialog.modal-dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: transparent;
  max-width: 520px;
  width: 90%;
  margin: auto;
  box-shadow: var(--shadow-lg);
}

dialog.modal-dialog::backdrop {
  background-color: var(--backdrop-overlay);
  backdrop-filter: blur(2px);
}

.dialog-inner {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.dialog-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--muted);
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dialog-close-btn:hover {
  background-color: var(--mist);
  color: var(--navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding-top: calc(var(--section-pad-y) * 0.8);
  padding-bottom: 48px;
  position: relative;
  margin-top: auto;
}

/* Üfüq qövsü motivi: tünd göy qövs footer-in üstündən Əlaqə bölməsinə qalxır (hero-dakı qövs kimi) */
.footer-arc {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  transform: translateY(-99%);
}

.footer-arc svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-line-subtle);
}

.footer-brand-plate {
  background-color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-card);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}

.footer-logo {
  width: 87px;
  height: 48px;
  object-fit: contain;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  list-style: none;
}

.footer-link {
  color: var(--line);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-link:hover {
  color: var(--white);
}

/* Əlaqə sütunu */
.footer-contact-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list .footer-link {
  gap: 10px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Yapışqan Alt Zolaq (Mobil: <= 600px)
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-sticky);
  padding: 10px var(--section-pad-x);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 99;
  align-items: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.mobile-sticky-bar.is-visible {
  transform: translateY(0);
}

.mobile-sticky-bar .btn-sticky-cta {
  flex-grow: 1;
  min-height: 48px;
}

.btn-whatsapp-square {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-card);
  background-color: var(--mist);
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-whatsapp-square:hover,
.btn-whatsapp-square:active {
  background-color: var(--white);
  border-color: var(--blue);
}

.btn-whatsapp-square svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Mobil Uyğunlaşdırma (600px və aşağı)
   ========================================================================== */

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
    --section-pad-y: 38px;
    --section-pad-x: 18px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header p {
    margin-top: 8px;
    font-size: 16px;
  }

  /* 1. Header */
  .header-actions .btn {
    display: none;
  }

  .header-logo {
    width: 75px;
    height: 41px;
  }

  .header-wordmark {
    font-size: 19px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }

  /* 2. Yapışqan alt zolaq aktivləşdirilir */
  .mobile-sticky-bar {
    display: flex;
  }

  /* Footer-də alt zolaq üçün boşluq */
  .site-footer {
    padding-top: 28px;
    padding-bottom: calc(24px + 64px);
  }

  /* Telefonda bölmənin alt boşluğu azdır: qövs forma kartına çox yaxınlaşmasın */
  .footer-arc {
    height: 20px;
  }

  /* 3. Hero */
  .hero-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-highlights {
    gap: 6px 14px;
    flex-direction: row;
  }

  .hero-visual-wrapper {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-blob {
    width: 160px;
    height: 160px;
    top: -8px;
    right: -8px;
  }

  .hero-card {
    padding: 16px;
    border-radius: var(--radius-card);
  }

  .hero-card--art {
    padding: 48px 10px 52px;
  }

  /* Üzən kartlar kartın sərhədindən kənara çıxmır */
  .floating-badge {
    position: absolute;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    font-size: 12px;
    box-shadow: var(--shadow-sm);
  }

  .floating-badge--top {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
  }

  .floating-badge--bottom {
    bottom: 10px;
    right: 10px;
    top: auto;
    left: auto;
  }

  /* Əlaqə zolağı: iki xana alt-alta */
  .hero-contact-bar {
    grid-template-columns: 1fr;
    border-radius: var(--radius-card);
  }

  .hero-contact-cell {
    padding: 14px 16px;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-contact-cell:last-child {
    border-bottom: none;
  }

  .hero-contact-icon {
    width: 44px;
    height: 44px;
  }

  .hero-contact-name {
    font-size: 17px;
  }

  .hero-contact-hint {
    font-size: 14px;
  }

  /* 4. Haqqımızda */
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .about-intro p {
    font-size: 15.5px;
    margin-bottom: 10px;
  }

  .about-quote-card {
    padding: 18px 16px;
    border-radius: var(--radius-card);
  }

  .about-quote-mark {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
  }

  .about-quote-text {
    font-size: 15.5px;
  }

  .about-reasons-title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  /* Niyə bizimlə: Yığcam sətirlər */
  .about-reasons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-reason-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
  }

  .about-reason-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
  }

  .about-reason-icon svg {
    width: 14px;
    height: 14px;
  }

  .about-reason-card h4 {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .about-reason-card p {
    font-size: 13.5px;
  }

  /* 5. Xidmətlər: Yığcam iki sətirli kartlar */
  .services-flex-grid {
    gap: 10px;
  }

  .service-card {
    flex: 1 1 100%;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 10px;
  }

  .service-card-num {
    grid-column: 1;
    grid-row: 1;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 0;
  }

  .service-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 17px;
    margin-bottom: 0;
  }

  .service-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 4px;
  }

  /* Alət kartları */
  .tools-grid {
    gap: 12px;
  }

  .tool-card {
    padding: 16px;
  }

  .tool-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .tool-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .tool-preview {
    height: 84px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .tool-preview--matcher {
    gap: 10px;
  }

  .tp-seg {
    height: 6px;
  }

  .tp-pill,
  .tp-status {
    font-size: 11px;
    padding: 5px 10px;
  }

  .tool-preview--bank {
    padding: 4px 12px;
  }

  .tp-country {
    font-size: 12px;
  }

  .tp-bar {
    width: 52px;
    height: 8px;
  }

  .tool-preview--dates {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .tp-sheet {
    width: 80px;
  }

  .tp-sheet-top {
    height: 4px;
  }

  .tp-sheet-grid {
    gap: 3px;
    padding: 6px;
  }

  .tool-action {
    padding-top: 10px;
  }

  .tool-action-btn {
    width: 36px;
    height: 36px;
  }

  .tool-action-btn svg {
    width: 16px;
    height: 16px;
  }

  .service-cta-card {
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
  }

  .service-cta-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .service-cta-card p {
    font-size: 14px;
    margin-bottom: 14px;
    margin-top: 0;
  }

  .service-cta-card .btn {
    min-height: 46px;
  }

  /* 6. Paketlər: Üfüqi Karusel */
  .packages-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .packages-kirpi {
    gap: 12px;
  }

  .packages-kirpi img {
    width: 64px;
  }

  .packages-kirpi-text {
    font-size: 14px;
  }

  .packages-wrapper {
    padding-top: 0;
  }

  .packages-grid {
    padding-top: 16px; /* üfüqi scroll etiketləri (top: -10px) kəsməsin */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-inline: calc(-1 * var(--section-pad-x));
    padding-inline: var(--section-pad-x);
    scroll-padding-inline: var(--section-pad-x);
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  .packages-grid::-webkit-scrollbar {
    display: none;
  }

  .package-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 22px 18px;
  }

  .package-level-bars {
    margin-bottom: 12px;
  }

  .package-name {
    font-size: 22px;
    margin-bottom: 2px;
  }

  .package-for {
    font-size: 13.5px;
    margin-bottom: 16px;
    min-height: auto;
  }

  .package-features {
    margin-bottom: 20px;
    gap: 8px;
  }

  .package-keys {
    margin-bottom: 16px;
  }

  .package-key-num {
    font-size: 22px;
  }

  .package-badge {
    top: -10px;
    left: 18px;
    font-size: 11px;
    padding: 3px 10px;
  }

  .carousel-dots {
    display: flex;
    margin-top: 14px;
  }

  .packages-note {
    margin-top: 16px;
    font-size: 13.5px;
  }

  /* 7. Necə işləyir: Şaquli zaman xətti */
  .steps-connecting-line {
    display: none;
  }

  .steps-container {
    margin-bottom: 24px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 10px;
    border-left: 2px dashed var(--navy-line-subtle);
    margin-left: 14px;
    padding-left: 14px;
  }

  .step-card {
    position: relative;
    padding: 12px 14px;
  }

  .step-card::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--orange);
    border: 2.5px solid var(--navy);
  }

  .step-number-wrap {
    margin-bottom: 4px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .step-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .step-card p {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .steps-cta-wrapper .btn {
    min-height: 48px;
  }

  /* 8. Suallar */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq-side-card {
    margin-top: 14px;
    padding: 16px;
  }

  .faq-side-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .faq-side-card p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-summary {
    padding: 14px 16px;
    font-size: 16px;
    min-height: 44px;
  }

  .faq-content {
    padding: 0 16px 14px 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  /* 9. Əlaqə & Forma */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .contact-methods {
    gap: 10px;
  }

  .contact-channel-card {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .contact-channel-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .contact-channel-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .form-box {
    padding: 20px 16px;
  }

  .form-header {
    margin-bottom: 18px;
  }

  .form-header h3 {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-control {
    min-height: 44px;
    padding: 8px 12px;
  }

  /* 10. Dialoq (Bottom sheet) */
  dialog.modal-dialog {
    margin: auto 0 0 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    box-shadow: var(--shadow-sheet);
  }

  .dialog-inner {
    border-radius: 24px 24px 0 0;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 18px 16px 24px 16px;
  }

  /* 11. Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-brand-plate {
    padding: 8px 14px;
  }

  .footer-logo {
    width: 69px;
    height: 38px;
  }

  .footer-wordmark {
    font-size: 18px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .footer-link {
    min-height: 44px;
    font-size: 14.5px;
  }

  .footer-bottom {
    padding-top: 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Təqaüd təqvimi Bölməsi
   ========================================================================== */

.calendar-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.calendar-table th,
.calendar-table td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.calendar-table thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background-color: var(--blue-soft);
}

.calendar-table tbody th {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.calendar-table td {
  color: var(--muted);
}

.calendar-table tbody th {
  width: 28%;
}

.calendar-table td:last-child {
  width: 24%;
}

.calendar-table td strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

.calendar-table td span {
  display: block;
  font-size: 14px;
}

.calendar-more {
  padding: 8px 24px 0;
  font-size: 15px;
}

.calendar-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
}

.calendar-note {
  font-size: 14px;
  color: var(--muted);
  max-width: 640px;
}

.calendar-footer .btn {
  flex-shrink: 0;
}

.faq-content a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .calendar-table th,
  .calendar-table td {
    padding: 14px 16px;
  }

  .calendar-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
}

/* Telefon: hər proqram ayrıca blok, sütun adları sətrin əvvəlində */
@media (max-width: 600px) {
  .calendar-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .calendar-table,
  .calendar-table tbody,
  .calendar-table tr,
  .calendar-table th,
  .calendar-table td {
    display: block;
  }

  .calendar-table tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .calendar-table th,
  .calendar-table td {
    padding: 0;
    border-bottom: 0;
  }

  /* Kompüterdəki sütun enləri (28% və 24%) blok sətirdə adı və tarixi sıxırdı: hər söz ayrıca sətrə düşürdü */
  .calendar-table tbody th,
  .calendar-table td:last-child {
    width: auto;
  }

  .calendar-table tbody th {
    margin-bottom: 8px;
  }

  .calendar-table td {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 10px;
    padding: 3px 0;
    font-size: 15px;
  }

  .calendar-table td::before {
    content: attr(data-label);
    grid-row: 1 / span 2;
    font-size: 13px;
  }
}

/* ==========================================================================
   Planşet (601-900 px): dörd sütunlu torlar bu enə sığmır və sağdan kəsilirdi
   ========================================================================== */

@media (max-width: 900px) and (min-width: 600.02px) {
  /* minmax(0, 1fr): sütun öz məzmunundan dar ola bilsin (601 px-də ekran zolağı 15 px götürür, düzülüş 586 px-dir) */
  .about-reasons-grid,
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0 24px;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
