/* London Green Residential Ltd */

:root {
  --green-950: #0f2a21;
  --green-900: #14382c;
  --green-800: #1b4a3a;
  --green-700: #22604a;
  --green-600: #2b7558;
  --sage-200: #cfe0d4;
  --sage-100: #e9f1ec;
  --cream: #f8f6f0;
  --white: #ffffff;
  --ink: #1a2420;
  --muted: #4a5852;
  --gold: #d4b062;
  --line: #dde5df;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 33, 0.08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--green-950);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--green-700); }

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  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: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--green-900);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--green-950);
  margin: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green-600);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: var(--sage-100);
  color: var(--green-800);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green-700);
  color: var(--white);
}

.btn-primary:hover { background: var(--green-800); }

.hero .btn-primary {
  background: var(--gold);
  color: var(--green-950);
}

.hero .btn-primary:hover { background: #e2c57f; }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 176, 98, 0.18), transparent 40%),
    linear-gradient(150deg, var(--green-950) 0%, var(--green-800) 58%, var(--green-700) 100%);
  padding: 5rem 0 5.5rem;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape { position: absolute; display: block; }

.ring {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 120px rgba(255, 255, 255, 0.02);
}

.house {
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.house-a {
  width: 220px;
  height: 200px;
  right: 4%;
  bottom: -30px;
}

.house-b {
  width: 140px;
  height: 128px;
  right: calc(4% + 200px);
  bottom: -20px;
  background: linear-gradient(180deg, rgba(212, 176, 98, 0.16), rgba(212, 176, 98, 0.03));
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 { color: var(--white); max-width: 15ch; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-dark { color: var(--green-600); }

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.75rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-card dl { margin: 0; }

.hero-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card dt { color: rgba(255, 255, 255, 0.78); }
.hero-card dd { margin: 0; font-weight: 600; text-align: right; }

/* Sections */
.section { padding: 5rem 0; }

.section-alt {
  background: var(--sage-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.section-head p:last-child { color: var(--muted); }

.cards {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15, 42, 33, 0.12);
}

.card p { color: var(--muted); margin: 0; }

.card-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--sage-100);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
}

/* House icon */
.icon-home::before {
  left: 13px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--green-700);
  clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
}

.icon-home::after {
  left: 23px;
  top: 28px;
  width: 6px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

/* Key icon */
.icon-key::before {
  left: 11px;
  top: 17px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--green-700);
  border-radius: 50%;
}

.icon-key::after {
  left: 26px;
  top: 23px;
  width: 16px;
  height: 4px;
  background: var(--green-700);
  box-shadow: 10px 4px 0 -0.5px var(--gold);
  border-radius: 2px;
}

/* Document icon */
.icon-doc::before {
  left: 15px;
  top: 11px;
  width: 22px;
  height: 30px;
  background: var(--green-700);
  border-radius: 3px;
}

.icon-doc::after {
  left: 20px;
  top: 19px;
  width: 12px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 6px 0 var(--white), 0 12px 0 var(--white);
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p { color: var(--muted); }

.text-link {
  font-weight: 600;
  color: var(--green-700);
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--green-900); }

.facts {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.facts div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child { border-bottom: 0; }

.facts dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.2rem;
}

.facts dd {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-block {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.5rem;
}

.contact-block p { color: var(--muted); margin: 0; }

address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info .btn { margin-top: 1.25rem; }

.map-wrap {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--sage-100);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-name { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-sub { color: var(--gold); }
.footer-brand p:last-child { margin: 0; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-legal {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal p { margin: 0 0 0.5rem; }

/* Mobile navigation (only collapses when JS is available) */
@media (max-width: 767px) {
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 42, 33, 0.08);
  }

  .js .site-nav.is-open { display: block; }

  .js .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .js .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  .site-nav ul { flex-wrap: wrap; }

  .hero { padding: 3.5rem 0 4.5rem; }
  .section { padding: 3.75rem 0; }
  .house-a { width: 150px; height: 136px; right: -20px; }
  .house-b { width: 96px; height: 88px; right: 110px; }
  .ring { width: 360px; height: 360px; right: -180px; top: -160px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* Tablet */
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-nav ul { justify-content: flex-end; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero { padding: 6.5rem 0 7rem; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 4rem; }
  .map-wrap, .map-wrap iframe { min-height: 440px; }
}
