:root {
    --primary-color: #0055ff; /* UnitPOS Electric Blue */
    --primary-dark: #003cc7;
    --primary-light: #ebf1ff;
    --secondary-color: #f59e0b; /* Amber */
    --secondary-dark: #d97706;
    --secondary-light: #fef3c7;
    --tertiary-color: #00b872; /* Green */
    --tertiary-dark: #00894f;
    --tertiary-light: #e5faf0;
    --dark-color: #000000;
    --light-color: #f6f7fb;
    --text-color: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom Scrollbar - Blue Gradient */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0f1d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4db8ff 0%, #0055ff 55%, #002a99 100%);
    border-radius: 10px;
    border: 2px solid #0a0f1d;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #70c8ff 0%, #1a66ff 55%, #003cc7 100%);
}

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-width: thin;
        scrollbar-color: #0055ff #0a0f1d;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #000000 !important;
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 85, 255, 0.35));
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.logo .logo-text,
.logo h1 {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.6px;
    background: linear-gradient(135deg, #4db8ff 0%, #0055ff 55%, #002a99 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    padding: 4px 6px 6px 2px;
    display: inline-block;
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--white);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cta-buttons .top-buttons {
    display: flex;
    gap: 15px;
}

.cta-buttons a.call-us-btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.cta-buttons a.call-us-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.cta-buttons button.express-service-btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    cursor: pointer;
}

.cta-buttons button.express-service-btn:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
}

.cta-buttons button.calendar-btn {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark));
    color: var(--white);
    border: none;
    cursor: pointer;
}

.cta-buttons button.calendar-btn:hover {
    background: linear-gradient(to right, var(--tertiary-dark), var(--tertiary-color));
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.zoom-icon {
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark));
}

.express-icon {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.modal-step { /* This class might be used by zoom/express modals too, check if it needs to be modal-specific */
    display: none;
}

.modal-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.modal-btn.prev {
    background-color: var(--light-color);
    color: var(--text-color);
}

.modal-btn.prev:hover {
    background-color: #e5e5e5;
}

.modal-btn.next, .modal-btn.submit {
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark)); /* Default, can be overridden */
    color: var(--white);
}

.modal-btn.next:hover, .modal-btn.submit:hover {
    background: linear-gradient(to right, var(--tertiary-dark), var(--tertiary-color)); /* Default, can be overridden */
}

.modal-btn.hidden {
    visibility: hidden;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover {
    border-color: var(--tertiary-color); /* Default, can be overridden */
}

.time-slot.selected {
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark)); /* Default, can be overridden */
    color: var(--white);
    border-color: var(--tertiary-color); /* Default, can be overridden */
}

.confirmation-message {
    text-align: center;
    padding: 20px 0;
}

.confirmation-icon {
    font-size: 3rem;
    color: var(--tertiary-color); /* Default, can be overridden */
    margin-bottom: 20px;
}

/* Estilos específicos para el modal de Express Service */
.express-service-modal .modal-container {
    max-width: 450px;
}

.express-service-modal .modal-title {
   color: var(--primary-dark);
}

.express-service-modal .modal-btn.next, 
.express-service-modal .modal-btn.submit {
   background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
   color: var(--white);
}

.express-service-modal .modal-btn.next:hover, 
.express-service-modal .modal-btn.submit:hover {
   background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
}

.express-service-step { /* Specific to Express Modal */
    display: none;
}

.express-service-step.active { /* Specific to Express Modal */
    display: block;
}

.location-options {
    margin: 15px 0;
}

.location-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.location-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.manual-address {
    margin-top: 15px;
    display: none;
}

.service-options { /* This class seems unused in HTML, can be removed if confirmed */
    margin: 20px 0;
}

.other-service-input {
    margin-top: 10px;
    display: none;
}

/* Estilos específicos para el modal de Zoom */
.zoom-modal .modal-container {
    max-width: 500px;
}

.zoom-modal .modal-title {
    color: var(--tertiary-color);
    margin-bottom: 15px;
}

.zoom-step { /* Specific to Zoom Modal */
    display: none;
}

.zoom-step.active { /* Specific to Zoom Modal */
    display: block;
}

.zoom-modal .modal-btn.next, 
.zoom-modal .modal-btn.submit {
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark));
}

.zoom-modal .modal-btn.next:hover, 
.zoom-modal .modal-btn.submit:hover {
    background: linear-gradient(to right, var(--tertiary-dark), var(--tertiary-color));
}

.zoom-modal .time-slot.selected {
    background: linear-gradient(to right, var(--tertiary-color), var(--tertiary-dark));
    border-color: var(--tertiary-color);
}

.zoom-modal .time-slot:hover {
    border-color: var(--tertiary-color);
}

/* Hero Slider Styles */
.hero-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    height: 100vh;
    margin-top: -80px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

.slide-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    padding: 80px 20px 0;
    margin: 0 auto;
}

.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #ff7a00 0%, #e05300 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(224, 83, 0, 0.35);
    animation: fadeInUp 1.4s ease;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #ff8c1a 0%, #f06000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(224, 83, 0, 0.45);
    color: #ffffff !important;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (min-width: 769px) {
    .slider-arrows {
        display: none;
    }
}

@media (max-width: 768px) {
    .slider-arrows {
        position: absolute;
        top: 50%;
        width: calc(100% - 40px);
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        z-index: 10;
        padding: 0 20px;
    }
    
    .slider-arrow {
        color: var(--white);
        font-size: 2rem;
        cursor: pointer;
        opacity: 0.7;
        transition: var(--transition);
        background: rgba(0, 0, 0, 0.3);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 11;
    }
    
    .slider-arrow:hover {
        opacity: 1;
        background: var(--primary-color);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:not(.hero-slider) {
    padding: 100px 5%;
    max-width: 1400px;
    margin: auto;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 22px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #4db8ff 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 99px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 54px;
    font-size: 1.12rem;
    line-height: 1.65;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 54px;
    margin-top: 50px;
}

.about-text {
    flex: 1.1;
}

.about-text h3 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #0f172a;
    line-height: 1.28;
}

.about-text p {
    margin-bottom: 16px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.72;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.about-highlight-card {
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.about-highlight-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 85, 255, 0.09);
}

.about-image {
    flex: 0.95;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(0, 85, 255, 0.12);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.about-image:hover img {
    transform: scale(1.04);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.service-item {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4db8ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 85, 255, 0.28);
    box-shadow: 0 22px 44px -10px rgba(0, 85, 255, 0.14);
}

.service-item:hover::before {
    opacity: 1;
}

.service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.09) 0%, rgba(77, 184, 255, 0.18) 100%);
    transition: transform 0.32s ease, background 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 22px rgba(0, 85, 255, 0.28);
}

.service-item h3 {
    font-size: 1.28rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Portfolio Section Styles */
.portfolio-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    scroll-margin-top: 80px;
}

.portfolio-slider {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.portfolio-slides {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-slide {
    min-width: 100%;
    position: relative;
}

.portfolio-media-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.portfolio-video, 
.portfolio-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 1;
}

.portfolio-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.portfolio-arrow {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.portfolio-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    gap: 10px;
}

.portfolio-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-dot.active {
    width: 28px;
    background: var(--primary-color);
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 0;
    padding: 15px 32px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
}

.portfolio-btn:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.payment-container {
    background: linear-gradient(145deg, #ffffff 0%, #f1f6ff 100%);
    padding: 56px 48px;
    border-radius: 24px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(0, 85, 255, 0.14);
    box-shadow: 0 20px 45px -10px rgba(0, 85, 255, 0.1);
}

.payment-container h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.payment-container p {
    color: #475569;
    margin-bottom: 32px;
    font-size: 1.04rem;
    line-height: 1.7;
}

.payment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.payment-button:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 85, 255, 0.28);
}

/* Scroll Reveal Animations (2026) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

footer {
    background: #000000 !important;
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.footer-column p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .slide h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .hamburger-menu {
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger-line {
        width: 100%;
        height: 2px;
        background: var(--white);
        margin: 3px 0;
        transition: var(--transition);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        height: 80px;
        margin: 0 10px;
    }
    
    nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        background: #000000 !important;
        position: fixed;
        top: 80px; /* Adjusted for header height */
        left: 0;
        height: calc(100vh - 80px); /* Adjusted for header height */
        transform: translateX(-100%);
        transition: var(--transition);
        padding: 20px 0;
        justify-content: flex-start;
        z-index: 1000;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav a {
        padding: 15px 20px;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .cta-buttons {
        order: 3; /* Ensured CTA buttons are before nav in source for mobile */
        width: 100%; /* Full width for mobile CTA container */
        flex-direction: column;
        gap: 10px;
        margin-top: 10px; /* Added some margin for spacing */
    }
    
    .cta-buttons .top-buttons {
        width: 100%; /* Full width for top buttons container */
        display: flex;
        gap: 10px;
    }
    
    .cta-buttons a.call-us-btn {
        width: 100%; /* Full width for call button */
        padding: 10px;
        font-size: 0.9rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: transparent !important;
        color: var(--white) !important;
        border: 2px solid var(--secondary-color);
    }
    
    .cta-buttons button.express-service-btn {
        width: 100%; /* Full width for express service button */
        padding: 10px;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }
    
    .cta-buttons button.calendar-btn {
        width: 100%; /* Full width for calendar button */
        padding: 10px;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Hide arrows on mobile */
    .slider-arrows {
        display: none; /* Ensure these are hidden if not needed */
    }
    
    .slider-nav {
        bottom: 30px;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio mobile styles */
    .portfolio-slider {
        max-width: 100%; /* Full width on mobile */
        border-radius: 0; /* No border radius on mobile */
    }
    
    .portfolio-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Adjustments for opinions section on mobile */
    .opinions-section {
        padding: 60px 5%;
    }
    
    .opinions-title {
        font-size: 2rem;
    }
    
    .opinions-subtitle {
        font-size: 1.2rem;
    }
    
    .opinions-logo {
        max-width: 300px; /* Adjusted for smaller screens */
        margin: 30px auto;
    }
    
    .opinions-text {
        font-size: 1rem;
    }
    
    .opinions-btn, .maps-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Adjustments for very small screens */
    @media (max-width: 400px) {
        .cta-buttons .top-buttons {
            flex-direction: column; /* Stack top buttons */
        }
    }
}


@media (max-width: 576px) {
    body {
        padding-top: 140px; /* Default for small screens, may need adjustment */
    }
    
    html {
        scroll-padding-top: 140px; /* Default for small screens */
    }
    
    section:not(.hero-slider) {
        scroll-margin-top: 140px; /* Default for small screens */
    }

    header { /* Recalculate based on content for dynamic header height */
        /* If header becomes taller than 80px due to wrapping, padding-top for body needs to increase */
    }

    nav { /* Adjust top if header height changes */
       /* top: new_header_height; */
       /* height: calc(100vh - new_header_height); */
    }


    .hero-slider {
        margin-top: -140px; /* Should match body's padding-top */
        height: calc(100vh - 60px); /* Example adjustment, might need fine-tuning */
    }
    
    .slide-content {
        padding-top: 140px; /* Should match body's padding-top */
    }
    
    .cta-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons a.call-us-btn {
        width: 100%;
    }
    
    .cta-buttons button.express-service-btn {
        width: 100%;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    section:not(.hero-slider) {
        padding: 70px 20px;
    }
    
    .payment-container {
        padding: 30px 20px;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
    }
}


/* Language switcher styles */
.language-switcher {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    gap: 10px;
}

.language-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.language-btn:hover {
    transform: scale(1.1);
}

.language-btn.active {
    background-color: var(--dark-color);
    border: 2px solid var(--primary-color);
}

/* Mobile-specific modal styles */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0; /* Remove padding for full-screen modals */
    }
    
    .modal-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0; /* No border radius for full-screen modals */
        padding: 20px; /* Standard padding inside modal */
        display: flex; /* Enable flex for vertical centering if content allows */
        flex-direction: column; /* Stack modal content vertically */
    }
    
    .modal-header {
        margin-bottom: 15px;
    }
    
    .modal-icon {
        width: 80px; /* Keep icon size consistent or adjust as needed */
        height: 80px;
        font-size: 1.5rem; /* Slightly smaller icon font */
        margin-bottom: 10px;
    }
    
    .modal-title {
        font-size: 1.3rem; /* Smaller title for mobile */
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 12px; /* Slightly smaller padding for form controls */
    }
    
    .time-slots {
        grid-template-columns: 1fr; /* Single column for time slots */
    }
    
    .modal-nav {
        margin-top: 20px;
    }
    
    .modal-btn {
        padding: 10px 20px; /* Smaller modal buttons */
        font-size: 0.9rem;
    }
    
    /* Specific adjustments for zoom modal on mobile */
    .zoom-modal .modal-container {
        padding-top: 60px; /* Adjust if header/icon overlaps */
    }
    
    /* Specific adjustments for express service modal on mobile */
    .express-service-modal .modal-container {
        padding-top: 60px; /* Adjust if header/icon overlaps */
    }
}
/* ==================== PLANES SECTION ==================== */
.planes-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1240px;
    margin: 50px auto 0;
    text-align: left;
}

.plan-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,85,255,0.12);
    border-color: #0055ff;
}

.plan-card.popular {
    border-color: #0055ff;
    box-shadow: 0 16px 36px rgba(0,85,255,0.14);
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #0055ff, #7c3aed);
    color: #fff;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.35);
    z-index: 2;
}

.plan-badge.annual {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 4px 10px rgba(245,158,11,0.3);
}

.plan-header {
    margin-bottom: 16px;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-tagline {
    font-size: 0.88rem;
    color: #64748b;
    min-height: 42px;
    line-height: 1.4;
}

.plan-price-wrap {
    margin: 16px 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0055ff;
    line-height: 1;
}

.plan-price small {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex: 1;
}

.plan-features li {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan-features li i {
    color: #00b872;
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.plan-btn.primary {
    background: #0055ff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,85,255,0.25);
}

.plan-btn.primary:hover {
    background: #0044cc;
    box-shadow: 0 6px 20px rgba(0,85,255,0.4);
    transform: translateY(-2px);
}

.plan-btn.outline {
    background: transparent;
    color: #0055ff;
    border: 2px solid #0055ff;
}

.plan-btn.outline:hover {
    background: #0055ff;
    color: #fff;
}

/* Ocultar selector de idiomas */
.language-switcher { display: none !important; }

/* ==================== AJUSTE INTERMEDIO DE BANNER EN MÓVIL ==================== */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 1.68rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
    }

    .slide p {
        font-size: 0.94rem !important;
        line-height: 1.42 !important;
        margin-bottom: 18px !important;
        opacity: 0.95 !important;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9) !important;
        max-width: 490px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .slide .hero-btn {
        padding: 10px 22px !important;
        font-size: 0.90rem !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .slide h1 {
        font-size: 1.45rem !important;
        line-height: 1.22 !important;
        margin-bottom: 10px !important;
    }

    .slide p {
        font-size: 0.88rem !important;
        line-height: 1.38 !important;
        margin-bottom: 15px !important;
        max-width: 370px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .slide .hero-btn {
        padding: 9px 18px !important;
        font-size: 0.86rem !important;
    }
}
