:root {
  --bg: #1d1d1b;
  --bg-soft: #262624;
  --panel: rgba(255, 255, 255, 0.05);
  --text: #f5f2eb;
  --muted: #c9c3b5;
  --gold: #e0b04e;
  --gold-soft: rgba(224, 176, 78, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1180px;
  --nav-height: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(224, 176, 78, 0.12), transparent 32%),
    linear-gradient(180deg, #161615 0%, #1d1d1b 34%, #20201f 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: #fff;
  color: #111;
  padding: 0.8rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition: background 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(20, 20, 19, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: var(--nav-height);
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: 168px;
}

.nav-menu {
  position: fixed;
  inset: var(--nav-height) 1rem auto;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(20, 20, 19, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transform: scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: var(--shadow);
}

.nav-menu.open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #c99634 0%, var(--gold) 55%, #f3cf76 100%);
  color: #151515;
  box-shadow: 0 14px 32px rgba(224, 176, 78, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f2eb;
}

.nav-cta:hover,
.btn:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 8rem 0 4rem;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(14, 14, 13, 0.3) 0%, rgba(14, 14, 13, 0.72) 70%, rgba(14, 14, 13, 0.95) 100%),
    linear-gradient(90deg, rgba(12, 12, 11, 0.82) 0%, rgba(12, 12, 11, 0.2) 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
}

.hero-copy {
  max-width: 38rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.split-grid,
.contact-grid,
.services-grid,
.timeline,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.section-copy,
.section-heading {
  display: grid;
  gap: 1rem;
}

.image-panel img,
.service-card,
.timeline-step,
.contact-form,
.testimonial-card,
.cta-inner {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-panel img {
  object-fit: cover;
}

.services-grid {
  margin-top: 2rem;
}

.service-card,
.timeline-step,
.testimonial-card,
.contact-form,
.cta-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.service-card {
  padding: 1.7rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.gallery-item img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.carousel-track {
  position: relative;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 2rem;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.timeline-step,
.cta-inner,
.contact-form {
  padding: 1.6rem;
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.cta-band {
  padding-top: 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(224, 176, 78, 0.18), rgba(224, 176, 78, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 176, 78, 0.22);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list a,
.nav-menu a,
.footer-grid a {
  color: #f7f2e8;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: #f8f4ea;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a8a08e;
}

.form-feedback {
  color: #f0d38f;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.footer-bottom {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  min-height: 58px;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c55a, #27df73);
  color: #0b1f10;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(32, 197, 90, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 700px) {
  .section {
    padding: 7rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .split-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
  }

  .gallery-item:nth-child(2) {
    grid-column: span 4;
  }

  .gallery-item:nth-child(3) {
    grid-column: span 4;
    grid-row: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 5;
  }

  .gallery-item:nth-child(6) {
    grid-column: span 4;
  }

  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
