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

:root {
  --ink: #101010;
  --ink-soft: #171614;
  --ink-line: rgba(250, 250, 248, 0.14);

  --paper: #fafaf8;
  --paper-dim: #f0efe9;
  --charcoal: #171614;
  --charcoal-soft: #5c584f;
  --line: rgba(16, 16, 16, 0.1);
  --line-strong: rgba(16, 16, 16, 0.2);

  --gold: #a9834f;
  --gold-soft: #d6b98a;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--gold); }

button, input { font-family: inherit; font-size: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; z-index: 300;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hide-mobile { display: inline-flex; }

.text-link {
  display: inline-block; margin-top: 1.5rem; font-size: 0.92rem;
  color: var(--charcoal); border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem; transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--line-strong); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.82rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.logo-link { display: block; line-height: 0; }
.logo-img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a:not(.btn) {
  font-size: 0.88rem; color: var(--charcoal-soft);
  transition: color 0.2s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--gold); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.menu-toggle span { width: 22px; height: 1.5px; background: var(--charcoal); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 8vw, 5rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay-list { display: flex; flex-direction: column; gap: 1.1rem; }
.nav-overlay-list a {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 6vw, 3.2rem);
  color: var(--paper);
}
.nav-overlay-list a:hover { color: var(--gold); }
.nav-index { font-size: 0.8rem; color: var(--gold-soft); margin-right: 1rem; }
.nav-overlay-foot { margin-top: 3rem; }
.nav-overlay-foot a { color: var(--gold-soft); font-size: 0.95rem; }

/* ===== Editorial helpers ===== */
.num-eyebrow {
  display: flex; align-items: baseline; gap: 0.9rem;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.num-eyebrow .num { font-family: var(--font-serif); font-size: 0.9rem; color: var(--gold); }
.num-eyebrow .label {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal-soft); font-weight: 500;
}
.section-dark .num-eyebrow { border-bottom-color: var(--ink-line); }
.section-dark .num-eyebrow .label { color: rgba(250,250,248,0.6); }

.display-sm { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 22ch; margin-bottom: 1.4rem; }
.section-title-dark { color: var(--paper); }

.lede { font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--charcoal-soft); max-width: 48ch; }
.lede-dark { color: rgba(250,250,248,0.68); }

/* ===== Section shells ===== */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tint { background: var(--paper-dim); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-contact { background: var(--paper-dim); }

/* ===== Hero ===== */
.hero { padding: clamp(4rem, 11vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-content { max-width: 46rem; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 1.6rem; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--charcoal-soft); max-width: 42ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(3rem, 7vw, 5rem); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-num { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--gold); }
.stat-label { font-size: 0.85rem; color: var(--charcoal-soft); max-width: 22ch; }

/* ===== Marquee ===== */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0; background: var(--ink);
}
.marquee-track {
  display: flex; gap: 1.2rem; white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-serif); font-size: 1rem; color: rgba(250,250,248,0.72);
}
.marquee-track span:nth-child(even) { color: var(--gold-soft); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Split layout ===== */
.split-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split-layout--reverse { grid-template-columns: 1fr 1.1fr; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.purpose-block { border: 1px solid var(--line-strong); padding: 1.75rem; margin-bottom: 1.5rem; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.purpose-eyebrow { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.purpose-text { font-family: var(--font-serif); font-size: 1.2rem; }
.purpose-text-sm { font-size: 0.92rem; color: var(--charcoal-soft); }

.check-list li {
  position: relative; padding: 0.85rem 0 0.85rem 1.6rem;
  border-bottom: 1px solid var(--line); font-size: 0.94rem; color: var(--charcoal-soft);
}
.check-list li:first-child { padding-top: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 7px; background: var(--gold);
}

/* ===== Section break (quote over image) ===== */
.section-break { position: relative; min-height: 56vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.section-break-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-break-overlay {
  position: relative; z-index: 1; background: rgba(16, 16, 16, 0.52);
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem);
}
.section-break-quote {
  font-family: var(--font-serif); font-style: italic; color: var(--paper);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); max-width: 26ch; text-align: center; line-height: 1.3;
}

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 2.5rem; border: 1px solid var(--line); }
.value-card { background: var(--paper-dim); padding: 2.2rem; }
.value-index { font-family: var(--font-serif); font-size: 1rem; color: var(--gold-soft); }
.value-card h3 { font-size: 1.25rem; margin: 0.9rem 0 0.8rem; }
.value-card p { font-size: 0.92rem; color: var(--charcoal-soft); }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial-card {
  background: var(--paper); border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0; display: flex; flex-direction: column; gap: 1.2rem;
}
.testimonial-stars { display: flex; gap: 0.3rem; color: var(--gold); }
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-quote { margin: 0; flex: 1; }
.testimonial-quote p {
  font-family: var(--font-serif); font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5; color: var(--charcoal);
}
.testimonial-quote p::before { content: "\201C"; color: var(--gold); margin-right: 0.1em; }
.testimonial-quote p::after { content: "\201D"; color: var(--gold); margin-left: 0.1em; }
.testimonial-meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.testimonial-who { display: flex; flex-direction: column; gap: 0.3rem; }
.testimonial-author { font-family: var(--font-serif); font-size: 1.05rem; color: var(--charcoal); }
.testimonial-source { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.testimonial-date { font-size: 0.8rem; color: var(--charcoal-soft); white-space: nowrap; }

/* ===== Project feature ===== */
.project-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2rem; }
.project-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.project-eyebrow { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.8rem; }
.project-stats { display: flex; gap: 2.2rem; margin: 1.8rem 0 2.2rem; }
.project-stats strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold); }
.project-stats span { font-size: 0.78rem; color: rgba(250,250,248,0.6); }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-quick { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-link {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.2rem 1.4rem; border: 1px solid var(--line-strong);
  background: var(--paper); transition: border-color 0.25s var(--ease);
}
.contact-link:hover { border-color: var(--gold); }
.contact-link span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.contact-link strong { font-weight: 400; font-size: 1.02rem; font-family: var(--font-serif); }
.contact-link-actions { display: flex; gap: 1.2rem; margin-top: 0.6rem; }
.contact-link-actions a { font-size: 0.82rem; color: var(--charcoal); border-bottom: 1px solid var(--line-strong); }
.contact-link-actions a:hover { color: var(--gold); border-color: var(--gold); }

.contact-form {
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line-strong); padding: clamp(1.75rem, 3vw, 2.5rem);
}
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.form-row input, .form-row textarea {
  border: 1px solid var(--line-strong); background: transparent; padding: 0.75rem 0.9rem;
  color: var(--charcoal); font-family: var(--font-sans); resize: vertical;
  transition: border-color 0.25s var(--ease);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); outline: none; }
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; }
.form-note { font-size: 0.8rem; color: var(--charcoal-soft); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--paper); padding: 2.5rem 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo { height: 34px; width: auto; }
.footer-copy { font-size: 0.82rem; color: rgba(250,250,248,0.55); }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,248,0.25);
  color: rgba(250,250,248,0.75);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: rgba(250,250,248,0.75); }
.footer-links a:hover { color: var(--gold-soft); }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35); z-index: 250;
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hide-mobile { display: none !important; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.4rem; }
  .split-layout, .split-layout--reverse { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .project-feature { grid-template-columns: 1fr; }
  .project-media img { aspect-ratio: 16/10; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
