/* =========================================================
   INKTEK - CONTACTO
   Archivo: css/contacto.css
========================================================= */


/* =========================================================
   VARIABLES LOCALES
========================================================= */

.contacto-hero,
.contacto-section,
.contacto-final-section {

    --con-blue: #0d6efd;
    --con-blue-dark: #062f6b;
    --con-green: #198754;
    --con-green-light: #00cc88;

    --con-dark: #252a31;
    --con-text: #4f5863;
    --con-muted: #858e99;

    --con-border: #e7ebf0;
    --con-light: #f7f9fc;

    --con-shadow:
        0 12px 35px rgba(20,30,50,0.07);

    --con-shadow-hover:
        0 22px 55px rgba(20,30,50,0.13);

    --con-radius: 22px;
}


/* =========================================================
   HERO
========================================================= */

.contacto-hero {

    position: relative;

    min-height: 320px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--gradient-main);

    background-size: 100% 100%;
    background-repeat: no-repeat;

    margin-bottom: 20px;

    padding: 85px 0 100px;

    z-index: 1;
}


/* =========================================================
   DECORACIÓN DEL HERO
========================================================= */

.contacto-hero-bg {

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    overflow: hidden;
}


.contacto-hero-bg::before {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -180px;
    top: -150px;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.25);

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.20),
            transparent 65%
        );

    box-shadow:
        0 0 60px rgba(0,204,136,0.12);

    animation:
        contactoHeroFloat 10s ease-in-out infinite;
}


.contacto-hero-bg::after {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -190px;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.40);

    background:
        radial-gradient(
            circle,
            rgba(0,204,136,0.25),
            transparent 65%
        );

    box-shadow:
        0 0 70px rgba(13,110,253,0.10);

    animation:
        contactoHeroRotate 24s linear infinite;
}


/* =========================================================
   DECORACIÓN DEL CONTENEDOR
========================================================= */

.contacto-hero .container {

    position: relative;

    z-index: 5;
}


.contacto-hero .container::before {

    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    top: -40px;
    right: 8%;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.25);

    animation:
        contactoDecorFloat 6s ease-in-out infinite;
}


.contacto-hero .container::after {

    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    top: 40px;
    left: 8%;

    border-radius: 50%;

    background: rgba(255,255,255,0.85);

    box-shadow:
        30px 55px 0 rgba(255,255,255,0.30),
        -18px 95px 0 rgba(0,204,136,0.50);

    animation:
        contactoDotsFloat 7s ease-in-out infinite;
}


/* =========================================================
   CURVA INFERIOR HERO
========================================================= */

.contacto-hero::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 65px;

    background: #fff;

    z-index: 10;

    pointer-events: none;

    clip-path: polygon(
        0 0,
        35% 40%,
        70% 85%,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* =========================================================
   CONTENIDO HERO
========================================================= */

.contacto-header-content {

    position: relative;

    z-index: 5;

    max-width: 800px;

    margin: 0 auto;

    padding: 20px 20px 55px;

    text-align: center;

    color: #fff;
}


/* =========================================================
   EYEBROW
========================================================= */

.contacto-eyebrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 7px 18px;

    margin-bottom: 15px;

    border-radius: 30px;

    background:
        rgba(255,255,255,0.12);

    border:
        1px solid rgba(255,255,255,0.28);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    color:
        rgba(255,255,255,0.95);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    animation:
        contactoHeroFade
        0.8s ease both;
}


.contacto-eyebrow i {

    color: #6fffc1;

    font-size: 15px;
}


/* =========================================================
   TÍTULO HERO
========================================================= */

.contacto-header-content h1 {

    margin: 0;

    color: #fff;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(34px, 5vw, 52px);

    line-height: 1.15;

    font-weight: 700;

    text-shadow:
        0 3px 15px rgba(0,0,0,0.15);

    animation:
        contactoHeroTitle
        0.9s
        cubic-bezier(.22,1,.36,1)
        both;
}


/* =========================================================
   TEXTO HERO
========================================================= */

.contacto-header-content p {

    max-width: 680px;

    margin: 12px auto 0;

    color:
        rgba(255,255,255,0.90);

    font-family:
        'Roboto',
        sans-serif;

    font-size: 16px;

    line-height: 26px;

    animation:
        contactoHeroText
        1s ease
        0.15s
        both;
}


/* =========================================================
   LÍNEA HERO
========================================================= */

.contacto-hero-line {

    width: 70px;
    height: 4px;

    margin: 22px auto 0;

    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 0 12px rgba(255,255,255,0.45);

    animation:
        contactoLineGrow
        0.8s ease
        0.35s
        both;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.contacto-section {

    position: relative;

    padding: 90px 0;

    overflow: hidden;
}


.contacto-section > .container {

    position: relative;

    z-index: 2;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.contacto-informacion {

    background: #fff;

    padding:
        85px 0 100px;
}


/* =========================================================
   TÍTULOS DE SECCIÓN
========================================================= */

.contacto-informacion .section-title {

    position: relative;

    z-index: 3;
}


.contacto-informacion .section-title .title {

    color: var(--con-dark);
}


.contacto-informacion .section-title .title span {

    color: var(--con-green);
}


.contacto-informacion .section-title p {

    color: var(--con-text);
}


/* =========================================================
   FONDO DECORATIVO
========================================================= */

.contacto-informacion::before {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -300px;
    top: 100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(13,110,253,0.055),
            transparent 68%
        );

    pointer-events: none;
}


.contacto-informacion::after {

    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -250px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,204,136,0.055),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   TARJETAS DE CONTACTO
========================================================= */

.contacto-card {

    position: relative;

    padding: 32px 25px;

    background: #fff;

    border:
        1px solid var(--con-border);

    border-radius:
        var(--con-radius);

    box-shadow:
        var(--con-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.contacto-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--con-shadow-hover);

    border-color:
        rgba(25,135,84,0.25);
}


/* =========================================================
   ICONOS
========================================================= */

.contacto-icon-circle {

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(13,110,253,0.10),
            rgba(0,204,136,0.13)
        );

    color:
        var(--con-green);

    font-size: 25px;

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}


.contacto-card:hover
.contacto-icon-circle {

    transform:
        scale(1.08)
        rotate(5deg);

    background:
        linear-gradient(
            135deg,
            rgba(13,110,253,0.15),
            rgba(0,204,136,0.20)
        );
}


/* =========================================================
   TEXTO TARJETAS
========================================================= */

.contacto-card h5 {

    margin-bottom: 10px;

    color:
        var(--con-dark);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 17px;

    font-weight: 700;
}


.contacto-card p {

    margin-bottom: 12px;

    color:
        var(--con-text);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;

    line-height: 1.7;
}


.contacto-info-link,
.contacto-info-text {

    color:
        var(--con-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    word-break: break-word;
}


.contacto-info-link:hover {

    color:
        #146c43;
}


/* =========================================================
   WHATSAPP
========================================================= */

.contacto-whatsapp-wrapper {

    margin-top: 35px;
}


.contacto-whatsapp-card {

    display: flex;

    align-items: center;

    gap: 22px;

    padding: 25px 28px;

    background:
        linear-gradient(
            135deg,
            #f2faf6,
            #f7fbff
        );

    border:
        1px solid #dcebe4;

    border-radius:
        var(--con-radius);

    box-shadow:
        0 10px 30px rgba(20,30,50,0.05);
}


.contacto-whatsapp-icon {

    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25D366;

    color: #fff;

    font-size: 28px;

    box-shadow:
        0 8px 22px rgba(37,211,102,0.20);
}


.contacto-whatsapp-content {

    flex: 1;
}


.contacto-whatsapp-content h4 {

    margin: 0 0 5px;

    color:
        var(--con-dark);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 17px;

    font-weight: 700;
}


.contacto-whatsapp-content p {

    margin: 0;

    color:
        var(--con-text);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;
}


.contacto-whatsapp-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 22px;

    border-radius: 10px;

    background: #25D366;

    color: #fff;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.contacto-whatsapp-btn:hover {

    background: #1ebe5d;

    color: #fff;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37,211,102,0.20);
}


/* =========================================================
   MAPA
========================================================= */

.contacto-mapa {

    position: relative;

    background: #f7f9fc;

    padding:
        115px 0 125px;
}


/* =========================================================
   ONDAS
========================================================= */

.contacto-wave {

    position: absolute;

    left: 0;

    width: 100%;

    height: 120px;

    display: block;

    z-index: 3;

    pointer-events: none;
}


.contacto-wave-top {

    top: 0;

    transform:
        translateY(-1px);
}


.contacto-wave-bottom {

    bottom: 0;

    transform:
        translateY(1px);
}


/* =========================================================
   TÍTULO MAPA
========================================================= */

.contacto-mapa .section-title {

    position: relative;

    z-index: 4;
}


.contacto-mapa .section-title .title {

    color:
        var(--con-dark);
}


.contacto-mapa .section-title .title span {

    color:
        var(--con-green);
}


.contacto-mapa .section-title p {

    color:
        var(--con-text);
}


/* =========================================================
   CONTENEDOR MAPA
========================================================= */

.contacto-map-wrapper {

    position: relative;

    overflow: hidden;

    margin-top: 35px;

    border-radius: 22px;

    background: #fff;

    border:
        1px solid var(--con-border);

    box-shadow:
        var(--con-shadow);

    z-index: 4;
}


.contacto-map-wrapper iframe {

    display: block;

    width: 100%;

    height: 450px;

    border: 0;
}


/* =========================================================
   CTA FINAL
========================================================= */

.contacto-final-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
    color: #fff;
    background-image: url("img/destacados.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   CURVA / PUNTA SUPERIOR DEL CTA
   UNA SOLA PUNTA A LA DERECHA
========================================================= */

.contacto-final-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    clip-path: polygon(
        0 100%,
        30% 0,
        100% 100%,
        100% 0,
        0 0
    );
}


/* =========================================================
   DECORACIÓN CTA
========================================================= */

.contacto-final-section::after {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -260px;
    bottom: -300px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.18);

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   CONTENEDOR CTA
========================================================= */

.contacto-final-section .container {

    position: relative;

    z-index: 20;
}


/* =========================================================
   ICONO CTA
========================================================= */

.contacto-final-icon {

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.12);

    border:
        1px solid rgba(255,255,255,0.25);

    color: #fff;

    font-size: 27px;

    backdrop-filter:
        blur(8px);
}


/* =========================================================
   TEXTO CTA
========================================================= */

.contacto-final-section h2 {

    margin: 0;

    color: #fff !important;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(25px, 4vw, 36px);

    font-weight: 700;
}


.contacto-final-section p {

    max-width: 720px;

    margin: 13px auto 0;

    color:
        rgba(255,255,255,0.90) !important;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   BOTÓN FINAL
========================================================= */

.contacto-final-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 28px;

    background: #25D366;

    color: #fff !important;

    border: 2px solid #25D366;

    border-radius: 50px;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(37,211,102,0.25);

    transition:
        all 0.3s ease;
}


.contacto-final-btn i {

    font-size: 20px;

    line-height: 1;
}


.contacto-final-btn:hover {

    background: #1ebe5d;

    border-color: #1ebe5d;

    color: #fff !important;

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 30px rgba(37,211,102,0.35);
}


.contacto-final-btn:active {

    transform:
        translateY(-1px);
}


/* =========================================================
   ANIMACIONES HERO
========================================================= */

@keyframes contactoHeroFloat {

    0%, 100% {

        transform:
            translateY(0)
            scale(1);
    }

    50% {

        transform:
            translateY(18px)
            scale(1.03);
    }
}


@keyframes contactoHeroRotate {

    from {

        transform:
            rotate(0deg);
    }

    to {

        transform:
            rotate(360deg);
    }
}


@keyframes contactoDecorFloat {

    0%, 100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(15px);
    }
}


@keyframes contactoDotsFloat {

    0%, 100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-15px);
    }
}


@keyframes contactoHeroFade {

    from {

        opacity: 0;

        transform:
            translateY(15px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes contactoHeroTitle {

    from {

        opacity: 0;

        transform:
            translateY(25px)
            scale(0.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes contactoHeroText {

    from {

        opacity: 0;

        transform:
            translateY(15px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes contactoLineGrow {

    from {

        opacity: 0;

        transform:
            scaleX(0);
    }

    to {

        opacity: 1;

        transform:
            scaleX(1);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .contacto-hero {

        min-height: 300px;

        padding:
            75px 0 90px;
    }


    .contacto-header-content {

        padding-bottom: 45px;
    }


    .contacto-informacion {

        padding:
            70px 0 85px;
    }


    .contacto-mapa {

        padding:
            100px 0 110px;
    }


    .contacto-whatsapp-card {

        flex-wrap: wrap;
    }


    .contacto-whatsapp-btn {

        width: 100%;
    }


    .contacto-map-wrapper iframe {

        height: 400px;
    }


    /*
       CTA
    */
    .contacto-final-section {

        padding:
            95px 0 80px;
    }
}


/* =========================================================
   TABLET / MÓVIL
========================================================= */

@media (max-width: 767px) {

    .contacto-hero {

        min-height: 280px;

        padding:
            65px 0 85px;
    }


    .contacto-hero-bg::before {

        width: 300px;
        height: 300px;

        left: -170px;
        top: -100px;
    }


    .contacto-hero-bg::after {

        width: 350px;
        height: 350px;

        right: -190px;
        top: -130px;
    }


    .contacto-hero .container::before {

        display: none;
    }


    .contacto-hero .container::after {

        left: 5%;

        top: 30px;
    }


    .contacto-header-content {

        padding:
            10px 15px 40px;
    }


    .contacto-header-content h1 {

        font-size: 36px;
    }


    .contacto-header-content p {

        font-size: 14px;

        line-height: 22px;
    }


    .contacto-hero::after {

        height: 45px;
    }


    .contacto-informacion {

        padding:
            60px 0 70px;
    }


    .contacto-card {

        padding:
            26px 20px;
    }


    .contacto-whatsapp-card {

        text-align: center;

        flex-direction: column;

        padding:
            25px 20px;
    }


    .contacto-whatsapp-content {

        width: 100%;
    }


    .contacto-whatsapp-btn {

        width: 100%;
    }


    .contacto-mapa {

        padding:
            80px 0 90px;
    }


    .contacto-wave {

        height: 75px;
    }


    .contacto-map-wrapper iframe {

        height: 350px;
    }


    /*
       CTA FINAL
    */
    .contacto-final-section {

        padding:
            80px 20px 70px;
    }


    /*
       Curva superior más pequeña
    */
    .contacto-final-section::before {

        height: 45px;

        clip-path: polygon(
            0 100%,
            35% 45%,
            70% 15%,
            100% 100%,
            100% 0,
            0 0
        );
    }


    .contacto-final-section p {

        font-size: 14px;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 575px) {

    .contacto-hero {

        padding:
            55px 0 75px;
    }


    .contacto-eyebrow {

        font-size: 10px;

        padding:
            6px 14px;
    }


    .contacto-header-content h1 {

        font-size: 32px;
    }


    .contacto-header-content p {

        font-size: 13px;
    }


    .contacto-informacion {

        padding:
            50px 0 60px;
    }


    .contacto-card {

        padding:
            24px 18px;
    }


    .contacto-icon-circle {

        width: 58px;
        height: 58px;

        font-size: 22px;
    }


    .contacto-whatsapp-icon {

        width: 55px;
        height: 55px;

        font-size: 25px;
    }


    .contacto-whatsapp-content h4 {

        font-size: 16px;
    }


    .contacto-whatsapp-content p {

        font-size: 11px;
    }


    .contacto-map-wrapper {

        border-radius: 16px;
    }


    .contacto-map-wrapper iframe {

        height: 300px;
    }


    /*
       CTA FINAL
    */
    .contacto-final-section {

        padding:
            75px 18px 60px;
    }


    .contacto-final-section::before {

        height: 40px;

        clip-path: polygon(
            0 100%,
            35% 45%,
            70% 15%,
            100% 100%,
            100% 0,
            0 0
        );
    }


    .contacto-final-section h2 {

        font-size: 25px;
    }


    .contacto-final-section p {

        font-size: 13px;
    }


    .contacto-final-btn {

        padding:
            13px 24px;

        font-size: 14px;
    }
}


/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contacto-hero-bg::before,
    .contacto-hero-bg::after,
    .contacto-hero .container::before,
    .contacto-hero .container::after,
    .contacto-eyebrow,
    .contacto-header-content h1,
    .contacto-header-content p,
    .contacto-hero-line {

        animation: none;
    }


    .contacto-card,
    .contacto-icon-circle,
    .contacto-whatsapp-btn,
    .contacto-final-btn {

        transition: none;
    }
}