/* -- Base -------------------------------------------- */
:root {
  --color-background: #FAF8F5;
  --color-surface: #FFFFFF;
  --color-surface-soft: #F3F7EC;
  --color-surface-soft-hover: #E8F0DC;
  --color-background-overlay: rgba(250, 248, 245, 0.85);
  --color-text: #1C1917;
  --color-text-muted: rgba(28, 25, 23, 0.85);
  --color-border-default: rgba(191, 176, 168, 0.28);
  --color-border-light: rgba(191, 176, 168, 0.2);
  --color-border-lighter: rgba(191, 176, 168, 0.15);
  --color-border-soft: rgba(191, 176, 168, 0.35);
  --color-border-dark-soft: rgba(28, 25, 23, 0.08);
  --color-shadow-default: rgba(191, 176, 168, 0.18);
  --color-shadow-surface: rgba(191, 176, 168, 0.2);
  --color-shadow-soft: rgba(191, 176, 168, 0.1);
  --color-shadow-hover: rgba(191, 176, 168, 0.28);
  --color-shadow-dark: rgba(28, 25, 23, 0.22);
  --color-border-muted: rgba(191, 176, 168, 0.4);
  --color-shadow-subtle: rgba(0, 0, 0, 0.03);
  --color-overlay-dark: rgba(28, 25, 23, 0.45);
  --color-line-soft: rgba(28, 25, 23, 0.1);
  --color-cream: #FAF8F5;
  --color-sand: #EDE8DF;
  --color-lime-soft: #E7F7DC;
  --color-lime: #A5D68C;
  --color-mink: #BFB0A8;
  --color-warm: #6B5E57;
  --color-primary: #1C1917;
  --color-primary-dark: #3B3330;
  --color-success: #25D366;
  --color-success-dark: #20bd5b;
  --color-lime-muted: #8C9E74;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* -- Grain overlay ----------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .45;
}

/* -- Typography -------------------------------------- */
.font-display { font-family: 'Cormorant Garamond', serif; }

/* -- Animated underline link ------------------------- */
.underline-anim {
  position: relative;
  text-decoration: none;
}
.underline-anim::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s ease;
}
.underline-anim:hover::after { width: 100%; }

/* -- Nav --------------------------------------------- */
nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--color-background-overlay);
  border-bottom: 1px solid var(--color-border-light);
}

/* -- Hero -------------------------------------------- */
.hero-bg {
  background: linear-gradient(135deg, var(--color-background) 0%, var(--color-lime-soft) 45%, var(--color-sand) 100%);
  /*background: linear-gradient(135deg, #f5d7d0 0%, #ffd9b8 45%, #fff4e3 100%);*/
}
.hero-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  filter: blur(72px);
  opacity: .55;
  animation: morphBlob 12s ease-in-out infinite alternate;
}
@keyframes morphBlob {
  0%   { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  50%  { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
  100% { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
}

/* -- Photo placeholder grid -------------------------- */
.gallery-item {
  overflow: hidden;
  border-radius: 1.25rem;
  position: relative;
  cursor: pointer;
}
.gallery-item img,
.gallery-item .ph {
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-item:hover img,
.gallery-item:hover .ph { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--color-overlay-dark) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* -- Service card ------------------------------------ */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-default);
  border-radius: 1.5rem;
  box-shadow: 0 2px 24px var(--color-shadow-default), 0 1px 4px var(--color-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-shadow-hover), 0 2px 8px var(--color-shadow-soft);
}

/* -- CTA button -------------------------------------- */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-background);
  border-radius: 9999px;
  padding: .85rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-shadow-dark);
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 9999px;
  padding: .8rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .25s ease;
  display: inline-block;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-2px);
}

.booking-container iframe {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

/* -- Setmore block ----------------------------------- */
.booking-container {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
  border: 1px solid var(--color-border-soft);
  border-radius: 2rem;
  box-shadow: 0 4px 48px var(--color-shadow-surface);
}

/* -- Section label ----------------------------------- */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-mink);
}

/* -- Divider ----------------------------------------- */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  color: var(--color-mink); font-size: .8rem; letter-spacing: .15em;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--color-mink), transparent);
}

/* -- Scroll-reveal ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Floating badge ---------------------------------- */
.floating-badge {
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* -- Social icon ------------------------------------- */
.social-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--color-border-muted);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
  color: var(--color-warm);
}
.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-2px);
}

/* -- Horizontal scroll services (mobile) ------------ */
@media (max-width: 767px) {
  .services-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
  }
  .services-scroll::-webkit-scrollbar { display: none; }
}

/* -- Photo placeholders (beautiful gradients) -------- */
.ph-1 { background: linear-gradient(135deg, var(--color-lime-soft), var(--color-sand), var(--color-lime)); }
.ph-2 { background: linear-gradient(145deg, var(--color-sand), var(--color-background), var(--color-mink)); }
.ph-3 { background: linear-gradient(120deg, var(--color-lime), var(--color-lime-soft), var(--color-background)); }
.ph-4 { background: linear-gradient(160deg, var(--color-mink), var(--color-sand), var(--color-lime)); }
.ph-5 { background: linear-gradient(130deg, var(--color-background), var(--color-lime), var(--color-sand)); }
.ph-6 { background: linear-gradient(150deg, var(--color-sand), var(--color-mink), var(--color-lime-soft)); }

/* -- Hours table ------------------------------------- */
.hours-row {
  display: flex; justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: .875rem;
}
.hours-row:last-child { border-bottom: none; }

/* -- Marquee animation ---------------------------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Contenedor para centrar la tarjeta y hacerla responsiva --- */
.faq-card-container {
    width: 100%;
    max-width: 600px; /* Ancho máximo de la tarjeta en pantallas grandes */
    margin: 40px auto; /* Centra horizontalmente y da espacio arriba/abajo */
    padding: 0 20px; /* Margen de seguridad para que no toque los bordes en móviles */
    box-sizing: border-box;
}

/* -- Acordeón Lista de Espera (Estilo Minimalista Premium) -- */
.faq-accordion {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-dark-soft); /* Línea ultra fina */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--color-shadow-subtle); /* Sombra sutil */
    width: 100%;
}

.accordion-header {
    background-color: var(--color-surface-soft); /* Verde pastel sutil */
    color: var(--color-text);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--color-surface-soft-hover);
}

/* Icono de flecha */
.accordion-icon {
    width: 16px;
    height: 16px;
    color: var(--color-text);
    background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

/* Panel desplegable */
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    background-color: var(--color-surface);
}

/* Contenido interno */
.faq-content {
    padding: 24px 20px 24px 44px; /* Espacio para la línea de tiempo */
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-list li {
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--color-text-muted);
}

.faq-list li:last-child {
    margin-bottom: 0;
}

/* Puntos y líneas */
.faq-list li::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: var(--color-lime-muted);
    border-radius: 50%;
    z-index: 2;
}

.faq-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 16px;
    width: 1px;
    height: calc(100% + 10px);
    background-color: var(--color-line-soft);
    z-index: 1;
}

/* Títulos de los pasos */
.faq-title {
    color: var(--color-text);
    font-weight: 700;
    margin-right: 4px;
    display: inline;
}

.faq-list li strong {
    font-weight: 400;
}

/* Ajustes responsivos móviles */
@media (max-width: 480px) {
    .accordion-header {
        font-size: 18px;
        padding: 16px;
    }
    .faq-content {
        padding: 20px 16px 20px 36px;
    }
}