/* =====================================================================
   Casa Chafarinas · estilos del tema
   Los colores vienen de theme.json (Apariencia → Editor → Estilos → Colores):
   si cambias un color allí, cambia en toda la web.
   ===================================================================== */
:root {
  --cc-azul: var(--wp--preset--color--azul-levante, #16324F);
  --cc-azul-900: var(--wp--preset--color--azul-levante-900, #0E2138);
  --cc-terracota: var(--wp--preset--color--terracota-sol, #C9654B);
  --cc-terracota-700: var(--wp--preset--color--terracota-700, #A94E37);
  --cc-arena: var(--wp--preset--color--arena-clara, #E8D7BC);
  --cc-arena-200: var(--wp--preset--color--arena-200, #F2E7D6);
  --cc-arena-600: var(--wp--preset--color--arena-600, #C9B393);
  --cc-oro: var(--wp--preset--color--oro-poniente, #D7A646);
  --cc-marfil: var(--wp--preset--color--marfil, #FAF7F0);
  --cc-marfil-shade: var(--wp--preset--color--marfil-shade, #F2EDE2);
  --cc-pizarra: var(--wp--preset--color--pizarra, #526578);
  --cc-blanco: var(--wp--preset--color--blanco, #FFFFFF);
  --cc-hairline: rgba(22, 50, 79, .12);
  --cc-soft: rgba(22, 50, 79, .20);
  --cc-body: var(--wp--preset--font-family--body, Manrope, "Avenir Next", Arial, sans-serif);
  --cc-display: var(--wp--preset--font-family--display, Georgia, "Times New Roman", serif);
  --cc-shadow-1: 0 1px 2px rgba(22, 50, 79, .06);
  --cc-shadow-2: 0 2px 4px rgba(22, 50, 79, .06), 0 8px 20px rgba(22, 50, 79, .07);
  --cc-shadow-3: 0 4px 8px rgba(22, 50, 79, .07), 0 18px 44px rgba(22, 50, 79, .10);
  --cc-radius: 18px;
  --cc-gutter: clamp(16px, 4vw, 24px);
  --cc-max: 1200px;
  --cc-sec-y: clamp(56px, 8vw, 96px);
  --cc-ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.wp-site-blocks > * { margin-block-start: 0; }
.cc-landing > *, .cc-main.wp-block-group { margin-block: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, .wp-block-button__link:focus-visible {
  outline: 2px solid var(--cc-terracota); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Secciones ---------- */
.cc-section {
  padding: var(--cc-sec-y) max(var(--cc-gutter), calc((100% - var(--cc-max)) / 2));
}
.cc-section-tight { padding-bottom: 0; }
.cc-section-flush-top { padding-top: 0; }
.cc-section > *, .cc-grid > *, .cc-split > *, .cc-hero > * { margin-block-start: 0; }
.is-style-sunken { background: var(--cc-marfil-shade); border-block: 1px solid var(--cc-hairline); }
.is-style-dark { background: var(--cc-azul); color: var(--cc-marfil); }
.is-style-dark :where(h1, h2, h3, .cc-signature) { color: var(--cc-marfil); }
.is-style-dark .cc-lead, .is-style-dark .cc-heading .cc-lead, .is-style-dark .cc-phone + .cc-signature { color: var(--cc-arena); }
.is-style-dark .cc-eyebrow { color: var(--cc-oro); }
.is-style-dark a { color: var(--cc-marfil); }
.is-style-dark a:hover { color: var(--cc-oro); }
.is-style-dark { --cc-icon: var(--cc-oro); }

/* ---------- Tipografía ---------- */
.cc-eyebrow {
  font: 600 13px/1.2 var(--cc-body); letter-spacing: .18em; text-transform: uppercase; color: var(--cc-terracota);
}
.cc-lead { font-size: var(--wp--preset--font-size--large, 19px); text-wrap: pretty; }
.cc-heading { max-width: 760px; }
.cc-heading > * { margin-block: 0; }
.cc-heading > * + * { margin-block-start: 12px; }
.cc-heading .cc-lead { color: var(--cc-pizarra); }
.cc-heading h2 { text-wrap: balance; }
h1, h2 { text-wrap: balance; }
.cc-small { font-size: 15px; color: var(--cc-pizarra); max-width: 760px; margin-block-start: 32px !important; }
.cc-note { font-size: 15px; font-weight: 600; color: var(--cc-terracota-700); }
.cc-label {
  display: flex; align-items: center; gap: 10px;
  font: 600 13px/1.2 var(--cc-body) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-azul);
}
.cc-signature { font-family: var(--cc-display); font-size: 22px; line-height: 1.3; }
.cc-signature span { font: 400 15px/1.5 var(--cc-body); color: var(--cc-pizarra); }
.cc-breadcrumb { font-size: 15px; color: var(--cc-pizarra); }
.cc-breadcrumb a { color: inherit; }
.cc-breadcrumb a:hover { color: var(--cc-terracota); }

/* ---------- Iconos en listas ---------- */
.cc-icons, .cc-facts { list-style: none; padding: 0; }
.cc-icons li, .cc-facts li { display: flex; align-items: flex-start; gap: 12px; }
.cc-icons li::before { margin-top: 3px; }
.cc-icons { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.cc-icons-rules { gap: 0; margin-block-start: 36px !important; }
.cc-icons-rules li { padding: 16px 0; border-bottom: 1px solid var(--cc-hairline); gap: 14px; }
.cc-icons-inline { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; margin-block-start: 16px; }
.cc-facts {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  margin: 36px 0 0 !important; padding-top: 28px; border-top: 1px solid var(--cc-hairline);
}
.cc-facts li { align-items: center; }
.cc-contact { margin-block-start: 40px !important; padding-top: 32px; border-top: 1px solid rgba(232, 215, 188, .28); gap: 18px; font-size: 19px; }

/* ---------- Botones ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .2s, color .2s, border-color .2s; }
.cc-btn-whatsapp .wp-block-button__link::before, .cc-form__submit::before {
  content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: var(--i-message) center / contain no-repeat; mask: var(--i-message) center / contain no-repeat;
}
.cc-btn-calendar .wp-block-button__link::before {
  content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: var(--i-calendar) center / contain no-repeat; mask: var(--i-calendar) center / contain no-repeat;
}
.cc-btn-arrow .wp-block-button__link::after {
  content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
}
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
  background: transparent; color: var(--cc-azul); border: 1px solid var(--cc-soft); padding: 18px 28px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--cc-marfil-shade); border-color: var(--cc-azul); color: var(--cc-azul); }
.wp-block-button.is-style-secondary > .wp-block-button__link { background: var(--cc-azul); border-color: var(--cc-azul); color: var(--cc-marfil); }
.wp-block-button.is-style-secondary > .wp-block-button__link:hover { background: var(--cc-azul-900); border-color: var(--cc-azul-900); }
.cc-hero .wp-block-buttons { margin-block-start: 32px; }

/* ---------- Imágenes ---------- */
.wp-block-image { margin-block-end: 0; }
.is-style-arch { margin: 0; }
.is-style-arch img { display: block; width: 100%; border-radius: 1000px 1000px 0 0; object-fit: cover; aspect-ratio: 5 / 6; background: var(--cc-marfil-shade); }
.cc-arch-border img { border: 2px solid var(--cc-terracota); }
.cc-rounded img { display: block; width: 100%; border-radius: var(--cc-radius); object-fit: cover; aspect-ratio: 4 / 3; }
.wp-block-image figcaption, .cc-rounded .wp-element-caption {
  text-align: left; margin: 12px 0 0; font-size: 17px; font-weight: 600; color: var(--cc-azul);
}
.wp-block-separator.is-style-sea, .wp-block-separator.is-style-sea:not(.is-style-wide):not(.is-style-dots) {
  border: 0 !important; height: 14px; width: 220px; max-width: 60%; margin: 0 auto !important; opacity: 1;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cpath d='M0 8 C 20 1, 40 15, 60 8 S 100 1, 120 8 S 160 15, 180 8 S 220 1, 240 8' fill='none' stroke='%23C9B393' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.cc-landing > .wp-block-separator.is-style-sea { margin-block: clamp(24px, 5vw, 48px) 0 !important; }

/* ---------- Portada ---------- */
.cc-hero { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 24px; }
.cc-hero__text { max-width: 620px; }
.cc-hero__text > * { margin-block: 0; }
.cc-hero__text .cc-eyebrow { margin-bottom: 20px; }
.cc-hero__text .cc-breadcrumb { margin-bottom: 28px; }
.cc-hero__text h1 + .cc-lead { margin-top: 24px; }
.cc-hero__img { width: 100%; max-width: 520px; justify-self: center; }
.cc-hero__img img { max-height: 560px; }
.cc-hero-sub .cc-hero__img img { aspect-ratio: 1 / 1; max-height: 440px; }
@media (min-width: 900px) {
  .cc-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
@media (max-width: 899px) {
  .cc-hero__img { max-width: 420px; }
  .cc-hero__img img { aspect-ratio: 4 / 4.2; }
}

/* ---------- Rejillas y columnas ---------- */
.cc-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cc-min, 260px)), 1fr)); }
.cc-grid-4 { --cc-min: 240px; }
.cc-grid-3 { --cc-min: 290px; }
.cc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 599px) {
  .cc-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cc-grid-compact + .cc-grid-compact { margin-block-start: 20px !important; }
  .cc-grid-compact .cc-room h3 { padding: 10px 12px 14px; font-size: 15px; }
  .cc-grid-compact .cc-caption, .cc-grid-2 .wp-element-caption { font-size: 14px; margin-top: 8px !important; }
  .wp-block-button__link { padding: 16px 20px; }
}
.cc-heading + .cc-grid, .cc-heading + .cc-gallery, .cc-heading + .cc-faq { margin-block-start: clamp(32px, 5vw, 48px) !important; }
.cc-grid + .cc-grid { margin-block-start: 24px !important; }
.cc-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cc-split-top { align-items: start; }
@media (min-width: 900px) {
  .cc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cc-split > .wp-block-group:not(.cc-grid) > * + * { margin-block-start: 16px; }
.cc-split .wp-block-buttons { margin-block-start: 24px; }

/* ---------- Tarjetas ---------- */
.is-style-card {
  background: var(--cc-blanco); color: var(--cc-azul); border: 1px solid var(--cc-hairline);
  border-radius: var(--cc-radius); box-shadow: var(--cc-shadow-1); overflow: hidden;
}
.is-style-card-warm {
  background: var(--cc-arena-200); border: 1px solid var(--cc-arena-600); border-radius: var(--cc-radius);
  padding: clamp(24px, 5vw, 48px);
}
.is-style-card-warm .cc-eyebrow { color: var(--cc-terracota-700); }
.is-style-card-warm { --cc-icon: var(--cc-terracota-700); }
.cc-room > * { margin: 0 !important; }
.cc-room img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cc-room h3 { padding: 18px 22px 22px; font: 600 19px/1.35 var(--cc-body); }
.cc-common > * { margin-block: 0; }
.cc-caption { font-weight: 600; margin-top: 14px !important; }
.cc-plan { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cc-plan > * { margin: 0 !important; }
.cc-plan::before {
  content: ""; display: block; height: 130px; margin-bottom: 14px;
  border-radius: 1000px 1000px 0 0; background: var(--cc-arena);
}
.cc-plan-plain::before { display: none; }
@media (max-width: 899px) { .cc-plan::before { display: none; } }
.cc-plan .cc-label { color: var(--cc-pizarra); }
.cc-plan h2, .cc-plan h3 { font-size: var(--wp--preset--font-size--x-large, 26px); }
.cc-more { margin-top: auto !important; padding-top: 6px; font-size: 15px; font-weight: 600; }
.cc-blog .wp-block-post-featured-image { margin: -28px -28px 12px !important; }
.cc-blog .wp-block-post-template { list-style: none; padding: 0; }
.cc-blog .wp-block-post-title a { color: var(--cc-azul); }

/* ---------- Equipamiento (etiquetas) ---------- */
.cc-equip > * { margin: 0; }
.cc-equip h3.cc-label { padding-bottom: 14px; border-bottom: 1px solid var(--cc-soft); }
.is-style-tags { list-style: none; padding: 0; margin: 18px 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-tags li { padding: 7px 14px; border: 1px solid var(--cc-soft); border-radius: 20px; font: 500 15px/1.2 var(--cc-body); }
.cc-grid-4 > .cc-equip { min-width: 0; }
.is-style-sunken .cc-grid-4:has(.cc-equip) { gap: 40px 32px; }

/* ---------- Galería (con ampliación al pulsar) ---------- */
.cc-gallery.wp-block-gallery {
  display: grid !important; gap: 12px !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
}
@media (min-width: 700px) { .cc-gallery.wp-block-gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px !important; } }
.cc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto !important; margin: 0 !important; }
.cc-gallery figure.wp-block-image img {
  display: block; width: 100%; height: clamp(140px, 22vw, 210px) !important; object-fit: cover;
  border-radius: var(--cc-radius); border: 1px solid var(--cc-hairline);
  transition: transform .32s var(--cc-ease), box-shadow .32s var(--cc-ease);
}
.cc-gallery figure.wp-block-image:hover img { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 50, 79, .12); }

/* ---------- Normas y preguntas frecuentes ---------- */
.cc-faq { display: flex; flex-direction: column; gap: 12px; }
.cc-faq > * { margin: 0 !important; }
.wp-block-details.is-style-faq {
  background: var(--cc-blanco); border: 1px solid var(--cc-hairline); border-radius: var(--cc-radius); box-shadow: var(--cc-shadow-1);
}
.is-style-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 600 19px/1.35 var(--cc-body); color: var(--cc-azul);
}
.is-style-faq summary::-webkit-details-marker { display: none; }
.is-style-faq summary::after {
  content: ""; flex: 0 0 20px; height: 20px; background: var(--cc-terracota); transition: transform .2s;
  -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat;
}
.is-style-faq[open] summary::after { transform: rotate(180deg); }
.is-style-faq > p { margin: 0 !important; padding: 0 24px 24px; }

/* ---------- Consulta (formulario → WhatsApp) ---------- */
.cc-form-card { padding: clamp(24px, 4vw, 36px); box-shadow: var(--cc-shadow-2); }
.cc-form-card .wp-block-html, .cc-form { margin: 0; }
.cc-form__title { margin: 0 0 24px; font: 400 var(--wp--preset--font-size--x-large, 28px)/1.35 var(--cc-display); color: var(--cc-azul) !important; }
.cc-form__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.cc-form label {
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  font: 600 13px/1.2 var(--cc-body); letter-spacing: .08em; text-transform: uppercase; color: var(--cc-pizarra);
}
.cc-form > label { margin-top: 18px; }
.cc-form input, .cc-form textarea {
  width: 100%; min-width: 0; box-sizing: border-box; min-height: 46px; padding: 10px 14px;
  font: 400 17px/1.4 var(--cc-body); letter-spacing: 0; text-transform: none; color: var(--cc-azul);
  background: var(--cc-blanco); border: 1px solid var(--cc-soft); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.cc-form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
.cc-form input:focus, .cc-form textarea:focus { outline: none; border-color: var(--cc-terracota); box-shadow: 0 0 0 3px rgba(201, 101, 75, .32); }
.cc-form__submit {
  margin-top: 28px; width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cc-terracota); color: var(--cc-marfil); border: 1px solid var(--cc-terracota); border-radius: 8px; cursor: pointer;
  font: 600 14px/1 var(--cc-body); letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s;
}
.cc-form__submit:hover { background: var(--cc-terracota-700); border-color: var(--cc-terracota-700); }
.cc-form__note { margin: 16px 0 0; font-size: 15px; color: var(--cc-pizarra); }
.cc-form__error { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; background: #F6E4DE; color: var(--cc-terracota-700); font-weight: 600; font-size: 15px; }

/* ---------- Reservas (motor de Smoobu) ---------- */
.cc-booking-head { padding-bottom: clamp(24px, 4vw, 40px); }
.cc-booking-head .cc-hero__text { max-width: 760px; }
.cc-booking-card { padding: clamp(12px, 3vw, 32px); box-shadow: var(--cc-shadow-2); }
.cc-booking { width: 100%; min-height: 560px; }
.cc-booking iframe { display: block; width: 100% !important; max-width: 100%; border: 0; min-height: 900px; }
.cc-booking-fallback { max-width: 620px; padding: clamp(12px, 3vw, 24px); }
.cc-booking-fallback h2 { font-size: var(--wp--preset--font-size--x-large, 28px); margin: 0 0 12px; }
.cc-booking-fallback p { margin: 0 0 20px; color: var(--cc-pizarra); }
.cc-booking-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-booking-actions a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 8px;
  font: 600 14px/1 var(--cc-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: var(--cc-terracota); color: var(--cc-marfil); border: 1px solid var(--cc-terracota);
}
.cc-booking-actions a:hover { background: var(--cc-terracota-700); color: var(--cc-marfil); }
.cc-booking-actions a.is-secondary { background: transparent; color: var(--cc-azul); border-color: var(--cc-soft); }
.cc-booking-actions a.is-secondary:hover { background: var(--cc-marfil-shade); }

/* ---------- Anfitriones ---------- */
.cc-hosts { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.cc-hosts > .wp-block-image { width: 100%; max-width: 320px; }
.cc-hosts > .wp-block-image img { aspect-ratio: 320 / 380; }
.cc-hosts > .wp-block-group > * + * { margin-block-start: 16px; }
@media (min-width: 900px) { .cc-hosts { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
@media (max-width: 899px) { .cc-hosts > .wp-block-image { max-width: 260px; } }
.cc-phone { font: 600 22px/1.35 var(--cc-body); }

/* ---------- Cabecera ---------- */
/* El desenfoque va en un pseudo-elemento: si estuviera en la cabecera, el menú móvil
   (position: fixed) quedaría atrapado dentro de ella. */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--cc-hairline);
}
.wp-site-blocks > header.wp-block-template-part::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 247, 240, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.cc-header {
  max-width: calc(var(--cc-max) + 2 * var(--cc-gutter)); margin: 0 auto; padding: 12px var(--cc-gutter);
  display: flex; align-items: center; gap: 12px 24px;
}
.cc-header > * { margin: 0 !important; }
.cc-header .wp-block-site-logo img { width: clamp(150px, 22vw, 200px); height: auto; }
.wp-block-site-logo + .cc-site-title { display: none; }
.cc-site-title { font: 700 22px/1 var(--cc-display); }
.cc-site-title a { color: var(--cc-azul); }
.cc-nav { margin-left: auto !important; }
.cc-nav .wp-block-navigation__container { gap: 6px 24px; }
.cc-nav .wp-block-navigation-item__content { color: var(--cc-azul); padding: 6px 0; }
.cc-nav .wp-block-navigation-item__content:hover { color: var(--cc-terracota); }
.cc-nav .cc-lang .wp-block-navigation-item__content {
  border: 1px solid var(--cc-soft); border-radius: 999px; padding: 4px 10px; font-size: 13px; letter-spacing: .08em;
}
.cc-header-cta .wp-block-button__link { padding: 12px 16px; font-size: 12px; }
.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--cc-marfil) !important; color: var(--cc-azul) !important; padding: 24px var(--cc-gutter);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 22px; padding: 8px 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 10px; }
@media (max-width: 1099px) {
  .wp-block-buttons.cc-header-cta { display: none; }
  .cc-header .wp-block-site-logo img { width: 160px; }
}
/* Menú hamburguesa hasta 1099 px (WordPress solo lo activa por debajo de 600 px) */
@media (min-width: 600px) and (max-width: 1099px) {
  .cc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .cc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: var(--cc-azul); }

/* Botón fijo de WhatsApp en móvil y tableta */
.wp-block-buttons.cc-mobile-cta { display: none; }
html.has-modal-open .wp-block-buttons.cc-mobile-cta, body:has(.cc-booking-card) .wp-block-buttons.cc-mobile-cta { display: none !important; }
@media (max-width: 1099px) {
  .wp-block-buttons.cc-mobile-cta {
    display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    margin: 0 !important; justify-content: center;
  }
  .cc-mobile-cta .wp-block-button { width: 100%; max-width: 480px; }
  .cc-mobile-cta .wp-block-button__link { width: 100%; box-shadow: 0 8px 24px rgba(14, 33, 56, .28); }
  body { padding-bottom: 80px; }
}

/* ---------- Pie ---------- */
.wp-site-blocks > footer.wp-block-template-part { background: var(--cc-marfil-shade); border-top: 1px solid var(--cc-hairline); }
.cc-footer { max-width: calc(var(--cc-max) + 2 * var(--cc-gutter)); margin: 0 auto; padding: 56px var(--cc-gutter) 40px; font-size: 15px; color: var(--cc-pizarra); }
.cc-footer > * { margin-block: 0; }
.cc-footer > * + * { margin-block-start: 10px; }
.cc-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; margin-bottom: 28px !important; }
.cc-footer__top > * { margin: 0 !important; }
.cc-footer .wp-block-site-logo img { width: 190px; }
.cc-footer__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cc-footer__links a { font-weight: 600; color: var(--cc-azul); }
.cc-footer__links a:hover, .cc-legal a:hover { color: var(--cc-terracota); }
.cc-legal a { color: var(--cc-pizarra); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas normales y blog ---------- */
.cc-page { padding: clamp(40px, 6vw, 72px) var(--cc-gutter) var(--cc-sec-y); }
.cc-page .wp-block-post-title { font-size: clamp(34px, 5vw, 48px); margin-bottom: 24px; }
.cc-page h2 { margin-top: 40px; font-size: clamp(24px, 3vw, 30px); }
.cc-meta { color: var(--cc-pizarra); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Iconos (clase i-NOMBRE en cualquier párrafo, título o elemento de lista) ---------- */
.i-users::before, .i-bed::before, .i-waves::before, .i-car::before, .i-utensils::before, .i-tree::before, .i-laptop::before, .i-wifi::before, .i-thermo::before, .i-washer::before, .i-fridge::before, .i-clock::before, .i-key::before, .i-file::before, .i-stairs::before, .i-ban::before, .i-message::before, .i-pin::before, .i-mountain::before, .i-anchor::before, .i-sun::before, .i-gem::before, .i-map::before, .i-umbrella::before, .i-sport::before, .i-pool::before, .i-calendar::before, .i-lock::before, .i-check::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: currentColor; color: var(--cc-icon, var(--cc-terracota));
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
  background-color: var(--cc-icon, var(--cc-terracota));
}
.i-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.i-bed { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8'/%3E%3Cpath d='M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4'/%3E%3Cpath d='M12 4v6'/%3E%3Cpath d='M2 18h20'/%3E%3C/svg%3E"); }
.i-waves { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3C/svg%3E"); }
.i-car { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.i-utensils { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7'/%3E%3C/svg%3E"); }
.i-tree { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z'/%3E%3Cpath d='M12 22v-3'/%3E%3C/svg%3E"); }
.i-laptop { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16'/%3E%3C/svg%3E"); }
.i-wifi { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h.01'/%3E%3Cpath d='M2 8.82a15 15 0 0 1 20 0'/%3E%3Cpath d='M5 12.86a10 10 0 0 1 14 0'/%3E%3Cpath d='M8.5 16.43a5 5 0 0 1 7 0'/%3E%3C/svg%3E"); }
.i-thermo { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z'/%3E%3Cpath d='M20 4l-1 1M20 10h1M17 7h.01'/%3E%3C/svg%3E"); }
.i-washer { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h3'/%3E%3Cpath d='M17 6h.01'/%3E%3Crect width='18' height='20' x='3' y='2' rx='2'/%3E%3Ccircle cx='12' cy='13' r='5'/%3E%3Cpath d='M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5'/%3E%3C/svg%3E"); }
.i-fridge { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z'/%3E%3Cpath d='M5 10h14'/%3E%3Cpath d='M15 7v6'/%3E%3C/svg%3E"); }
.i-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.i-key { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E"); }
.i-file { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E"); }
.i-stairs { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h5v-5h5v-5h5V6h3'/%3E%3C/svg%3E"); }
.i-ban { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m4.9 4.9 14.2 14.2'/%3E%3C/svg%3E"); }
.i-message { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
.i-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
:root { --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E"); }
.i-mountain { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); }
.i-anchor { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3C/svg%3E"); }
.i-sun { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E"); }
.i-gem { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 13L2 9Z'/%3E%3Cpath d='M11 3 8 9l4 13 4-13-3-6'/%3E%3Cpath d='M2 9h20'/%3E%3C/svg%3E"); }
.i-map { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3C/svg%3E"); }
.i-umbrella { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12a10 10 0 0 0-20 0Z'/%3E%3Cpath d='M12 12v8a2 2 0 0 0 4 0'/%3E%3Cpath d='M12 2v1'/%3E%3C/svg%3E"); }
.i-sport { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 6.5 11 11'/%3E%3Cpath d='m21 21-1-1'/%3E%3Cpath d='m3 3 1 1'/%3E%3Cpath d='m18 22 4-4'/%3E%3Cpath d='m2 6 4-4'/%3E%3Cpath d='m3 10 7-7'/%3E%3Cpath d='m14 21 7-7'/%3E%3C/svg%3E"); }
.i-pool { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5a2 2 0 0 0-2 2v11'/%3E%3Cpath d='M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M7 13h10'/%3E%3Cpath d='M7 9h10'/%3E%3Cpath d='M9 5a2 2 0 0 0-2 2v11'/%3E%3C/svg%3E"); }
.i-calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
.i-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.i-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
:root { --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
:root { --i-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); --i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
