/* Evergrow Real Estate — India to Dubai landing page
   Recreated 1:1 from the supplied design source. Values below are the original's. */

/* ---------- Fonts (self-hosted, same families as the original) ---------- */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/lexend-latin-wght-normal.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-wght-normal.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;
}

/* ---------- Design tokens ---------- */
:root {
  --green-500: #139254;   /* accent: borders, icons, hero CTA */
  --green-600: #0F7A45;   /* primary: buttons, links, eyebrows */
  --green-700: #0B5C34;   /* hover */
  --green-900: #0B3B26;   /* dark sections */
  --green-950: #0B2A1C;   /* hero fallback */
  --mint: #8FDDB2;
  --mint-soft: #D3E3DA;
  --mint-dim: #A8C2B4;
  --tint: #EAF5EE;

  --ink: #18201C;
  --ink-2: #2B3530;
  --ink-3: #35403A;
  --text: #3F4A44;
  --muted: #4A5650;
  --muted-2: #5A6660;

  --white: #FFFFFF;
  --surface: #F4F7F5;
  --line: #E3E8E5;
  --line-2: #DCE3DF;
  --field-line: #C9D2CD;
  --on-dark-line: rgba(255, 255, 255, 0.16);

  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-display: 'Lexend', sans-serif;

  --header-height: 73px;  /* sticky header: 4 + 12 + 44 + 12 + 1 */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: clamp(48px, 6vw, 80px);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
:where(a) { color: var(--green-600); }
:where(a:hover) { color: var(--green-700); }
img { display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- Typography ---------- */
.eyebrow { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--green-600); }
.eyebrow--mint { color: var(--mint); }
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h2--plain { letter-spacing: normal; }
.h2--on-dark { color: inherit; }
.lead { margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.lead + .lead { margin-top: 14px; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head--lg { margin-bottom: 32px; }
.section-head__sub { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--white);
  min-height: 54px;
  padding: 0 26px;
  transition: background-color .15s ease;
}
.btn--accent { background: var(--green-500); }
.btn--primary { background: var(--green-600); }
.btn--accent:hover, .btn--primary:hover { background: var(--green-700); }
.btn--outline { border: 1.5px solid var(--white); padding: 0 24px; gap: 10px; }
.btn--sm { font-size: 15px; min-height: 44px; padding: 0 18px; white-space: nowrap; }
.btn--block { display: flex; justify-content: center; text-align: center; min-height: 52px; padding: 0 16px; margin-top: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-top: 4px solid var(--green-500);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  padding-top: 12px; padding-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 38px; width: auto; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 16px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--ink-3); }
.site-header__actions { display: flex; gap: 14px; align-items: center; }
.site-header__phone { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--green-950);
  background-image: url('../img/dubai-skyline.webp');
  background-size: cover;
  background-position: center 30%;
}
.hero__overlay { background: rgba(6, 24, 16, 0.6); width: 100%; }
.hero__inner {
  min-height: 720px;
  padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.hero__copy { flex: 1 1 520px; min-width: 0; color: var(--white); }
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -0.02em;
}
.hero__tagline {
  margin: 14px 0 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; color: var(--mint);
}
.hero__lead { margin: 20px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #E6ECE8; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px;
  margin: 36px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.25); max-width: 640px;
}
.stat__value { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1; }
.stat__label { font-size: 15px; color: #D3DDD7; margin-top: 6px; }

/* ---------- Enquiry form ---------- */
.enquiry {
  flex: 1 1 360px; max-width: 440px; min-width: 0;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 26px; border-top: 5px solid var(--green-500);
}
.enquiry__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.enquiry__intro { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.enquiry__form { display: flex; flex-direction: column; gap: 12px; }
.enquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field__label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field__control {
  height: 46px; border: 1px solid var(--field-line); border-radius: var(--radius);
  padding: 0 12px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink);
}
select.field__control { padding: 0 8px; font-size: 15px; }
.field__control:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }
.enquiry__note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted-2); text-align: center; }

/* ---------- Developer strip ---------- */
.developers { background: var(--surface); border-bottom: 1px solid var(--line); }
.developers__inner { padding-top: 36px; padding-bottom: 40px; }
.developers__title { margin: 0 0 20px; text-align: center; font-size: 17px; font-weight: 600; color: var(--ink-3); }
.developers__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.developers__item {
  height: 76px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; padding: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; color: #47524C;
}

/* ---------- Lifestyle gallery ---------- */
.lifestyle { padding-top: var(--section-pad); }
.lifestyle__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.lifestyle__heading { flex: 1 1 560px; min-width: 0; }
.lifestyle__intro { flex: 0 1 400px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--wide img { object-position: center 40%; }
.gallery__caption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(10, 20, 15, 0.78); color: var(--white);
  font-size: 15px; font-weight: 600; padding: 7px 12px; border-radius: var(--radius-sm);
}

/* ---------- Two-column splits ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split--center { align-items: center; }
.split--wide { gap: 44px; }
.split__col { flex: 1 1 440px; min-width: 0; }
.split__col--460 { flex-basis: 460px; }
.split__col--480 { flex-basis: 480px; }
.split__col--520 { flex-basis: 520px; }
.split__col--photo { flex: 0 1 360px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Local team ---------- */
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.checklist__item { display: flex; gap: 12px; align-items: flex-start; }
.checklist__icon { flex: 0 0 auto; margin-top: 2px; }
.checklist__text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.panel { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 24px; }
.panel--surface { background: var(--surface); }
.panel__count { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; }
.panel__count-value { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--green-500); line-height: 1; }
.panel__count-label { font-size: 17px; font-weight: 700; color: var(--ink); }
.panel__title { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--ink); }
.panel__note { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips--badges { gap: 10px; margin-top: 24px; }
.chip { font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: var(--radius-sm); }
.chip--tint { background: var(--tint); color: var(--green-700); }
.chip--dashed { background: var(--white); border: 1px dashed #9FB5A8; color: var(--text); padding: 7px 13px; }
.chip--outline { background: var(--white); border: 1px solid var(--line-2); color: var(--ink); }
.chip--badge { background: var(--white); border: 1px solid var(--line-2); font-size: 15px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 14px; }
.card-grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.card-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-md); padding: 20px; }
.card__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ink); }
.card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.card--check { padding: 22px; }
.card--check .card__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--green-900); }
.card--check .card__text { line-height: 1.55; }

/* ---------- Why Dubai (dark) ---------- */
.why {
  background-color: var(--green-900);
  background-image: url('../img/downtown-dubai.webp');
  background-size: cover; background-position: center;
  color: var(--white);
}
.why__overlay { background: rgba(7, 38, 24, 0.88); }
.why__head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.why__heading { flex: 1 1 560px; min-width: 0; }
.why__stat {
  flex: 0 1 320px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); padding: 20px 22px;
}
.why__stat-value { font-family: var(--font-display); font-size: 52px; font-weight: 700; line-height: 1; color: var(--mint); }
.why__stat-text { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--mint-soft); }
.why__stat-source { margin: 6px 0 0; font-size: 13px; color: var(--mint-dim); }
.why__card { border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); padding: 24px; }
.why__card-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.why__card-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mint-soft); }
.why__footnote { margin: 16px 0 0; font-size: 13px; color: var(--mint-dim); }

/* ---------- Photos ---------- */
.photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--4x5 { aspect-ratio: 4 / 5; object-position: center 25%; }

/* ---------- Property options ---------- */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.option {
  text-decoration: none; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.option__img { width: 100%; height: 180px; object-fit: cover; }
.option__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.option__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.option__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.option__link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 16px; color: var(--green-600); }

/* ---------- Founder ---------- */
.quote { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--green-500); font-size: 19px; line-height: 1.55; color: var(--ink); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 32px; }
.service { padding: 18px 0; border-top: 1px solid var(--line-2); }
.service__title { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.service__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.testimonial {
  margin: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.testimonial__quote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.testimonial__by { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.testimonial__name { display: block; font-size: 16px; }
.testimonial__role { font-size: 15px; color: var(--muted-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { border-top: 3px solid var(--green-500); padding-top: 14px; }
.step__num { margin: 0; font-size: 15px; font-weight: 700; color: var(--green-600); }
.step__title { margin: 4px 0 6px; font-size: 18px; font-weight: 700; }
.step__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq__inner { max-width: 860px; }
.faq__title { margin-bottom: 24px; }
.faq__list {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 0 22px;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
  width: 100%; background: transparent; border: 0; padding: 18px 0; min-height: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  text-align: left; cursor: pointer; font-family: inherit; font-size: 18px; font-weight: 700; color: var(--ink);
}
.faq__icon { flex: 0 0 auto; font-size: 24px; font-weight: 400; color: var(--green-600); width: 24px; text-align: center; }
.faq__answer { margin: 0 0 18px; padding-right: 44px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.cta {
  background-color: var(--green-900);
  background-image: url('../img/dubai-marina.webp');
  background-size: cover; background-position: center;
  color: var(--white);
}
.cta__overlay { background: rgba(7, 38, 24, 0.8); }
.cta__inner {
  padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta__copy { flex: 1 1 520px; min-width: 0; }
.cta__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.cta__text { margin: 12px 0 0; font-size: 19px; line-height: 1.55; color: var(--mint-soft); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 4px solid var(--green-500); }
.site-footer__top {
  padding-top: 36px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start;
}
.site-footer__brand { flex: 1 1 340px; min-width: 0; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__locations { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.site-footer__contact { flex: 0 1 300px; min-width: 0; font-size: 16px; line-height: 1.8; color: var(--ink); font-style: normal; }
.site-footer__contact a { display: block; text-decoration: none; }
.site-footer__phone { color: var(--ink); font-weight: 700; }
.site-footer__orn { display: block; color: var(--text); }
.site-footer__legal {
  padding-top: 16px; padding-bottom: 28px;
  border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted-2);
}
.site-footer__legal p { margin: 0; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--white); border-top: 1px solid var(--line-2); padding: 10px 12px; gap: 8px;
}
.mobile-bar__btn {
  flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--green-600); border-radius: var(--radius);
  color: var(--green-600); text-decoration: none; font-weight: 700; font-size: 15px;
}
.mobile-bar__btn--primary { flex: 1.4; background: var(--green-600); border: 0; color: var(--white); }

/* ---------- Responsive (original breakpoint) ---------- */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__phone { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Fixes for defects in the original (see README, "Differences") ---------- */
/* 1. In-page links landed with the target hidden under the sticky header. Layout is unchanged. */
section[id] { scroll-margin-top: var(--header-height); }
#enquire { scroll-margin-top: calc(var(--header-height) + 16px); }

/* 2. Single-column gallery: the wide tile's 2-column span forced the page wider than the phone. */
@media (max-width: 581px) {
  .gallery__item--wide { grid-column: auto; }
}

/* 3. Phone header: logo + button were wider than the screen, cutting the button off. */
@media (max-width: 480px) {
  .site-header__inner { gap: 12px; }
  .site-header__logo { flex: 0 1 170px; min-width: 0; }
  .site-header__logo img { width: 100%; height: auto; }
  .btn--sm { padding: 0 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
