/* ===== Design tokens ===== */
:root {
  --charcoal: #1c1b1b;
  --charcoal-soft: #26241f;
  --terracotta: #a55d48;
  --gold: #c3975f;
  --cream: #f4e4d4;
  --cream-soft: #faf3ea;
  --sage: #7c8476;
  --teal: #6aa3ae;
  --whatsapp: #25d366;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Lato", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px rgba(28, 27, 27, 0.18);
  --transition: 0.35s ease;
}

/* ===== Reset ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  color: var(--charcoal);
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}

.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.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;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

.btn--secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--charcoal-soft);
}

.btn--small {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 27, 27, 0.92);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 228, 212, 0.1);
  border: 1px solid rgba(244, 228, 212, 0.25);
  color: var(--cream);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-toggle span {
  padding: 2px 6px;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity var(--transition), background var(--transition);
}

.lang-toggle span.is-active {
  opacity: 1;
  background: var(--gold);
  color: var(--charcoal);
}

.header-whatsapp {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--charcoal-soft);
  padding: 12px 24px 20px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 228, 212, 0.1);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .header-whatsapp {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  background-image: linear-gradient(180deg, rgba(20, 19, 18, 0.55) 0%, rgba(20, 19, 18, 0.72) 60%, rgba(20, 19, 18, 0.92) 100%),
    url("assets/hero-oceanview-sunset.jpg");
  background-size: cover;
  background-position: center;
  padding: 140px 24px 80px;
}

.hero__content {
  max-width: 720px;
}

.hero__logo-wrap {
  margin: 0;
}

.hero__logo {
  width: clamp(220px, 38vw, 450px);
  height: auto;
  margin: 0 auto;
}

.hero__subtitle {
  margin: 28px auto 0;
  max-width: 480px;
  font-size: 1.1rem;
  color: rgba(244, 228, 212, 0.9);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* ===== Philosophy ===== */
.philosophy {
  background: var(--cream-soft);
}

.philosophy__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.philosophy__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.philosophy__text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #3a3733;
}

.philosophy__text p {
  margin-bottom: 22px;
}

.philosophy__pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--terracotta);
  text-align: center;
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(165, 93, 72, 0.25);
  border-bottom: 1px solid rgba(165, 93, 72, 0.25);
}

.philosophy__closing {
  text-align: center;
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: var(--charcoal);
}

.philosophy__closing p {
  margin-bottom: 6px;
}

@media (min-width: 860px) {
  .philosophy__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* ===== Services ===== */
.services {
  background: var(--cream);
}

.services__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

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

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(28, 27, 27, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(28, 27, 27, 0.14);
}

.service-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card__body h3 {
  font-size: 1.4rem;
}

.service-card__body p.service-card__desc {
  color: #5c5852;
  font-size: 0.92rem;
}

.service-card__prices {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--terracotta);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Domicilio ===== */
.domicilio {
  background: var(--charcoal);
  color: var(--cream);
}

.domicilio__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.domicilio__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.domicilio__image img {
  width: 100%;
  object-fit: cover;
}

.domicilio__intro {
  font-size: 1.05rem;
  color: rgba(244, 228, 212, 0.85);
  margin-bottom: 32px;
  max-width: 480px;
}

.domicilio__points {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

.domicilio__point {
  display: flex;
  gap: 14px;
}

.domicilio__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(195, 151, 95, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.domicilio__point h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.domicilio__point p {
  font-size: 0.92rem;
  color: rgba(244, 228, 212, 0.75);
}

@media (min-width: 900px) {
  .domicilio__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* ===== Gallery ===== */
.gallery {
  background: var(--cream-soft);
}

.gallery__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

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

@media (min-width: 1000px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  border: none;
  padding: 0;
  background: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 18, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(244, 228, 212, 0.12);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__nav--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== Booking ===== */
.booking {
  background: var(--cream);
}

.booking__wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.booking__wrapper iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  display: block;
}

.booking__fallback {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  box-shadow: var(--shadow-soft);
}

.booking__fallback p {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: #5c5852;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(244, 228, 212, 0.75);
  padding: 64px 0 32px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244, 228, 212, 0.12);
}

.site-footer__brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.site-footer__brand p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}

.site-footer__col h4 {
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.site-footer__col p,
.site-footer__col a {
  font-size: 0.92rem;
}

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

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ===== Scroll reveal ===== */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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