/* ===========================================
   NANDA PROYECTS ELECTRICIDAD
   Landing Page Styles
   =========================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --negro: #1A1A2E;
    --azul-oscuro: #16213E;
    --azul-medio: #0F3460;
    --amarillo: #FFB800;
    --amarillo-oscuro: #E5A600;
    --amarillo-claro: #FFF3CD;
    --amarillo-bg: #FFFBEB;
    --texto: #1A1A2E;
    --texto-claro: #4B5563;
    --texto-muted: #9CA3AF;
    --borde: #E5E7EB;
    --gris-bg: #F9FAFB;
    --blanco: #FFFFFF;
    --sombra: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --sombra-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --mp-blue: #009EE3;
    --mp-blue-hover: #007EB5;
    --whatsapp: #25D366;
    --nav-height: 70px;
    --top-bar-height: 40px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--amarillo);
    color: var(--negro);
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary:hover {
    background: var(--amarillo-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--negro);
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--borde);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn-outline:hover {
    border-color: var(--amarillo);
    color: var(--amarillo-oscuro);
    transform: translateY(-1px);
}
.btn-outline.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-mp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--mp-blue);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    line-height: 1.4;
}
.btn-mp:hover {
    background: var(--mp-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.3);
}
.btn-mp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--whatsapp);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn-whatsapp:hover {
    background: #1FAD55;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
    position: relative;
}

/* Top Bar */
.top-bar {
    background: var(--negro);
    padding: 10px 0;
    font-size: 0.82rem;
}
.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}
.top-bar a {
    color: var(--texto-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: var(--amarillo);
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    z-index: 100;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    height: 42px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--texto-claro);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amarillo);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--negro);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid var(--borde);
}
.nav-login {
    font-size: 0.82rem;
    padding: 8px 16px;
    border: 2px solid var(--amarillo);
    color: var(--amarillo);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.nav-login:hover {
    background: var(--amarillo);
    color: var(--negro);
}
.nav-cta {
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--negro);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);
}
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.12), transparent 70%);
    top: -100px;
    right: -100px;
}
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.06), transparent 70%);
    bottom: -50px;
    left: -50px;
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 24px;
}
.hero-text {
    flex: 1;
    color: #fff;
}
.hero-tag {
    display: inline-block;
    background: rgba(255, 184, 0, 0.12);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: var(--amarillo);
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.hero-text h1 strong {
    color: var(--amarillo);
}
.hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-btns .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
.hero-btns .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-trust-item {
    font-size: 0.82rem;
    opacity: 0.75;
    color: #fff;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-graphic {
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}
.hero-graphic svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* ===========================================
   STATS BAR
   =========================================== */
.stats-bar {
    padding: 40px 0;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item {
    padding: 16px;
}
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--amarillo);
    line-height: 1.2;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.88rem;
    color: var(--texto-claro);
    font-weight: 500;
}

/* ===========================================
   SERVICES
   =========================================== */
.servicios {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    background: var(--amarillo-bg);
    color: var(--amarillo-oscuro);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--negro);
    letter-spacing: -0.02em;
}
.section-header p {
    color: var(--texto-claro);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.servicio-card {
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    background: var(--blanco);
    text-align: center;
}
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
    border-color: var(--amarillo);
}
.servicio-icon {
    width: 64px;
    height: 64px;
    background: var(--amarillo-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}
.servicio-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--negro);
}
.servicio-card p {
    color: var(--texto-claro);
    line-height: 1.65;
    font-size: 0.9rem;
}

/* ===========================================
   BOOKING / VISITA
   =========================================== */
.visita {
    padding: 100px 0;
    background: var(--gris-bg);
}
.booking-wrapper {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}
.booking-card {
    background: var(--blanco);
    border-radius: 20px;
    box-shadow: var(--sombra-lg);
    border: 2px solid var(--amarillo);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.booking-header {
    background: linear-gradient(135deg, var(--negro) 0%, var(--azul-medio) 100%);
    padding: 32px;
    text-align: center;
    color: #fff;
}
.booking-header-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.booking-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.booking-header p {
    opacity: 0.8;
    font-size: 0.92rem;
}
.booking-price {
    margin-top: 16px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.booking-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--amarillo);
}
.booking-price .period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}
.booking-body {
    padding: 32px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--texto);
    margin-bottom: 6px;
    font-weight: 600;
}
.form-group label .required {
    color: #DC2626;
    margin-left: 2px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--gris-bg);
    border: 1.5px solid var(--borde);
    border-radius: 10px;
    color: var(--texto);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
    border-color: var(--amarillo);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
    background: var(--blanco);
}
.form-input::placeholder {
    color: var(--texto-muted);
}
.form-input.error {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-error-msg {
    font-size: 0.78rem;
    color: #DC2626;
    margin-top: 4px;
    display: none;
}
.form-error-msg.visible {
    display: block;
}

/* Date & Time */
.date-time-section {
    margin-bottom: 24px;
}
.section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.date-time-section > .section-subtitle::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--amarillo);
    border-radius: 2px;
}
fieldset .section-subtitle::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--amarillo);
    border-radius: 2px;
}

/* Time Slots */
.time-slots-container {
    margin-top: 16px;
}
.time-slots-label {
    font-size: 0.85rem;
    color: var(--texto-claro);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.time-slots-label .count {
    background: var(--amarillo-bg);
    color: var(--amarillo-oscuro);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}
.time-slots-grid::-webkit-scrollbar {
    width: 4px;
}
.time-slots-grid::-webkit-scrollbar-track {
    background: var(--gris-bg);
    border-radius: 2px;
}
.time-slots-grid::-webkit-scrollbar-thumb {
    background: var(--borde);
    border-radius: 2px;
}
.time-slot-btn {
    padding: 10px 8px;
    border: 1.5px solid var(--borde);
    border-radius: 8px;
    background: var(--blanco);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--texto);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.time-slot-btn:hover:not(.disabled):not(.selected) {
    border-color: var(--amarillo);
    color: var(--amarillo-oscuro);
    background: var(--amarillo-bg);
}
.time-slot-btn.selected {
    background: var(--amarillo);
    border-color: var(--amarillo);
    color: var(--negro);
    font-weight: 700;
}
.time-slot-btn.disabled {
    background: var(--gris-bg);
    border-color: var(--borde);
    color: var(--texto-muted);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.5;
}
.time-slots-placeholder {
    text-align: center;
    padding: 24px;
    color: var(--texto-muted);
    font-size: 0.9rem;
}
.time-slots-placeholder svg {
    margin-bottom: 8px;
    opacity: 0.4;
}

/* Booking Includes */
.booking-includes {
    margin: 24px 0;
    padding: 20px;
    background: var(--amarillo-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 184, 0, 0.2);
}
.booking-includes h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 12px;
}
.booking-includes ul {
    list-style: none;
}
.booking-includes li {
    padding: 5px 0;
    color: var(--texto-claro);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}
.booking-includes li::before {
    content: '\2713';
    color: var(--amarillo-oscuro);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Payment Area */
.payment-area {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--borde);
}
.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-buttons .btn-whatsapp {
    width: 100%;
}
.payment-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    font-size: 0.82rem;
    color: var(--texto-muted);
}
.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--borde);
}

/* Form Banners */
.form-banner {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: none;
    align-items: flex-start;
    gap: 10px;
}
.form-banner.visible {
    display: flex;
}
.form-banner.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
.form-banner.success {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
}
.form-banner .banner-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
}

/* MP Spinner */
.mp-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mp-spin 0.7s linear infinite;
}
@keyframes mp-spin {
    to { transform: rotate(360deg); }
}

/* ===========================================
   ABOUT / NOSOTROS
   =========================================== */
.nosotros {
    padding: 100px 0;
}
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.nosotros-visual {
    position: relative;
}
.nosotros-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--negro) 0%, var(--azul-medio) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.nosotros-img svg {
    width: 60%;
    height: auto;
    max-width: 100%;
    opacity: 0.6;
}
.nosotros-content .section-label {
    margin-bottom: 16px;
}
.nosotros-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--negro);
    letter-spacing: -0.02em;
}
.nosotros-content p {
    color: var(--texto-claro);
    line-height: 1.8;
    margin-bottom: 16px;
}
.nosotros-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--gris-bg);
    border-radius: 10px;
    border: 1px solid var(--borde);
    transition: all 0.2s ease;
}
.value-item:hover {
    border-color: var(--amarillo);
    background: var(--amarillo-bg);
}
.value-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--amarillo-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.value-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
    color: var(--negro);
}
.value-item span {
    font-size: 0.82rem;
    color: var(--texto-muted);
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonios {
    padding: 100px 0;
    background: var(--gris-bg);
}
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonio-card {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}
.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
    border-color: var(--amarillo);
}
.testimonio-stars {
    color: var(--amarillo);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonio-text {
    color: var(--texto-claro);
    line-height: 1.7;
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonio-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--borde);
    padding-top: 16px;
}
.testimonio-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-medio));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}
.testimonio-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--negro);
}
.testimonio-author span {
    font-size: 0.78rem;
    color: var(--texto-muted);
}

/* ===========================================
   CONTACT
   =========================================== */
.contacto {
    padding: 100px 0;
    background: var(--negro);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contacto::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.08), transparent 70%);
    top: -200px;
    right: -100px;
}
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contacto-info h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.contacto-info p {
    color: #9CA3AF;
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.contact-item span {
    color: #9CA3AF;
    font-size: 0.88rem;
}
.contact-item a {
    color: #9CA3AF;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.contact-item a:hover {
    color: var(--amarillo);
}
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}
.contact-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.contact-form-wrapper .form-group label {
    color: #9CA3AF;
}
.contact-form-wrapper .form-input,
.contact-form-wrapper textarea.form-input,
.contact-form-wrapper select.form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}
.contact-form-wrapper .form-input:focus,
.contact-form-wrapper textarea.form-input:focus,
.contact-form-wrapper select.form-input:focus {
    border-color: var(--amarillo);
    background: rgba(255, 255, 255, 0.1);
}
.contact-form-wrapper .form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.contact-form-wrapper textarea.form-input {
    resize: vertical;
    min-height: 100px;
}
.contact-form-wrapper select.form-input option {
    background: var(--negro);
    color: #fff;
}
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--amarillo);
    color: var(--negro);
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.form-submit:hover {
    background: var(--amarillo-oscuro);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    padding: 60px 0 30px;
    background: #0D0D1A;
    color: #9CA3AF;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about .logo {
    color: #fff;
    font-size: 1.3rem;
}
.footer-about .logo img {
    height: 36px;
    width: auto;
}
.footer-about p {
    margin-top: 14px;
    line-height: 1.7;
    font-size: 0.88rem;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--amarillo);
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #6B7280;
}

/* ===========================================
   WHATSAPP FLOAT
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: var(--whatsapp);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ===========================================
   COOKIE BANNER
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--negro);
    color: #fff;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-inner p {
    font-size: 0.85rem;
    color: #9CA3AF;
    line-height: 1.5;
}
.cookie-btn {
    background: var(--amarillo);
    color: var(--negro);
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cookie-btn:hover {
    background: var(--amarillo-oscuro);
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonios-grid .testimonio-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .top-bar .container {
        justify-content: center;
        gap: 16px;
    }
    .top-bar a {
        font-size: 0.75rem;
    }

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Mobile nav panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        padding: 80px 28px 28px;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links li {
        border-bottom: 1px solid var(--borde);
    }
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1.05rem;
    }
    .nav-links a::after {
        display: none;
    }

    /* Mobile nav actions inside panel */
    .nav-actions {
        display: none;
    }

    /* Mobile nav CTA at bottom of panel */
    .nav-links::after {
        content: '';
        display: block;
        height: 80px;
    }

    /* Mobile actions inside nav panel */
    li.mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0 0;
        margin-top: 8px;
        border-top: 1px solid var(--borde);
        list-style: none;
        position: relative;
        z-index: 1;
    }
    li.mobile-nav-actions .nav-login {
        display: block;
        text-align: center;
        padding: 12px;
    }
    li.mobile-nav-actions .btn-primary {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    /* Hero */
    .hero-inner {
        flex-direction: column;
        padding: 60px 24px;
        gap: 40px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
    }
    .hero-graphic {
        max-width: 300px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.78rem;
    }

    /* Services */
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .servicio-card {
        padding: 24px 20px;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Booking */
    .booking-body {
        padding: 24px;
    }
    .booking-header {
        padding: 24px;
    }

    /* Testimonials */
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .testimonios-grid .testimonio-card:last-child {
        max-width: none;
    }

    /* About */
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nosotros-content h2 {
        font-size: 1.8rem;
    }
    .nosotros-values {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contacto-info h2 {
        font-size: 1.8rem;
    }
    .contact-form-wrapper {
        padding: 28px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header {
        margin-bottom: 48px;
    }

    /* Sections */
    .servicios,
    .visita,
    .nosotros,
    .testimonios,
    .contacto {
        padding: 70px 0;
    }

    /* Cookie banner mobile */
    .cookie-banner {
        padding: 16px 0;
    }
    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .cookie-inner p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .cookie-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.82rem;
    }
}

/* Small mobile: <= 480px */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    .hero-btns .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking-price .amount {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 1.4rem;
    }
    .hero-trust {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* ===========================================
   MOBILE NAV CTA
   =========================================== */

/* Print styles */
@media print {
    .top-bar, .whatsapp-float, .cookie-banner, .hamburger { display: none !important; }
    .main-nav { position: static; box-shadow: none; }
    .hero { min-height: auto; padding: 40px 0; }
}

/* Hide mobile actions on desktop */
@media (min-width: 769px) {
    li.mobile-nav-actions {
        display: none !important;
    }
}
