/* ==========================================================================
   CIELO MARES BUENAVENTURA S.A.S — Hoja de estilos única
   Paleta derivada del logo: azul marino / azul cielo / amarillo sol
   ========================================================================== */

:root {
    --navy: #06263e;        /* marino profundo: header oscuro, footer */
    --navy-2: #0a3557;      /* marino medio: degradados */
    --ocean: #0b80c4;       /* azul principal del logo */
    --sky: #38b6e4;         /* celeste del logo */
    --sun: #ffce1f;         /* amarillo sol del logo (acento) */
    --foam: #f2f8fc;        /* fondo alterno claro */
    --ink: #12283a;         /* texto principal */
    --mist: #5b7186;        /* texto secundario */
    --white: #ffffff;
    --line: #e3edf4;
    --wsp: #25d366;
    --radius: 18px;
    --shadow: 0 12px 30px rgba(6, 38, 62, 0.08);
    --shadow-lg: 0 24px 50px rgba(6, 38, 62, 0.14);
    --t: all .35s cubic-bezier(.25, .8, .3, 1);
    --font-display: 'Archivo', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.65;
    padding-top: 118px; /* topbar + header */
}

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.top-bar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--navy);
    color: #cfe3f2;
    font-size: .82rem;
    z-index: 1001;
    padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top-bar a { color: #cfe3f2; text-decoration: none; transition: var(--t); }
.top-bar a:hover { color: var(--sun); }
.top-bar i { color: var(--sun); margin-right: 6px; }
.top-bar .wsp-link { color: #7cf0a8; font-weight: 600; }
.contact-info span { margin-left: 18px; }
.social-top a { margin-left: 14px; }

/* --------------------------------------------------------------------------
   Header / navegación
   -------------------------------------------------------------------------- */
header.site-header {
    position: fixed; top: 36px; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 6%;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: box-shadow .3s ease, padding .3s ease;
}
header.site-header.scrolled { box-shadow: 0 6px 20px rgba(6,38,62,.08); padding: 8px 6%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); letter-spacing: .02em; }
.brand-name strong span { color: var(--ocean); }
.brand-name small { font-size: .62rem; letter-spacing: .22em; color: var(--mist); text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
    color: var(--ink); text-decoration: none;
    font-size: .88rem; font-weight: 600;
    padding-bottom: 4px; position: relative;
    transition: var(--t);
}
nav.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 3px; border-radius: 3px;
    background: var(--sun);
    transition: width .3s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--ocean); }
.nav-cta {
    background: var(--ocean); color: #fff !important;
    padding: 10px 22px; border-radius: 40px;
    box-shadow: 0 6px 16px rgba(11,128,196,.28);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-2); transform: translateY(-2px); }

.menu-toggle { display: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; background: none; border: none; }

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */
.hero { position: relative; height: calc(100vh - 118px); min-height: 560px; overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.active img { transform: scale(1); }
.slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(78deg, rgba(6,38,62,.88) 0%, rgba(6,38,62,.55) 42%, rgba(6,38,62,.08) 75%);
}
.slide-content {
    position: absolute; top: 50%; left: 6%; transform: translateY(-46%);
    z-index: 3; max-width: 640px; opacity: 0;
    transition: opacity .8s ease .45s, transform .8s ease .45s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(-50%); }
.slide-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--sun); font-weight: 700; font-size: .8rem;
    letter-spacing: .26em; text-transform: uppercase; margin-bottom: 18px;
}
.slide-kicker::before { content: ''; width: 34px; height: 3px; background: var(--sun); border-radius: 2px; }
.slide-content h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; margin-bottom: 18px; }
.slide-content h1 span { color: var(--sky); }
.slide-content p { color: #dcebf6; font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }

.btn { display: inline-block; font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 40px; padding: 15px 34px; transition: var(--t); border: none; cursor: pointer; font-family: var(--font-body); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 8px 22px rgba(255,206,31,.35); }
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(255,206,31,.45); }
.btn-ocean { background: var(--ocean); color: #fff; box-shadow: 0 8px 22px rgba(11,128,196,.3); }
.btn-ocean:hover { background: var(--navy-2); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); margin-left: 12px; }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); }

/* Ola separadora (firma visual) */
.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 4; line-height: 0; }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* Puntos del slider */
.hero-dots { position: absolute; bottom: 92px; left: 6%; z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: var(--t); }
.hero-dots button.active { background: var(--sun); width: 52px; }

/* --------------------------------------------------------------------------
   Tarjetas de mareas (superpuestas al hero)
   -------------------------------------------------------------------------- */
.tides { position: relative; z-index: 10; margin-top: -46px; padding-bottom: 30px; }
.tides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tide-card {
    display: flex; align-items: center; gap: 18px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 26px; text-decoration: none; box-shadow: var(--shadow);
    transition: var(--t);
}
.tide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.tide-icon { flex: none; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--foam); color: var(--ocean); }
.tide-card:hover .tide-icon { background: var(--sun); color: var(--navy); }
.tide-info h3 { font-size: 1.02rem; margin-bottom: 2px; }
.tide-info p { font-size: .85rem; color: var(--mist); }
.tide-card .ext { margin-left: auto; color: #c3d6e2; }

/* --------------------------------------------------------------------------
   Secciones genéricas
   -------------------------------------------------------------------------- */
.section { padding: 90px 0; }
.section.alt { background: var(--foam); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff7dd; color: #8a6d00; border: 1px solid #f4e3a1;
    font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 30px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.section-head h2, .section-head-left h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 900; }
.section-head p { color: var(--mist); margin-top: 12px; }
.section-head h2 span, .section-head-left h2 span { color: var(--ocean); }

/* --------------------------------------------------------------------------
   Quiénes somos
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-image::after {
    content: ''; position: absolute; inset: auto -16px -16px auto;
    width: 120px; height: 120px; border-radius: var(--radius);
    background: repeating-linear-gradient(45deg, var(--sun) 0 6px, transparent 6px 14px);
    z-index: -1; opacity: .8;
}
.about-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.about-content > p { color: var(--mist); margin-bottom: 22px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.mv-item { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sun); border-radius: 14px; padding: 22px; }
.section.alt .mv-item { background: #fff; }
.mv-item h4 { color: var(--ocean); font-size: 1rem; margin-bottom: 8px; }
.mv-item p { font-size: .88rem; color: var(--mist); }

.values-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.value-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 30px;
    padding: 9px 18px; font-size: .84rem; font-weight: 600; color: var(--ink);
    transition: var(--t);
}
.value-tag i { color: var(--ocean); }
.value-tag:hover { border-color: var(--sun); transform: translateY(-3px); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 38px 30px; transition: var(--t); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--ocean), var(--sky));
    transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box {
    width: 62px; height: 62px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--foam); color: var(--ocean); font-size: 1.5rem;
    margin-bottom: 22px; transition: var(--t);
}
.service-card:hover .icon-box { background: var(--sun); color: var(--navy); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--mist); }
.service-card ul { list-style: none; margin-top: 14px; }
.service-card ul li { font-size: .88rem; color: var(--mist); padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before {
    content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--ocean); position: absolute; left: 0;
}

/* --------------------------------------------------------------------------
   Franja institucional (DIMAR / SuperTransporte / ARL)
   -------------------------------------------------------------------------- */
.institutional { background: var(--navy); padding: 64px 0; }
.institutional .section-head { margin-bottom: 40px; }
.institutional h2 { color: #fff; font-size: 1.5rem; }
.institutional p { color: #9db8cc; font-size: .92rem; }
.inst-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; }
.inst-logo {
    background: #fff; border-radius: 14px; padding: 18px 30px;
    display: flex; align-items: center; justify-content: center;
    min-height: 92px; flex: 1 1 240px; max-width: 320px;
    transition: var(--t);
}
.inst-logo img { max-height: 60px; width: auto; object-fit: contain; }
.inst-logo:hover { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(100deg, var(--ocean), var(--navy-2));
    border-radius: var(--radius); padding: 56px 6%;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,206,31,.35), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: #d8eaf6; margin-top: 6px; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Encabezados de páginas internas
   -------------------------------------------------------------------------- */
.page-header {
    background:
        linear-gradient(80deg, rgba(6,38,62,.92) 0%, rgba(10,53,87,.78) 55%, rgba(11,128,196,.5) 100%),
        var(--navy);
    background-size: cover; background-position: center;
    padding: 96px 0 120px; position: relative; text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 900; margin: 10px 0 12px; }
.page-header p { color: #cfe3f2; max-width: 620px; margin: 0 auto; }
.page-header .wave-divider svg path { fill: #fff; }
.page-header.to-foam .wave-divider svg path { fill: var(--foam); }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items: start; }
.info-card { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--ocean); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.info-item h4 { font-size: .98rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .87rem; color: var(--mist); text-decoration: none; }
.info-item a:hover { color: var(--ocean); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 15px; font-size: .93rem; font-family: var(--font-body);
    border: 1.5px solid var(--line); border-radius: 12px; outline: none;
    background: #fff; color: var(--ink); transition: var(--t);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(11,128,196,.12);
}
.form-note { font-size: .8rem; color: var(--mist); margin-top: 14px; text-align: center; }
.form-note i { color: var(--wsp); }

.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 420px; margin-top: 60px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Galería de operaciones
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: 14px;
    cursor: pointer; border: 1px solid var(--line);
    aspect-ratio: 4 / 3; background: var(--foam);
    padding: 0; font: inherit; appearance: none; display: block; width: 100%;
}
.gallery-item:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 14px 12px;
    background: linear-gradient(to top, rgba(6,38,62,.85), transparent);
    color: #fff; font-size: .8rem; font-weight: 600; text-align: left;
    opacity: 0; transform: translateY(8px); transition: var(--t);
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(4, 20, 34, .93);
    display: none; align-items: center; justify-content: center;
    padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 100%; max-height: 82vh;
    border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.lightbox .lb-cap { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: #cfe3f2; font-size: .9rem; }
.lightbox button {
    position: absolute; background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
    width: 46px; height: 46px; font-size: 1.1rem; cursor: pointer; transition: var(--t);
}
.lightbox button:hover { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer.site-footer { background: var(--navy); color: #b9cede; padding: 80px 0 0; margin-top: 90px; position: relative; }
footer .footer-wave { position: absolute; top: -58px; left: 0; width: 100%; line-height: 0; }
footer .footer-wave svg { width: 100%; height: 60px; display: block; transform: rotate(180deg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-about img { height: 92px; width: auto; margin-bottom: 16px; }
.footer-about p { font-size: .9rem; }
.footer-title { color: #fff; font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--sun); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b9cede; text-decoration: none; font-size: .9rem; transition: var(--t); }
.footer-links a:hover { color: var(--sun); padding-left: 5px; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .9rem; }
.footer-contact i { color: var(--sun); margin-top: 4px; }
.footer-contact a { color: #b9cede; text-decoration: none; }
.footer-contact a:hover { color: var(--sun); }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: var(--t);
}
.social-links a:hover { background: var(--sun); color: var(--navy); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: .82rem; color: #7e99ad; }

/* --------------------------------------------------------------------------
   Widget WhatsApp
   -------------------------------------------------------------------------- */
.wsp-container { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; align-items: center; gap: 10px; cursor: pointer; filter: drop-shadow(0 6px 16px rgba(0,0,0,.22)); }
.wsp-text { background: #fff; padding: 10px 18px; border-radius: 40px 40px 6px 40px; font-size: .82rem; font-weight: 700; color: var(--ink); border: 1px solid var(--line); }
.wsp-text span { display: block; color: var(--wsp); font-size: .72rem; font-weight: 500; }
.wsp-text span::before { content: '●'; margin-right: 5px; font-size: .6rem; }
.wsp-icon { width: 62px; height: 62px; background: var(--wsp); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; border: 4px solid #fff; transition: var(--t); }
.wsp-container:hover .wsp-icon { transform: scale(1.08); }
.wsp-menu { position: absolute; bottom: 84px; right: 0; width: 260px; background: #fff; border-radius: 16px; overflow: hidden; display: none; flex-direction: column; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: wspUp .3s ease-out; }
@keyframes wspUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.wsp-menu-header { background: var(--wsp); color: #fff; padding: 14px 16px; font-size: .84rem; font-weight: 700; }
.wsp-option { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; border-bottom: 1px solid #f4f8f5; transition: var(--t); }
.wsp-option:hover { background: #f2fdf6; }
.wsp-option strong { font-size: .86rem; color: var(--wsp); }
.wsp-option span { font-size: .74rem; color: var(--mist); }

/* --------------------------------------------------------------------------
   Animación reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; max-width: 560px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { padding-top: 104px; }
    .contact-info span, .top-bar .social-top a:not(.wsp-link) { display: none; }
    header.site-header { top: 33px; padding: 8px 5%; }
    .brand img { height: 52px; }
    .brand-name small { display: none; }

    .menu-toggle { display: block; }
    nav.main-nav {
        position: fixed; top: 96px; left: 0; width: 100%;
        background: #fff; flex-direction: column; gap: 0;
        display: none; padding: 14px 0 22px;
        box-shadow: 0 14px 20px rgba(6,38,62,.12);
    }
    nav.main-nav.open { display: flex; }
    nav.main-nav a { margin: 10px 0; font-size: 1.02rem; }
    .nav-cta { margin-top: 8px; }

    .hero { min-height: 520px; height: 78vh; }
    .slide-content { left: 5%; right: 5%; max-width: none; }
    .btn-ghost { margin-left: 0; margin-top: 12px; }
    .hero-dots { bottom: 84px; }

    .section { padding: 64px 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
    .footer-contact li, .social-links, .footer-about { justify-content: center; }
    .footer-about img { margin: 0 auto 16px; }
    .footer-contact li { justify-content: center; }
    .cta-band { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .wsp-text { display: none; }
    .tide-card { padding: 18px; }
}
