/* Dolphin Villa — estilos del sitio (paleta y letra de la marca, versión 3 del logo) */
:root {
  --montana: #2C5641;      /* textos, fondos oscuros */
  --montana-2: #16302A;    /* fondo oscuro profundo */
  --montana-3: #3B6B53;    /* bordes sobre fondo oscuro */
  --mar: #11838B;          /* agua, botones, "Villa" */
  --mar-texto: #0B6A70;    /* enlaces y textos turquesa sobre fondos claros */
  --mar-claro: #7FD3D0;    /* turquesa sobre fondos oscuros */
  --mar-suave: #DDF0EE;
  --arena: #F7EEDC;        /* fondo general */
  --arena-2: #EFE3CB;
  --linea: #E3D6BC;
  --sol: #FFE9A8;
  --dorado: #F9CC66;
  --atardecer: #EFA07A;
  --cielo: #6F8FC4;
  --texto: #2C5641;
  --texto-2: #4A6457;
  --fino: #5A6E63;
  --card: #FFFFFF;
  --campo: #CBBFA6;
  --radius: 18px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--texto); background: var(--arena); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--mar-texto); }
a:hover { color: var(--montana); }
:focus-visible { outline: 3px solid var(--atardecer); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--card); padding: 10px 16px; border-radius: 8px; z-index: 60; }
.skip:focus { top: 12px; }
.test-bar { background: var(--dorado); color: var(--montana-2); text-align: center; font-size: 14px; font-weight: 600; padding: 6px 12px; }

/* Tipografía */
h1, h2, h3 { margin: 0; }
.display { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); }
.h3 { font-size: 24px; }
.eyebrow { margin: 0 0 8px; font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--mar-texto); }
.lead { font-size: 18px; color: var(--texto-2); max-width: 660px; }
.fine { font-size: 13px; color: var(--fino); }
.pendiente { background: #FFF1DE; color: #7A3A12; border-radius: 4px; padding: 0 4px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--mar); color: #fff; }
.btn-primary:hover { background: var(--mar-texto); color: #fff; }
.btn-dark { background: var(--montana); color: #fff; }
.btn-dark:hover { background: var(--montana-2); color: #fff; }
.btn-sun { background: var(--dorado); color: var(--montana-2); }
.btn-sun:hover { background: #F4BC45; color: var(--montana-2); }
.btn-light { background: #fff; color: var(--montana); }
.btn-light:hover { background: var(--sol); color: var(--montana); }
.btn-ghost { border-color: var(--mar-texto); color: var(--mar-texto); background: transparent; }
.btn-ghost:hover { background: var(--mar-suave); color: var(--mar-texto); }
.btn-ghost-light { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado */
.site-header { background: var(--arena); border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; }
.brand .d { color: var(--montana); }
.brand .v { color: var(--mar); }
.brand:hover .d { color: var(--montana); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--texto); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--mar-texto); box-shadow: inset 0 -2px 0 var(--mar); }
.nav .btn { color: #fff; padding: 0 20px; min-height: 44px; font-size: 15px; box-shadow: none; }
.nav-toggle { display: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--montana); background: transparent; font: inherit; font-weight: 600; color: var(--montana); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--arena); border-bottom: 1px solid var(--linea); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Foto de fondo (si el archivo no existe, queda la etiqueta) */
.foto { position: relative; background-color: var(--arena-2); background-size: cover; background-position: center; border-radius: var(--radius); overflow: hidden; }
.foto::after { content: attr(data-label); position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--texto-2); }
.foto.has-img::after { content: none; }

/* Hero */
.hero { position: relative; background-color: var(--montana-2); color: #fff; min-height: 680px; display: flex; align-items: flex-end; border-radius: 0; }
.hero.foto::after { color: #DCE9E2; top: 20px; right: 20px; left: auto; bottom: auto; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,48,42,.10) 25%, rgba(22,48,42,.80) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero p.sub { margin: 22px 0 0; max-width: 600px; font-size: 19px; color: #F2EEE3; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(22,48,42,.78); color: #F7EEDC; font-size: 14px; margin: 0 0 18px; }
.hero .btn-row { margin-top: 34px; }
.facts { background: var(--montana); color: #DCE9E2; }
.facts ul { list-style: none; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; max-width: var(--wrap); }
.facts strong { color: var(--dorado); }

/* Secciones */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: var(--card); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.section-dark { background: var(--montana); color: #fff; }
.section-dark .eyebrow { color: var(--mar-claro); }
.section-dark .lead { color: #DCE9E2; }
.page-head { padding: 64px 0 36px; }
.page-head .lead { margin-top: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--linea); border-radius: var(--radius); padding: 22px; }
.section-white .card { background: var(--arena); }
.card h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.card p { margin: 0; font-size: 15px; color: var(--texto-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }

/* Galería de inicio */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.gallery .big { grid-row: span 2; }

/* Qué incluye */
.amen ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--texto-2); }
.amen li { padding-left: 22px; position: relative; }
.amen li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--mar); border-bottom: 2px solid var(--mar); transform: rotate(-45deg); }
.good-to-know { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.good-to-know div { background: var(--arena); border: 1px solid var(--linea); border-radius: 999px; padding: 8px 16px; font-size: 14px; display: flex; gap: 6px; }
.good-to-know strong { color: var(--montana); }
.good-to-know span { color: var(--texto-2); }

/* Reseñas */
.quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.35; color: var(--montana); }
.quote figcaption { font-size: 14px; color: var(--fino); }

/* Tarjetas de camino */
.path { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--linea); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--texto); transition: border-color .15s, transform .15s; }
.section-white .path { background: var(--arena); }
.path:hover { border-color: var(--mar); color: var(--texto); transform: translateY(-2px); }
.path .foto { height: 200px; border-radius: 0; }
.path .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.path h3 { font-size: 23px; font-weight: 600; font-family: var(--display); }
.path p { margin: 0; color: var(--texto-2); font-size: 15px; }
.path .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--mar-texto); }

/* Ubicación */
.dist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.dist span:last-child { color: var(--texto-2); white-space: nowrap; }
.map-box { min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; color: var(--texto-2); flex-direction: column; gap: 10px; background: var(--mar-suave); }
.map-box:hover { color: var(--mar-texto); }
.map-wrap { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--mar-suave); border: 1px solid var(--linea); }
.map { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Página de fotos y visor */
.photo-group { margin-bottom: 44px; }
.photo-group h2 { margin-bottom: 16px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shot { display: block; border-radius: 14px; overflow: hidden; background: var(--arena-2); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.shot:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(22,48,42,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); display: flex; flex-direction: column; gap: 10px; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; margin: 0 auto; }
.lightbox figcaption { color: #F7EEDC; text-align: center; font-size: 15px; }
.lightbox button { position: fixed; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 28px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Reservar */
.options { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.option { flex: 1 1 340px; min-width: 0; background: var(--card); border: 1px solid var(--linea); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.option.main { flex: 1.6 1 520px; border: 2px solid var(--mar); }
.option ul { margin: 0; padding-left: 20px; color: var(--texto-2); display: flex; flex-direction: column; gap: 8px; }
.option .spacer { flex-grow: 1; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mar-suave); color: var(--mar-texto); font-size: 13px; font-weight: 600; }
.rates { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--texto-2); }
.rates strong { color: var(--montana); }
.cal { border: 1px solid var(--linea); border-radius: 14px; padding: 16px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-nav { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--campo); background: #fff; cursor: pointer; font-size: 18px; color: var(--montana); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 640px) { .cal-months { grid-template-columns: 1fr; } .cal-months .month:nth-child(2) { display: none; } }
.month h4 { margin: 0 0 8px; text-align: center; font-size: 15px; font-weight: 600; text-transform: capitalize; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.dow span { text-align: center; font-size: 12px; color: var(--fino); padding: 4px 0; }
.day { aspect-ratio: 1; min-height: 40px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 14px; color: var(--texto); cursor: pointer; }
.day:hover:not(:disabled) { background: var(--mar-suave); }
.day:disabled { color: #A9B3AA; cursor: default; }
.day.busy { text-decoration: line-through; color: #A9B3AA; }
.day.in-range { background: var(--mar-suave); border-radius: 0; }
.day.start, .day.end { background: var(--mar); color: #fff; }
.day.start { border-radius: 10px 0 0 10px; }
.day.end { border-radius: 0 10px 10px 0; }
.day.start.end { border-radius: 10px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--fino); }
.cal-status { margin: 10px 0 0; font-size: 13px; color: var(--fino); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { min-height: 46px; padding: 0 12px; border: 1px solid var(--campo); border-radius: 10px; background: #fff; color: var(--texto); font: inherit; }
.field textarea { min-height: 96px; padding: 10px 12px; resize: vertical; }
.summary { background: var(--arena); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { padding-top: 10px; border-top: 1px solid var(--linea); font-weight: 600; font-size: 18px; }
.summary .warn { margin: 0; color: #9A3F14; }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--arena); border: 1px solid var(--linea); border-radius: var(--radius); padding: 22px; color: var(--texto-2); font-size: 15px; }
.steps li::before { content: counter(s); display: inline-flex; width: 32px; height: 32px; border-radius: 999px; align-items: center; justify-content: center; background: var(--mar); color: #fff; font-weight: 600; margin-bottom: 12px; }
.steps strong { display: block; color: var(--montana); font-size: 16px; margin-bottom: 4px; }
.section-dark .steps li { background: var(--montana-2); border-color: var(--montana-3); color: #DCE9E2; }
.section-dark .steps strong { color: #fff; }

/* Eventos (versión de prueba) */
.params { border: 1px solid var(--montana-3); border-radius: 20px; padding: 28px; flex: 1 1 340px; min-width: 0; }
.params ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: #DCE9E2; }
.params strong { color: #fff; }
.params .note { margin: 22px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--montana-2); font-size: 14px; color: #F7EEDC; }
.form-card { flex: 1.5 1 480px; min-width: 0; background: #fff; color: var(--texto); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--campo); font-size: 15px; background: #fff; }
.pill input:checked + span { background: var(--mar); border-color: var(--mar); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--atardecer); outline-offset: 2px; }
.types { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.types li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--montana-3); color: #F7EEDC; font-size: 15px; }

/* Qué visitar */
.place { background: var(--card); border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.place .body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.place .where { margin: 0; font-size: 13px; font-weight: 600; color: var(--mar-texto); }
.place h2 { font-family: var(--display); font-size: 22px; font-weight: 600; }
.place p { margin: 0; font-size: 15px; color: var(--texto-2); }
.place .go { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 15px; }

/* Llamado final */
.cta { background: var(--montana); color: #fff; border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta p { margin: 8px 0 0; color: #DCE9E2; }

/* Pie */
.site-footer { background: var(--montana-2); color: #DCE9E2; padding: 64px 0 96px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .name { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 26px; color: #fff; }
.site-footer .name .v { color: var(--mar-claro); }
.site-footer p { margin: 0; max-width: 400px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.site-footer .btn { min-height: 46px; padding: 0 20px; }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--montana-3); font-size: 13px; color: #B9CBC1; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .bottom a { color: #DCE9E2; }

/* Chat de preguntas */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--mar); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(22,48,42,.28); }
.chat-fab:hover { background: var(--mar-texto); }
.chat-fab[aria-expanded="true"] { display: none; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 41; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 36px)); background: #fff; border-radius: 20px; box-shadow: 0 18px 48px rgba(22,48,42,.32); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--montana); color: #fff; }
.chat-head strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; }
.chat-head span { font-size: 13px; color: #DCE9E2; }
.chat-x { width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--arena); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--linea); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--mar); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .wa-link { display: inline-flex; margin-top: 8px; font-weight: 600; }
.chat-chips { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; border-top: 1px solid var(--linea); background: #fff; }
.chat-chips button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--campo); background: #fff; color: var(--montana); font: inherit; font-size: 14px; cursor: pointer; }
.chat-chips button:hover { border-color: var(--mar); color: var(--mar-texto); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; background: #fff; }
.chat-form input { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--campo); border-radius: 999px; font: inherit; color: var(--texto); }
.chat-form button { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--mar); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.chat-wa { display: block; text-align: center; padding: 0 12px 12px; background: #fff; font-size: 14px; font-weight: 600; }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { min-height: 600px; }
  .option, .form-card, .params { padding: 22px; }
  .cta { padding: 30px; }
  .chat { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .path, .shot img { transition: none; } }
