:root {
    --adt-cyan: #0061AA;
    --adt-cyan-hover: #00508f;
    --adt-navy: #002d54;
    --text-dark: #222222;
    --text-muted: #555555;
    --bg-white: #ffffff;
    --bg-light: #f7f9fa;
    --bg-gray: #e9ecef;
    --black: #111111;
    --radius-btn: 6px;
    --radius-card: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
}

.text-cyan { color: var(--adt-cyan); }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

body {
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.hero-tag {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--adt-cyan);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--adt-cyan-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography Details */
.text-gradient {
    color: var(--adt-cyan);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn i {
    margin-right: 10px;
}


.btn-black {
    background-color: var(--black);
    color: var(--bg-white);
}

.btn-black:hover {
    background-color: transparent;
    color: var(--black);
    border-color: var(--black);
}

.btn-outline-blue {
    background-color: transparent;
    border: 2px solid var(--adt-cyan);
    color: var(--adt-cyan);
}

.btn-outline-blue:hover {
    background-color: var(--adt-cyan);
    color: var(--bg-white);
}

.btn-cyan {
    background-color: var(--adt-cyan);
    color: var(--bg-white);
}

.btn-cyan:hover {
    background-color: var(--adt-cyan-hover);
    color: var(--bg-white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background: var(--adt-cyan);
    color: white;
    border: none;
}

.btn-call:hover {
    background: var(--adt-cyan-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 97, 170, 0.3);
}

.cta-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 97, 170, 0.1);
    color: var(--adt-cyan);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Header */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* MAIN HEADER */
.header-main {
    padding: 10px 0;
    background: white;
}

.header-main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .header-main {
        padding: 6px 0;
    }
    .logo img {
        height: 32px;
    }
    .header-actions {
        gap: 8px;
    }
    .btn-sm {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Visibility Helpers */
.desktop-only {
    display: flex !important;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}

.mobile-only {
    display: none !important;
}

.d-desktop-none {
    display: none !important;
}

.d-mobile-only-flex {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile-only {
        display: flex !important;
    }

    .d-mobile-none {
        display: none !important;
    }

    .d-desktop-none {
        display: inline !important;
    }

    .d-mobile-only-flex {
        display: flex !important;
    }
}

.header-nav {
    display: block;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.header-nav a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--adt-cyan);
}

/* Mobile Nav Toggle Styles */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--adt-navy);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Logic */
@media (max-width: 991px) {
    .header-main {
        padding: 8px 0;
    }

    .header-main-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .logo img {
        height: 38px;
    }

    .mobile-nav-toggle {
        display: flex;
        order: 3;
        margin-left: 10px;
    }

    .header-actions {
        order: 2;
        gap: 8px;
        margin-left: auto;
    }

    .logo {
        order: 1;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 20px;
        display: flex !important;
        flex-direction: column;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }

    .header-nav.active {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
    }

    .header-nav li {
        width: 100%;
        border-bottom: 1px solid var(--bg-gray);
    }

    .header-nav li:last-child {
        border-bottom: none;
    }

    .header-nav a {
        font-size: 1rem !important;
        padding: 15px 5px;
        display: flex;
        align-items: center;
        width: 100%;
        text-align: left;
        color: var(--adt-navy);
        font-weight: 600;
    }

    .nav-call-btn {
        background: var(--adt-navy) !important;
        color: white !important;
        justify-content: center;
        gap: 10px;
        border-radius: 8px;
        margin: 20px 0 10px 0;
        padding: 16px !important;
        font-weight: 800 !important;
        box-shadow: 0 4px 12px rgba(0, 39, 78, 0.2);
    }

    .nav-call-btn i {
        font-size: 1.1rem;
    }

    .btn-sm {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }
}



/* Tablet / Desktop overlap: 
   Si quieres que en tablets se vea como ordenador hasta ciero punto */
@media (min-width: 992px) {
    .header-nav {
        display: flex !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 100px;
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%),
        url('../img/hero-hogar-desktop.jpeg');
    /* High quality local image */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-image-bg {
        background-image:
            linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%),
            url('../img/hero-hogar-mobile.jpeg');
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-tag {
    font-size: 0.9rem;
    color: var(--adt-navy);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--adt-cyan);
}

/* Hero Form */
.hero-form-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bg-gray);
}

.form-header {
    background: var(--black);
    color: var(--bg-white);
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

/* Blue top border to simulate real ADT style */
.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--adt-cyan);
}

.form-header h3 {
    font-size: 1rem;
    color: var(--adt-cyan);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.price-offer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

.price-val {
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.form-header .price-details {
    font-size: 0.9rem;
    color: #aaaaaa;
}

.free-install-badge {
    background-color: #ffd700;
    color: var(--adt-navy);
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 15px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.form-body {
    padding: 30px;
}

.form-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

.form-subtitle strong {
    color: var(--adt-cyan);
    font-size: 1.25rem;
    display: block;
    margin-top: 5px;
}

.cta-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}



@media (max-width: 576px) {
    .cta-buttons .btn {
        width: 100% !important;
    }
}

.direct-contact-card {
    text-align: center;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    justify-content: center;
}

.contact-feature i {
    color: #25d366;
}

.form-check label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-check a {
    text-decoration: underline;
}

/* Intro Features */
.intro-features {
    padding: 80px 0;
    text-align: center;
}

.section-heading {
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--adt-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--bg-gray);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 114, 206, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card h4 {
    color: var(--adt-navy);
    font-size: 1.2rem;
    margin-bottom: 15px;
    min-height: 50px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.li-free-install {
    color: #2e7d32 !important;
    /* Green for highlight */
    font-weight: 500;
}

.saving-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Packages Section */
.packages-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--bg-white);
}

.packages-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Creating a layout logic similar to Trustpilot cards but for Info/Pricing */
.package-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--bg-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
}

.package-card.featured {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--adt-cyan);
    z-index: 2;
}

.package-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--bg-gray);
}

.package-header {
    background: var(--adt-navy);
    color: var(--bg-white);
    padding: 20px;
    text-align: center;
}

.package-header.light-blue {
    background: var(--adt-cyan);
}

.package-name {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.package-title {
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.package-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.package-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    text-align: center;
    min-height: 45px;
}

.package-body ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.package-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--adt-cyan);
    font-weight: 800;
}

.package-card .btn {
    align-self: center;
    width: 100%;
}

.package-card-price {
    margin: 15px 0;
    font-size: 1.1rem;
    color: var(--adt-navy);
    font-weight: 600;
}

.package-card-price strong {
    font-size: 1.5rem;
    color: var(--adt-cyan);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
}

.calc-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--bg-gray);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.calc-header {
    text-align: center;
    margin-bottom: 40px;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    font-weight: 700;
    color: var(--adt-navy);
    margin-bottom: 10px;
    font-size: 1rem;
}

.calc-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Range Slider */
.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--adt-cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.range-value {
    font-weight: 800;
    color: var(--adt-navy);
    min-width: 60px;
    text-align: right;
}

/* Counter */
.counter-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-counter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--adt-cyan);
    background: transparent;
    color: var(--adt-cyan);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-counter:hover {
    background: var(--adt-cyan);
    color: white;
}

#calc-doors,
#calc-windows,
#calc-cam-int,
#calc-cam-ext,
#calc-det-cam {
    width: 60px;
    height: 40px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid var(--bg-gray);
    border-radius: 4px;
    pointer-events: none;
    background-color: white;
}

.camera-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.camera-label {
    display: flex;
    flex-direction: column;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--bg-gray);
    transition: border-color 0.2s;
    margin-bottom: 15px;
}

.extra-item:last-child {
    margin-bottom: 0;
}

.extra-item:hover {
    border-color: var(--adt-cyan);
}

.extra-info {
    display: flex;
    flex-direction: column;
}

.extra-info span {
    font-weight: 700;
    color: var(--adt-navy);
    font-size: 0.95rem;
}

.extra-info small {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.camera-label span:first-child {
    font-weight: 700;
    color: var(--adt-navy);
}

.camera-label .calc-hint {
    margin-top: 2px;
}

/* Toggle */
.toggle-container {
    display: flex;
    background: var(--bg-gray);
    border-radius: 30px;
    overflow: hidden;
    width: fit-content;
}

.toggle-label {
    cursor: pointer;
    position: relative;
}

.toggle-label input {
    display: none;
}

.toggle-btn {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.toggle-label input:checked+.toggle-btn {
    background: var(--adt-cyan);
    color: white;
}

/* Calc Result */
.result-card {
    background: var(--bg-light);
    border: 1px solid var(--adt-cyan);
    padding: 30px;
    border-radius: var(--radius-card);
}

.result-card h3 {
    margin-bottom: 15px;
    color: var(--adt-navy);
}

.pkg-recommended {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--adt-cyan);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.badge-rec {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    background: var(--adt-cyan);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 5px;
}

.pkg-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--adt-navy);
    font-size: 1.1rem;
    font-weight: 800;
}

.equipment-list {
    list-style: none;
    margin-bottom: 30px;
}

.equipment-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-gray);
    color: var(--text-dark);
}

.equipment-list li:last-child {
    border-bottom: none;
}

.price-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-promo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-promo strong {
    font-size: 2.2rem;
    color: var(--adt-cyan);
    line-height: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price-row.total-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-gray);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.total-row strong {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.iva-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

/* Dark ADT Ai Dectect Section - Enhanced Coherence */
.ai-detect-section {
    background: linear-gradient(135deg, var(--adt-navy) 0%, #001a33 100%);
    color: var(--bg-white);
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container-ai {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ai-text {
    flex: 1;
}

.ai-title {
    font-size: 3rem;
    color: var(--adt-cyan);
    margin-bottom: 10px;
}

.ai-subtitle {
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.ai-visual {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-card);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-icon-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.ai-icon {
    font-size: 2rem;
    background: var(--bg-white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--adt-navy);
}

/* Local Contact Area - Redesigned */
.local-contact {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(rgba(0, 45, 84, 0.85), rgba(0, 45, 84, 0.85)), url('../img/bg-contacta.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.local-info h3 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.large-text-white {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-item svg {
    color: white;
    flex-shrink: 0;
}

.contact-info-item h5 {
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1.15rem;
    color: white;
    font-weight: 700;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.glass-form-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

.glass-form-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.glass-form-card .form-group {
    margin-bottom: 15px;
}

.glass-form-card input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.glass-form-card input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glass-form-card input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--adt-cyan);
    outline: none;
}

.btn-cyan-full {
    background: var(--adt-cyan);
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-cyan-full:hover {
    background: var(--adt-cyan-hover);
    transform: translateY(-2px);
}

/* Banner CTA - Unified midnight theme */
.banner-cta {
    background: linear-gradient(to right, #001a33, var(--adt-navy));
    padding: 80px 0;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.banner-text h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer - Consistent dark blue theme */
.footer {
    background: #245fa4;
    color: white;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

@media (max-width: 480px) {
    .footer-phone {
        font-size: 1.4rem;
    }
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul a:hover {
    color: white;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        flex-direction: column;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .features-grid,
    .packages-wrapper {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .calc-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .container-ai {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .local-info h3 {
        font-size: 2rem;
        text-align: center;
    }

    .large-text-white {
        text-align: center;
    }

    .contact-info-list {
        justify-items: center;
    }

    .banner-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 0;
    }

    .header-top-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 5px;
    }

    .distributor-badge {
        font-size: 0.6rem;
    }

    .header-contact {
        width: 100%;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .phone-number {
        font-size: 1.1rem;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .header-nav ul {
        gap: 10px;
    }

    .header-nav a {
        font-size: 0.8rem;
    }

    .calc-wrapper {
        padding: 20px;
    }

    .range-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .range-value {
        text-align: center;
    }

    .ai-title {
        font-size: 2.2rem;
    }

    .banner-text h3 {
        font-size: 1.8rem;
    }

    .contact-info-list {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .price-promo,
    .price-row strong {
        text-align: right;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}


@media (max-width: 480px) {
    .header-contact {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .header-contact .btn {
        width: 100%;
        max-width: 280px;
    }

    .phone-number {
        font-size: 1.2rem;
    }

    .price-val {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .price-promo,
    .price-row strong {
        text-align: right;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 45, 84, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--adt-navy);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    color: var(--adt-navy);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal .form-group {
    margin-bottom: 20px;
}

.modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--adt-navy);
}

.modal input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bg-gray);
    border-radius: 6px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
}

.form-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
}

.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* WhatsApp Floating */
/* Equipment Showcase */
.equipment-showcase {
    padding: 80px 0;
    border-top: 1px solid var(--bg-gray);
}

.equipment-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.equipment-image {
    flex: 1;
    text-align: center;
}

.equipment-text {
    flex: 1;
}

.floating-img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 4s ease-in-out infinite;
}

.equipment-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.eq-feature-col {
    text-align: center;
    background: white;
    padding: 20px 10px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.eq-feature-col:hover {
    transform: translateY(-5px);
}

.eq-feature-col img {
    margin-bottom: 12px;
}

.eq-feature-col p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--adt-navy);
    line-height: 1.2;
}

@media (max-width: 992px) {
    .equipment-grid {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .equipment-features-row {
        grid-template-columns: 1fr;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .equipment-grid {
        flex-direction: column;
        text-align: center;
    }

    .equipment-text .section-heading {
        text-align: center !important;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* En móvil centramos los títulos para mejor legibilidad */
    .section-heading,
    .hero-title,
    h1,
    h2,
    h4 {
        text-align: center !important;
    }

    /* Las características de IA se mantienen a la izquierda */
    .ai-feature-text h3,
    .ai-feature-text p {
        text-align: left !important;
    }
}

/* Utility Classes to replace inline styles */
.flex-column {
    display: flex;
    flex-direction: column;
}

.align-start {
    align-items: flex-start;
}

.text-cyan {
    color: var(--adt-cyan) !important;
}

.font-bold {
    font-weight: 700;
}

.text-small {
    font-size: 0.75rem;
}

.text-xs {
    font-size: 0.6rem;
}

.mb-2 {
    margin-bottom: 2px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mt-15 {
    margin-top: 15px;
}

.lh-1-7 {
    line-height: 1.7;
}

.w-100 {
    width: 100%;
}

.max-w-420 {
    max-width: 420px;
}

.d-block {
    display: block;
}

.m-auto {
    margin: 0 auto;
}

.br-12 {
    border-radius: 12px;
}

.bs-30 {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-n20 {
    margin-top: -20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.form-success-bg {
    background: rgba(46, 125, 50, 0.2);
    color: white;
    padding: 10px;
    border-radius: 4px;
}

/* SEO NEW SECTIONS STYLES */

/* Segmentation Section */
.segmentation-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.segment-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bg-gray);
    display: flex;
    flex-direction: column;
}

.segment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: var(--adt-cyan);
}

.segment-card-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
    margin-bottom: 20px;
}

.segment-icon {
    font-size: 2.2rem;
    color: var(--adt-cyan);
    flex-shrink: 0;
}

.segment-card h3 {
    font-size: 1.25rem;
    color: var(--adt-navy);
    margin-bottom: 0;
    line-height: 1.2;
}

.segment-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.segment-card ul {
    list-style: none;
    padding: 0;
}

.segment-card ul li {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.segment-card ul li::before {
    content: '\f061';
    /* FontAwesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--adt-cyan);
    font-size: 0.8rem;
}

/* Proximity Section */
.proximity-section {
    padding: 80px 0;
}

.proximity-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.local-badge {
    background: var(--adt-navy);
    color: white;
    padding: 40px;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 39, 78, 0.3);
}

.local-badge i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--adt-cyan);
}

.local-badge span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .proximity-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .proximity-text .section-heading {
        text-align: center !important;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-card);
    border: 1px solid var(--bg-gray);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.faq-item h4 {
    color: var(--adt-navy);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ADT AI DETECT STYLES */

.bg-navy {
    background-color: var(--adt-navy);
}

.ai-detect-section {
    padding: 100px 0;
}

.ai-detect-header {
    margin-bottom: 60px;
}

.ai-detect-header .tagline {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--adt-cyan);
}

.ai-detect-header .intro-sub {
    font-size: 1.1rem;
    opacity: 0.9;
}

.ai-detect-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.ai-detect-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ai-detect-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ai-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ai-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: white;
}

.ai-feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
}

.ai-feature-text p {
    font-size: 0.95rem;
    color: #cbd5e0;
}

.ai-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: background 0.3s ease;
}

.ai-benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--bg-white);
}

.ai-benefit-card p {
    font-size: 0.95rem;
    color: #cbd5e0;
}

@media (max-width: 992px) {
    .ai-detect-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-detect-main {
        order: 1;
    }

    .ai-detect-features {
        order: 2;
    }

    .ai-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-left: 5px solid var(--adt-cyan);
    animation: slideUp 0.5s ease-out;
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        bottom: 30px;
        left: 30px;
        right: 30px;
        max-width: 900px;
        margin: 0 auto;
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--adt-cyan);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: var(--adt-cyan);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--adt-cyan-hover);
}

.cookie-btn-reject {
    background: #f1f3f5;
    color: var(--text-dark);
}

.cookie-btn-reject:hover {
    background: #e9ecef;
}

.cookie-btn-config {
    background: transparent;
    border-color: #dee2e6;
    color: var(--text-muted);
}

.cookie-btn-config:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hidden { display: none !important; }