/* ═══════════════════════════════════════════════
   NOBLE KEY — LUXURY REAL ESTATE
   Color palette from brand reference:
   Deep Forest Green / Gold / Cream
═══════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --green-deep:  #1A3829;
  --green-mid:   #224D38;
  --green-light: #2D6147;
  --gold:        #B8945A;
  --gold-light:  #C9A96E;
  --gold-pale:   #E8D5B0;
  --cream:       #F4EFE6;
  --cream-dark:  #EDE5D8;
  --slate:       #3A4A42;
  --white:       #FFFFFF;
  --text-dark:   #1C2820;
  --text-body:   #4A5C52;
  --text-muted:  #7A8C82;

  --font-serif:  'Playfair Display SC', Georgia, serif;
  --font-body:   'Cardo', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;

  --radius:      4px;
  --radius-lg:   10px;
  --shadow:      0 2px 24px rgba(26,56,41,0.10);
  --shadow-lg:   0 8px 48px rgba(26,56,41,0.18);
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);

  --container:   1200px;
  --header-h:    96px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: var(--font-sans); outline: none; }
button { font-family: var(--font-sans); }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.24rem, 4.8vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(184,148,90,0.4); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; justify-content: center; padding: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  border-radius: 2px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--text-dark);
}
.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.logo-light .logo-name { color: var(--white); }
.logo-light .logo-sub  { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#header.scrolled {
  background: var(--green-deep);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  height: 82px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
#header .logo        { gap: 11px; }
#header .logo-mark   { width: 68px; height: 68px; font-size: 1.5rem; flex-shrink: 0; }
#header .logo-name   { font-size: 1.32rem; color: var(--white); white-space: nowrap; }
#header .logo-sub    { font-size: 0.57rem; color: rgba(255,255,255,0.45); white-space: nowrap; }

.nav-desktop {
  display: flex;
  gap: 29px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}
#header .nav-desktop .nav-link { font-size: 0.66rem; white-space: nowrap; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.header-phone {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  transition: color var(--transition);
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--green-deep);
  padding: 0 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--green-deep);
  overflow: hidden;
}
/* hero photos — right half */
.hero-photos {
  position: absolute;
  inset: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 0;
}
.hero-photo {
  flex: 1;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #0D2419 0%, #0D2419 45%, rgba(13,36,25,0.55) 70%, rgba(13,36,25,0.2) 100%),
    linear-gradient(to bottom, rgba(13,36,25,0.3) 0%, transparent 30%, transparent 70%, rgba(13,36,25,0.5) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  z-index: 2;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(184,148,90,1) 80px, rgba(184,148,90,1) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(184,148,90,1) 80px, rgba(184,148,90,1) 81px);
}
/* decorative circles */
#hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,90,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  z-index: 2;
}
#hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,97,71,0.5) 0%, transparent 70%);
  bottom: -50px; left: -50px;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: var(--header-h);
  max-width: 780px;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.7;
}
.br-desktop { display: block; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════ */
#stats {
  background: var(--green-mid);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.stat {
  text-align: center;
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1;
}
.stat-plus {
  font-size: 0.6em;
  color: var(--gold);
  vertical-align: super;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.12);
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
#about {
  padding: 120px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 500px;
}
.about-card {
  position: absolute;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(0.9);
  z-index: 0;
}
.about-card > * { position: relative; z-index: 1; }
.about-card-1 {
  width: 65%;
  height: 55%;
  top: 0; left: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-light) 100%);
}
.about-card-2 {
  width: 70%;
  height: 60%;
  bottom: 0; right: 0;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--slate) 100%);
}
.ac-label {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}
.ac-desc {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.about-monogram {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(184,148,90,0.4);
}
.about-monogram span {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.about-list {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.about-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
#services {
  padding: 120px 0;
  background: var(--cream);
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 { margin-bottom: 16px; }
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card {
  background: var(--white);
  padding: 44px 32px 40px;
  position: relative;
  transition: background var(--transition);
}
.service-card:hover { background: var(--green-deep); }
.service-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(255,255,255,0.08); }
.service-icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: color var(--transition);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.service-card:hover h3 { color: var(--white); }
.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  transition: color var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.65); }
.service-card:hover .service-icon { color: var(--gold-light); }

/* ═══════════════════════════════════════════════
   WHY US
═══════════════════════════════════════════════ */
#why {
  padding: 120px 0;
  background: var(--green-deep);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-text .eyebrow { color: var(--gold-light); }
.why-text h2 { color: var(--white); margin-bottom: 20px; }
.why-text p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.75; }
.why-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-icon {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.9;
}
.why-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.why-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#contact {
  padding: 120px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--text-body); margin-bottom: 40px; line-height: 1.75; }
.channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.channel:hover { border-color: var(--gold-pale); box-shadow: 0 4px 20px rgba(184,148,90,0.12); transform: translateX(4px); }
.channel-ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-ico svg { width: 20px; height: 20px; }
.phone-ico { background: rgba(184,148,90,0.12); color: var(--gold); }
.tg-ico    { background: rgba(0,136,204,0.1); color: #0088CC; }
.wa-ico    { background: rgba(37,211,102,0.1); color: #25D366; }
.channel > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.channel-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.channel-val { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }

/* Form */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 28px; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,148,90,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.select-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,148,90,0.12);
}
.select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.btn-icon { font-size: 1.1rem; }
.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.form-note a { color: var(--gold); text-decoration: underline; }
.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 40px;
  color: var(--white);
}
.form-success.show { display: flex; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-success strong { font-size: 1.2rem; }
.form-success p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  background: var(--text-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 64px 40px 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-nav, .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav strong, .footer-contacts strong {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-nav a, .footer-contacts a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-contacts a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 40px;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.footer-bottom span, .footer-bottom a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-inner, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 360px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-divider:nth-child(4) { display: none; }
  .stat-divider { width: 100%; height: 1px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .nav-desktop, .header-phone { display: none; }
  .burger { display: flex; }

  #about, #services, #why, #contact { padding: 80px 0; }

  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 32px 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-divider:nth-child(2) { display: none; }
  .stat-divider:nth-child(6) { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 32px; }
  .footer-bottom { padding: 16px 20px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }

  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; text-align: center; }
  .br-desktop { display: none; }
  .hero-scroll-hint { display: none; }

  .about-card-1 { width: 60%; height: 50%; }
  .about-card-2 { width: 65%; height: 55%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
}
