/* =========================================================
   JM Corredores de Seguros — Modern (Navy + Dorado)
   Mobile-first, no framework, no jQuery deps.
   ========================================================= */

:root {
    /* ===== Fondos / azules ===== */
    --navy-900: #0a1f3d;   /* hero, footer */
    --navy-800: #0f2a4f;   /* secciones azules secundarias */
    --navy-700: #14365f;   /* hover de cards oscuras */
    --navy-600: #1f4b85;
    --navy-100: #e6eef9;

    /* ===== Dorado champagne ===== */
    --gold-600: #b8954a;   /* hover de botones dorados (oscurecido) */
    --gold-500: #c9a961;   /* acento principal */
    --gold-400: #d9be7f;   /* detalles suaves */
    --gold-100: rgba(201, 169, 97, 0.10); /* badges */

    /* ===== Naranja de marca (logo) ===== */
    --brand-500: #e1692d;  /* acento puntual, hover de botones */
    --brand-600: #c75617;  /* hover oscuro */
    --brand-300: #f08a55;  /* fondos suaves */

    /* ===== Texto ===== */
    --ink-900: #0a1f3d;    /* texto principal sobre crema/blanco */
    --ink-700: #283449;
    --ink-500: #5a6b82;
    --ink-300: #98a4ba;

    /* ===== Papel / claros ===== */
    --paper:   #f5f1e8;    /* crema cálido */
    --paper-2: #ede7d6;
    --white:   #ffffff;
    --line:    #e5dfd0;

    /* ===== Sobre azul ===== */
    --on-dark:        #ffffff;
    --on-dark-muted:  #b8c5d6;
    --border-on-dark: rgba(255, 255, 255, 0.08);

    --success: #2d8659;
    --danger:  #b83a3a;
    --warning: #d4912c;

    --shadow-1: 0 1px 3px rgba(10, 31, 61, 0.06), 0 2px 8px rgba(10, 31, 61, 0.04);
    --shadow-2: 0 10px 30px rgba(10, 31, 61, 0.10);
    --shadow-3: 0 30px 80px rgba(10, 31, 61, 0.18);
    --radius: 10px;
    --radius-lg: 16px;
    --container: 1200px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink-700);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-600); }
p { margin: 0 0 1rem; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-sans);
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
.eyebrow {
    display: inline-block;
    color: var(--gold-600);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ---- Containers / utilities ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--paper-2); }
.section-navy { background: var(--navy-900); color: rgba(255,255,255,.86); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { color: var(--ink-500); font-size: 1.08rem; }
.section-navy .section-head p { color: rgba(255,255,255,.7); }
.text-center { text-align: center; }
.muted { color: var(--ink-500); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-gold {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}
.btn-gold:hover {
    /* Firma de marca: el dorado pasa a naranja del logo en hover */
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: var(--on-dark);
}
.btn-navy {
    background: var(--navy-800);
    color: #fff;
}
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.btn-ghost-dark {
    background: transparent;
    color: var(--navy-800);
    border-color: var(--navy-800);
}
.btn-ghost-dark:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }

/* ---- Navbar ---- */
.site-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 22px;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    transition: opacity .15s ease;
}
.nav-brand:hover { opacity: 0.85; text-decoration: none; }
.nav-logo {
    height: 56px;
    width: auto;
    display: block;
}
@media (max-width: 600px) {
    .nav-logo { height: 44px; }
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--ink-700);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--brand-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.nav-links a:hover { color: var(--navy-800); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--navy-900); font-weight: 600; }
.nav-links a.is-active::after { transform: scaleX(1); background: var(--gold-500); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 36px; height: 36px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    transition: transform .2s ease, opacity .2s ease;
}
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 10px 22px 16px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta .btn { padding: 9px 14px; font-size: 0.85rem; }
}

/* ---- Hero ---- */
.hero {
    background:
        radial-gradient(900px 700px at 80% -10%, rgba(201,169,97,0.18), transparent 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1' cy='1' r='1' fill='%23ffffff' opacity='0.04'/></svg>");
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    color: #fff;
    margin-bottom: 18px;
}
.hero-text h1 .accent {
    color: var(--gold-500);
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
}
.hero-text p {
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust .trust-item strong {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--gold-500);
    line-height: 1;
    font-weight: 600;
}
.hero-trust .trust-item small {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: 0.83rem;
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    box-shadow: var(--shadow-3);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10,31,61,.5) 100%);
}

@media (max-width: 880px) {
    .hero { padding: 50px 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { aspect-ratio: 16 / 10; order: -1; }
    .hero-trust { gap: 20px 30px; }
    .hero-trust .trust-item strong { font-size: 1.5rem; }
}

/* ---- Logo strip (clientes / partners) — marquee infinito ---- */
.logos-strip {
    padding: 40px 0;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.logos-strip .strip-label {
    text-align: center;
    color: var(--ink-500);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.logos-marquee {
    position: relative;
    overflow: hidden;
    /* Fade en los bordes para que los logos entren/salgan elegantes */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
    display: flex;
    width: max-content;
    gap: 70px;
    align-items: center;
    animation: marquee-scroll 35s linear infinite;
    will-change: transform;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.logos-track a,
.logos-track .logo-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 48px;
}
.logos-track img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity .2s ease, filter .2s ease;
}
.logos-track a:hover img,
.logos-track .logo-item:hover img { opacity: 1; filter: grayscale(0%); }
@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; transform: translateX(0); justify-content: center; flex-wrap: wrap; }
}

/* ---- Cards de Seguros ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 960px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

.card-seguro {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
}
.card-seguro:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--gold-400);
    text-decoration: none;
}
.card-seguro .card-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: var(--gold-100);
    color: var(--gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.card-seguro h3 {
    color: var(--navy-900);
    margin-bottom: 8px;
    font-size: 1.18rem;
}
.card-seguro p { color: var(--ink-500); font-size: 0.94rem; flex: 1; }
.card-seguro .more {
    color: var(--gold-600);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 12px;
}
.card-seguro:hover .more { color: var(--navy-800); }

/* ---- Split section ("About") ---- */
.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.split-reverse { grid-template-columns: 1.1fr 1fr; direction: rtl; }
.split-reverse > * { direction: ltr; }
@media (max-width: 880px) { .split, .split-reverse { grid-template-columns: 1fr; gap: 30px; } }
.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    box-shadow: var(--shadow-2);
    background: var(--paper-2);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-text .eyebrow { margin-bottom: 12px; }
.split-text h2 { margin-bottom: 16px; }
.split-text ul.checks {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}
.split-text ul.checks li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--ink-700);
}
.split-text ul.checks li::before {
    content: '✓';
    color: var(--gold-600);
    font-weight: 700;
    position: absolute;
    left: 0; top: 8px;
    width: 18px; height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- Stats / valores ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
    text-align: center;
    padding: 22px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--navy-800);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    color: var(--ink-500);
    font-size: 0.83rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Pricing (Seguros obligatorios) ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: transform .15s ease, box-shadow .2s ease;
}
.price-card.is-highlighted {
    border-color: var(--gold-500);
    border-width: 2px;
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.price-card.is-highlighted:hover { transform: translateY(-8px); }
.price-card .ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
}
.price-card h3 { color: var(--navy-900); }
.price-card .price {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: var(--navy-800);
    font-weight: 700;
    margin: 14px 0 4px;
    line-height: 1;
}
.price-card .price small {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--ink-500);
    font-weight: 500;
    margin-left: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.price-card .period { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 24px; }
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 26px;
    text-align: left;
}
.price-card ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    border-bottom: 1px dashed var(--line);
    font-size: 0.93rem;
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before {
    content: '✓';
    color: var(--gold-600);
    position: absolute;
    left: 0; top: 8px;
    font-weight: 700;
}

/* ---- Testimonios ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}
.testimonial .stars { color: var(--gold-500); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote {
    margin: 0 0 20px;
    font-size: 1.02rem;
    color: var(--ink-700);
    line-height: 1.6;
    flex: 1;
    quotes: "“" "”";
}
.testimonial blockquote::before {
    content: open-quote;
    color: var(--gold-500);
    font-family: var(--font-serif);
    font-size: 2.4rem;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}
.testimonial .who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.testimonial .who img {
    width: 42px; height: 42px;
    border-radius: 999px;
    object-fit: cover;
}
.testimonial .who-name { font-weight: 600; color: var(--navy-900); font-size: 0.92rem; }
.testimonial .who-role { color: var(--ink-500); font-size: 0.82rem; }

/* ---- Equipo ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.team-card .photo {
    aspect-ratio: 4 / 5;
    background: var(--paper-2);
    overflow: hidden;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 18px 20px; }
.team-card .body strong { color: var(--navy-900); display: block; }
.team-card .body small { color: var(--gold-600); font-size: 0.83rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Blog cards ---- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post-card .cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper-2);
}
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat {
    color: var(--gold-600);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.post-card h3 { color: var(--navy-900); font-size: 1.1rem; margin-bottom: 10px; }
.post-card p { color: var(--ink-500); font-size: 0.94rem; flex: 1; }
.post-card .read-more {
    color: var(--navy-700);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 14px;
}

/* ---- Form (contact + quote) ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { color: #fff; }
.contact-info .info-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
    color: rgba(255,255,255,.85);
}
.contact-info .info-block .ico {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: rgba(201,169,97,0.18);
    color: var(--gold-400);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-info .info-block strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.contact-info .info-block a { color: rgba(255,255,255,.85); }
.contact-info .info-block a:hover { color: var(--gold-400); }

.form-card-public {
    background: #fff;
    color: var(--ink-700);
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow-2);
}
.form-card-public h3 { color: var(--navy-900); margin-bottom: 6px; }
.form-card-public > p.muted { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-card-public .field { margin-bottom: 14px; }
.form-card-public label {
    display: block;
    color: var(--ink-700);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.form-card-public input[type="text"],
.form-card-public input[type="email"],
.form-card-public input[type="tel"],
.form-card-public select,
.form-card-public textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink-700);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card-public textarea { resize: vertical; min-height: 100px; }
.form-card-public input:focus,
.form-card-public select:focus,
.form-card-public textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.form-card-public .hidden-bot { position: absolute; left: -9999px; }
.form-msg { padding: 10px 14px; border-radius: 6px; font-size: 0.9rem; margin-top: 10px; }
.form-msg.ok { background: #e6f4ec; color: var(--success); }
.form-msg.err { background: #fdecea; color: var(--danger); }

/* ---- Footer ---- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255,255,255,.7);
    padding: 60px 0 26px;
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-grid a { color: rgba(255,255,255,.7); display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand strong { color: #fff; display: block; font-size: 1rem; margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,.6); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    padding: 0 !important;
    transition: background .2s ease, color .15s ease;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-bottom a.footer-internal {
    color: rgba(255,255,255,.4);
    font-size: 0.78rem;
    border-left: 1px solid rgba(255,255,255,.12);
    padding-left: 16px;
    letter-spacing: 0.02em;
}
.footer-bottom a.footer-internal:hover { color: var(--gold-400); }
.footer-dev {
    color: rgba(255,255,255,.55);
    font-size: 0.84rem;
}
.footer-dev a {
    color: var(--gold-400);
    font-weight: 600;
}
.footer-dev a:hover { color: var(--brand-300); }

/* ---- Floating actions ---- */
.float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 22px;
    width: 56px; height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
    z-index: 90;
    transition: transform .15s ease;
}
.float-whatsapp:hover { transform: scale(1.06); text-decoration: none; }
.float-whatsapp svg { width: 28px; height: 28px; }

.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    padding: 10px 14px;
    background: rgba(10, 31, 61, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 80;
    gap: 8px;
}
@media (max-width: 600px) {
    .sticky-cta-mobile { display: flex; }
    body { padding-bottom: 64px; }
    .float-whatsapp { bottom: 78px; }
}
.sticky-cta-mobile .btn { flex: 1; padding: 12px 8px; font-size: 0.85rem; }

/* ---- Cookie banner ---- */
.cookie-banner {
    position: fixed;
    left: 16px; right: 16px;
    bottom: 16px;
    max-width: 440px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-3);
    border: 1px solid var(--line);
    z-index: 110;
    font-size: 0.9rem;
}
.cookie-banner.hide { display: none; }
.cookie-banner p { margin: 0 0 14px; color: var(--ink-700); }
.cookie-banner .actions { display: flex; gap: 8px; }
.cookie-banner .actions .btn { padding: 8px 14px; font-size: 0.85rem; }

/* ---- Misc ---- */
.breadcrumb {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
    font-size: 0.88rem;
    color: var(--ink-500);
}
.breadcrumb a { color: var(--navy-700); }
.breadcrumb a:hover { color: var(--gold-600); }

.alert-public {
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.92rem;
    margin: 16px 0;
}
.alert-public.success { background: #e6f4ec; color: var(--success); border: 1px solid rgba(47,125,91,.2); }
.alert-public.danger  { background: #fdecea; color: var(--danger);  border: 1px solid rgba(192,57,43,.2); }

.section-cta {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: #fff;
    text-align: center;
    padding: 56px 22px;
    border-radius: var(--radius-lg);
    margin: 60px auto;
    max-width: var(--container);
}
.section-cta h2 { color: #fff; margin-bottom: 12px; }
.section-cta p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 24px; }
.section-cta .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
