/* =========================================
   TATSER - ESTILOS PRINCIPALES
   ========================================= */

:root {
    --navy: #102542;
    --navy-dark: #09182d;
    --blue: #1769e0;
    --cyan: #08b8d4;
    --turquoise: #10b9a8;
    --orange: #ff9638;

    --white: #ffffff;
    --background: #f5f9fc;
    --text: #24364b;
    --muted: #64758a;
    --border: #e1eaf2;

    --radius: 18px;
    --shadow: 0 12px 35px rgba(16, 37, 66, 0.08);
}

/* REINICIO GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

/* ENCABEZADO */

.header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: 175px;
    max-height: 65px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.navigation a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.navigation a:hover {
    color: var(--blue);
}

.navigation .nav-contact {
    background: var(--blue);
    color: var(--white);
    padding: 11px 19px;
    border-radius: 9px;
}

.navigation .nav-contact:hover {
    background: var(--navy);
    color: var(--white);
}

/* PORTADA */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(8, 184, 212, 0.12),
            transparent 30%
        ),
        linear-gradient(135deg, #ffffff 45%, #f0f8ff 100%);
    padding: 90px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(23, 105, 224, 0.09);
    border-radius: 50%;
    right: -100px;
    bottom: -140px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 65px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(36px, 4.5vw, 59px);
    line-height: 1.13;
    letter-spacing: -1.7px;
    margin-bottom: 23px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-text > p {
    max-width: 580px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(120deg, var(--blue), #2389f5);
    box-shadow: 0 8px 20px rgba(23, 105, 224, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(23, 105, 224, 0.3);
}

.btn-outline {
    border-color: var(--border);
    color: var(--navy);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--cyan);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    margin-top: 27px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--turquoise);
    box-shadow: 0 0 0 5px rgba(16, 185, 168, 0.12);
}

/* TARJETA VISUAL DE PORTADA */

.hero-visual {
    position: relative;
    padding: 20px;
}

.visual-card {
    position: relative;
    overflow: hidden;
    padding: 35px;
    min-height: 370px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(8, 184, 212, 0.42),
            transparent 42%
        ),
        linear-gradient(145deg, var(--navy), #173f70);
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(16, 37, 66, 0.22);
}

.visual-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    right: -75px;
    bottom: -100px;
}

.visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-label {
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 800;
}

.visual-symbol {
    color: var(--orange);
    font-size: 28px;
}

.visual-icon {
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    margin: 35px 0 20px;
    color: var(--white);
    font-size: 53px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 23px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.visual-card h2 {
    font-size: 27px;
    margin-bottom: 8px;
}

.visual-card p {
    color: #d3e4f7;
    max-width: 290px;
    font-size: 14px;
}

.visual-line {
    height: 3px;
    width: 70px;
    margin: 25px 0 18px;
    border-radius: 10px;
    background: var(--orange);
}

.visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.visual-tags span {
    padding: 6px 11px;
    color: #e8f4ff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    font-size: 11px;
}

.floating-badge {
    position: absolute;
    z-index: 2;
    padding: 12px 16px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 800;
}

.badge-top {
    top: 0;
    right: 0;
}

.badge-bottom {
    bottom: 0;
    left: 0;
}

/* TÍTULOS DE SECCIÓN */

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2,
.equipment-text h2 {
    color: var(--navy);
    font-size: clamp(29px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
}

/* SERVICIOS */

.services {
    background: var(--white);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(8, 184, 212, 0.55);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 22px;
    border-radius: 15px;
    font-size: 28px;
    font-weight: 800;
}

.icon-blue {
    color: var(--blue);
    background: #e9f1ff;
}

.icon-cyan {
    color: #009bb7;
    background: #e4faff;
}

.icon-orange {
    color: #db7718;
    background: #fff0df;
}

.icon-purple {
    color: #7754c7;
    background: #f0eaff;
}

.service-card h3 {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 13px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

/* VENTA DE EQUIPOS */

.equipment {
    background: var(--background);
}

.equipment-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 65px;
}

.equipment-text > p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 28px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.equipment-card {
    position: relative;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.equipment-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #cbd8e5;
    font-size: 13px;
    font-weight: 800;
}

.equipment-icon {
    color: var(--cyan);
    font-size: 33px;
    margin-bottom: 13px;
}

.equipment-card h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 8px;
}

.equipment-card p {
    color: var(--muted);
    font-size: 13px;
}

/* SOLUCIONES */

.solutions {
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.solution-item > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
}

.solution-item h3 {
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 8px;
}

.solution-item p {
    color: var(--muted);
    font-size: 13px;
}

/* CONTACTO */

.contact {
    padding-top: 25px;
    background: var(--white);
}

.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 50px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(8, 184, 212, 0.3),
            transparent 40%
        ),
        linear-gradient(120deg, var(--navy-dark), var(--navy));
    border-radius: 24px;
}

.contact-panel > div:first-child {
    max-width: 650px;
}

.contact-panel .eyebrow {
    color: #59d9e8;
}

.contact-panel h2 {
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.25;
    margin-bottom: 15px;
}

.contact-panel p {
    color: #d0ddec;
    font-size: 14px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-shrink: 0;
}

.btn-whatsapp {
    color: var(--white);
    background: var(--turquoise);
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background: #079d90;
}

.email-link {
    color: #d6edff;
    font-size: 13px;
}

/* PIE DE PÁGINA */

.footer {
    margin-top: 75px;
    padding: 30px 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand img {
    width: 135px;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 7px;
}

.footer-brand p,
.footer-content > p {
    color: var(--muted);
    font-size: 12px;
}

/* TABLET */

@media (max-width: 1000px) {
    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 12px;
    }

    .hero-content {
        gap: 30px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .equipment-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* TELÉFONOS */

@media (max-width: 700px) {
    .section {
        padding: 65px 0;
    }

    .navbar {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 14px 0;
    }

    .brand img {
        width: 145px;
        max-height: 55px;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .navigation a {
        font-size: 12px;
    }

    .navigation .nav-contact {
        padding: 7px 11px;
    }

    .hero {
        padding: 55px 0 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-visual {
        padding: 12px;
    }

    .visual-card {
        padding: 27px;
        min-height: 340px;
    }

    .badge-top {
        right: -3px;
    }

    .badge-bottom {
        left: -3px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 30px 24px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-whatsapp {
        white-space: normal;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ACCESIBILIDAD: MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
} 