/* =========================================================
   VARIABLES
========================================================= */
:root {
    --yellow: #f4c400;
    --yellow-light: #ffd83d;
    --yellow-dark: #d9aa00;
    --green: #16a34a;
    --green-dark: #12813c;
    --dark: #111315;
    --dark-2: #191c1f;
    --gray-dark: #4b5563;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 15px 40px rgba(17, 19, 21, 0.10);
    --shadow-hover: 0 20px 50px rgba(17, 19, 21, 0.16);
    --radius: 18px;
    --transition: 0.3s ease;
    --container: 1180px;
}

/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

button {
    font-family: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

/* =========================================================
   HEADER
========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 12px;
    font-size: 20px;
    transform: rotate(-4deg);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(0deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-size: 18px;
    font-weight: 800;
}

.logo-text small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;
    color: var(--gray-dark);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--dark);
}

.nav a:hover::after {
    width: 100%;
}

/* HEADER BUTTON */
.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    background: var(--dark);
    color: var(--white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.header-button:hover {
    background: var(--green);
    transform: translateY(-2px);
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(244, 196, 0, 0.25);
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(22, 163, 74, 0.25);
}

/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(244, 196, 0, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7f8f6 100%
        );
    padding: 90px 0 110px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -160px;
    top: -160px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.08;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 22px;
    background: rgba(22, 163, 74, 0.08);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.hero-badge i {
    font-size: 7px;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}

.hero h1 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-content > p {
    max-width: 590px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

/* HERO INFO */
.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.hero-info div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-dark);
    font-size: 13px;
    font-weight: 700;
}

.hero-info i {
    color: var(--green);
}

/* HERO IMAGE */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    height: 520px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(17, 19, 21, 0.25)
    );
}

.hero-image-wrapper img {
    height: 100%;
    transition: transform 0.7s ease;
}

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

/* FLOATING CARD */
.hero-floating-card {
    position: absolute;
    left: -35px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 18px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.floating-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    border-radius: 10px;
    font-size: 18px;
}

.hero-floating-card div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-floating-card strong {
    font-size: 13px;
}

.hero-floating-card span {
    color: var(--gray);
    font-size: 11px;
}

/* =========================================================
   SECTION HEADER
========================================================= */
.section-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.section-header h2,
.about-content h2,
.technology-content h2,
.coverage-content h2,
.contact-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.section-header h2 span,
.about-content h2 span,
.technology-content h2 span,
.coverage-content h2 span,
.contact-content h2 span {
    color: var(--green);
}

.section-header p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   SERVICES
========================================================= */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--yellow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    background: rgba(244, 196, 0, 0.14);
    color: #b58e00;
    border-radius: 13px;
    font-size: 21px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--yellow);
    color: var(--dark);
    transform: rotate(-5deg);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.service-card a i {
    transition: var(--transition);
}

.service-card a:hover i {
    transform: translateX(5px);
}

/* =========================================================
   EMERGENCY
========================================================= */
.emergency {
    padding: 65px 0;
    background:
        linear-gradient(
            120deg,
            var(--dark),
            #202427
        );
    color: var(--white);
}

.emergency-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
}

.emergency-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 18px;
    font-size: 27px;
}

.emergency-content > span {
    display: block;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.emergency-content h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 7px;
}

.emergency-content p {
    color: #aeb4b9;
    font-size: 15px;
}

.emergency-button {
    background: var(--green);
    color: var(--white);
    white-space: nowrap;
}

.emergency-button:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-3px);
}

/* =========================================================
   ABOUT
========================================================= */
.about {
    background: var(--gray-light);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
}

.about-image > img {
    height: 510px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    right: -25px;
    bottom: 35px;
    width: 115px;
    height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.about-badge strong {
    font-size: 34px;
    line-height: 1;
}

.about-badge span {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.about-content > p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 17px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
}

.about-feature i {
    color: var(--green);
    font-size: 16px;
}

/* =========================================================
   CATEGORIES
========================================================= */
.categories {
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    min-height: 440px;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.category-residential {
    background-image: url("../img/hogar.png");
}

.category-automotive {
    background-image: url("../img/vehiculo.png");
}

.category-commercial {
    background-image: url("../img/negocio.png");
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 25%,
            rgba(17, 19, 21, 0.9) 100%
        );
    z-index: -1;
}

.category-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    color: var(--white);
}

.category-overlay > span {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-overlay h3 {
    font-size: 28px;
    line-height: 1.15;
    margin: 8px 0 10px;
}

.category-overlay p {
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.category-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.category-overlay a i {
    color: var(--yellow);
    transition: var(--transition);
}

.category-overlay a:hover i {
    transform: translateX(5px);
}

/* =========================================================
   TECHNOLOGY
========================================================= */
.technology {
    background: var(--dark);
    color: var(--white);
}

.technology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.technology-content .section-tag {
    color: var(--yellow);
}

.technology-content h2 {
    margin-bottom: 20px;
}

.technology-content h2 span {
    color: var(--yellow);
}

.technology-content > p {
    max-width: 520px;
    color: #aeb4b9;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.technology-list {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

.technology-list div {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    font-weight: 700;
}

.technology-list i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(244, 196, 0, 0.12);
    color: var(--yellow);
    border-radius: 10px;
}

.technology-image {
    height: 500px;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.technology-image img {
    height: 100%;
    transition: transform 0.7s ease;
}

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

/* =========================================================
   WHY US
========================================================= */
.why-us {
    background: var(--gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    position: relative;
    padding: 30px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.why-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #d9dde1;
    font-size: 13px;
    font-weight: 900;
}

.why-card > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 12px;
    font-size: 18px;
}

.why-card h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.why-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   COVERAGE
========================================================= */
.coverage {
    background: var(--white);
}

.coverage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.coverage-content > p {
    max-width: 500px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

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

.coverage-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: var(--gray-light);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.coverage-list i {
    color: var(--green);
}

.coverage-map {
    height: 420px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            #e8ece8,
            #f6f7f6
        );
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--green);
    text-align: center;
}

.map-placeholder i {
    font-size: 55px;
}

.map-placeholder span {
    color: var(--gray-dark);
    font-size: 15px;
    font-weight: 800;
}

/* =========================================================
   FAQ
========================================================= */
.faq {
    background: var(--gray-light);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(244, 196, 0, 0.7);
}

.faq-question {
    width: 100%;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: none;
    background: transparent;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.faq-question i {
    color: var(--green);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 22px 20px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   CONTACT
========================================================= */
.contact {
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(244, 196, 0, 0.15),
            transparent 25%
        ),
        var(--dark);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.contact-content .section-tag {
    color: var(--yellow);
}

.contact-content h2 span {
    color: var(--yellow);
}

.contact-content > p {
    max-width: 560px;
    color: #aeb4b9;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 215px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    transition: var(--transition);
}

.contact-action:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-3px);
}

.contact-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: var(--white);
    border-radius: 10px;
}

.contact-action div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-action span {
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-action strong {
    margin-top: 2px;
    font-size: 15px;
}

/* CONTACT CARD */
.contact-card {
    padding: 40px;
    background: var(--white);
    color: var(--dark);
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--yellow);
    border-radius: 15px;
    font-size: 23px;
}

.contact-card > span {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.contact-card h3 {
    font-size: 28px;
    line-height: 1.25;
    margin: 12px 0;
}

.contact-card h3 strong {
    display: block;
    color: var(--green);
}

.contact-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 25px;
}

.contact-button {
    width: 100%;
    background: var(--dark);
    color: var(--white);
}

.contact-button:hover {
    background: var(--green);
    transform: translateY(-3px);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: #0c0e10;
    color: var(--white);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 70px 0;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 280px;
    color: #8e969c;
    font-size: 16px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 7px;
    font-size: 15px;
}

.footer-column a,
.footer-column span {
    color: #8e969c;
    font-size: 13px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--yellow);
    transform: translateX(3px);
}

.footer-column i {
    width: 17px;
    color: var(--green);
    margin-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom .container {
    min-height: 65px;
    display: flex;
    align-items: center;
}

.footer-bottom p {
    color: #697177;
    font-size: 10px;
}

/* =========================================================
   MEDIOS DE PAGO
========================================================= */
.payments {
    background: var(--gray-light);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 125px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(244, 196, 0, 0.45);
}

.payment-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(244, 196, 0, 0.14);
    color: #b58e00;
    border-radius: 13px;
    font-size: 22px;
    overflow: hidden;
}

.payment-icon img {
    width: 120%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.payment-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.payment-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   BOTONES FLOTANTES
========================================================= */
.floating-buttons {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.floating-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    transition: all 0.3s ease;
}

.floating-btn i {
    font-size: 18px;
    flex-shrink: 0;
}

.floating-btn span {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Al pasar el mouse */
.floating-btn:hover {
    width: 125px;
    justify-content: flex-start;
    padding: 0 17px;
}

.floating-btn:hover span {
    max-width: 80px;
    opacity: 1;
}

/* WhatsApp */
.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.whatsapp:hover {
    background: #20ba5a;
}

/* Correo */
.floating-btn.email {
    background: #3b82f6;
}

.floating-btn.email:hover {
    background: #2563eb;
}

/* Teléfono */
.floating-btn.phone {
    background: var(--dark);
}

.floating-btn.phone:hover {
    background: var(--green);
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */
@media (max-width: 1000px) {
    .nav {
        gap: 18px;
    }
    .header-button span {
        display: none;
    }
    .header-button {
        width: 43px;
        height: 43px;
        padding: 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .hero-content {
        max-width: 750px;
    }
    .hero-image-wrapper {
        height: 450px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container,
    .technology-container,
    .coverage-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .about-image {
        max-width: 650px;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .category-card:last-child {
        grid-column: span 2;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-column:last-child {
        grid-column: span 3;
    }
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */
@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, var(--container));
    }
    .section {
        padding: 70px 0;
    }
    /* HEADER */
    .header-container {
        min-height: 70px;
        gap: 12px;
    }
    .logo-icon {
        width: 39px;
        height: 39px;
        font-size: 17px;
    }
    .logo-text strong {
        font-size: 15px;
    }
    .logo-text small {
        font-size: 8px;
    }
    .nav {
        gap: 12px;
    }
    .nav a {
        font-size: 11px;
    }
    .nav a:nth-child(4),
    .nav a:nth-child(5) {
        display: none;
    }
    .header-button {
        width: 39px;
        height: 39px;
    }
    /* HERO */
    .hero {
        padding: 65px 0 75px;
    }
    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }
    .hero-content > p {
        font-size: 15px;
    }
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .btn {
        min-height: 48px;
        padding: 0 15px;
        font-size: 13px;
    }
    .hero-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-image-wrapper {
        height: 360px;
        border-radius: 20px;
    }
    .hero-floating-card {
        left: 15px;
        bottom: 15px;
        padding: 11px 13px;
    }
    .floating-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .hero-floating-card strong {
        font-size: 11px;
    }
    .hero-floating-card span {
        font-size: 9px;
    }
    /* SECTION */
    .section-header {
        margin-bottom: 38px;
    }
    .section-header h2,
    .about-content h2,
    .technology-content h2,
    .coverage-content h2,
    .contact-content h2 {
        font-size: 32px;
    }
    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 25px;
    }
    /* EMERGENCY */
    .emergency {
        padding: 45px 0;
    }
    .emergency-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
    }
    .emergency-icon {
        margin: 0 auto;
    }
    .emergency-content h2 {
        font-size: 24px;
    }
    .emergency-button {
        width: 100%;
    }
    /* ABOUT */
    .about-image > img {
        height: 390px;
    }
    .about-badge {
        right: 15px;
        bottom: 20px;
        width: 90px;
        height: 90px;
    }
    .about-badge strong {
        font-size: 22px;
    }
    .about-badge span {
        font-size: 9px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    /* CATEGORIES */
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .category-card,
    .category-card:last-child {
        grid-column: auto;
        min-height: 390px;
    }
    /* TECHNOLOGY */
    .technology-image {
        height: 360px;
    }
    /* WHY */
    .why-grid {
        grid-template-columns: 1fr;
    }
    /* COVERAGE */
    .coverage-list {
        grid-template-columns: 1fr;
    }
    .coverage-map {
        height: 300px;
    }
    /* CONTACT */
    .contact {
        padding: 70px 0;
    }
    .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .contact-action {
        width: 100%;
    }
    .contact-card {
        padding: 30px 20px;
    }
    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 55px 0;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-column:last-child {
        grid-column: span 2;
    }
    .footer-bottom .container {
        min-height: 55px;
    }
    .footer-bottom p {
        line-height: 1.5;
    }
    .floating-buttons {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }
    .floating-btn {
        width: 46px;
        height: 46px;
    }
    .floating-btn i {
        font-size: 19px;
    }
    .floating-btn:hover {
        width: 46px;
        padding: 0;
        justify-content: center;
    }
    .floating-btn:hover span {
        max-width: 0;
        opacity: 0;
    }
    .payment-grid {
        grid-template-columns: 1fr;
    }
    .payment-card {
        min-height: 100px;
        padding: 18px;
    }
}

/* =========================================================
   VERY SMALL SCREENS
========================================================= */
@media (max-width: 430px) {
    .nav {
        gap: 8px;
    }
    .nav a {
        font-size: 10px;
    }
    .nav a:nth-child(3) {
        display: none;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero-buttons {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        height: 310px;
    }
}