:root {
  --cream-1: #FFFFFF;
  --cream-2: #EFE5D8;
  --cream-3: #FFFDF9;
  --cream-4: #F2EEE4;
  --cream-5: #F7EEEB;
  --cream-6: #EDE8DC;
  --cream-7: #F7F2EA;

  --ink: #0D1216;
  --ink-soft: rgba(13, 18, 22, 0.72);
  --ink-faint: rgba(13, 18, 22, 0.5);

  --accent: #A9714F;
  --accent-dark: #8A5A3D;
  --whatsapp: #25D366;

  --border-soft: rgba(13, 18, 22, 0.1);

  --font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-body: "Assistant", "Segoe UI", Helvetica, Arial, sans-serif;

  --container-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 720px; }

.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  margin: 0 0 0.75em;
}

.eyebrow.center { text-align: center; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.container.narrow .lead,
.container.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: clamp(56px, 9vw, 110px) 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--cream-1);
  border-bottom: 1px solid var(--border-soft);
}

.nav-links-mobile a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}

.nav-links-mobile .btn {
  margin-top: 12px;
  text-align: center;
}

.site-header.menu-open .nav-links-mobile {
  display: flex;
}

.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn .icon { width: 20px; height: 20px; }

.btn-primary {
  background: var(--ink);
  color: var(--cream-1);
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 18, 22, 0.18);
}

.btn-small { padding: 9px 20px; font-size: 0.88rem; }

.btn-large { padding: 17px 38px; font-size: 1.05rem; margin-top: 8px; }

/* ---------- Images ---------- */

.img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 18, 22, 0.12);
  background: var(--cream-4);
}

.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-4-5 { aspect-ratio: 4 / 5; }
.ar-4-3 { aspect-ratio: 4 / 3; }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 9vw, 110px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-content { text-align: center; }

.hero-tags {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2em;
}

/* ---------- Split sections (image + text) ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split-grid.reverse .split-media { order: 2; }
.split-grid.reverse .split-content { order: 1; }

.split-content .lead { max-width: none; }

.services-intro { margin-bottom: 8px; }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}

.card {
  background: var(--cream-1);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

.card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 { margin: 20px 26px 0.5em; }

.card p {
  color: var(--ink-soft);
  margin: 0;
  padding: 0 26px 28px;
  font-size: 0.98rem;
}

.note {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--cream-1);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
}

.testimonial-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 6px 16px rgba(13, 18, 22, 0.15);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 4px;
}

.testimonial-quote {
  color: var(--ink-faint);
  margin: 0;
  font-size: 1rem;
  font-style: italic;
}

.testimonial-name {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-dark);
}

/* ---------- Footer ---------- */

.site-footer { padding: clamp(56px, 8vw, 100px) 0 40px; }

.footer-split { align-items: center; }

.footer-inner .footer-grid,
.footer-inner .copyright { text-align: right; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}

.footer-value {
  font-size: 1.05rem;
  font-weight: 600;
}

a.footer-value:hover { color: var(--accent-dark); }

.copyright {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------- WhatsApp floating button ---------- */

.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  z-index: 90;
  transition: transform 0.2s;
}

.whatsapp-fab:hover { transform: scale(1.07); }

.whatsapp-fab svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-inner .btn-small { display: none; }
  .menu-toggle { display: flex; }
  .brand { margin-left: 0; margin-right: auto; order: 1; }
  .menu-toggle { order: 2; }

  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media { order: -1; }
  .split-grid .split-media,
  .split-grid.reverse .split-media { order: -1; }
  .split-grid .split-content,
  .split-grid.reverse .split-content { order: 0; }

  .split-content,
  .footer-inner .footer-grid,
  .footer-inner .copyright {
    text-align: center;
  }

  .img-frame.ar-4-5,
  .img-frame.ar-4-3 { aspect-ratio: 16 / 10; }

  .testimonial-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .whatsapp-fab { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .btn-large { width: 100%; }
}
