/* ============================================================
   Estrella Polar – Estilos públicos (web cliente)
   Tema claro / profesional
   ============================================================ */

:root {
    --accent:       #2d7dd2;
    --accent-dark:  #1a5fa8;
    --accent-light: #ebf3fb;
    --success:      #27ae60;
    --danger:       #e74c3c;
    --warn:         #e67e22;
    --text:         #1a1a2e;
    --text-dim:     #6b7280;
    --border:       #dde3ec;
    --bg:           #f5f7fa;
    --white:        #ffffff;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,.10);
    --radius:       10px;
    --radius-sm:    6px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Tipografía ─────────────────────────────────────────── */
h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 600; }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, opacity .18s;
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: .88; }

.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); opacity: 1; }

.btn-outline  { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-light); opacity: 1; }

.btn-success  { background: var(--success); color: #fff; }
.btn-danger   { background: var(--danger); color: #fff; }

.btn-block { width: 100%; justify-content: center; }
.btn-sm    { padding: 5px 12px; font-size: 12px; }
.btn-lg    { padding: 13px 28px; font-size: 16px; }

/* ── Formularios ─────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: 5px; }
.form-label  { font-size: 13px; font-weight: 600; color: var(--text); }

.form-control {
    padding: 9px 13px;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    width: 100%;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45,125,210,.12);
}
.form-control::placeholder { color: #aab0ba; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
}
.alert-error   { background: #fef2f2; border-color: var(--danger); color: #b91c1c; }
.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-warn    { background: #fffbeb; border-color: var(--warn); color: #92400e; }
.alert-info    { background: var(--accent-light); border-color: var(--accent); color: var(--accent-dark); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 22px 24px;
}
.card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

/* ── Badge ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-completed { background: #e0e7ff; color: #3730a3; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* ── Tabla ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 8px 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); border-bottom: 2px solid var(--border); }
td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg); }

/* ── Utilidades ──────────────────────────────────────────── */
.text-dim   { color: var(--text-dim); }
.text-sm    { font-size: 12px; }
.text-danger{ color: var(--danger); }
.text-success{ color: var(--success); }
.text-warn  { color: var(--warn); }
.flex       { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8      { gap: 8px; }
.gap-12     { gap: 12px; }
.gap-16     { gap: 16px; }
.mt-8       { margin-top: 8px; }
.mt-16      { margin-top: 16px; }
.mb-16      { margin-bottom: 16px; }

/* ════════════════════════════════════════════════════════════
   PÁGINAS DE AUTENTICACIÓN (login, registro)
   ════════════════════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #ebf3fb 0%, #f5f7fa 50%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrap {
    width: 100%;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 36px 40px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-back {
    font-size: 13px;
    color: var(--text-dim);
    align-self: flex-start;
    margin-bottom: -4px;
}
.auth-back:hover { color: var(--accent); text-decoration: none; }

.auth-logo  { font-size: 40px; text-align: center; }
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin: 0; }
.auth-sub   { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: -8px; }

.auth-box form { display: flex; flex-direction: column; gap: 14px; }
.auth-box .btn-block { margin-top: 4px; padding: 11px; font-size: 15px; }

.auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   PORTAL CLIENTE (dashboard)
   ════════════════════════════════════════════════════════════ */
.portal-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.portal-nav-brand {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.portal-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.portal-nav-user {
    font-size: 13px;
    color: var(--text-dim);
}

.portal-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.portal-header {
    margin-bottom: 24px;
}
.portal-header h1 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Pet card */
.pet-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .18s;
}
.pet-card:hover { box-shadow: var(--shadow-md); }
.pet-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.pet-info { flex: 1; }
.pet-name { font-weight: 700; font-size: 15px; }
.pet-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.pets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 28px 16px;
    color: var(--text-dim);
}
.empty-state-icon { font-size: 36px; margin-bottom: 8px; }
.empty-state p    { font-size: 14px; }

/* Appointment row */
.appt-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.appt-row:last-child { border-bottom: none; }
.appt-date {
    min-width: 80px;
    text-align: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}
.appt-date-day  { font-size: 20px; font-weight: 700; color: var(--accent); line-height: 1; }
.appt-date-month{ font-size: 11px; color: var(--accent); text-transform: uppercase; }
.appt-info  { flex: 1; }
.appt-title { font-weight: 600; font-size: 14px; }
.appt-sub   { font-size: 12px; color: var(--text-dim); }

/* Bienvenido banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.welcome-banner-icon { font-size: 40px; }
.welcome-banner h2   { color: #fff; font-size: 1.2rem; margin-bottom: 2px; }
.welcome-banner p    { font-size: 13px; opacity: .85; }

/* ════════════════════════════════════════════════════════════
   WEB PÚBLICA – DISEÑO PROFESIONAL
   ════════════════════════════════════════════════════════════ */

:root {
    --navy:       #1b3a6b;
    --navy-dark:  #0d2440;
    --teal:       #0891b2;
    --teal-dark:  #0e7490;
    --teal-light: #e0f7fb;
    --cream:      #fafaf8;
}

/* ── Banner pre-apertura ─────────────────────────────────── */
.promo-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1010;
    background: linear-gradient(90deg, var(--navy-dark) 0%, #0f4c81 100%);
    border-bottom: 2px solid var(--teal);
    padding: 11px 5%;
}
.promo-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.promo-banner-inner p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    line-height: 1.4;
    text-align: center;
}
.promo-banner-inner strong { color: #fff; }
.promo-btn {
    flex-shrink: 0;
    background: var(--teal);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.promo-btn:hover { background: var(--teal-dark); color: #fff; }
@media (max-width: 600px) {
    .promo-banner-inner { gap: 8px; }
    .promo-banner-inner p { font-size: .82rem; }
}

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: var(--banner-h, 52px); left: 0; right: 0;
    z-index: 1000;
    transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-nav.nav-scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.site-nav-brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .3s;
}
.site-nav.nav-scrolled .site-nav-brand { color: var(--navy); }
.site-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav-links a {
    padding: 6px 14px;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.site-nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.site-nav.nav-scrolled .site-nav-links a { color: var(--text-dim); }
.site-nav.nav-scrolled .site-nav-links a:hover { background: var(--bg); color: var(--text); }
.site-nav-links .btn { margin-left: 8px; }
.site-nav-links .btn-outline {
    border-color: rgba(255,255,255,.6);
    color: #fff;
    background: transparent;
}
.site-nav-links .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); opacity:1; }
.site-nav.nav-scrolled .site-nav-links .btn-outline {
    border-color: var(--accent);
    color: var(--accent);
}
.site-nav.nav-scrolled .site-nav-links .btn-outline:hover { background: var(--accent-light); }
.site-nav.nav-scrolled .site-nav-links .btn-primary { background: var(--accent); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('/assets/img/raquel-consulta.png') center 30% / cover no-repeat;
    padding: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(11,27,58,.82) 0%,
        rgba(11,27,58,.58) 55%,
        rgba(11,27,58,.18) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 130px 5% 90px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 99px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.95);
    margin-bottom: 26px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.12;
    max-width: 640px;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.86);
    max-width: 500px;
    margin-bottom: 38px;
    line-height: 1.68;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--teal);
    color: #fff;
    border: 2px solid var(--teal);
    padding: 15px 34px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 9px;
    box-shadow: 0 4px 22px rgba(8,145,178,.45);
    transition: transform .2s, box-shadow .2s, background .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(8,145,178,.55);
    opacity: 1; text-decoration: none;
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.55);
    padding: 15px 34px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 9px;
    transition: background .2s, border-color .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; opacity:1; text-decoration:none; }
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.5);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bounceY 2.2s ease-in-out infinite;
}
@keyframes bounceY {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar {
    background: var(--navy);
    padding: 0 5%;
}
.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-right: 1px solid rgba(255,255,255,.12);
    color: #fff;
}
.trust-item:last-child { border-right: none; }
.trust-item-icon { font-size: 22px; flex-shrink: 0; }
.trust-item-text { font-size: 13px; font-weight: 700; line-height: 1.3; }
.trust-item-sub  { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 1px; }

/* ── Sección "Conoce a Raquel" ───────────────────────────── */
.about-section {
    padding: 100px 5%;
    background: var(--cream);
}
.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 32px 80px rgba(0,0,0,.16);
}
.about-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.about-photo:hover img { transform: scale(1.04); }
.about-badge {
    position: absolute;
    bottom: -18px; right: -18px;
    background: var(--teal);
    color: #fff;
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: 0 8px 32px rgba(8,145,178,.38);
    text-align: center;
    min-width: 110px;
}
.about-badge-num { font-size: 28px; font-weight: 800; line-height: 1; }
.about-badge-txt { font-size: 11px; opacity: .88; margin-top: 2px; }
.about-tag {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.25;
}
.about-text p {
    color: var(--text-dim);
    line-height: 1.78;
    font-size: 15px;
    margin-bottom: 16px;
}
.about-features { display: flex; flex-direction: column; gap: 11px; margin-top: 28px; }
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.about-feature::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ── Servicios ────────────────────────────────────────────── */
.services-section {
    padding: 100px 5%;
    background: #fff;
}
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { color: var(--navy); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 10px; }
.section-title p  { color: var(--text-dim); font-size: 16px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
    transform: translateY(-4px);
    border-color: transparent;
}
.service-icon {
    width: 54px; height: 54px;
    background: var(--teal-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.service-name { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-dim); line-height: 1.62; }
.service-price { font-size: 12px; color: var(--teal); margin-top: 14px; font-weight: 700; }

/* ── Galería ──────────────────────────────────────────────── */
.gallery-section {
    padding: 0 5% 100px;
    background: #fff;
}
.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: #fff;
    padding: 28px 18px 16px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform .3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 100px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: rgba(8,145,178,.12);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: rgba(8,145,178,.08);
    pointer-events: none;
}
.cta-badge {
    display: inline-block;
    background: rgba(8,145,178,.22);
    border: 1px solid rgba(8,145,178,.5);
    color: #67e8f9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 24px;
    position: relative; z-index: 1;
}
.cta-section h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative; z-index: 1;
}
.cta-section p {
    color: rgba(255,255,255,.8);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.68;
    position: relative; z-index: 1;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}
.btn-cta-primary {
    background: var(--teal);
    color: #fff;
    border: 2px solid var(--teal);
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 26px rgba(8,145,178,.42);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(8,145,178,.55); opacity:1; text-decoration:none; }
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.45);
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: background .2s, border-color .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; opacity:1; text-decoration:none; }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,.9); opacity:1; }

/* ── Contacto ─────────────────────────────────────────────── */
.contact-section {
    background: var(--cream);
    padding: 100px 5%;
}
.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 { color: var(--navy); font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 8px; }
.contact-info > p { color: var(--text-dim); font-size: 15px; margin-bottom: 32px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.contact-item-icon {
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.contact-item-label { font-weight: 700; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.contact-item-value { font-size: 14px; color: var(--text); }
.contact-item-value a { color: var(--navy); font-weight: 600; }
.contact-card {
    background: #fff;
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 8px 40px rgba(0,0,0,.08);
    border: 1px solid var(--border);
}
.contact-card-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-card-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; line-height: 1.62; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.45);
    padding: 40px 5%;
    text-align: center;
    font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,.55); }
.site-footer a:hover { color: #fff; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ── Pet avatar foto ──────────────────────────────────────── */
.pet-avatar-photo {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.pet-avatar-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .about-inner { grid-template-columns: 1fr; gap: 50px; }
    .about-badge { right: 10px; bottom: 10px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:last-child { display: none; }
    .trust-item { padding: 16px 20px; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:last-child { display: block; }
    .trust-item { flex-basis: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
    .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
    .services-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 24px 20px; }
    .hero h1 { font-size: 2rem; }
    .hero p  { font-size: 1rem; }
    .btn-hero-primary, .btn-hero-outline,
    .btn-cta-primary, .btn-cta-outline { padding: 13px 24px; font-size: 15px; }
    .hero-scroll-hint { display: none; }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: 1fr; }
    .pets-grid  { grid-template-columns: 1fr; }
    .auth-box   { padding: 28px 22px; }
    .site-nav-links a:not(.btn) { display: none; }
}
