:root {
  --ink: #1f1a16;
  --muted: #6f5e50;
  --cream: #fff8ec;
  --shell: #f5ead8;
  --sand: #e2c6a3;
  --gold: #c99150;
  --forest: #263b28;
  --black: #141210;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(31, 24, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
}

body::before {
  background:
    linear-gradient(rgba(31, 24, 19, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 24, 19, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

.site-header {
  background: var(--cream);
  min-height: 100vh;
}

.nav {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 236, 0.82);
  border-bottom: 1px solid rgba(31, 24, 19, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 20px max(24px, calc((100vw - 1220px) / 2 + 24px));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-mark {
  display: grid;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.82;
  text-transform: uppercase;
}

.brand-mark span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark small {
  display: block;
  height: 23px;
  margin-top: 4px;
  position: relative;
  width: max-content;
}

.brand-mark small::before {
  display: none;
}

.brand-mark small img {
  height: 23px;
  max-width: none;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 11px 15px;
}

.nav-links a:hover,
.nav-links .nav-cta {
  background: #f4e3c8;
  border-color: rgba(201, 145, 80, 0.25);
}

.menu-toggle {
  background: transparent;
  border: 1px solid rgba(31, 24, 19, 0.16);
  border-radius: 999px;
  display: none;
  height: 42px;
  place-items: center;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.hero {
  align-items: end;
  display: grid;
  margin: 0 auto;
  max-width: none;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.hero-copy-block {
  background: rgba(255, 248, 236, 0.86);
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 8px;
  bottom: 48px;
  box-shadow: var(--shadow);
  left: max(24px, calc((100vw - 1220px) / 2 + 24px));
  max-width: 560px;
  padding: clamp(26px, 4vw, 44px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.15rem, 4.45vw, 4.35rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy-block p:not(.eyebrow) {
  font-size: 1rem;
  max-width: 520px;
}

.hero-actions,
.signature-row,
.salon-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid rgba(31, 24, 19, 0.16);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
}

.button.primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(31, 24, 19, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-image {
  inset: 0;
  min-height: 100vh;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-image::after {
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.14), rgba(255, 248, 236, 0.02)),
    linear-gradient(0deg, rgba(31, 24, 19, 0.28), transparent 46%);
  content: "";
  inset: 0;
  position: absolute;
}

.ticker {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.ticker div {
  animation: ticker 28s linear infinite;
  display: inline-flex;
  gap: 34px;
}

.ticker span {
  font-size: clamp(0.95rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: lowercase;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 106px 24px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  margin-bottom: 42px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.portfolio-showcase {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.portfolio-showcase::after {
  background: linear-gradient(0deg, rgba(31, 24, 19, 0.18), transparent 38%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portfolio-showcase img {
  height: auto;
  object-fit: contain;
  width: 100%;
}

.portfolio-label {
  backdrop-filter: blur(16px);
  background: rgba(21, 18, 16, 0.72);
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 4px;
  max-width: min(250px, 38%);
  padding: 14px 16px;
  position: absolute;
  z-index: 2;
}

.portfolio-label.top-left {
  left: 20px;
  top: 20px;
}

.portfolio-label.top-right {
  right: 20px;
  top: 20px;
}

.portfolio-label.bottom-left {
  bottom: 20px;
  left: 20px;
}

.portfolio-label.bottom-right {
  bottom: 20px;
  right: 20px;
}

.portfolio-label span,
.timeline span,
.service-grid span {
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-label strong {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.services-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1220px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1220px) / 2 + 24px));
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  align-content: start;
  background: #fffaf2;
  border: 1px solid rgba(31, 24, 19, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(31, 24, 19, 0.08);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 470px;
  overflow: hidden;
  padding: 0 0 24px;
}

.service-grid article > img {
  aspect-ratio: 1 / 0.78;
  margin-bottom: 22px;
  object-fit: cover;
  width: 100%;
}

.service-grid article span,
.service-grid article h2,
.service-grid article p {
  align-self: start;
  margin-left: 24px;
  margin-right: 24px;
}

.split-section,
.salon-section,
.booking-section {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.portrait-panel,
.text-panel {
  border: 1px solid rgba(31, 24, 19, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel {
  background: var(--black);
  color: var(--white);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.vane-panel img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  width: 100%;
}

.vane-panel::after {
  background: linear-gradient(0deg, rgba(21, 18, 16, 0.82), transparent 44%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.vane-card {
  background: rgba(21, 18, 16, 0.68);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  position: absolute;
  right: 24px;
  z-index: 2;
}

.vane-card strong {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.vane-card p {
  color: rgba(255, 250, 242, 0.78);
  margin: 8px 0 0;
}

.text-panel {
  align-self: center;
  background: #fffaf2;
  padding: clamp(30px, 5vw, 62px);
}

.signature-row span,
.salon-features span {
  background: rgba(226, 198, 163, 0.34);
  border: 1px solid rgba(201, 145, 80, 0.18);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 10px 14px;
}

.studies-section {
  background: #fffaf2;
  max-width: none;
}

.studies-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1220px;
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  border-left: 1px solid rgba(201, 145, 80, 0.3);
  padding: 24px 22px 10px;
}

.salon-photo {
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: 720px;
  overflow: hidden;
}

.salon-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.salon-copy,
.booking-copy {
  align-self: center;
}

.booking-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(38, 59, 40, 0.94), rgba(21, 18, 16, 0.96)),
    url("Espacio Vane.png") center / cover;
  color: var(--white);
  max-width: none;
  padding-left: max(24px, calc((100vw - 1220px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1220px) / 2 + 24px));
}

.booking-section p {
  color: rgba(255, 250, 242, 0.78);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list a,
.contact-list p {
  color: var(--sand);
  font-weight: 900;
  margin: 0;
}

.contact-list p {
  color: rgba(255, 250, 242, 0.78);
  font-weight: 600;
  max-width: 520px;
}

.whatsapp-panel {
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(31, 24, 19, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 36px);
}

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

.whatsapp-panel .button {
  justify-self: start;
  margin-top: 8px;
}

.footer {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px max(24px, calc((100vw - 1220px) / 2 + 24px));
}

.footer p {
  color: var(--white);
  margin: 0;
}

.footer span {
  color: rgba(255, 250, 242, 0.68);
  display: block;
  font-size: 0.9rem;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 250, 242, 0.86);
  font-weight: 800;
}

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    position: relative;
    z-index: 22;
  }

  .nav-links {
    background: rgba(255, 248, 236, 0.98);
    border: 1px solid rgba(31, 24, 19, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    left: 24px;
    padding: 14px;
    position: absolute;
    right: 24px;
    top: 76px;
  }

  .nav-links.open {
    display: grid;
  }

  .hero,
  .section-heading,
  .split-section,
  .salon-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-copy-block {
    bottom: 28px;
    left: 24px;
    margin-right: 24px;
  }

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

@media (max-width: 640px) {
  .nav {
    padding: 16px 18px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-image img {
    object-position: 36% center;
  }

  .hero-copy-block {
    bottom: 22px;
    left: 22px;
    margin-right: 44px;
    padding: 28px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .portfolio-label {
    max-width: 44%;
    padding: 10px 11px;
  }

  .portfolio-label.top-left,
  .portfolio-label.top-right {
    top: 10px;
  }

  .portfolio-label.bottom-left,
  .portfolio-label.bottom-right {
    bottom: 10px;
  }

  .portfolio-label.top-left,
  .portfolio-label.bottom-left {
    left: 10px;
  }

  .portfolio-label.top-right,
  .portfolio-label.bottom-right {
    right: 10px;
  }

  .portfolio-label span {
    font-size: 0.58rem;
  }

  .portfolio-label strong {
    font-size: 1rem;
  }

  .portrait-panel {
    min-height: 460px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
