/*
Theme Name: La Veterinaria
Theme URI: https://laveterinaria.me
Author: La Veterinaria - Marta Patricia Ramirez Ordoñez
Description: Tema personalizado para clínica veterinaria La Veterinaria en Popayán
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: laveterinaria
*/

/* ═══════════════════════════════════════
   VARIABLES Y RESET
   ═══════════════════════════════════════ */

:root {
    --navy:        #0f1e2e;
    --navy-mid:    #162840;
    --navy-light:  #1e3a54;
    --accent:      #4fb8a0;
    --accent-dark: #3a9b85;
    --gold:        #e8c46a;
    --white:       #ffffff;
    --off-white:   #f4f7f9;
    --text-light:  #a8bfd1;
    --text-mid:    #6b8fa8;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --radius:  12px;
    --radius-lg: 24px;
    --shadow:  0 8px 32px rgba(0,0,0,0.18);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* ═══════════════════════════════════════
   NAVEGACIÓN (AJUSTADA: MÁS GRANDE)
   ═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;      /* Aumentamos espacio a los lados */
    height: 100px;        /* Aumentado de 72px a 100px para mayor impacto */
    background: rgba(15, 30, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(79, 184, 160, 0.15);
    transition: all 0.4s ease; /* Transición más suave */
}

/* Efecto al bajar: se reduce un poco para no estorbar la lectura */
nav.scrolled { 
    height: 80px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35); 
}

.nav-logo a { display: flex; align-items: center; gap: 15px; }

/* Logo más grande */
.nav-logo .logo-img { 
    height: 65px;         /* Aumentado de 44px a 65px */
    width: auto; 
    transition: height 0.4s ease;
}

nav.scrolled .logo-img {
    height: 50px;         /* Se reduce ligeramente al hacer scroll */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;          /* Más separación entre los links */
}

.nav-links li a {
    padding: 0.8rem 1.2rem;
    font-size: 1.15rem;   /* Fuente ligeramente más grande */
    font-weight: 500;
    color: var(--text-light);
    border-radius: 8px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent);
    background: rgba(79, 184, 160, 0.1);
}

.nav-right { display: flex; align-items: center; gap: 2rem; }

.nav-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(79,184,160,0.25);
    border-radius: 10px;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Botón CTA nav */
.nav-cta {
    padding: 0.4rem 1.1rem;
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 184, 160, 0.3);
}

/* ═══════════════════════════════════════
   CONTENIDO PRINCIPAL
   ═══════════════════════════════════════ */
main { padding-top: 100px; min-height: 60vh; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════
   HERO - INICIO
   ═══════════════════════════════════════ */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(79,184,160,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79,184,160,0.15);
    border: 1px solid rgba(79,184,160,0.3);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.25rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.75;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

/* ═══════════════════════════════════════
   BOTONES
   ═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,184,160,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 2px solid rgba(15,30,46,0.2);
    border-radius: 50px;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-lg    { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   SECCIONES GENÉRICAS
   ═══════════════════════════════════════ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--navy-mid);
}

.section-light {
    background: var(--off-white);
    color: var(--navy);
}
.section-light .section-label { color: var(--accent-dark); }
.section-light h2              { color: var(--navy); }
.section-light p               { color: #4a6070; }

.section-dark {
    background: var(--navy);
}
.section-dark .btn-ghost,
.home-cta .btn-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}
.section-dark .btn-ghost:hover,
.home-cta .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   TARJETAS DE SERVICIOS
   ═══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--navy-light);
    border: 1px solid rgba(79,184,160,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,184,160,0.4);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 52px; height: 52px;
    background: rgba(79,184,160,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════
   PÁGINA QUIÉNES SOMOS
   ═══════════════════════════════════════ */
.about-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--navy-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(79,184,160,0.1);
}

.value-item .value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-item h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.4rem; }
.value-item p { font-size: 0.88rem; color: var(--text-light); }

/* ═══════════════════════════════════════
   PÁGINA CONTACTO
   ═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--navy-light);
    border-radius: var(--radius);
    border: 1px solid rgba(79,184,160,0.1);
}

.contact-item-icon {
    width: 40px; height: 40px;
    min-width: 40px;
    background: rgba(79,184,160,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item-text span { display: block; }
.contact-item-text .label {
    font-size: 0.78rem;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.contact-item-text .value { color: var(--white); font-size: 0.97rem; }

.contact-form {
    background: var(--navy-mid);
    border: 1px solid rgba(79,184,160,0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--navy);
    border: 1px solid rgba(79,184,160,0.2);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ═══════════════════════════════════════
   PÁGINA RESERVAS (Amelia)
   ═══════════════════════════════════════ */
.reservas-hero {
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.reservas-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.reservas-hero p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.reservas-container {
    background: var(--navy-mid);
    border: 1px solid rgba(79,184,160,0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

/* Estilos para integrar Amelia con el tema */
.amelia-booking-wrapper .el-button--primary,
.amelia-booking-wrapper .am-primary-button {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--navy) !important;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
    background: #0a1520;
    border-top: 1px solid rgba(79,184,160,0.1);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand .footer-logo { height: 44px; margin-bottom: 1rem; }
.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}
.footer-contact-item span:first-child { font-size: 1rem; }
.footer-contact-item a,
.footer-contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-mid);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   ANIMACIONES
   ═══════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 100px; left: 0; right: 0;
        background: var(--navy);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(79,184,160,0.15);
        gap: 0.25rem;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 3.5rem 0; }
    nav { padding: 0 1.25rem; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }
}

/* ─── SMARTPHONE (≤ 480px) ─────────────────── */
@media (max-width: 480px) {
    /* Nav: más compacto */
    nav                      { height: 70px; padding: 0 1rem; }
    nav.scrolled             { height: 58px; }
    .nav-logo .logo-img      { height: 42px; }
    nav.scrolled .logo-img   { height: 34px; }
    .nav-links.open          { top: 70px; padding: 1rem; }
    .nav-cta                 { font-size: 0.76rem; padding: 0.42rem 0.9rem; }
    main                     { padding-top: 70px; }

    /* Secciones */
    .container               { padding: 0 1rem; }
    .section                 { padding: 2.5rem 0; }
    .section-header          { margin-bottom: 1.75rem; }
    .section-header h2       { font-size: 1.55rem; }
    .section-header p        { font-size: 0.95rem; }

    /* Página genérica */
    .page-hero               { padding: 2rem 0 1.5rem; }
    .page-hero h1            { font-size: 1.75rem; }
    .page-content            { font-size: 0.97rem; }

    /* Contacto / Quiénes somos */
    .contact-grid            { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-form            { padding: 1.5rem 1.25rem; }
    .about-grid              { grid-template-columns: 1fr; gap: 1.5rem; }
    .values-grid             { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* Reservas */
    .reservas-hero           { padding: 2rem 0 1.25rem; }
    .reservas-container      { padding: 1.25rem 1rem; }
    .services-grid           { grid-template-columns: 1fr; }

    /* Footer */
    footer                   { padding: 2.5rem 0 1.25rem; }
    .footer-grid             { gap: 1.5rem; }
    .footer-bottom           { flex-direction: column; text-align: center; gap: 0.5rem; }
    .footer-brand p          { max-width: 100%; }

    /* Botones */
    .btn-lg                  { padding: 0.85rem 1.6rem; font-size: 0.93rem; }
    .btn-block               { width: 100%; }

    /* Breadcrumbs */
    .breadcrumbs             { font-size: 0.8rem; padding: 0.5rem 0; }
}

/* ═══════════════════════════════════════
   PÁGINA GENÉRICA (page.php)
   ═══════════════════════════════════════ */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-top: 0.5rem;
}
.page-content {
    max-width: 860px;
    margin: 0 auto;
    color: var(--text-mid);
    line-height: 1.8;
    font-size: 1.05rem;
}
.page-content h2,
.page-content h3 {
    font-family: var(--font-display);
    color: var(--navy);
    margin-top: 2rem;
}
.page-content img {
    max-width: 100%;
    border-radius: var(--radius);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOME (Standalone PHP)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.home-hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.home-hero__bg-shape {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 45%, rgba(79,184,160,0.16) 0%, transparent 62%);
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.home-hero__text {
    max-width: 620px;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79,184,160,0.15);
    border: 1px solid rgba(79,184,160,0.3);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.home-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.7vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.15rem;
}

.home-hero__title em {
    font-style: italic;
    color: var(--accent);
}

.home-hero__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.home-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.nav-anchor {
    display: inline-flex;
}

.home-hero__mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 540px;
}

.mini-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 0.8rem 0.75rem;
    text-align: center;
}

.mini-stat strong {
    display: block;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.mini-stat span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.mini-stat-divider {
    display: none;
}

.home-hero__image-wrap {
    display: flex;
    justify-content: center;
}

.home-hero__image-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.12);
    max-width: 560px;
}

.home-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15,30,46,0.94);
    border: 1px solid rgba(79,184,160,0.35);
    border-radius: 14px;
    padding: 0.6rem 0.8rem;
    box-shadow: var(--shadow);
}

.hero-float--top {
    top: 1rem;
    right: 1rem;
}

.hero-float--bottom {
    left: 1rem;
    bottom: 1rem;
}

.hero-float__icon {
    font-size: 1rem;
}

.hero-float strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.2;
}

.hero-float small {
    color: var(--text-light);
    font-size: 0.74rem;
}

.home-stats {
    padding: 5rem 0;
}

.home-stats__label {
    text-align: center;
    color: #4a6070;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 2rem;
}

.home-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(15,30,46,0.08);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem;
    text-align: center;
    box-shadow: 0 14px 32px rgba(15,30,46,0.08);
}

.stat-card__icon {
    font-size: 1.4rem;
    margin-bottom: 0.55rem;
}

.stat-card__num {
    display: block;
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1.1;
}

.stat-card__text {
    color: #4a6070;
    font-size: 0.85rem;
}

.home-services {
    padding: 5rem 0;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.srv-card {
    background: var(--navy-light);
    border: 1px solid rgba(79,184,160,0.12);
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.35rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.srv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,184,160,0.4);
    box-shadow: var(--shadow);
}

.srv-card__icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.srv-card__icon-wrap img {
    width: 28px;
    height: 28px;
}

.srv-icon--blue   { background: rgba(96,165,250,0.16); }
.srv-icon--teal   { background: rgba(45,212,191,0.16); }
.srv-icon--gold   { background: rgba(232,196,106,0.2); }
.srv-icon--rose   { background: rgba(251,113,133,0.16); }
.srv-icon--purple { background: rgba(167,139,250,0.16); }
.srv-icon--orange { background: rgba(251,146,60,0.16); }

.srv-card h3 {
    font-family: var(--font-display);
    font-size: 1.14rem;
    margin-bottom: 0.55rem;
}

.srv-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
}

.srv-card__link {
    display: inline-block;
    color: var(--accent);
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.home-why {
    padding: 5rem 0;
}

.home-why__inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    align-items: center;
}

.home-why__image {
    position: relative;
}

.home-why__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 32px rgba(15,30,46,0.16);
}

.why-float-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.96);
    color: var(--navy);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 10px 28px rgba(15,30,46,0.18);
}

.home-why__text h2 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.2;
    margin: 0.3rem 0 1rem;
}

.home-why__intro {
    color: #4a6070;
    margin-bottom: 1.2rem;
}

.why-list {
    display: grid;
    gap: 0.8rem;
}

.why-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(15,30,46,0.08);
    border-radius: var(--radius);
    padding: 0.75rem 0.8rem;
}

.why-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(79,184,160,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.why-item strong {
    color: var(--navy);
    font-size: 0.9rem;
}

.why-item p {
    color: #4a6070;
    font-size: 0.85rem;
    line-height: 1.55;
}

.home-testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.testi-card {
    background: var(--navy-light);
    border: 1px solid rgba(79,184,160,0.12);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.2rem;
}

.testi-stars {
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
}

.testi-text {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.testi-author strong {
    display: block;
    font-size: 0.9rem;
}

.testi-author small {
    color: var(--text-mid);
    font-size: 0.78rem;
}

.home-cta {
    position: relative;
    background: linear-gradient(135deg, #0b1724 0%, #112337 100%);
    overflow: hidden;
    padding: 5rem 0;
}

.home-cta__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(79,184,160,0.22) 0%, transparent 55%);
    pointer-events: none;
}

.home-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.home-cta__text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.home-cta__text p {
    color: var(--text-light);
    max-width: 560px;
}

.cta-features {
    margin-top: 1rem;
    display: grid;
    gap: 0.45rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.home-cta__card {
    background: rgba(15,30,46,0.82);
    border: 1px solid rgba(79,184,160,0.24);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.3rem;
    box-shadow: var(--shadow);
}

.home-cta__card h3 {
    font-family: var(--font-display);
    margin-bottom: 0.6rem;
}

.home-cta__card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .home-hero__inner,
    .home-cta__inner,
    .home-why__inner {
        grid-template-columns: 1fr;
    }

    .home-hero__image-wrap {
        order: -1;
    }

    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-row,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero__inner {
        gap: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .home-hero__mini-stats {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hero-float {
        position: static;
        margin-top: 0.6rem;
        width: 100%;
    }

    .services-row,
    .testimonials-grid,
    .home-stats__grid {
        grid-template-columns: 1fr;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BOTON FLOTANTE WHATSAPP
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    background: radial-gradient(circle at 35% 30%, #5ff0ac 0%, #1db954 52%, #0f8c45 100%);
    box-shadow: 0 10px 28px rgba(14, 150, 78, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: whatsapp-bob 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 34px rgba(14, 150, 78, 0.6);
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(185, 255, 217, 0.75);
    pointer-events: none;
    opacity: 0;
}

.whatsapp-float::before {
    animation: whatsapp-pulse 2.3s ease-out infinite;
}

.whatsapp-float::after {
    animation: whatsapp-pulse 2.3s ease-out 1.1s infinite;
}

.whatsapp-float__ring {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(232, 255, 242, 0.55);
}

.whatsapp-float__icon {
    width: 36px;
    height: 36px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.whatsapp-float__icon svg {
    width: 100%;
    height: 100%;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes whatsapp-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@media (max-width: 700px) {
    .whatsapp-float {
        width: 64px;
        height: 64px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-float__icon {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float::before,
    .whatsapp-float::after {
        animation: none !important;
    }
}
