/* Vasai Projects — Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colours */
  --color-primary: #101828;
  --color-primary-hover: #243247;
  --color-accent: #B88A48;
  --color-accent-text: #80551E;
  --color-background: #FFFFFF;
  --color-surface: #F7F7F4;
  --color-border: #E4E7EC;
  --color-text: #101828;
  --color-text-secondary: #475467;
  --color-success: #15803D;
  --color-error: #DC2626;
  --font-primary: "Plus Jakarta Sans", sans-serif;

  /* Layout */
  --container-max: 1320px;
  --container-padding: 32px;
  --grid-gap: 24px;
  --section-padding: 80px;
  --header-height: 80px;

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radius */
  --radius-small: 6px; --radius-button: 8px; --radius-input: 12px; --radius-card: 16px; --radius-large: 20px;

  /* Elevation */
  --shadow-card: 0 2px 8px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 8px 24px rgba(16, 24, 40, 0.08);
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;

  /* Compatibility aliases */
  --ink: var(--color-text);
  --ink-soft: #344054;
  --muted: var(--color-text-secondary);
  --brand: var(--color-primary);
  --brand-dark: #0b1220;
  --gold: var(--color-accent);
  --gold-dark: var(--color-accent-text);
  --gold-soft: #f5efe3;
  --cream: var(--color-background);
  --paper: #FFFFFF;
  --alt: var(--color-surface);
  --card: #FFFFFF;
  --line: var(--color-border);
  --shadow: var(--shadow-card);
  --shadow-lg: var(--shadow-hover);
  --radius: var(--radius-card);
  --section: var(--section-padding);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--font-primary); color: var(--color-text); margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; font-weight: 600; }
h4 { font-size: 20px; line-height: 1.3; font-weight: 700; }

.container { width: min(var(--container-max), calc(100% - (var(--container-padding) * 2))); margin-inline: auto; }
.narrow { max-width: 880px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; border: 1px solid var(--color-border); }
.skip-link:focus { left: 12px; top: 12px; }
.micro { font-size: 12px; color: var(--color-text-secondary); margin: 12px 0 0; line-height: 1.5; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); flex: 0 0 auto; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: auto; height: 52px; max-width: 190px; object-fit: contain; display: block; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand-wordmark strong { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--color-text); text-transform: uppercase; }
.brand-wordmark small { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--color-text-secondary); margin-top: 4px; text-transform: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { color: var(--color-text-secondary); font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: var(--radius-button); transition: color var(--transition-fast), background var(--transition-fast); white-space: nowrap; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--color-text); background: var(--color-surface); text-decoration: none; }
.nav .nav-cta { display: none; }
.header-cta { margin-left: 8px; flex: 0 0 auto; }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-button); width: 44px; height: 44px; cursor: pointer; color: var(--color-text); align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-button); border: 1px solid transparent;
  font-family: var(--font-primary); font-weight: 600; font-size: 14px; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 14px; }
.btn-primary { background: var(--color-primary); color: #FFFFFF; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--color-primary); border-color: var(--color-border); }
.btn-outline:hover { background: var(--color-surface); border-color: #D0D5DD; color: var(--color-primary); }
.btn-ghost { background: var(--color-surface); color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: #ECEAE5; }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; color: var(--color-text); background: #FFFFFF; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.hero::before { display: none; }
.hero-inner {
  position: relative; z-index: 2; padding: 64px 0 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero-content { max-width: 600px; }
.eyebrow, .section-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; color: var(--color-accent-text); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--color-accent); flex: 0 0 auto; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--color-accent-text); }
.hero-sub { font-size: 16px; max-width: 560px; color: var(--color-text-secondary); margin-bottom: 24px; line-height: 1.6; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.hero-pills li { padding: 8px 12px; border-radius: var(--radius-small); background: var(--color-surface); border: 1px solid var(--color-border); font-size: 12px; font-weight: 500; color: var(--color-text-secondary); }
.hero-pills li strong { color: var(--color-text); font-weight: 600; }
.hero-stats { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-note { margin: 0; font-size: 12px; color: var(--color-text-secondary); }

.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-visual-frame {
  position: relative; height: 440px; border-radius: var(--radius-large); overflow: hidden;
  border: 1px solid var(--color-border); background: var(--color-surface);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity .5s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-visual-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: rgba(255,255,255,.96); color: var(--color-text);
  padding: 8px 12px; border-radius: var(--radius-small); font-size: 12px; font-weight: 600;
  border: 1px solid var(--color-border);
}
.hero-media-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px; }
.hero-caption { margin: 0; font-size: 12px; color: var(--color-text-secondary); font-weight: 500; }
.hero-overlay-controls { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.hero-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); border-radius: 999px; background: #D0D5DD; transition: width .2s ease, background .2s ease; }
.hero-dot.is-active::before { width: 20px; background: var(--color-primary); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow, .carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border);
  background: #fff; color: var(--color-primary); font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background var(--transition-fast), border-color var(--transition-fast);
}
.hero-arrow:hover, .carousel-btn:hover { background: var(--color-surface); border-color: #D0D5DD; }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.hero-lead-card {
  background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-card);
}
.hero-lead-card h2 { font-size: 24px; margin: 0 0 8px; line-height: 1.3; font-weight: 600; }
.hero-lead-card > p { color: var(--color-text-secondary); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.hero-lead-card .hero-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-lead-card .btn { margin-top: 16px; min-height: 48px; }
.hero-lead-card .micro { text-align: center; margin-top: 12px; }

/* Quick facts */
.facts { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 24px; border-right: 1px solid var(--color-border); }
.facts-grid div:last-child { border-right: 0; }
.facts-grid span { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-secondary); margin-bottom: 4px; }
.facts-grid strong { font-size: 20px; color: var(--color-text); font-weight: 700; line-height: 1.3; }

/* Sections */
.section { padding: var(--section-padding) 0; }
section[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
.section-alt { background: var(--color-surface); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-head-note { max-width: 560px; color: var(--color-text-secondary); font-size: 16px; margin: 8px 0 0; line-height: 1.6; }
.lead { font-size: 16px; color: var(--color-text-secondary); line-height: 1.6; }
.card { background: var(--card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); }
a.card { display: block; color: inherit; text-decoration: none; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
a.card:hover { text-decoration: none; transform: translateY(-2px); border-color: #D0D5DD; box-shadow: var(--shadow-hover); }
.section-media { position: relative; }
.section-media img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-card); border: 1px solid var(--color-border); }
.media-badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.96); color: var(--color-text); padding: 8px 12px; border-radius: var(--radius-small); font-size: 12px; font-weight: 600; border: 1px solid var(--color-border); }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--color-text-secondary); font-size: 16px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Layout story */
.layout-section .layout-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-large); padding: 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
}
.layout-panel h2 { max-width: 620px; margin-bottom: 16px; }
.layout-panel .lead { max-width: 600px; margin-bottom: 24px; }
.layout-facts { display: grid; gap: 16px; }
.layout-facts div { background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius-input); padding: 20px; }
.layout-facts strong { display: block; font-size: 36px; color: var(--color-text); line-height: 1.1; font-weight: 700; }
.layout-facts span { font-size: 14px; color: var(--color-text-secondary); }

/* Carousels */
.carousel-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; scroll-behavior: smooth; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; min-width: 0; }

/* Configurations */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.config-card { display: flex; flex-direction: column; position: relative; min-height: 100%; padding: 24px; }
.config-card.featured { border-color: var(--color-primary); box-shadow: var(--shadow-card); }
.config-tag { position: absolute; top: 16px; right: 16px; background: var(--color-surface); color: var(--color-accent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 6px 10px; border-radius: var(--radius-small); border: 1px solid var(--color-border); }
.config-card h3 { font-size: 24px; margin: 0 0 4px; }
.config-area { font-size: 36px; font-weight: 700; color: var(--color-text); margin: 0 0 4px; line-height: 1.1; }
.config-area span { font-size: 14px; font-weight: 500; color: var(--color-text-secondary); }
.config-price { font-weight: 700; font-size: 24px; color: var(--color-text); margin: 0 0 4px; }
.config-price small { display: block; font-weight: 400; font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; }
.price-star { color: var(--color-accent-text); font-size: 12px; font-weight: 600; white-space: nowrap; margin-left: 6px; }
.price-note { color: var(--color-text-secondary); font-size: 12px; font-weight: 500; margin: 0 0 16px; }
.mini-list { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; color: var(--color-text-secondary); }
.mini-list li { padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.mini-list li:last-child { border-bottom: 0; }
.config-card .btn { margin-top: auto; }
.plan-thumb, .map-thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-input); background: #fff; cursor: zoom-in; overflow: hidden; margin: 0 0 16px; }
.plan-thumb img { width: 100%; height: 120px; object-fit: contain; background: #fff; padding: 8px; }
.layout-thumb img { height: 140px; object-fit: cover; padding: 0; }
.map-thumb img { width: 100%; height: 160px; object-fit: cover; }
.plan-thumb span, .map-thumb span { display: block; padding: 8px 12px; background: var(--color-surface); color: var(--color-text); font-size: 12px; font-weight: 600; border-top: 1px solid var(--color-border); }

/* Amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.amenity-photo { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition-normal), box-shadow var(--transition-normal); }
.amenity-photo:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.amenity-photo img { width: 100%; height: 220px; object-fit: cover; }
.amenity-photo div { padding: 20px; }
.amenity-photo strong { display: block; font-size: 16px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.amenity-photo small { color: var(--color-text-secondary); font-size: 14px; line-height: 1.5; }

/* Gallery */
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--color-surface); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-item button:hover img { transform: scale(1.02); }
.gallery-item figcaption { padding: 16px 20px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; color: var(--color-text); }
.gallery-item figcaption span { font-weight: 500; font-size: 12px; color: var(--color-text-secondary); }

/* Location */
.distance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.distance-grid div { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-input); padding: 16px 12px; text-align: center; }
.distance-grid strong { display: block; color: var(--color-text); font-size: 20px; font-weight: 700; line-height: 1.2; }
.distance-grid span { font-size: 12px; color: var(--color-text-secondary); font-weight: 500; }
.location-card h3 { margin-bottom: 16px; }
.nearby-list { list-style: none; padding: 0; margin: 0; }
.nearby-list li { padding: 12px 0; border-bottom: 1px solid var(--color-border); display: grid; grid-template-columns: 100px 1fr; gap: 4px 12px; }
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list span { font-weight: 600; font-size: 14px; color: var(--color-text); }
.nearby-list strong { color: var(--color-accent-text); text-align: right; font-size: 14px; font-weight: 600; }
.nearby-list small { grid-column: 1 / -1; color: var(--color-text-secondary); font-size: 12px; line-height: 1.5; }

/* Info / pros-cons */
.info-card h3 { color: var(--color-text); font-size: 20px; margin-bottom: 8px; }
.info-card p { color: var(--color-text-secondary); font-size: 14px; margin: 0; line-height: 1.6; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pro, .con { border-left: 3px solid var(--color-border); }
.pro { border-left-color: var(--color-success); }
.con { border-left-color: var(--color-accent); }
.pros-cons h3 { font-size: 20px; margin-bottom: 8px; }
.pros-cons p { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.6; }

/* Reviews */
.review-card { display: flex; flex-direction: column; min-height: 240px; padding: 24px; }
.stars { color: var(--color-accent); letter-spacing: .08em; font-size: 16px; margin-bottom: 12px; }
.review-card p { font-size: 14px; color: var(--color-text-secondary); flex: 1; line-height: 1.6; margin-bottom: 16px; }
.review-card footer strong { display: block; font-size: 14px; color: var(--color-text); }
.review-card footer span { font-size: 12px; color: var(--color-text-secondary); }

/* FAQ */
.faq-list { margin-top: 32px; }
details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-input); margin-bottom: 12px; overflow: hidden; }
summary { cursor: pointer; padding: 20px 48px 20px 20px; font-weight: 600; font-size: 16px; list-style: none; position: relative; color: var(--color-text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 18px; font-size: 20px; color: var(--color-text-secondary); font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px; color: var(--color-text-secondary); font-size: 14px; margin: 0; line-height: 1.6; }

/* Booking / Forms */
.book-section { background: var(--color-surface); color: var(--color-text); }
.book-section .lead, .book-section .check-list li { color: var(--color-text-secondary); }
.book-section .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.form-card { background: #fff; padding: 32px; }
.form-card h3 { margin-bottom: 24px; font-size: 24px; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--color-text); margin-bottom: 16px; }
input, select, textarea {
  width: 100%; margin-top: 8px; padding: 12px 14px; min-height: 52px;
  border: 1px solid var(--color-border); border-radius: var(--radius-input);
  font: inherit; font-size: 16px; color: var(--color-text); background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #98A2B3; box-shadow: 0 0 0 4px rgba(16,24,40,.06); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 16px; }
.consent input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 1px 0 0; padding: 0; }

/* Disclaimer */
.disclaimer-section { background: #fff; border-top: 1px solid var(--color-border); padding: 48px 0; }
.disclaimer-section .section-kicker { margin-bottom: 8px; }
.rera-line { color: var(--color-text); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.disclaimer-text { color: var(--color-text-secondary); font-size: 12px; line-height: 1.7; margin: 0; max-width: 1080px; }

/* Footer */
.site-footer { background: var(--color-surface); padding: 32px 0; border-top: 1px solid var(--color-border); }
.footer-inner { display: flex; justify-content: center; align-items: center; }
.footer-inner .brand-logo { width: auto; height: 48px; max-width: 180px; }
.site-footer a { text-decoration: none; }
.simple-footer { padding: 32px 0; text-align: center; color: var(--color-text-secondary); font-size: 14px; border-top: 1px solid var(--color-border); background: #fff; }
.simple-footer p { margin: 0; }

/* Dialogs */
.modal { border: 0; border-radius: var(--radius-large); padding: 0; width: min(640px, calc(100% - 32px)); box-shadow: 0 20px 48px rgba(16, 24, 40, 0.18); background: #fff; }
.modal::backdrop { background: rgba(16, 24, 40, 0.45); }
.modal-inner { padding: 32px; max-height: 88vh; overflow-y: auto; }
.modal-close { position: absolute; right: 16px; top: 16px; border: 1px solid var(--color-border); background: #fff; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; cursor: pointer; line-height: 1; z-index: 4; color: var(--color-text); }
.modal-close:hover { background: var(--color-surface); }
.modal-sub { color: var(--color-text-secondary); font-size: 14px; margin-bottom: 24px; }
fieldset { border: 0; border-top: 1px solid var(--color-border); padding: 16px 0 0; margin: 0 0 16px; }
legend { font-size: 14px; font-weight: 600; color: var(--color-text); padding: 0 8px 0 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 12px; }
.check-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 0; font-size: 14px; }
.check-grid input { width: 18px; height: 18px; min-height: 18px; margin: 0; flex: 0 0 18px; }
.lightbox { width: min(1040px, 94vw); background: #fff; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; display: block; background: #fff; }
.lightbox p { color: var(--color-text-secondary); text-align: center; margin: 0; padding: 16px 20px 20px; font-size: 14px; }

/* Scroll lead popup */
.scroll-lead[open] { display: grid; grid-template-columns: .9fr 1.1fr; width: min(860px, calc(100% - 32px)); overflow: hidden; }
.scroll-lead-visual { min-height: 440px; background: url('images/layout-blur.jpg') center / cover no-repeat; border-right: 1px solid var(--color-border); }
.scroll-lead-body { padding: 32px; }
.scroll-lead-body .lead-tag, .lead-tag { display: inline-flex; padding: 6px 10px; border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-accent-text); font-size: 12px; font-weight: 600; border: 1px solid var(--color-border); }
.scroll-lead-body h2 { font-size: 28px; margin-top: 16px; margin-bottom: 12px; }
.scroll-lead-body > p { color: var(--color-text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.scroll-lead-body .micro { text-align: center; }

/* Floating CTA */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none;
  background: var(--color-primary); color: #fff; padding: 14px 20px; border-radius: var(--radius-button);
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow-hover);
}
.floating-cta:hover { text-decoration: none; background: var(--color-primary-hover); color: #fff; }

/* Thank-you */
.ty-wrap { min-height: calc(100vh - 80px); padding: 64px 0 80px; background: var(--color-surface); }
.ty-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-large); padding: 48px; box-shadow: var(--shadow-card); text-align: center; }
.ty-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: #ECFDF3; color: var(--color-success); font-size: 32px; font-weight: 700; }
.ty-card h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 12px; }
.ty-card .lead { color: var(--color-text-secondary); }
.ty-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; text-align: left; }
.ty-summary div { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-input); padding: 16px; }
.ty-summary span { display: block; font-size: 12px; font-weight: 500; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.ty-summary strong { display: block; font-size: 14px; margin-top: 4px; word-break: break-word; color: var(--color-text); }
.steps { text-align: left; margin: 32px 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 0; width: 2px; background: var(--color-border); }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps strong { display: block; font-size: 16px; color: var(--color-text); }
.steps p { color: var(--color-text-secondary); font-size: 14px; margin: 4px 0 0; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Portfolio helpers */
.portfolio-hero { padding: 80px 0 80px; background: #FFFFFF; border-bottom: 1px solid var(--color-border); }
.portfolio-hero .eyebrow { margin-bottom: 16px; }
.portfolio-hero h1 { max-width: 760px; margin-bottom: 20px; }
.portfolio-hero p { max-width: 640px; color: var(--color-text-secondary); font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); text-decoration: none; color: inherit; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #D0D5DD; text-decoration: none; }
.project-card img { width: 100%; height: 280px; object-fit: cover; display: block; }
.project-card-body { padding: 24px; }
.project-card .tag { display: inline-flex; padding: 6px 10px; border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-accent-text); font-size: 12px; font-weight: 600; border: 1px solid var(--color-border); margin-bottom: 16px; }
.project-card h2 { font-size: 24px; margin: 0 0 8px; }
.project-card p { color: var(--color-text-secondary); margin: 0 0 16px; line-height: 1.6; font-size: 14px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.project-meta li { padding: 6px 10px; border-radius: var(--radius-small); background: var(--color-surface); border: 1px solid var(--color-border); font-size: 12px; font-weight: 500; color: var(--color-text-secondary); }
.project-meta strong { color: var(--color-text); font-weight: 600; }

/* Responsive */
@media (min-width: 1440px) {
  :root { --container-padding: 48px; }
}
@media (max-width: 1100px) {
  .hero-inner { gap: 32px; }
  .hero-visual-frame { height: 380px; }
  .carousel-item { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 1023px) {
  :root { --container-padding: 24px; --grid-gap: 20px; --section-padding: 64px; }
  .nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--color-border); gap: 2px; margin: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; }
  .nav .nav-cta { display: inline-flex; margin-top: 12px; justify-content: center; min-height: 48px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 680px; width: 100%; }
  .two-col, .layout-section .layout-panel { grid-template-columns: 1fr; gap: 32px; }
  .section-media img { height: 320px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .scroll-lead[open] { grid-template-columns: 1fr; }
  .scroll-lead-visual { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 767px) {
  :root { --container-padding: 16px; --grid-gap: 16px; --section-padding: 48px; --header-height: 64px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .btn { width: 100%; }
  .btn-sm, .btn-lg { width: auto; }
  .hero-actions .btn, .form-card .btn, .hero-lead-card .btn, .config-card .btn, .modal .btn, .scroll-lead .btn { width: 100%; }
  .hero-inner { padding: 40px 0 48px; gap: 24px; }
  .hero-visual-frame { height: 260px; border-radius: var(--radius-card); }
  .hero-lead-card { padding: 20px; }
  .hero-lead-card .hero-form-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-media-controls { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-overlay-controls { width: 100%; justify-content: space-between; }
  .facts-grid, .distance-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 16px; }
  .facts-grid div:nth-child(2) { border-right: 0; }
  .carousel-item { flex-basis: 86%; }
  .amenity-grid, .grid-3, .pros-cons, .field-row, .check-grid, .ty-summary { grid-template-columns: 1fr; }
  .amenity-photo img { height: 220px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form-card, .ty-card, .scroll-lead-body { padding: 24px; }
  .layout-section .layout-panel { padding: 24px; }
  .project-card img { height: 220px; }
  .floating-cta { display: block; }
  .nav { padding: 16px; }
}

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