/* =========================================================
   ESTELA · deniacharter.es · yootheme-child/css/custom.css
   Fuentes (YOOtheme > Estilo > Tipografía, carga local):
     Titulares: Fraunces 500   ·   Texto: Inter 400/600
   Colores en el Estilo de YOOtheme:
     Primario #0B1D2A · Secundario #0B1D2A · Muted #EFEBE3
     Fondo #F7F5F0 · Acento (botón primario) #C9A46A
   ========================================================= */

:root {
  --estela-ink: #0B1D2A;
  --estela-sand: #C9A46A;
  --estela-cream: #F7F5F0;
  --estela-muted: #EFEBE3;
  --estela-radius: 18px;
  --estela-shadow: 0 18px 40px rgba(11, 29, 42, .10);
}

body { background: var(--estela-cream); color: #2A3640; }
.uk-section-default { background: var(--estela-cream); }
.uk-section-muted   { background: var(--estela-muted); }
.uk-section-secondary { background: var(--estela-ink); }

/* Titulares */
h1, h2, h3, .uk-h1, .uk-h2, .uk-h3, .uk-heading-xlarge, .uk-heading-large {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.uk-h4, .uk-h5 { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0; }

/* Overline */
.estela-overline p {
  margin: 0;
  font: 600 .75rem/1 'Inter', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--estela-sand);
}
.estela-lead { max-width: 640px; opacity: .92; }
.estela-prose { font-size: 1.05rem; line-height: 1.75; }

/* Botones */
.uk-button { border-radius: 999px; text-transform: none; font-weight: 600; letter-spacing: 0; transition: transform .2s, box-shadow .2s, background .2s; }
.uk-button:hover { transform: translateY(-2px); }
.uk-button-primary { background: var(--estela-sand); color: var(--estela-ink); }
.uk-button-primary:hover { background: #B8924F; color: var(--estela-ink); box-shadow: var(--estela-shadow); }
.uk-light .uk-button-default { border-color: rgba(255,255,255,.6); color: #fff; }

/* Hero */
.estela-hero { min-height: 92vh; }
.estela-hero .uk-heading-xlarge { font-size: clamp(2.6rem, 7vw, 6rem); }

/* Imágenes de barcos: SIEMPRE completas, sin recorte (llevan texto incrustado) */
.estela-full img,
.estela-boats img,
.estela-img img { width: 100%; height: auto !important; object-fit: contain; }
.estela-full img { border-radius: var(--estela-radius); box-shadow: var(--estela-shadow); }
.estela-hero-ficha { padding-top: 40px; }

/* Ventajas */
.estela-features .uk-icon { color: var(--estela-sand); }
.estela-strip { border-bottom: 1px solid rgba(11,29,42,.08); }

/* Tarjetas de barcos */
.estela-boats .uk-inline-clip,
.estela-boats img,
.estela-img img,
.estela-gallery img,
.estela-routes .uk-cover-container,
.estela-routes img { border-radius: var(--estela-radius); }
.estela-boats .el-title { margin-top: 12px; }
.estela-boats .el-meta { color: var(--estela-sand); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.estela-boats .el-content { font-size: .95rem; opacity: .8; }

/* Filtro de la flota */
.estela-boats .uk-subnav-pill > * > a { border-radius: 999px; padding: 8px 18px; background: #fff; color: var(--estela-ink); text-transform: none; }
.estela-boats .uk-subnav-pill > .uk-active > a { background: var(--estela-ink); color: #fff; }

/* Pasos */
.estela-steps .el-meta { color: var(--estela-sand); font-family: 'Fraunces', serif; }

/* Ficha: columna de reserva y tarjetas */
.estela-booking, .estela-card {
  border-radius: var(--estela-radius);
  box-shadow: var(--estela-shadow);
  background: #fff !important;
}
.uk-section-secondary .estela-booking { background: #13293A !important; }
.estela-card-title { margin-bottom: 12px; }
.estela-note p { font-size: .82rem; opacity: .65; margin: 0; }

/* Ficha técnica (wysiwyg «caracteristicas»): lista como filas */
.estela-specs ul { list-style: none; padding: 0; margin: 0; }
.estela-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(11,29,42,.08); font-size: .95rem; }
.estela-specs li strong { font-weight: 600; opacity: .7; }
.uk-light .estela-specs li { border-color: rgba(255,255,255,.12); }

/* Extras (wysiwyg «Extras»): lista con check */
.estela-check ul { list-style: none; padding: 0; }
.estela-check li { position: relative; padding: 6px 0 6px 28px; }
.estela-check li::before { content: "✓"; position: absolute; left: 0; color: var(--estela-sand); font-weight: 700; }

/* Tarifas (wysiwyg «Tarifas»): anula los estilos inline y la hace responsive */
.estela-tarifas table {
  width: 100% !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--estela-radius);
  overflow: hidden;
  box-shadow: var(--estela-shadow);
  font-size: .95rem;
}
.estela-tarifas th, .estela-tarifas td { border: 0 !important; padding: 14px 16px !important; text-align: left; }
.estela-tarifas thead th { background: var(--estela-ink); color: #fff; font-weight: 600; }
.estela-tarifas tbody tr:nth-child(even) { background: #FAF8F4; }
.estela-tarifas tbody td:first-child { font-weight: 600; }
.uk-light .estela-tarifas table { background: #13293A; }
.uk-light .estela-tarifas tbody tr:nth-child(even) { background: #172F42; }
@media (max-width: 639px) {
  .estela-tarifas table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Barra fija de reserva en móvil (sección «Barra móvil», oculta desde M) */
.estela-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  background: rgba(247,245,240,.92) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(11,29,42,.12);
}
.estela-mobilebar .uk-margin-medium-top { margin-top: 0 !important; }
@media (max-width: 959px) { body { padding-bottom: 76px; } }

/* Respeta a quien desactiva las animaciones */
@media (prefers-reduced-motion: reduce) {
  .uk-button:hover { transform: none; }
}
