/* ============================================================
   KĀSTË DESIGN + DEVELOPMENT — Design System
   guanakaste.com · v1.0
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Brand Colors */
  --ink: #1A1814;
  --sand: #F0E8D8;
  --travertine: #C8B99A;
  --wood: #6B4C2A;
  --white: #FDFCF8;
  --muted: #8C7E6A;
  --green: #4A5C3A;
  --cta: #25D366;
  --cta-hover: #1EBE5A;
  --golden: #C8941A;

  /* Semantic */
  --color-bg: var(--white);
  --color-text: var(--ink);
  --color-text-secondary: var(--muted);
  --color-accent: var(--wood);
  --color-surface: var(--sand);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.833rem, 0.78rem + 0.27vw, 1rem);
  --text-base: clamp(1rem, 0.93rem + 0.36vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 1.875rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1.8rem + 3.5vw, 5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-section: clamp(4rem, 8vw, 8rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slow: 800ms;
  --duration-base: 400ms;
  --duration-fast: 200ms;

  /* Borders */
  --border-thin: 1px solid var(--travertine);
  --radius-sm: 4px;
  --radius-md: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 1000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-xs);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-number {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--travertine);
  display: block;
  margin-bottom: var(--space-xs);
}

.section-heading {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.section-subheading {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--cta {
  background-color: var(--cta);
  color: #fff;
}

.btn--cta:hover {
  background-color: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn--outline {
  border: 1px solid var(--travertine);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--wood);
  color: var(--wood);
}

.btn--cta-dark {
  background-color: var(--cta);
  color: #fff;
}

.btn--cta-dark:hover {
  background-color: var(--cta-hover);
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              padding var(--duration-base) var(--ease-out);
}

.nav.is-scrolled {
  background-color: rgba(26, 24, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 185, 154, 0.15);
  padding: 0.6rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 64px;
  width: auto;
}

@media (min-width: 1024px) {
  .nav__logo-img {
    height: 72px;
  }
}

.nav__links {
  display: none;
  gap: var(--space-lg);
}

.nav__links a {
  position: relative;
  color: rgba(253, 252, 248, 0.65);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--duration-fast);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(253, 252, 248, 0.5);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-toggle {
  color: rgba(253, 252, 248, 0.7);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(253, 252, 248, 0.25);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.lang-toggle:hover {
  color: var(--white);
  border-color: rgba(253, 252, 248, 0.5);
}

/* Mobile Menu Toggle */
.nav__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.nav__menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration-fast);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  transition: color var(--duration-fast);
}

.nav__mobile a:hover {
  color: var(--travertine);
}

.nav__close-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: var(--white);
  font-size: var(--text-xl);
  line-height: 1;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
  .nav__menu-btn {
    display: none;
  }
}

/* ================================================
   HERO — Full-Bleed Video, Centered Layout
   ================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

/* Full-bleed video/image — fills container regardless of aspect ratio */
.hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Overlay — extra dark at top (logo/nav) and bottom, lighter in center */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0.55) 100%),
    rgba(6, 4, 2, 0.35);
}

/* Content — centered horizontally and vertically */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  gap: 0;
}

/* Pill badge eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 185, 154, 0.9);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 185, 154, 0.25);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2rem;
  opacity: 0;
}

.hero--revealed .hero__eyebrow {
  animation: heroUp 0.6s var(--ease-out) 0.1s forwards;
}

.hero__eyebrow-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}

.hero__pretitle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(240, 232, 216, 0.85);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  opacity: 0;
}

.hero--revealed .hero__pretitle {
  animation: heroUp 0.6s var(--ease-out) 0.25s forwards;
}


.hero__undertitle {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: rgba(253, 252, 248, 0.92);
  letter-spacing: 0.01em;
  margin-top: 0.6em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  opacity: 0;
}

.hero--revealed .hero__undertitle {
  animation: heroUp 0.7s var(--ease-out) 0.6s forwards;
}

/* Cycling phrases + Guanacaste hero title */
.hero__cycler {
  position: relative;
  min-height: clamp(6rem, 14vw, 10rem);
  margin: 0.5rem 0 0;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero--cycling .hero__cycler {
  opacity: 1;
}

.hero__cycle-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--sand);
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero__cycle-item.is-active {
  opacity: 1;
}

/* Closing tagline */
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(253, 252, 248, 0.78);
  letter-spacing: 0.06em;
  margin: 1.5rem auto 2.5rem;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero--complete .hero__tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* CTAs */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero--complete .hero__cta-group {
  animation: heroUp 0.7s var(--ease-out) 1s forwards;
}

/* Override green CTA inside the hero — use neutral dark glass */
.hero .btn--cta {
  background: rgba(253, 252, 248, 0.12);
  color: var(--white);
  border: 1px solid rgba(253, 252, 248, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.hero .btn--cta:hover {
  background: rgba(253, 252, 248, 0.22);
  box-shadow: none;
  transform: translateY(-1px);
}

.hero__btn-secondary {
  border-color: rgba(253, 252, 248, 0.22) !important;
  color: rgba(253, 252, 248, 0.55) !important;
}

.hero__btn-secondary:hover {
  border-color: rgba(253, 252, 248, 0.5) !important;
  color: var(--white) !important;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
}

.hero--complete .hero__stats {
  animation: heroUp 0.7s var(--ease-out) 1.15s forwards;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--sand);
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.35);
}

.hero__stat-sep {
  display: block;
  width: 1px;
  height: 2rem;
  background: rgba(253, 252, 248, 0.1);
  flex-shrink: 0;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(253, 252, 248, 0.55);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  opacity: 0;
}

.hero--complete .hero__scroll-hint {
  animation: heroUp 0.7s var(--ease-out) 0.5s forwards;
}

.hero__scroll-hint svg {
  width: 14px;
  height: 14px;
  animation: bounce 2.5s ease 2.2s infinite;
}

/* Mobile */
@media (max-width: 600px) {
  .hero__content {
    padding: 5rem 1.5rem 3rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
  }

  .hero__cycler {
    min-height: 2.8rem;
  }

  .hero__scroll-hint {
    display: none;
  }
}

/* Animations */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* --- Section Base --- */
.section {
  padding: var(--space-section) 0;
}

.section--light {
  background-color: var(--white);
  color: var(--ink);
}

.section--sand {
  background-color: var(--sand);
  color: var(--ink);
}

.section--dark {
  background-color: var(--ink);
  color: var(--white);
}

.section--dark .section-number {
  color: var(--travertine);
}

.section--dark .section-subheading {
  color: rgba(253, 252, 248, 0.7);
}

/* --- Philosophy Section --- */
.philosophy__grid {
  display: grid;
  gap: var(--space-xl);
}

.philosophy__lead {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--wood);
  font-style: italic;
}

.philosophy__text p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.philosophy__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
  }
}

/* --- Services Section — Cinematic Background --- */
.services--cinematic {
  position: relative;
  overflow: hidden;
}

/* Background image (or video when swapped in) */
.services__bg {
  position: absolute;
  inset: -8% 0;
  height: 116%;
  z-index: 0;
  pointer-events: none;
}

.services__bg-img,
.services__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: servicesBg 22s ease-in-out infinite alternate;
}

@keyframes servicesBg {
  from { transform: scale(1)    translate(0, 0); }
  to   { transform: scale(1.06) translate(1%, -1%); }
}

.services__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,8,5,0.7) 0%, rgba(10,8,5,0.55) 50%, rgba(10,8,5,0.75) 100%);
}

.services__container {
  position: relative;
  z-index: 2;
}

/* Override dark-section heading colours for this section */
.services--cinematic .section-number {
  color: var(--travertine);
}

.services--cinematic .section-subheading {
  color: rgba(253, 252, 248, 0.6);
  max-width: 560px;
}

/* Glass morphism cards */
.services__grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.service-card {
  background: rgba(253, 252, 248, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 185, 154, 0.18);
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(253, 252, 248, 0.1);
  border-color: rgba(200, 185, 154, 0.35);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--travertine);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.service-card__desc {
  color: rgba(253, 252, 248, 0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Portfolio Section --- */
.portfolio__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.portfolio__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 185, 154, 0.12);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.portfolio__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio__item--featured .portfolio__image {
  aspect-ratio: 16 / 9;
}

.portfolio__image-placeholder {
  width: 100%;
  height: 100%;
}

.portfolio__image-placeholder--warm {
  background: linear-gradient(135deg, #3d2e1c 0%, #6b4c2a 40%, #c8956a 100%);
}

.portfolio__image-placeholder--cool {
  background: linear-gradient(135deg, #2a2318 0%, #4a5c3a 50%, #8c7e6a 100%);
}

.portfolio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio__item:hover .portfolio__image img {
  transform: scale(1.03);
}

.portfolio__info {
  padding: var(--space-md) var(--space-lg);
}

.portfolio__label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--travertine);
  display: block;
  margin-bottom: 0.25rem;
}

.portfolio__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: 0.25rem;
}

.portfolio__desc {
  color: rgba(253, 252, 248, 0.65);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-xs);
}

.portfolio__type {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.45);
}

@media (min-width: 768px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__item--featured {
    grid-column: 1 / -1;
  }

  .portfolio__item--featured .portfolio__info {
    padding: var(--space-lg) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__item--featured {
    grid-column: 1 / 3;
  }
}

/* --- Testimonials Section --- */
.testimonials__grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  background: var(--white);
}

.testimonial__quote {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  color: var(--travertine);
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
}

.testimonial__project {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Team Section --- */
.team__combined {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: center;
}

.team__combined-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, var(--sand) 0%, var(--travertine) 100%);
}

.team__combined-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__role {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--travertine);
  margin-bottom: 0.25rem;
}

.team-member__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.team-member__bio {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .team__combined {
    grid-template-columns: 1fr 1fr;
  }

  .team__combined-photo {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 1024px) {
  .team__combined {
    grid-template-columns: 5fr 4fr;
  }
}

/* --- Process Section --- */
.process__timeline {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
}

.process__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.process__step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--travertine);
  border-radius: 50%;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--wood);
  flex-shrink: 0;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: 0.25rem;
}

.process__step-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process__timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Contact Section --- */
.contact__grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--travertine);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.75rem 1rem;
  background: rgba(253, 252, 248, 0.06);
  border: 1px solid rgba(200, 185, 154, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--travertine);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(253, 252, 248, 0.3);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact__info-item svg {
  width: 20px;
  height: 20px;
  color: var(--travertine);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--travertine);
  margin-bottom: 0.125rem;
}

.contact__info-value {
  color: rgba(253, 252, 248, 0.8);
}

.contact__info-value a {
  transition: color var(--duration-fast);
}

.contact__info-value a:hover {
  color: var(--white);
}

.contact__map {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(253, 252, 248, 0.05);
  border: 1px solid rgba(200, 185, 154, 0.15);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* --- Footer --- */
.footer {
  padding: var(--space-xl) 0;
  background: var(--ink);
  border-top: 1px solid rgba(200, 185, 154, 0.1);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(253, 252, 248, 0.35);
  text-align: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(200, 185, 154, 0.08);
  margin-bottom: var(--space-xl);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--white);
  font-weight: 600;
}

.footer__nap {
  color: rgba(253, 252, 248, 0.5);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer__copy {
  color: rgba(253, 252, 248, 0.3);
  font-size: var(--text-xs);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- WhatsApp Sticky FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--cta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

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

@media (min-width: 1024px) {
  .whatsapp-fab {
    width: 64px;
    height: 64px;
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

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

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Reveal hero text immediately, no animation */
  .hero__eyebrow,
  .hero__pretitle,
  .hero__undertitle,
  .hero__bottom-bar,
  .hero__scroll-hint,
  .hero__tagline,
  .hero__cta-group,
  .hero__stats {
    opacity: 1;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .hero__cycler {
    opacity: 1;
    transition: none !important;
  }

  .hero__cycle-item:last-child {
    opacity: 1;
  }

  .hero__scroll-hint svg {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--travertine);
  outline-offset: 3px;
}

/* --- Print --- */
@media print {
  .nav,
  .whatsapp-fab,
  .hero__scroll-hint,
  .contact__form,
  .contact__map {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg);
  }

  body {
    color: #000;
    background: #fff;
  }
}
