:root {
  --wine: #6b2d3c;
  --wine-dark: #4a1f2a;
  --rose: #c9788a;
  --cream: #faf6f1;
  --sand: #ebe3d9;
  --ink: #2a2224;
  --muted: #5c5256;
  --gold: #c9a962;
  --whatsapp: #25d366;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(74, 31, 42, 0.12);
  --radius: 16px;
  --header-h: 72px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wine);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--wine-dark);
  line-height: 1.15;
}

p {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wine);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 300;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header fijo al hacer scroll, encima del contenido */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 246, 241, 0.92);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.logo strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.logo span {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 400;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 12px;
}

.nav-desktop a:not(.btn):hover {
  color: var(--wine);
}

.nav-desktop .btn {
  margin-left: 12px;
}

.nav-open {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-open:checked ~ .sheet-backdrop {
  display: flex;
}

body:has(.nav-open:checked),
body.is-lightbox-open {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--wine);
}

.menu-toggle svg {
  display: block;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  box-shadow: 0 4px 8px rgba(107, 45, 60, 0.35);
}

.btn-primary:hover {
  background: var(--wine-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 1px solid rgba(107, 45, 60, 0.35);
}

.btn-outline:hover {
  background: rgba(107, 45, 60, 0.06);
  color: var(--wine-dark);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Menú móvil — bottom sheet */
.sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(42, 34, 36, 0.45);
  align-items: flex-end;
}

.sheet {
  width: 100%;
  background: var(--cream);
  border-radius: 20px 20px 0 0;
  padding: 16px 24px 32px;
}

.sheet a:not(.btn) {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 0;
}

.sheet .btn {
  width: 100%;
  margin-top: 16px;
}

/* Hero */
.hero {
  position: relative;
  height: clamp(420px, 88dvh, 820px);
  overflow: hidden;
  color: var(--white);
}

.hero-slides,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slides picture:first-child,
.hero-slides.is-js picture.is-active {
  opacity: 1;
}

.hero-slides.is-js picture:first-child:not(.is-active) {
  opacity: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(42, 34, 36, 0.72) 0%,
    rgba(74, 31, 42, 0.42) 50%,
    rgba(42, 34, 36, 0.28) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 24px 48px;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0;
}

.hero-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
}

.hero-dots button.is-active::after {
  width: 26px;
  background: rgba(255, 255, 255, 0.95);
}

/* Secciones */
.section {
  padding: 80px 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section-sand {
  background: var(--sand);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--wine-dark);
}

.section-head p {
  color: var(--muted);
}

.gallery-head {
  text-align: center;
  margin-bottom: 20px;
}

.gallery-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.gallery-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-block + .gallery-block {
  margin-top: 64px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card picture,
.gallery-item picture {
  display: block;
  width: 100%;
}

.service-card-body {
  padding: 20px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.service-card > a {
  display: block;
  position: relative;
}

.zoom-hint {
  display: none;
  position: absolute;
  right: 8px;
  bottom: 8px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  font-size: 11px;
  text-decoration: none;
  z-index: 2;
}

.hero-zoom {
  bottom: 48px;
  right: 16px;
}

.zoom-hint svg {
  display: block;
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--sand);
}

.tip-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wine);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.split-panel {
  padding: 28px;
}

.split-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.split-panel p + p,
.split-panel p + ul {
  margin-top: 12px;
}

.split-panel strong {
  color: var(--ink);
  font-weight: 600;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.contact-card h3 {
  margin: 0 0 20px;
  font-size: 1.6rem;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item .label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--wine);
  font-weight: 600;
}

.contact-item .place {
  color: var(--ink);
  line-height: 1.5;
  white-space: pre-line;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--wine-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 16px 88px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer .copy {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
}

.whatsapp-float:hover {
  color: var(--white);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.92);
  color: var(--white);
}

.lightbox.is-open {
  display: flex;
  flex-direction: column;
}

.lightbox-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.lightbox-top p {
  flex: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 8px 16px 48px;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-stage img {
  max-width: min(100%, 1024px);
  max-height: 80dvh;
  object-fit: contain;
  transform-origin: center center;
}

.lightbox-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lightbox-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.lightbox-dots button.is-active {
  width: 10px;
  height: 10px;
  background: var(--white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-nav[hidden] {
  display: none;
}

@media (max-width: 899px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .zoom-hint {
    display: inline-flex;
  }
}

@media (min-width: 561px) {
  .services-grid,
  .gallery-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 801px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    height: clamp(420px, 72dvh, 820px);
  }

  .hero-content {
    padding: 48px 16px 64px;
  }

  .whatsapp-float {
    width: 64px;
    height: 64px;
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
