/* =========================================================
   GALAPAGOS POINT TRAVEL — ESTILOS COMPARTIDOS
   Encabezado, navegación, botones, contenedores y footer.
   Shared public-site styles.
   ========================================================= */

:root {
    --primary-color: #123b5d;
    --primary-deep: #082a45;
    --secondary-color: #087e8b;
    --accent-color: #f2a900;
    --accent-hover: #d99400;
    --whatsapp-green: #25d366;
    --bg-light: #f5f8fa;
    --text-color: #435363;
    --text-muted: #758391;
    --white: #fff;
    --border-color: #e3e9ed;
    --shadow-sm: 0 4px 14px rgba(8, 42, 69, .07);
    --shadow-md: 0 12px 32px rgba(8, 42, 69, .12);
    --shadow-lg: 0 22px 55px rgba(8, 42, 69, .18);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --content-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    color: var(--text-color);
    background: var(--white);
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--secondary-color); }

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    width: 100%;
    min-height: 88px;
    padding: 12px max(24px, calc((100vw - 1240px) / 2));
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(18,59,93,.08);
    box-shadow: 0 2px 14px rgba(8,42,69,.055);
}
.logo-container { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--primary-color); text-decoration: none; }
.logo-container img { display: block; width: auto; height: 54px; max-width: 180px; object-fit: contain; }
.logo-container h1 { margin: 0; color: var(--primary-color); font-family: 'Montserrat', 'Segoe UI', sans-serif; font-size: clamp(1rem,1.5vw,1.23rem); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.logo-container:hover h1 { color: var(--secondary-color); }
header nav { min-width: 0; }
header nav ul { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
header nav ul li { margin: 0; padding: 0; list-style: none; }
header nav ul li a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; color: #31495b; font-size: .9rem; font-weight: 700; line-height: 1.35; text-decoration: none; transition: color .2s ease, background .2s ease; }
header nav ul li a:hover, header nav ul li a[aria-current="page"], header nav ul li a.active { color: var(--secondary-color); }
header nav ul li a.nav-btn-cta, .nav-btn-cta {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px;
    border: 1px solid var(--secondary-color); border-radius: 4px; background: var(--secondary-color); color: #fff !important;
    font-size: .88rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
header nav ul li a.nav-btn-cta:hover, .nav-btn-cta:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.language-selector { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.language-selector a { min-width: 26px; min-height: 32px; padding: 4px; border-radius: 4px; font-size: .8rem; font-weight: 800; }
.language-selector a.active { color: var(--secondary-color); background: #e8f3f5; }
.language-selector span { color: #bac5cd; font-size: .8rem; }

/* Shared layout and headings */
.container { width: min(var(--content-width), calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.section-title { margin: 0 0 18px; color: var(--primary-color); font-family: 'Montserrat', 'Segoe UI', sans-serif; font-size: clamp(1.8rem,3vw,2.55rem); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-eyebrow { display: inline-block; margin-bottom: 10px; color: var(--secondary-color); font-size: .76rem; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.section-intro { max-width: 680px; margin: 0 auto; color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 22px; border: 1px solid var(--secondary-color); border-radius: 4px; background: var(--secondary-color); color: #fff; font-size: .9rem; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn:hover { border-color: var(--primary-color); background: var(--primary-color); color: #fff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn:disabled, .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { border-color: var(--primary-color); background: transparent; color: var(--primary-color); }
.btn-outline:hover { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
.btn-light { border-color: #fff; background: #fff; color: var(--primary-color); }
.btn-light:hover { border-color: var(--accent-color); background: var(--accent-color); color: var(--primary-deep); }

/* WhatsApp */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border: 2px solid rgba(255,255,255,.95); border-radius: 50%; background: var(--whatsapp-green); color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.22); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.whatsapp-float svg { display: block; width: 31px; height: 31px; fill: currentColor; }

/* Footer */
footer { margin-top: 0; padding: 30px 24px; background: #082a45; color: #dce6ec; text-align: center; }
footer p { max-width: 1100px; margin: 0 auto; font-size: .86rem; line-height: 1.8; }
footer a { color: #f2c45d; font-weight: 700; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
    header { gap: 16px; padding-right: 24px; padding-left: 24px; }
    .logo-container { gap: 8px; }
    .logo-container img { height: 45px; max-width: 140px; }
    header nav ul { gap: 5px 12px; }
    header nav ul li a { font-size: .84rem; }
    header nav ul li a.nav-btn-cta, .nav-btn-cta { padding: 9px 11px; font-size: .82rem; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 18px; }
    header { position: relative; align-items: flex-start; flex-direction: column; gap: 10px; min-height: auto; padding: 14px 18px; }
    .logo-container { max-width: 100%; }
    .logo-container img { height: 40px; max-width: 115px; }
    .logo-container h1 { font-size: 1.04rem; }
    header nav { width: 100%; }
    header nav ul { justify-content: flex-start; gap: 4px 10px; }
    header nav ul li a { min-height: 34px; font-size: .82rem; }
    header nav ul li a.nav-btn-cta, .nav-btn-cta { min-height: 35px; padding: 7px 10px; font-size: .8rem; }
    .container { width: calc(100% - 34px); }
    .section-title { margin-bottom: 16px; font-size: clamp(1.65rem,7vw,2.1rem); }
    .whatsapp-float { right: 15px; bottom: 15px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    footer { padding: 24px 16px; }
    footer p { font-size: .8rem; }
}
@media (max-width: 380px) {
    header { padding-right: 12px; padding-left: 12px; }
    header nav ul { gap: 3px 7px; }
    header nav ul li a { font-size: .77rem; }
    .logo-container img { height: 34px; max-width: 98px; }
    .logo-container h1 { font-size: .94rem; }
    .container { width: calc(100% - 26px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
