/* =========================================================
   Veterinaria Romeros · Hoja de estilo principal
   Brand colors:
     --romeros-green: #28747a
     --romeros-green-dark: #1e5a5e
     --romeros-gray: #737373
     --romeros-black: #000000
     --romeros-light: #f8fafb
   Tipografía: Plus Jakarta Sans
   ========================================================= */

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    background: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
section { scroll-margin-top: 100px; }

:root {
    --green: #28747a;
    --green-dark: #1e5a5e;
    --green-soft: #f0f7f8;
    --green-50: #eaf4f5;
    --gray: #737373;
    --gray-soft: #f8fafb;
    --border: #e5e7eb;
    --border-soft: #f1f5f9;
    --black: #000000;
    --white: #ffffff;
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 40px -10px rgba(0,0,0,.12);
    --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Utilidades layout ---------- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }
.section-sm { padding: 4rem 0; }
@media (min-width: 1024px) { .section-sm { padding: 6rem 0; } }

.bg-light { background: var(--gray-soft); }
.bg-dark  { background: var(--black); color: #fff; }
.bg-white { background: #fff; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid { gap: 3rem; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-lg-2 { grid-template-columns: repeat(2, 1fr); }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }

.text-center { text-align: center; }
.max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; } .max-w-4xl { max-width: 56rem; } .max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }

.hidden { display: none !important; }
@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
}

/* ---------- Tipografía ---------- */
.eyebrow {
    font-size: .75rem;
    font-weight: 900;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .3em;
    margin-bottom: 1rem;
    display: inline-block;
}
@media (max-width: 1023px) { .eyebrow { font-size: .625rem; } }

.h1, h1.page-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.2; }
.h4 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--gray); line-height: 1.6; font-weight: 500; }
@media (min-width: 1024px) { .lead { font-size: 1.25rem; } }
.muted { color: var(--gray); }
.text-green { color: var(--green); }
.text-small { font-size: .875rem; }
.text-tiny { font-size: .75rem; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .875rem;
    line-height: 1;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    box-shadow: var(--shadow-sm);
    text-align: center;
    white-space: nowrap;
}
.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 25px -8px rgba(40,116,122,.35);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #222; }
.btn-outline-white { border: 1px solid rgba(255,255,255,.2); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.05); }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1rem; border-radius: 1rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.125rem; border-radius: 1rem; }
.btn-full { display: flex; width: 100%; }
.btn-wa { background: #22c55e; color: #fff; box-shadow: 0 10px 25px -8px rgba(34,197,94,.45); }
.btn-wa:hover { background: #16a34a; }

/* ---------- Navegación ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 6rem; }
.nav-logo img { height: 64px; width: auto; object-fit: contain; }
@media (max-width: 640px) { .nav-logo img { height: 48px; } }
.nav-links { display: none; gap: 2.5rem; font-size: .875rem; font-weight: 700; color: var(--gray); }
.nav-links a { transition: color .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { display: none; align-items: center; gap: 1rem; }
.nav-phone {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .625rem 1rem;
    background: #fef2f2; color: #dc2626;
    border: 1px solid #fee2e2;
    border-radius: 999px;
    font-weight: 700; font-size: .875rem;
}
.nav-phone:hover { background: #fee2e2; }
@media (min-width: 1024px) {
    .nav-links, .nav-cta { display: flex; }
}

.nav-toggle {
    display: flex; flex-direction: column; gap: .375rem;
    padding: .5rem; z-index: 110;
    background: none;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: #000; border-radius: 2px;
    transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
    position: fixed; inset: 0; z-index: 90;
    background: #fff;
    padding: 8rem 2rem 2rem;
    display: flex; flex-direction: column; gap: 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
    font-size: 1.5rem; font-weight: 800; color: #000;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 1rem;
}
.mobile-menu a.active { color: var(--green); }

/* ---------- Header / Hero ---------- */
.hero { position: relative; padding: 8rem 0 5rem; overflow: hidden; background: #fff; }
@media (min-width: 1024px) { .hero { padding: 11rem 0 8rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero-title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -.02em; }
.hero-title .highlight { color: var(--green); display: block; }
.hero-text { color: var(--gray); max-width: 32rem; margin-bottom: 2rem; font-size: 1.125rem; line-height: 1.65; font-weight: 500; }
@media (min-width: 1024px) { .hero-text { font-size: 1.25rem; margin-bottom: 2.5rem; } }

.hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .375rem .875rem;
    background: var(--border-soft);
    border-radius: .5rem;
    font-size: .75rem; font-weight: 700;
    color: var(--gray);
    margin-bottom: 1.5rem;
}
.hero-tag i { color: var(--green); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-badge {
    display: flex; align-items: center; gap: .75rem;
    padding-left: 1.5rem; border-left: 1px solid var(--border);
    font-size: .75rem; font-weight: 700; color: var(--gray);
}
.hero-badge strong { display: block; color: #000; font-size: .875rem; }
@media (max-width: 640px) { .hero-badge { border-left: 0; padding-left: 0; } }

.hero-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid #f8fafc;
}
.hero-media img { width: 100%; height: 350px; object-fit: cover; }
@media (min-width: 1024px) { .hero-media img { height: 550px; } }
@media (max-width: 1023px) { .hero-media { border-width: 4px; } }

.hero-floating {
    position: absolute;
    bottom: -1rem; right: -1rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
    display: flex; align-items: center; gap: .75rem;
    font-weight: 700; font-size: .8rem;
}
@media (min-width: 1024px) {
    .hero-floating { bottom: -1.5rem; right: -1.5rem; padding: 1.25rem; font-size: .875rem; gap: 1rem; }
}
.hero-floating-icon {
    width: 2.25rem; height: 2.25rem;
    background: var(--green-50);
    color: var(--green);
    border-radius: 999px;
    display: grid; place-items: center;
    font-size: 1.125rem;
}
@media (min-width: 1024px) { .hero-floating-icon { width: 2.5rem; height: 2.5rem; } }

/* ---------- Cards genéricas ---------- */
.card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h4 { margin-bottom: .75rem; }
.card p { color: var(--gray); font-size: .875rem; line-height: 1.65; }
.card .card-icon {
    font-size: 1.75rem;
    color: var(--green);
    margin-bottom: 1.25rem;
    display: block;
}

.zone-card {
    background: var(--gray-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all .25s var(--ease);
}
.zone-card:hover { border-color: var(--green); background: var(--green-soft); }
.zone-card h4 { color: var(--green); font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.zone-card p { color: var(--gray); font-size: .875rem; line-height: 1.6; }

/* ---------- Servicios ---------- */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
    border-color: var(--green);
    box-shadow: 0 10px 25px -5px rgba(40,116,122,.12);
}
.service-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.service-card-head i { font-size: 1.75rem; color: var(--green); }
.service-price {
    background: var(--gray-soft);
    color: var(--green);
    border: 1px solid var(--border-soft);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: .875rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.service-card p { font-size: .875rem; color: var(--gray); line-height: 1.65; margin-bottom: 1.5rem; }
.service-card .sub-price {
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .875rem;
}
.service-card .sub-price .label { font-weight: 700; }
.service-card .sub-price .val { color: var(--gray); font-weight: 700; }
.btn-service {
    width: 100%; margin-top: auto;
    background: var(--gray-soft);
    color: var(--green);
    padding: .875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    font-weight: 700; font-size: .875rem;
    transition: all .25s var(--ease);
}
.btn-service:hover { background: var(--green); color: #fff; }

/* ---------- Pack cards ---------- */
.pack-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex; flex-direction: column;
    backdrop-filter: blur(8px);
}
.pack-card.alt {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    transition: background .3s var(--ease);
}
.pack-card.alt:hover { background: rgba(255,255,255,.1); }
.pack-card.primary {
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .pack-card.primary { transform: translateY(-1rem); } }
.pack-card .pack-head {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.15);
    padding-bottom: 1.5rem; margin-bottom: 1.5rem;
}
.pack-card h4 { font-size: 1.5rem; font-weight: 800; }
.pack-card .price { font-size: 1.875rem; font-weight: 900; }
.pack-card .price.accent { color: var(--green); }
.pack-card ul { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pack-card li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.pack-card .tag-popular {
    position: absolute; top: 0; right: 0;
    background: #fff; color: #000;
    font-size: .625rem; font-weight: 900;
    padding: .25rem 1rem;
    border-bottom-left-radius: var(--radius-md);
    letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Formulario wizard (inline + modal) ---------- */
.form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    color: #000;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
}
.form-card .form-head {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}
.form-card .form-head h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.form-card .form-head p { font-size: .875rem; color: var(--gray); }
.form-card .form-head .eyebrow {
    display: block;
    font-size: .625rem; font-weight: 900;
    color: var(--green); letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.progress { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.progress .dot {
    height: .5rem; width: 2rem; border-radius: 999px;
    background: #e2e8f0;
    transition: all .3s var(--ease);
}
.progress .dot.active { background: var(--green); }

.step { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.step-hidden {
    opacity: 0; transform: translateX(20px);
    pointer-events: none;
    position: absolute; visibility: hidden;
    width: calc(100% - 5rem);
}
.step-active { opacity: 1; transform: translateX(0); position: relative; visibility: visible; }
.step h4 { font-weight: 700; margin-bottom: 1rem; text-align: center; }

.option-grid { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.option-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.option-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .option-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.option { display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.option-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .375rem;
    height: 100%;
    padding: .875rem;
    border: 2px solid var(--border-soft);
    background: #fff;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    min-height: 84px;
}
.option-box i { font-size: 1.25rem; opacity: .7; }
.option-box span { font-weight: 700; font-size: .75rem; line-height: 1.25; }
.option:hover .option-box { border-color: rgba(40,116,122,.5); }
.option input:checked + .option-box { border-color: var(--green); background: var(--green); color: #fff; }
.option input:checked + .option-box i { opacity: 1; }
.option.wide { grid-column: 1 / -1; }
.option.wide .option-box { flex-direction: row; min-height: 56px; gap: .75rem; }

.option-comuna .option-box { flex-direction: row; justify-content: flex-start; text-align: left; padding: 1rem; }
@media (min-width: 640px) {
    .option-comuna .option-box { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
}

.form-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 1rem;
    outline: none;
    font-size: .875rem;
    font-weight: 500;
    transition: border-color .2s var(--ease);
}
.form-input:focus { border-color: var(--green); background: #fff; }
.form-label {
    display: block;
    font-size: .625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green);
    margin-bottom: .5rem;
}

.step-actions { display: flex; gap: .75rem; }
.btn-step {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: .875rem;
    transition: all .25s var(--ease);
}
.btn-step.next {
    flex: 2;
    background: var(--green);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    box-shadow: 0 10px 25px -10px rgba(40,116,122,.55);
}
.btn-step.next:hover { background: var(--green-dark); }
.btn-step.prev { flex: 1; background: #f1f5f9; color: var(--gray); font-weight: 700; }
.btn-step.prev:hover { background: #e2e8f0; }
.btn-step.submit {
    flex: 2;
    background: #22c55e;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    box-shadow: 0 10px 25px -8px rgba(34,197,94,.45);
}
.btn-step.submit:hover { background: #16a34a; }

/* ---------- FAQ ---------- */
.faq-item {
    background: var(--gray-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}
.faq-item + .faq-item { margin-top: 1rem; }
.faq-item summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 1.0625rem;
    cursor: pointer;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--green); font-size: .875rem; transition: transform .25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; color: var(--gray); font-size: .875rem; line-height: 1.65; }

/* ---------- Footer ---------- */
.footer { padding: 5rem 0 3rem; border-top: 1px solid var(--border-soft); background: #fff; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer img.logo-img { height: 64px; margin-bottom: 2rem; }
.footer p { color: var(--gray); font-size: .875rem; font-weight: 500; line-height: 1.65; margin-bottom: 2rem; }
.footer h6 {
    font-weight: 900; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .2em;
    color: #000; margin-bottom: 1.5rem;
}
.footer ul { display: flex; flex-direction: column; gap: 1rem; }
.footer ul a, .footer ul li { color: var(--gray); font-weight: 700; font-size: .875rem; display: inline-flex; align-items: center; gap: .75rem; }
.footer ul a:hover { color: var(--green); }
.footer ul i { color: var(--green); }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 2.5rem; height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    display: grid; place-items: center;
    color: var(--gray);
    transition: color .25s var(--ease), border-color .25s var(--ease);
}
.social-links a:hover { color: var(--green); border-color: var(--green); }

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 2rem;
    display: flex; flex-direction: column; gap: 1rem;
    justify-content: space-between; align-items: center;
    font-size: .625rem; font-weight: 900;
    color: var(--gray); text-transform: uppercase; letter-spacing: .15em;
    text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom a { color: var(--green); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Modal WhatsApp ---------- */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.modal.open { display: flex; }
.modal.visible { opacity: 1; }
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
}
.modal-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 32rem;
    margin: 0 1rem;
    transform: scale(.95);
    transition: transform .3s var(--ease);
}
.modal.visible .modal-card { transform: scale(1); }
.modal-close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    color: #94a3b8; font-size: 1.25rem;
    background: none; border: 0;
    z-index: 20;
    transition: color .2s var(--ease);
}
.modal-close:hover { color: var(--gray); }
.modal-head-icon {
    width: 3.5rem; height: 3.5rem;
    background: #f0fdf4; color: #22c55e;
    border-radius: 999px;
    display: grid; place-items: center;
    font-size: 1.5rem;
    margin: 0 auto .75rem;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
    position: fixed; right: 1.5rem; bottom: 1.5rem;
    z-index: 60;
}
@media (min-width: 1024px) { .wa-float { right: 2.5rem; bottom: 2.5rem; } }
.wa-float button {
    width: 3.5rem; height: 3.5rem;
    background: #22c55e; color: #fff;
    border-radius: 999px;
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    transition: transform .2s var(--ease);
    animation: wa-bounce 2.5s infinite;
}
@media (min-width: 1024px) { .wa-float button { width: 4rem; height: 4rem; font-size: 1.75rem; } }
.wa-float button:hover { transform: scale(1.08); }
.wa-float button:active { transform: scale(.95); }
@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ---------- Sección oscura / CTA ---------- */
.cta-dark {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 4rem 1.5rem;
}
.cta-dark h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 1.5rem; }
.cta-dark p { color: #94a3b8; margin-bottom: 2rem; }

/* Forma oscura servicios inline */
.dark-section {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dark-section .skew-bg {
    position: absolute; top: 0; right: 0;
    width: 33%; height: 100%;
    background: rgba(40,116,122,.05);
    transform: skewX(-12deg);
    display: none;
}
@media (min-width: 1024px) { .dark-section .skew-bg { display: block; } }

.dark-section .list-check { margin-bottom: 2rem; }
.dark-section .list-check li {
    display: flex; align-items: center; gap: 1rem;
    font-size: .875rem; font-weight: 700;
    padding: .5rem 0;
}
.dark-section .list-check li i { color: var(--green); }

/* ---------- Equipo / perfiles ---------- */
.team-grid { display: grid; gap: 3rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }

.profile-img {
    position: relative;
    width: 100%; aspect-ratio: 4/5;
    background: #f1f5f9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.profile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.profile-card:hover .profile-img img { transform: scale(1.05); }
.profile-img .placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .75rem;
    color: #cbd5e1;
    background: var(--gray-soft);
}
.profile-img .placeholder i { font-size: 3.5rem; }
.profile-img .placeholder span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }

.profile-badge {
    position: absolute; bottom: 1rem; right: 1rem;
    background: #fff;
    padding: .625rem .75rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .5rem;
    font-size: .625rem; font-weight: 900;
    color: var(--gray); text-transform: uppercase; letter-spacing: .1em;
}
.profile-badge i { color: var(--green); }

.profile-card h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 800; margin-bottom: .5rem; }
.profile-card .role {
    font-size: .875rem; font-weight: 900;
    color: var(--green);
    text-transform: uppercase; letter-spacing: .2em;
    margin-bottom: 1.5rem;
}
.profile-card .bio { color: var(--gray); font-size: .875rem; line-height: 1.7; }
.profile-card .bio p + p { margin-top: 1rem; }
.profile-card .contact {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
}
.profile-card .contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .875rem; }
.profile-card .contact a:hover { color: var(--green); }
.profile-card .contact i { color: var(--green); }

/* ---------- Legales (páginas de texto largo) ---------- */
.legal-content { max-width: 48rem; margin: 0 auto; padding: 8rem 1.5rem 5rem; }
.legal-content h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.legal-content .updated { color: var(--gray); font-size: .875rem; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--green); }
.legal-content h3 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 .75rem; }
.legal-content p, .legal-content li { color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.25rem; list-style: disc; }
.legal-content ul li { margin-bottom: .5rem; }
.legal-content strong { color: #000; }
.legal-content a { color: var(--green); text-decoration: underline; }

/* ---------- Animaciones on-scroll ---------- */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Helpers utilitarios adicionales ---------- */
.mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.pt-6 { padding-top: 1.5rem; } .pt-8 { padding-top: 2rem; }
.relative { position: relative; } .z-10 { position: relative; z-index: 10; }

/* Hide scrollbars de contenedores internos */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* Accesibilidad: focus visible */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .wa-float button { animation: none; }
}
