/* ==========================================================================
   Whisper House – landing page stylesheet
   Szerkezet: 1) tokenek  2) reset/alap  3) elrendezés-segédek  4) komponensek
   szekciónként  5) responsive felülírások (a fájl végén, egy helyen)
   ========================================================================== */

/* ---------- 1) DESIGN TOKENEK ---------- */
:root {
  --navy: #00186D;
  --navy-deep: #001052;
  --navy-deep-2: #001A78;
  --teal: #63D8D4;
  --teal-light: #7FE6E2;
  --teal-hover: #1E7E8A;
  --ink: #0D1217;
  --muted: #5B6B6E;
  --muted-2: #7A8A8D;
  --muted-3: #9AA6AA;
  --border: #DCE6E8;
  --tint: #F2F8F9;
  --cream: #EFF6F7;
  --white: #FFFFFF;
  --footer-bg: #000C3B;

  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --container-narrow: 1140px;
  --radius: 16px;
}

/* ---------- 2) RESET / ALAP ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-hover); }

::selection { background: var(--teal); color: var(--navy); }

input, textarea, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-3); }

button { cursor: pointer; }

/* Egységes, jól látható fókuszjelzés minden interaktív elemen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--navy); color: var(--cream);
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- 3) ELRENDEZÉS-SEGÉDEK ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.section { padding: 96px 32px; scroll-margin-top: 90px; }
.section--tint { background: var(--tint); }

.stack-lg { display: flex; flex-direction: column; gap: 48px; max-width: none; }
.stack-lg > .container { max-width: var(--container-narrow); }

.h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--navy);
  text-wrap: pretty;
}
.h2--light { color: var(--cream); }
.h2--wide { max-width: 860px; font-size: 36px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr 1fr; gap: 24px; }
.grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15.5px; padding: 13px 24px;
  border-radius: 12px; border: none; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { font-size: 16.5px; padding: 16px 28px; }
.btn--accent { background: var(--teal); color: var(--navy); }
.btn--accent:hover { background: var(--teal-light); color: var(--navy); }
.btn--outline { border: 1.5px solid rgba(239,246,247,0.35); color: var(--cream); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.btn--outline-dark { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: var(--navy); color: var(--cream); }
.btn--dark { background: var(--navy); color: var(--cream); width: 100%; padding: 15px; font-size: 16.5px; }
.btn--dark:hover { background: #002088; color: var(--cream); }
.btn--block { width: 100%; }

.link-strong { font-weight: 700; color: var(--navy); }
.link-strong:hover { color: var(--teal-hover); }

.link-underline { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--navy); }
.link-underline:hover { color: var(--teal-hover); }
.link-underline--light { color: rgba(239,246,247,0.75); }
.link-underline--light:hover { color: var(--teal); }

.eyebrow { font-size: 16px; font-weight: 600; color: var(--teal); }
.eyebrow--light { color: var(--teal); }

.tag {
  display: inline-block; align-self: flex-start;
  border: 1.5px solid var(--teal); border-radius: 999px;
  padding: 5px 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}

.accent-text { color: var(--navy); }
.accent-text-dark { color: var(--navy); }

/* ---------- NAVIGÁCIÓ ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0,24,109,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(239,246,247,0.12);
}
.nav__inner {
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--cream); }
.brand__mark { color: var(--cream); flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.3px; color: var(--cream); }

.nav__toggle {
  display: none;
  background: transparent; border: 1px solid rgba(239,246,247,0.3);
  color: var(--cream); border-radius: 8px; width: 40px; height: 40px;
  align-items: center; justify-content: center;
}

.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a:not(.btn) { font-size: 15px; font-weight: 500; color: rgba(239,246,247,0.85); }
.nav__menu a:not(.btn):hover { color: var(--teal); }
.nav__cta { margin-left: 8px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(175deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-deep-2) 100%);
  padding: 88px 32px 110px;
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute; right: -180px; top: -120px; width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,216,212,0.14) 0%, rgba(99,216,212,0) 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container);
  display: flex; align-items: center; gap: 72px; position: relative;
}
.hero__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700; line-height: 1.14; letter-spacing: -1.2px;
  color: var(--cream); text-wrap: pretty;
}
.hero__lead { font-size: 19px; line-height: 1.6; color: rgba(239,246,247,0.78); max-width: 560px; text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--accent { box-shadow: 0 10px 30px rgba(99,216,212,0.25); }
.hero__note { font-size: 14.5px; color: rgba(239,246,247,0.55); max-width: 480px; }

.hero__media { width: 440px; flex-shrink: 0; position: relative; }
.hero__photo {
  width: 400px; height: 500px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,10,45,0.35);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__cards { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute; width: 250px; background: var(--white); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 18px 44px rgba(0,10,45,0.4);
}
.float-card--a { left: -56px; bottom: 44px; animation: wh-float-a 7s ease-in-out infinite; }
.float-card--b { right: -34px; top: 28px; width: 218px; animation: wh-float-b 8s ease-in-out infinite; }
.float-card--c { right: -50px; bottom: -26px; width: 236px; animation: wh-float-a 9s ease-in-out infinite; }

.float-card__tag {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted-2);
}
.float-card__tag--plain { display: block; }
.float-card__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; }
.float-card__body { font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.float-card__pill {
  margin-top: 9px; display: inline-block; background: var(--tint); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; color: var(--navy);
}
.float-card__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); }
.float-card__row span { color: var(--muted); }
.float-card__row + .float-card__row { margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes wh-float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes wh-float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
}

/* ---------- BIZALMI SÁV ---------- */
.trust { padding: 64px 0 72px; }
.trust__label {
  text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--muted-2); padding: 0 32px;
}

.marquee {
  margin-top: 34px; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track { display: flex; gap: 60px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: wh-marquee 55s linear infinite; }
  @keyframes wh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
.marquee__item {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--muted-3); white-space: nowrap;
}

.stats {
  max-width: 1040px; margin: 64px auto 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.stat { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.stat--divided { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.stat__num { font-family: var(--font-display); font-size: 46px; font-weight: 700; color: var(--navy); letter-spacing: -1px; }
.stat__label { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* ---------- ISMERŐS? / KÁRTYÁK ÁLTALÁBAN ---------- */
.lead-quote {
  max-width: 640px; font-family: var(--font-display); font-size: 21px; font-weight: 500;
  line-height: 1.55; color: var(--ink); text-wrap: pretty;
}

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card--plain { padding: 28px 30px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.card--plain strong { color: var(--ink); }

.card__icon { flex-shrink: 0; }
.card__title { font-family: var(--font-display); font-size: 17.5px; font-weight: 600; color: var(--ink); }
.card__text { font-size: 15px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.card__payoff { margin-top: auto; font-size: 14px; font-style: italic; color: var(--navy); }

/* ---------- SZOLGÁLTATÁSOK ---------- */
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section__intro { font-size: 17.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.services { gap: 22px; }
.services__lead.card--hero {
  grid-column: 1 / -1; background: var(--navy); border: none; border-radius: var(--radius);
  padding: 36px 40px; flex-direction: row; gap: 48px; align-items: flex-start;
}
.card--hero .card__head { display: flex; align-items: center; gap: 14px; flex: 1; }
.card--hero .card__title--light { font-size: 22px; color: var(--cream); }
.card--hero { flex-direction: column; }
.services__lead { display: flex; flex-direction: column; gap: 14px; }
.card__text--light { color: rgba(239,246,247,0.78); max-width: 720px; font-size: 16px; line-height: 1.65; }
.card__payoff--light { color: var(--teal); font-size: 15px; }

.section__foot { font-size: 17px; color: var(--muted); }

/* ---------- LEHETŐSÉG-CHECK ---------- */
.panel--check {
  max-width: var(--container-narrow); margin: 0 auto; background: var(--navy);
  border-radius: 24px; padding: 56px 60px; display: flex; gap: 64px;
  box-shadow: 0 30px 70px rgba(0,24,109,0.22); position: relative; overflow: hidden;
}
.panel__watermark { position: absolute; right: -140px; bottom: -110px; opacity: 0.14; pointer-events: none; }
.panel__main { flex: 1.1; display: flex; flex-direction: column; gap: 20px; position: relative; }

.badge {
  align-self: flex-start; background: rgba(99,216,212,0.14); border: 1px solid rgba(99,216,212,0.4);
  color: var(--teal); border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
}
.panel__main .h2--light { font-size: 34px; letter-spacing: -0.7px; }
.price { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); }
.price__num { font-size: 42px; font-weight: 700; color: var(--teal); letter-spacing: -1px; }
.price__vat { font-size: 20px; font-weight: 600; color: rgba(239,246,247,0.6); }
.panel__lead { font-size: 16.5px; line-height: 1.65; color: rgba(239,246,247,0.82); text-wrap: pretty; }

.fit-box { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.fit-box p {
  background: rgba(239,246,247,0.07); border-radius: 12px; padding: 14px 18px;
  font-size: 15px; line-height: 1.55; color: rgba(239,246,247,0.85);
}
.fit-box strong { color: var(--cream); }

.panel__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.panel__fineprint { font-size: 14.5px; color: var(--teal); }

.panel__side { flex: 1; position: relative; }
.checklist {
  background: rgba(239,246,247,0.05); border: 1px solid rgba(239,246,247,0.14);
  border-radius: 18px; padding: 30px 32px; display: flex; flex-direction: column; gap: 16px;
}
.checklist__label { font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(239,246,247,0.55); }
.checklist__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist__list li {
  position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: rgba(239,246,247,0.88);
}
.checklist__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(99,216,212,0.16);
}
.checklist__list li::after {
  content: "✓"; position: absolute; left: 4px; top: 1px; font-size: 12px; font-weight: 700; color: var(--teal);
}

/* ---------- ÍGY DOLGOZOM ---------- */
.step {
  border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px; background: var(--white);
}
.step--optional { border: 1.5px dashed var(--muted-3); position: relative; }
.step__flag {
  position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-3);
}
.step__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
}
.step__num--outline { background: none; border: 1.5px dashed var(--navy); color: var(--navy); }
.step__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.step__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.callout { display: flex; align-items: center; gap: 18px; }
.callout__text { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -0.3px; text-wrap: pretty; }

/* ---------- MIÉRT VELEM ---------- */
.why { gap: 40px 56px; }
.why__item { display: flex; flex-direction: column; gap: 10px; }
.why__bar { width: 34px; height: 4px; border-radius: 2px; background: var(--teal); }
.why__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.why__text { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- RINGLI ---------- */
.ringli {
  max-width: 940px; margin: 0 auto; background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 42px; display: flex; align-items: center; gap: 36px;
}
.ringli__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--tint); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ringli__copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ringli__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.ringli__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ringli__cta { flex-shrink: 0; white-space: nowrap; }

/* ---------- RÓLAM ---------- */
.about { display: flex; gap: 64px; align-items: flex-start; }
.about__photo {
  width: 380px; flex-shrink: 0; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,10,45,0.16);
}
.about__copy { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.about__copy p { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.about__intro { font-size: 17px !important; color: var(--ink) !important; }
.about__closer { font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 600; }
.about__links { display: flex; align-items: center; gap: 20px; font-size: 15.5px; font-weight: 600; flex-wrap: wrap; }

/* ---------- GYIK ---------- */
.faq-wrap { max-width: 840px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--navy);
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 26px 22px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 680px; }

/* ---------- KAPCSOLAT ---------- */
.contact { background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 100px 32px; }
.contact__inner { display: flex; gap: 72px; align-items: flex-start; }
.contact__copy { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.contact__lead { font-size: 17.5px; line-height: 1.65; color: rgba(239,246,247,0.8); max-width: 480px; text-wrap: pretty; }
.contact__calendar {
  display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--teal);
}
.contact__calendar:hover { color: var(--teal-light); }
.contact__privacy { font-size: 14px; color: rgba(239,246,247,0.55); }

.contact__form-wrap {
  width: 460px; flex-shrink: 0; background: var(--white); border-radius: 20px; padding: 36px;
  box-shadow: 0 30px 70px rgba(0,5,30,0.4);
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--muted-3); }
.field input, .field textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 15px;
  font-family: var(--font-body); color: var(--ink);
}
.field textarea { resize: vertical; }
.field__note { font-size: 13.5px; color: var(--muted); min-height: 1.2em; }
.field__note[data-state="error"] { color: #B3261E; font-weight: 600; }

.contact__success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 10px; text-align: center; }
.contact__success-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); }
.contact__success-text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- LÁBLÉC ---------- */
.footer { background: var(--footer-bg); padding: 56px 32px 40px; }
.footer__inner { display: flex; flex-direction: column; gap: 36px; }
.footer__grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.brand--footer { margin-bottom: 0; }
.footer__address { font-style: normal; font-size: 14px; line-height: 1.7; color: rgba(239,246,247,0.55); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14.5px; color: rgba(239,246,247,0.75); }
.footer__col a:hover { color: var(--teal); }
.footer__heading { font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(239,246,247,0.4); }
.footer__copyright { border-top: 1px solid rgba(239,246,247,0.12); padding-top: 22px; font-size: 13.5px; color: rgba(239,246,247,0.45); }

/* ==========================================================================
   5) RESPONSIVE FELÜLÍRÁSOK
   Minden törésponthoz tartozó módosítás itt, egy helyen — így egyben látszik,
   mi változik kisebb képernyőn.
   ========================================================================== */

@media (max-width: 960px) {
  .section { padding: 72px 24px; }
  .h2 { font-size: 30px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid rgba(239,246,247,0.12);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(239,246,247,0.08); }
  .nav__cta { margin: 14px 0 0; align-self: flex-start; }

  .hero__inner { flex-direction: column; gap: 48px; }
  .hero__media { width: 100%; max-width: 400px; }
  .hero__cards { display: none; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .services__lead.card--hero { grid-column: 1 / -1; flex-direction: column; gap: 20px; }

  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stat--divided { border-left: none; border-right: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }

  .panel--check { flex-direction: column; padding: 40px 32px; gap: 40px; }

  .about { flex-direction: column; gap: 32px; }
  .about__photo { width: 260px; }

  .contact__inner { flex-direction: column; gap: 40px; }
  .contact__form-wrap { width: 100%; }
}

@media (max-width: 640px) {
  .container, .section { padding-left: 20px; padding-right: 20px; }
  .h2 { font-size: 26px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  .hero { padding: 56px 20px 72px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; }

  .stat__num { font-size: 36px; }

  .services__lead.card--hero { padding: 28px 24px; }

  .ringli { flex-direction: column; text-align: center; padding: 32px 24px; }

  .footer__grid { flex-direction: column; gap: 32px; }
}
