@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #193a38;
  --muted: #66716c;
  --paper: #f7f6f1;
  --accent: #d7805c;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; padding-top: 82px; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.site-header { height: 82px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; background: var(--paper); position: fixed; top: 0; right: 0; left: 0; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 19px; letter-spacing: -.7px; white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: cover; object-position: center; border-radius: 50%; }
.brand strong { font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 12px; font-weight: 600; }
.main-nav a { transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--accent); }
.main-nav .nav-contact { padding: 12px 21px; border: 1px solid #bec9c2; border-radius: 30px; }
.menu-toggle { display: none; }
.hero { height: min(690px, calc(100vh - 82px)); min-height: 500px; position: relative; overflow: hidden; color: white; background: #394845; }
.slides, .slide, .slide img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide { opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide img { object-fit: cover; object-position: center 53%; }
.hero-shade { background: linear-gradient(90deg, rgba(15, 35, 34, .77) 0%, rgba(15, 35, 34, .48) 43%, rgba(15, 35, 34, .05) 100%), linear-gradient(0deg, rgba(15, 35, 34, .2), transparent 28%); }
.hero-content { position: absolute; z-index: 1; left: 12%; top: 50%; transform: translateY(-48%); max-width: 510px; display: flex; flex-direction: column; }
.hero-content .button-light { align-self: flex-end; }
.eyebrow, .section-label { font-size: 10px; font-weight: 700; letter-spacing: 2.1px; text-transform: uppercase; }
.eyebrow { color: #e9b599; margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 19px; font-family: var(--serif); font-size: clamp(48px, 6.4vw, 82px); line-height: 1.06; font-weight: 500; letter-spacing: -2.2px; }
h1 em, h2 em { font-weight: 500; }
.hero-copy { max-width: 390px; margin-bottom: 28px; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 0 21px; border: 0; border-radius: 2px; font-size: 11px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: #fff; }
.button span { font-size: 16px; }
.slide-controls { position: absolute; z-index: 2; left: 12%; bottom: 34px; display: flex; align-items: center; gap: 17px; }
.slide-arrow { width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; background: transparent; cursor: pointer; }
.slide-dots { display: flex; gap: 8px; }
.slide-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slide-dot.is-active { background: white; transform: scale(1.3); }
.hero-note { position: absolute; z-index: 1; right: 7%; bottom: 42px; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: 1px; }
.section-wrap { width: min(1050px, 82%); margin: 0 auto; }
.intro { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 8%; align-items: center; padding-top: 120px; padding-bottom: 125px; overflow: hidden; }
.section-label { color: var(--muted); }
.section-label span { margin-right: 10px; color: var(--accent); }
.intro-copy { max-width: 600px; position: relative; z-index: 1; }
.about-gallery { position: relative; z-index: 1; min-height: 490px; }
.about-photo { position: absolute; display: block; width: 68%; height: 420px; object-fit: cover; box-shadow: 0 18px 40px rgba(25,58,56,.16); }
.about-photo-main { top: 0; right: 0; }
.about-photo-detail { left: 0; bottom: 0; width: 58%; height: 275px; border: 8px solid var(--paper); }
h2 { margin: 0 0 23px; font-family: var(--serif); font-size: clamp(35px, 4vw, 51px); line-height: 1.18; font-weight: 500; letter-spacing: -1.4px; }
.intro-copy p, .wendyhouse-heading > p, .contact-copy > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.intro-copy .lead { max-width: 560px; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.text-link { display: inline-block; margin-top: 15px; padding-bottom: 7px; border-bottom: 1px solid #aebbb3; font-size: 11px; font-weight: 700; transition: color .2s; }
.text-link span { margin-left: 12px; font-size: 15px; }
.intro-mark { position: absolute; right: -1%; bottom: -150px; color: rgba(25,58,56,.035); font-family: var(--serif); font-size: 390px; line-height: 1; pointer-events: none; }
.wendyhouses { padding: 95px 0 73px; background: #e9ede7; }
.wendyhouse-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.wendyhouse-heading .section-label { margin-bottom: 24px; }
.wendyhouse-heading h2 { margin-bottom: 0; }
.wendyhouse-heading > p { max-width: 330px; margin: 0 0 6px 40px; }
.house-grid { width: min(1160px, 88%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: center; }
.house-card { position: relative; height: 350px; overflow: hidden; background: #d2d9d2; }
.house-card-tall { height: 415px; }
.house-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.house-card:hover img { transform: scale(1.04); }
.house-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 55px 22px 20px; color: white; background: linear-gradient(transparent, rgba(15,35,34,.72)); }
.house-caption span { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; }
.house-caption h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.house-disclaimer { margin: 29px auto 0; color: var(--muted); text-align: center; font-size: 11px; }
.wendyhouse-widget { width: min(720px, 84%); margin: 58px auto 0; }
.wendyhouse-widget-slides { position: relative; height: clamp(220px, 42vw, 430px); overflow: hidden; background: #d2d9d2; }
.wendyhouse-widget-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.wendyhouse-widget-slide.is-active { opacity: 1; visibility: visible; }
.wendyhouse-widget-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wendyhouse-widget-slide p { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 38px 22px 17px; color: white; background: linear-gradient(transparent, rgba(15,35,34,.72)); font-size: 12px; }
.wendyhouse-widget-controls { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 17px; }
.wendyhouse-widget-arrow { width: 34px; height: 34px; padding: 0; border: 1px solid #aebbb3; border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.wendyhouse-widget-dots { display: flex; gap: 9px; }
.wendyhouse-widget-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b7c1ba; cursor: pointer; }
.wendyhouse-widget-dot.is-active { background: var(--ink); transform: scale(1.25); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-top: 110px; padding-bottom: 115px; }
.contact-copy .section-label { margin-bottom: 25px; }
.contact-copy h2 { margin-bottom: 19px; }
.contact-copy > p { max-width: 365px; }
.contact-email { display: inline-block; margin-top: 17px; padding-bottom: 7px; border-bottom: 1px solid #aebbb3; font-size: 13px; font-weight: 600; }
.contact-email span { margin-left: 14px; color: var(--accent); }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.6; }
.contact-details a { color: var(--ink); font-weight: 600; }
.whatsapp-contact { display: inline-flex; align-items: center; gap: 7px; }
.whatsapp-icon { width: 16px; height: 16px; fill: #25d366; }
.contact-details a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; align-items: flex-start; }
.contact-form label { margin: 0 0 8px; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 20px; padding: 12px 0; border: 0; border-bottom: 1px solid #cbd2cc; outline: 0; color: var(--ink); background: transparent; font-size: 12px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a1aaa4; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #285350; }
.form-note { min-height: 18px; margin: 12px 0 0; color: var(--ink); font-size: 11px; }
.site-footer { min-height: 94px; padding: 18px 7.2%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e3e5df; }
.footer-brand { font-size: 15px; }
.footer-brand img { width: 37px; height: 37px; }
.site-footer p, .site-footer small { margin: 0; color: var(--muted); font-size: 10px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; margin: 0; color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.4; }
.footer-contact a { color: var(--ink); font-weight: 600; }
.back-top { font-size: 10px; font-weight: 600; }

@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 6%; }
  body { padding-top: 72px; }
  .brand { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { width: 42px; height: 42px; padding: 11px 9px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 1px; background: var(--ink); }
  .main-nav { position: absolute; top: 72px; right: 0; left: 0; padding: 12px 6% 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); box-shadow: 0 12px 18px rgba(20,40,35,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .main-nav .nav-contact { padding: 12px 15px; align-self: flex-start; margin-top: 8px; }
  .hero { height: 650px; min-height: 520px; max-height: calc(100vh - 72px); }
  .slide img { object-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(15,35,34,.76), rgba(15,35,34,.27)), linear-gradient(0deg, rgba(15,35,34,.2), transparent 35%); }
  .hero-content { left: 8%; right: 7%; top: 47%; }
  h1 { font-size: clamp(48px, 11vw, 70px); }
  .hero-copy { max-width: 350px; font-size: 13px; }
  .slide-controls { left: 8%; bottom: 25px; }
  .hero-note { right: 7%; bottom: 37px; max-width: 135px; text-align: right; line-height: 1.6; font-size: 9px; }
  .section-wrap { width: 84%; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding-top: 78px; padding-bottom: 85px; }
  .intro-copy { max-width: 100%; }
  .about-gallery { width: 100%; min-height: 390px; margin-top: 4px; }
  .about-photo { height: 340px; }
  .about-photo-detail { height: 225px; }
  .intro-mark { right: -8%; bottom: -78px; font-size: 250px; }
  .wendyhouses { padding: 75px 0 55px; }
  .wendyhouse-heading { display: block; margin-bottom: 30px; }
  .wendyhouse-heading > p { max-width: 410px; margin: 20px 0 0; }
  .house-grid { width: 88%; grid-template-columns: 1fr; gap: 15px; }
  .house-card, .house-card-tall { height: 330px; }
  .house-disclaimer { width: 85%; line-height: 1.6; }
  .contact { grid-template-columns: 1fr; gap: 35px; padding-top: 78px; padding-bottom: 82px; }
  .site-footer { padding: 22px 7%; flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
}

@media (max-width: 390px) {
  .hero-note { display: none; }
  .section-wrap { width: 86%; }
  .house-card, .house-card-tall { height: 285px; }
  .site-footer { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
