/* =========================================================
   CERNUNNOS – VETERINARIO · veterinario.css
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--vc-text);
    background: var(--vc-bg);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; }

/* ── Reveal ─────────────────────────────────────────────── */
.vc-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}
.vc-reveal.is-visible { opacity: 1; transform: none; }
.vc-reveal.d1 { transition-delay: 0.10s; }
.vc-reveal.d2 { transition-delay: 0.20s; }
.vc-reveal.d3 { transition-delay: 0.30s; }
.vc-reveal.d4 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    .vc-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Container / Section ────────────────────────────────── */
.vc-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}
.vc-section { padding: 88px 0; }
.vc-section-head { margin-bottom: 52px; }

/* ── Typography ─────────────────────────────────────────── */
.vc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vc-blue);
    margin-bottom: 14px;
}
.vc-display {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--vc-text);
    text-wrap: balance;
}
.vc-display strong { font-weight: 700; color: var(--vc-blue); font-style: italic; }
.vc-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--vc-text);
    text-wrap: balance;
}
.vc-title strong { font-weight: 700; color: var(--vc-blue); }
.vc-lead {
    font-size: 17px;
    color: var(--vc-muted);
    max-width: 52ch;
    line-height: 1.75;
}

/* ── Button ─────────────────────────────────────────────── */
.vc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.vc-btn-solid {
    background: var(--vc-blue);
    color: #fff;
}
.vc-btn-solid:hover {
    background: #005f93;
    box-shadow: 0 4px 20px rgba(0,119,182,0.28);
}
.vc-btn-outline {
    border: 2px solid var(--vc-blue);
    color: var(--vc-blue);
}
.vc-btn-outline:hover { background: var(--vc-blue-lt); }

/* ── Badge ──────────────────────────────────────────────── */
.vc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vc-blue-lt);
    color: var(--vc-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.vc-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--vc-z-nav);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.vc-nav--solid {
    border-bottom-color: var(--vc-border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.vc-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 28px;
}
.vc-nav-brand { display: flex; align-items: center; gap: 10px; }
.vc-nav-icon {
    width: 34px;
    height: 34px;
    background: var(--vc-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.vc-wordmark {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--vc-blue-dk);
    line-height: 1;
    letter-spacing: -0.02em;
}
.vc-wordmark em {
    font-style: normal;
    color: var(--vc-blue);
}
.vc-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.vc-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--vc-text);
    transition: color 0.2s;
}
.vc-nav-links a:hover { color: var(--vc-blue); }
.vc-nav-links a.vc-btn-solid {
    color: #fff;
    padding: 9px 20px;
    font-size: 13px;
    border-radius: 6px;
}
.vc-nav-links a.vc-btn-solid:hover { color: #fff; }
.vc-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.vc-nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--vc-text);
    transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════════════════════
   HERO — split, sin overlay
   ═══════════════════════════════════════════════════════════ */
.vc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 68px;
}
.vc-hero-text {
    background: var(--vc-surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 60px 72px clamp(28px, 8vw, 100px);
}
.vc-hero-text .vc-display { margin-bottom: 20px; }
.vc-hero-text .vc-lead   { margin-bottom: 36px; }
.vc-hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.vc-hero-img {
    position: relative;
    overflow: hidden;
}
.vc-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.vc-hero-float {
    position: absolute;
    bottom: 28px;
    left: 24px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    display: flex;
    align-items: center;
    gap: 12px;
}
.vc-hero-float-icon { font-size: 24px; line-height: 1; }
.vc-hero-float strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--vc-blue);
}
.vc-hero-float span {
    font-size: 12px;
    color: var(--vc-muted);
}

/* ═══════════════════════════════════════════════════════════
   STATS — azul sólido
   ═══════════════════════════════════════════════════════════ */
.vc-stats { background: var(--vc-blue); padding: 52px 0; }
.vc-stats-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.vc-stat {
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid rgba(255,255,255,0.18);
}
.vc-stat:last-child { border-right: none; }
.vc-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.vc-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.72);
}

/* ═══════════════════════════════════════════════════════════
   NOSOTROS
   ═══════════════════════════════════════════════════════════ */
.vc-nosotros { background: var(--vc-surface); }
.vc-nosotros-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.vc-nosotros-img { position: relative; }
.vc-nosotros-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}
.vc-nosotros-tag {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--vc-blue);
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0,119,182,0.35);
}
.vc-nosotros-tag strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}
.vc-nosotros-tag span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
}
.vc-nosotros-text .vc-title { margin: 0 0 18px; }
.vc-nosotros-text .vc-lead  { margin-bottom: 28px; }
.vc-checklist {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 8px;
}
.vc-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--vc-text);
    line-height: 1.5;
}
.vc-check::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--vc-blue-lt);
    color: var(--vc-blue);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════════ */
.vc-servicios { background: var(--vc-bg); }
.vc-servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.vc-servicio-card {
    background: var(--vc-surface);
    border: 1px solid var(--vc-border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.vc-servicio-card:hover {
    box-shadow: 0 12px 40px rgba(0,119,182,0.1);
    transform: translateY(-5px);
}
.vc-servicio-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.vc-servicio-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-expo);
}
.vc-servicio-card:hover .vc-servicio-img img { transform: scale(1.06); }
.vc-servicio-body { padding: 24px; }
.vc-servicio-tag {
    display: inline-block;
    background: var(--vc-blue-lt);
    color: var(--vc-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.vc-servicio-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vc-text);
    margin-bottom: 8px;
}
.vc-servicio-body p {
    font-size: 14px;
    color: var(--vc-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   EQUIPO
   ═══════════════════════════════════════════════════════════ */
.vc-equipo { background: var(--vc-blue-lt); }
.vc-equipo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 820px;
}
.vc-vet-card {
    background: var(--vc-surface);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
.vc-vet-card:hover { box-shadow: 0 8px 32px rgba(0,119,182,0.12); }
.vc-vet-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--vc-blue-lt);
    box-shadow: 0 0 0 3px var(--vc-blue);
}
.vc-vet-photo img { width: 100%; height: 100%; object-fit: cover; }
.vc-vet-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vc-text);
    margin-bottom: 3px;
}
.vc-vet-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vc-blue);
    margin-bottom: 6px;
}
.vc-vet-info p {
    font-size: 13px;
    color: var(--vc-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   GALERÍA
   ═══════════════════════════════════════════════════════════ */
.vc-galeria { background: var(--vc-surface); }
.vc-galeria-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 220px;
    gap: 10px;
    border-radius: 12px;
    overflow: hidden;
}
.vc-galeria-item { overflow: hidden; }
.vc-galeria-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
}
.vc-galeria-item:hover img { transform: scale(1.06); }
.vg-tall { grid-row: 1 / 3; }
.vg-bottom-wide { grid-column: 2 / 4; }

/* ═══════════════════════════════════════════════════════════
   CONTACTO + MAPA
   ═══════════════════════════════════════════════════════════ */
.vc-contacto { background: var(--vc-bg); }
.vc-contacto-inner {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 56px rgba(0,0,0,0.1);
}
.vc-contacto-info {
    background: var(--vc-blue-dk);
    color: #fff;
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.vc-contacto-info .vc-label { color: rgba(255,255,255,0.55); }
.vc-contacto-info .vc-title { color: #fff; margin-bottom: 4px; }
.vc-contacto-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.vc-contacto-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.vc-contacto-detail strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #fff;
}
.vc-contacto-detail p {
    font-size: 13px;
    color: rgba(255,255,255,0.68);
    line-height: 1.55;
}
.vc-contacto-info .vc-btn-solid {
    align-self: flex-start;
    margin-top: auto;
    background: var(--vc-blue);
    border-radius: 6px;
}
.vc-contacto-info .vc-btn-solid:hover { background: #0066a0; }

#vc-map {
    width: 100%;
    min-height: 480px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.vc-footer {
    background: var(--vc-blue-dk);
    color: rgba(255,255,255,0.85);
    padding: 64px 0 32px;
}
.vc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.vc-footer-brand .vc-wordmark {
    font-size: 22px;
    margin-bottom: 14px;
    color: #fff;
}
.vc-footer-brand .vc-wordmark em { color: #90d0f0; font-style: normal; }
.vc-footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    max-width: 34ch;
    line-height: 1.75;
}
.vc-footer h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 18px;
}
.vc-footer li {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 11px;
    line-height: 1;
}
.vc-footer li strong { color: #fff; }
.vc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.42);
}
.vc-footer-bottom a { color: rgba(255,255,255,0.42); transition: color 0.2s; }
.vc-footer-bottom a:hover { color: rgba(255,255,255,0.9); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .vc-hero { grid-template-columns: 1fr; min-height: auto; }
    .vc-hero-text { padding: 56px 28px 40px; }
    .vc-hero-img { height: 55vw; min-height: 280px; }
    .vc-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .vc-nosotros-inner { grid-template-columns: 1fr; gap: 56px; }
    .vc-nosotros-img { order: -1; }
    .vc-nosotros-tag { right: 0; }
    .vc-servicios-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 240px;
    }
    .vg-tall { grid-row: 1 / 3; }
    .vg-bottom-wide { grid-column: 2 / 3; grid-row: 2; }
    .vc-contacto-inner { grid-template-columns: 1fr; }
    #vc-map { min-height: 360px; }
    .vc-footer-grid { grid-template-columns: 1fr 1fr; }
    .vc-footer-brand { grid-column: 1 / 3; }
}

@media (max-width: 680px) {
    .vc-nav-inner { padding: 0 20px; }
    .vc-nav-links {
        display: none;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 20px 28px;
        gap: 0;
        border-top: 1px solid var(--vc-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .vc-nav-links.is-open { display: flex; }
    .vc-nav-links li { width: 100%; }
    .vc-nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--vc-border);
        font-size: 15px;
    }
    .vc-nav-links a.vc-btn-solid {
        border-bottom: none;
        text-align: center;
        margin-top: 14px;
    }
    .vc-nav-toggle { display: flex; }
    .vc-hero-float { display: none; }
    .vc-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .vc-servicios-grid { grid-template-columns: 1fr; }
    .vc-equipo-grid { grid-template-columns: 1fr; max-width: 420px; }
    .vc-galeria-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .vg-tall, .vg-bottom-wide { grid-column: 1; grid-row: auto; }
    .vc-galeria-item { height: 220px; }
    .vc-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .vc-footer-brand { grid-column: 1; }
    .vc-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
