:root {
  --ink: #12110e;
  --charcoal: #1d1b17;
  --cream: #f7f2e9;
  --paper: #fffaf1;
  --stone: #d9c9ad;
  --gold: #c7a45c;
  --olive: #586247;
  --terra: #9c5a3f;
  --muted: #736b5d;
  --line: rgba(29, 27, 23, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 17, 14, 0.18);
  --hero-image: url("./assets/hero-mirador-sma-v2.svg");
  --terrace-image: url("./assets/street-painting-sma-v2.svg");
  --dinner-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=85");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 242, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.92);
  padding: 6px;
  box-shadow: 0 10px 28px rgba(18, 17, 14, 0.18);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
}

.brand-text span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 0.9;
}

.brand-text small {
  margin-top: 6px;
  font-size: 0.64rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop-nav a {
  opacity: 0.82;
}

.desktop-nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-header:not(.is-scrolled) .header-action:hover {
  background: var(--white);
  color: var(--ink);
}

.site-header.is-scrolled .header-action:hover,
.site-header.is-open .header-action:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span + span {
  margin-top: 6px;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 73px 14px auto;
  z-index: 19;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 242, 233, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

body.nav-open .mobile-nav {
  display: block;
}

.hero {
  position: relative;
  height: 92svh;
  min-height: 92svh;
  max-height: 860px;
  display: grid;
  align-items: end;
  padding: 116px clamp(18px, 5vw, 72px) 42px;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media {
  background-color: #2f241d;
  background:
    linear-gradient(90deg, rgba(18, 17, 14, 0.45), rgba(18, 17, 14, 0.08) 58%, rgba(18, 17, 14, 0.34)),
    var(--hero-image) center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 22%, rgba(199, 164, 92, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(18, 17, 14, 0.72), rgba(18, 17, 14, 0.08) 45%, rgba(18, 17, 14, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d9b86d;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  z-index: 1;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(18, 17, 14, 0.44);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.planning-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.planning-copy {
  max-width: 860px;
}

.planning-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.8vw, 4.9rem);
}

.planning-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.planning-contact {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fbf6ec;
}

.planning-contact span {
  color: var(--terra);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.planning-contact a {
  width: fit-content;
  color: var(--olive);
  font-weight: 800;
}

.intro-item {
  min-height: 180px;
  padding: clamp(24px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.intro-item p {
  max-width: 340px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  background: var(--paper);
}

.section-copy p:not(.eyebrow),
.experience-copy p,
.owners-content p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-card {
  min-height: 500px;
  border-radius: 8px;
  background: #c8915f var(--terrace-image) center / cover;
  box-shadow: var(--shadow);
}

.stat-card {
  position: absolute;
  left: -46px;
  bottom: 42px;
  width: min(290px, 78%);
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 64px rgba(18, 17, 14, 0.28);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.stat-card span {
  color: rgba(255, 250, 241, 0.75);
  font-size: 0.9rem;
}

.services-section {
  background: #eee4d4;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(18, 17, 14, 0.16);
  border: 1px solid rgba(18, 17, 14, 0.16);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  background: var(--ink);
  color: var(--paper);
}

.service-card span {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--terra);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card:hover span {
  color: var(--gold);
}

.service-card:hover p {
  color: rgba(255, 250, 241, 0.76);
}

.experience-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  min-height: 620px;
  background: var(--ink);
  color: var(--paper);
}

.experience-image {
  min-height: 420px;
  background:
    linear-gradient(0deg, rgba(18, 17, 14, 0.18), rgba(18, 17, 14, 0.18)),
    var(--dinner-image) center / cover;
}

.experience-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 76px);
}

.experience-copy p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.76);
}

.how-section {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.step span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 52px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

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

.owners-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.9fr);
  gap: clamp(36px, 7vw, 86px);
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(18, 17, 14, 0.9), rgba(18, 17, 14, 0.78)),
    url("https://images.unsplash.com/photo-1604014238170-4def1e4e6fcf?auto=format&fit=crop&w=1800&q=85") center / cover;
  color: var(--paper);
}

.owners-content p {
  color: rgba(255, 250, 241, 0.76);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 1px;
  margin-left: 14px;
  background: currentColor;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  align-self: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-grid div {
  min-height: 178px;
  padding: 28px;
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(12px);
}

.trust-grid strong {
  display: block;
  margin-bottom: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.trust-grid span {
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.92rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details a {
  width: fit-content;
  color: var(--olive);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf6ec;
  box-shadow: 0 22px 70px rgba(18, 17, 14, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 17, 14, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 164, 92, 0.16);
}

.full-field,
.form-note {
  grid-column: 1 / -1;
}

.contact-form .btn {
  width: 100%;
  border-radius: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #1f7a4d;
  color: var(--white);
  box-shadow: 0 18px 42px rgba(18, 17, 14, 0.26);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.site-footer strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.site-footer span,
.site-footer address {
  color: rgba(255, 250, 241, 0.68);
  font-style: normal;
}

.site-footer a {
  color: var(--gold);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

@media (max-width: 1160px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero {
    height: auto;
    max-height: none;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .intro-band,
  .planning-section,
  .about,
  .experience-strip,
  .owners-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-item {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .image-stack {
    min-height: 450px;
  }

  .image-card {
    min-height: 420px;
  }

  .stat-card {
    left: 18px;
    bottom: -24px;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-text span {
    font-size: 1.35rem;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    padding: 5px;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .hero {
    padding-inline: 16px;
    padding-bottom: 24px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .section,
  .planning-section,
  .owners-section {
    padding-inline: 16px;
  }

  .services-grid,
  .trust-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .step,
  .trust-grid div {
    min-height: auto;
  }

  .service-card span,
  .step span {
    margin-bottom: 34px;
  }

  .experience-copy {
    padding-inline: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}
