/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #12312D;
  --teal:       #0E5E59;
  --teal-deep:  #0A4844;
  --turquoise:  #3FB6AB;
  --gold:       #C9A15D;
  --sand:       #FBF8F2;
  --sand-dim:   #F2ECDF;
  --paper:      #FFFFFF;
  --muted:      #5C6E6B;
  --line:       #E4DDCB;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans:  'Manrope', sans-serif;
  --radius:     18px;
  --shadow:     0 30px 70px -30px rgba(14,94,89,0.35);
  --wave-h:     84px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--sand); color: var(--ink);
  font-family: var(--font-sans); font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
em { font-style: italic; color: var(--teal); font-family: var(--font-display); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 1.2rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.lede { font-size: 1.05rem; line-height: 1.75; color: var(--muted); max-width: 480px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 2.1rem; border-radius: 999px;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 16px 34px -14px rgba(14,94,89,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(14,94,89,0.6); }
.btn-ghost { background: transparent; border-color: rgba(18,49,45,0.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { transform: translateY(-2px); }

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease;
}
#navbar.scrolled {
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(251,248,242,0.86); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 2.3rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: .82rem; color: var(--ink); opacity: .75; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 0 auto; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; background: var(--sand); z-index: 150;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.2rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; list-style: none; }
.nav-mobile a:not(.btn) { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); text-decoration: none; }

/* ── Hero ── */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 9rem clamp(1.5rem, 5vw, 4rem) 6rem;
  overflow: hidden;
}
.hero-grid {
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center;
}
.hero-copy .lede { margin: 1.6rem 0 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-trust { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); }
.hero-trust-item span { font-size: .72rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

.hero-media { position: relative; }
.hero-media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.6rem; bottom: 2.2rem; z-index: 3;
  background: #fff; border-radius: 14px; padding: 1.1rem 1.4rem;
  box-shadow: 0 20px 45px -18px rgba(18,49,45,0.4);
  display: flex; align-items: center; gap: .8rem; max-width: 230px;
}
.hero-badge svg { flex-shrink: 0; color: var(--gold); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero-badge span { font-size: .74rem; color: var(--muted); }
.hero-ring {
  position: absolute; top: -2.4rem; right: -2.4rem; width: 130px; height: 130px;
  border-radius: 50%; border: 1px solid rgba(201,161,93,0.4); z-index: 1;
}
.hero-ring::after {
  content: ''; position: absolute; inset: 18px; border-radius: 50%; border: 1px solid rgba(63,182,171,0.35);
}

/* ── Wave divider ── */
.wave {
  position: relative; width: 100%; height: var(--wave-h);
  margin-top: calc(var(--wave-h) * -1); z-index: 2; pointer-events: none;
}
.wave svg { width: 100%; height: 100%; display: block; }
.wave-into-sand path { fill: var(--sand); }
.wave-into-teal path { fill: var(--teal); }
.wave-into-white path { fill: var(--paper); }
.wave-into-sanddim path { fill: var(--sand-dim); }

/* ── Trust strip under hero ── */
#trust-strip { background: var(--sand); padding: 0 0 5rem; }

/* ── About ── */
#about { background: var(--sand); padding: 2rem 0 7rem; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 5rem; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 6/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .lede { max-width: 100%; margin-bottom: 2rem; }
.about-points { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.2rem; }
.about-point { display: flex; align-items: flex-start; gap: .9rem; font-size: .95rem; }
.about-point svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }

/* ── Stat strip ── */
#stat-strip { background: var(--paper); padding: 4.5rem 0; }
.stat-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.stat-item { flex: 1; min-width: 150px; text-align: center; position: relative; padding: 0 1.5rem; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: var(--line);
}
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--teal); font-style: italic; }
.stat-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* ── Services ── */
#services { background: var(--sand-dim); padding: 7rem 0; }
.section-head { max-width: 640px; margin: 0 auto 4rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--paper); border-radius: var(--radius); padding: 2.4rem 2rem;
  box-shadow: 0 20px 50px -32px rgba(18,49,45,0.3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(18,49,45,0.4); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(150deg, var(--teal), var(--turquoise));
  display: flex; align-items: center; justify-content: center; color: #fff;
  margin-bottom: 1.4rem;
}
.service-card h3 { margin-bottom: .7rem; }
.service-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── Timeline / process ── */
#process { background: var(--sand); padding: 7rem 0; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 6px, transparent 6px 12px);
}
.timeline-row { position: relative; display: flex; gap: 2rem; padding-bottom: 3.4rem; }
.timeline-row:last-child { padding-bottom: 0; }
.timeline-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--teal);
  position: relative; z-index: 1;
}
.timeline-copy h3 { margin-bottom: .5rem; }
.timeline-copy p { font-size: .92rem; color: var(--muted); line-height: 1.7; max-width: 480px; }

/* ── Gallery (masonry) ── */
#gallery { background: var(--sand-dim); padding: 7rem 0; }
.masonry {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 1.2rem;
  grid-auto-flow: dense;
}
.masonry-item { position: relative; border-radius: 16px; overflow: hidden; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item.m-a { grid-column: span 2; grid-row: span 3; }
.masonry-item.m-b { grid-column: span 2; grid-row: span 2; }
.masonry-item.m-c { grid-column: span 1; grid-row: span 2; }
.masonry-item.m-d { grid-column: span 1; grid-row: span 2; }
.masonry-item.m-e { grid-column: span 2; grid-row: span 2; }
.masonry-item.m-f { grid-column: span 2; grid-row: span 3; }
.masonry-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem;
  background: linear-gradient(to top, rgba(10,30,28,0.72), transparent);
  color: #fff; font-size: .78rem; letter-spacing: .04em; opacity: 0; transition: opacity .3s;
}
.masonry-item:hover .masonry-cap { opacity: 1; }

/* ── Testimonials ── */
#testimonials { position: relative; background: var(--teal-deep); padding: 8rem 0; color: #fff; overflow: hidden; }
#testimonials::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/twilight-pool.jpg'); background-size: cover; background-position: center;
  opacity: .22; z-index: 0;
}
#testimonials .container { position: relative; z-index: 1; }
#testimonials .section-head h2 { color: #fff; }
#testimonials .section-head .lede { color: rgba(255,255,255,0.7); margin: 0 auto; }
.quote-wrap { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.quote-mark { position: relative; display: inline-block; margin-bottom: 1.4rem; }
.quote-mark svg { color: rgba(255,255,255,0.18); }
.quote-text {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.5; margin-bottom: 2rem;
}
.quote-author { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.quote-author strong { font-family: var(--font-sans); font-size: .92rem; }
.quote-author span { font-size: .78rem; color: rgba(255,255,255,0.55); }
.quote-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 2.6rem; }
.quote-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; padding: 0; transition: background .25s; }
.quote-dot.is-active { background: var(--gold); }

/* ── Contact ── */
#contact { background: var(--sand); padding: 7rem 0; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 5rem; align-items: flex-start; }
.contact-copy .lede { margin-bottom: 2.2rem; }
.contact-detail { display: flex; align-items: center; gap: .9rem; font-size: .92rem; margin-bottom: 1.1rem; }
.contact-detail svg { flex-shrink: 0; color: var(--gold); }
.contact-card {
  background: var(--paper); border-radius: var(--radius); padding: 2.6rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.form-field label { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem;
  font-family: var(--font-sans); font-size: .92rem; color: var(--ink); background: var(--sand);
  outline: none; resize: none; transition: border-color .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); }
.contact-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.is-visible { display: block; }
.form-success svg { color: var(--teal); margin-bottom: 1rem; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--muted); font-size: .92rem; }

/* ── FAQ ── */
#faq { background: var(--sand-dim); padding: 7rem 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.faq-item { background: var(--paper); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.6rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1.06rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex-shrink: 0; position: relative; width: 20px; height: 20px; }
.faq-item summary .faq-plus::before, .faq-item summary .faq-plus::after {
  content: ''; position: absolute; background: var(--teal); transition: transform .3s ease;
}
.faq-item summary .faq-plus::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-item summary .faq-plus::after { top: 0; left: 50%; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item[open] summary .faq-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item-body { padding: 0 2rem 1.8rem; font-size: .92rem; color: var(--muted); line-height: 1.75; max-width: 620px; }

/* ── Footer ── */
footer { background: var(--paper); padding: 4.5rem 0 2.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.6rem; }
.footer-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.4rem; }
.footer-nav { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: .84rem; color: var(--muted); }
.footer-hr { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; }
.footer-bottom p { font-size: .76rem; color: var(--muted); }
.footer-social { display: flex; gap: .8rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); transition: background .25s, color .25s; }
.footer-social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ── Mobile CTA ── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: center; gap: .8rem;
  padding: .9rem 1.2rem calc(.9rem + env(safe-area-inset-bottom));
  background: rgba(251,248,242,0.94); backdrop-filter: blur(12px);
  box-shadow: 0 -8px 30px -18px rgba(18,49,45,0.4);
}
.mobile-cta a { flex: 1; text-align: center; justify-content: center; }

/* ── Reveal ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 980px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  #hero { padding-top: 7.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-media { order: -1; }

  .stat-row { justify-content: center; }
  .stat-item + .stat-item::before { display: none; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .masonry-item.m-a, .masonry-item.m-f { grid-column: span 2; grid-row: span 2; }
  .masonry-item.m-b, .masonry-item.m-e { grid-column: span 2; grid-row: span 2; }
  .masonry-item.m-c, .masonry-item.m-d { grid-column: span 1; grid-row: span 2; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.6rem; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge { left: 0; bottom: -1.4rem; max-width: 200px; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  :root { --wave-h: 46px; }
}
