/* =========================================================
   CIAR - DISEÑO PRINCIPAL
========================================================= */

:root {
    --blue: #079fe9;
    --blue-light: #20b8ff;
    --blue-dark: #006fc7;

    --navy: #03172b;
    --navy-2: #061d35;
    --navy-3: #082744;

    --white: #ffffff;
    --text: #eaf3f9;
    --muted: #aebdca;

    --container: 1450px;
    --header-h: 110px;
    --header-h-mobile: 78px;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;

    background: var(--navy);

    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

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


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-h);

    z-index: 1000;

    background: #041731;

    border-bottom:
        1px solid
        rgba(31, 164, 230, .18);

    transition: .3s ease;
}

.header.scrolled {
    position: fixed;

    background: #041731;

    box-shadow:
        0 8px 35px rgba(0,0,0,.35);
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    width: 100%;
    max-width: var(--container);

    height: var(--header-h);

    margin: auto;

    padding: 0 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}


/* =========================================================
   GRUPO LOGO + NOMBRE (se mantiene junto siempre)
========================================================= */

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0; /* permite que el texto se ajuste sin desbordar */
    flex-shrink: 1;
}

.nav-logo {
    width: 98px;
    height: 98px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    overflow: hidden;
    border-radius: 50%;
}

.nav-logo img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
}

.nav-brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.brand-ciar-nav {
    margin: 0;
    padding: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.1;

    color: #fff;

    white-space: nowrap;
}

.brand-subtitle-nav {
    display: block;

    margin-top: 5px;
    padding: 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.35;

    letter-spacing: .4px;

    text-transform: uppercase;

    color: #8195aa;

    white-space: normal;
}


/* =========================================================
   LOGO / MARCA (footer y otros usos, sin relación al nav)
========================================================= */

.logo {
    width: 300px;
    height: 280px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    overflow: hidden;
    border-radius: 34px;

    text-decoration: none;
}

.logo img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    border-radius: 34px;

    object-fit: contain;
    object-position: left center;
}

.brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0;
    padding: 0;
    transform: translateX(-2px);

    margin-left: 15px;
}

.brand-ciar {
    margin: 0;
    padding: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1;

    color: #fff;
}

.brand-subtitle {
    display: block;

    margin-top: 6px;
    padding: 0;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.45;

    letter-spacing: .55px;

    text-transform: uppercase;

    color: #8195aa;
}


/* =========================================================
   NAVBAR (desktop)
========================================================= */

.navbar {
    flex: 1;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 34px;
}

.nav-link {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    color: #d8e5ee;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    transition: .25s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 3px;

    border-radius: 10px;

    background: white;
}

/* El botón de plataforma duplicado solo existe para el menú móvil */
.nav-link.btn-mobile-platform {
    display: none;
}


/* =========================================================
   BOTÓN HEADER (WhatsApp)
========================================================= */

.btn-header {
    width: 178px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #0875d1,
            #09a8f2
        );

    color: white;

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 7px 25px
        rgba(0,145,235,.25);

    transition: .25s ease;
}

.btn-header:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 32px
        rgba(0,155,245,.42);
}

/* El botón de WhatsApp dentro del menú móvil se oculta en escritorio */
.mobile-whatsapp-btn {
    display: none;
}


/* =========================================================
   BOTÓN HAMBURGUESA
========================================================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;

    width: 28px;
    height: 20px;

    border: 0;
    background: transparent;
    cursor: pointer;

    flex-shrink: 0;

    z-index: 1100;
}

.nav-toggle span {
    display: block;

    width: 100%;
    height: 2.5px;

    background: #fff;
    border-radius: 3px;

    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: 760px;

    overflow: hidden;

    background:
        #021426;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-background {
    position: absolute;

    inset: 0;

    z-index: 0;

    background-image:
        url("../assets/hero-ciar.png");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center center;

    transform: scale(1.01);
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(1,18,35,.98) 0%,
            rgba(1,22,40,.91) 25%,
            rgba(1,25,44,.68) 45%,
            rgba(1,20,36,.25) 72%,
            rgba(0,10,20,.08) 100%
        );

    pointer-events: none;
}

.hero-overlay::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(1,16,29,.92) 0%,
            transparent 35%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-container {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: var(--container);

    min-height: 645px;

    margin: auto;

    padding:
        135px 55px 145px;

    display: flex;
    align-items: center;
}

.hero-content {
    width: 690px;
    max-width: 690px;
}

.hero-content h1 {
    margin-bottom: 28px;

    color: white;

    font-size: clamp(48px, 4.3vw, 68px);

    line-height: 1.06;

    font-weight: 800;

    letter-spacing: -2px;
}

.hero-content h1 span {
    color: var(--blue);
}

.hero-content p {
    width: 620px;
    max-width: 100%;

    margin-bottom: 32px;

    color: #f0f6fa;

    font-size: 19px;

    line-height: 1.55;

    font-weight: 400;
}


/* =========================================================
   BOTÓN HERO
========================================================= */

.btn-primary {
    min-width: 175px;
    height: 52px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #087bd6,
            #08a9f3
        );

    color: white;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 10px 28px
        rgba(0,145,240,.35);

    transition: .25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(0,155,250,.48);
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 20;

    width: 100%;

    min-height: 125px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background:
        linear-gradient(
            180deg,
            rgba(2,32,56,.97),
            rgba(2,20,37,.99)
        );

    border-top:
        1px solid
        rgba(17,157,223,.25);
}

.feature {
    position: relative;

    min-height: 125px;

    padding: 18px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.feature:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 27px;
    right: 0;

    width: 1px;
    height: 72px;

    background:
        rgba(20,136,199,.42);
}

.feature-icon {
    margin-bottom: 10px;

    color: var(--blue);

    font-size: 30px;

    filter:
        drop-shadow(
            0 0 8px
            rgba(0,165,245,.28)
        );
}

.feature-text {
    display: flex;
    flex-direction: column;

    gap: 2px;

    font-size: 15px;

    line-height: 1.35;
}

.feature-text strong {
    color: white;
    font-weight: 700;
}

.feature-text span {
    color: #d3e1ea;
    font-weight: 500;
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.about {
    position: relative;

    width: 100%;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        50% 50%;

    overflow: hidden;

    background: white;

    border-top:
        1px solid
        rgba(255,255,255,.05);
}

.about-content {
    position: relative;

    z-index: 5;

    padding:
        85px
        75px
        75px
        max(55px, calc((100vw - var(--container)) / 2 + 55px));

    background: white;
}

.about-label {
    margin-bottom: 12px;

    color: #0b9ce5;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 4px;
}

.about-content h2 {
    margin-bottom: 17px;

    color: #071d43;

    font-size: 48px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;
}

.about-line {
    width: 85px;
    height: 4px;

    margin-bottom: 32px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #058dd7,
            #20b7ff
        );
}

.about-content p {
    max-width: 660px;

    margin-bottom: 22px;

    color: #263d5e;

    font-size: 18px;

    line-height: 1.58;

    font-weight: 500;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background: #071d35;
}

.about-image > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}

.about-gradient {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 0;

    width: 35%;

    background:
        linear-gradient(
            90deg,
            white 0%,
            rgba(255,255,255,.85) 18%,
            rgba(255,255,255,.32) 60%,
            transparent 100%
        );
}

.about-logo {
    position: absolute;

    top: 35px;
    right: 40px;

    z-index: 10;

    width: 170px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px 12px;

    border-radius: 8px;

    background:
        rgba(2,18,34,.72);

    border:
        1px solid
        rgba(255,255,255,.15);

    backdrop-filter: blur(8px);
}

.about-logo img {
    width: 145px !important;
    height: 58px !important;

    object-fit: contain;
}


/* =========================================================
   SECCIONES PLACEHOLDER
========================================================= */

.placeholder {
    position: relative;

    min-height: 620px;

    padding: 100px 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #061c32,
            #04172a
        );
}

.placeholder > div {
    max-width: 1000px;
}

.section-tag {
    display: block;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 4px;
}

.placeholder h2 {
    color: white;

    font-size: 55px;

    font-weight: 800;
}


/* =========================================================
   CIAR — EQUIPO DE TRABAJO
========================================================= */

.team-section {
    position: relative;

    width: 100%;

    min-height: 820px;

    margin: 0;

    display: grid;

    grid-template-columns: 52% 48%;

    overflow: hidden;

    background: transparent;

    border: none;

    border-radius: 0;

    box-shadow: none;
}

.team-info {
    position: relative;

    z-index: 5;

    padding: 100px 58px;

    background:
        radial-gradient(
            circle at 0% 100%,
            rgba(0, 133, 214, 0.10),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0a111b 0%,
            #050a11 65%,
            #03070c 100%
        );
}

.team-info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 150px;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #079fe9,
            #29bcff
        );

    box-shadow:
        0 0 18px rgba(7, 159, 233, .45);
}

.team-heading {
    margin-bottom: 28px;
}

.team-label {
    display: block;

    margin-bottom: 7px;

    color: #0aa8f2;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 4px;
}

.team-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 43px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;
}

.team-line {
    width: 72px;

    height: 4px;

    margin-top: 15px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #079fe9,
            #20b8ff
        );

    box-shadow:
        0 0 12px rgba(7,159,233,.35);
}

.team-subtitle {
    margin-top: 13px;

    color: #aebdca;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 500;
}

.team-items {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.team-item {
    position: relative;

    min-height: 115px;

    padding: 15px 20px 15px 15px;

    display: flex;

    align-items: center;

    gap: 18px;

    border-radius: 14px;

    background:
        linear-gradient(
            110deg,
            rgba(18, 29, 42, .98),
            rgba(7, 13, 21, .98)
        );

    border: 1px solid rgba(255,255,255,.075);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 20px rgba(0,0,0,.20);

    transition:
        .25s ease;
}

.team-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 18px;
    bottom: 18px;

    width: 3px;

    border-radius: 10px;

    background: #079fe9;

    opacity: .45;

    transition: .25s ease;
}

.team-item:hover {
    transform: translateX(5px);

    border-color:
        rgba(7,159,233,.32);

    box-shadow:
        0 12px 28px rgba(0,0,0,.30);
}

.team-item:hover::before {
    opacity: 1;

    box-shadow:
        0 0 12px rgba(7,159,233,.55);
}

.team-icon {
    flex-shrink: 0;

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #10a9f4;

    font-size: 25px;

    background:
        radial-gradient(
            circle,
            rgba(8, 161, 235, .19),
            rgba(8, 161, 235, .04)
        );

    border:
        1px solid rgba(10, 169, 244, .28);

    box-shadow:
        inset 0 0 18px rgba(0,132,213,.08),
        0 0 20px rgba(0,132,213,.07);
}

.team-item-content {
    flex: 1;
}

.team-item-content h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.25;

    font-weight: 700;
}

.team-item-content p {
    margin: 0;

    color: #b8c6d1;

    font-size: 15px;

    line-height: 1.43;

    font-weight: 400;
}

.team-photo {
    position: relative;

    min-height: 820px;

    overflow: hidden;

    background: #02060b;
}

.team-photo img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transform: scale(1.02);

    transition: transform .7s ease;
}

.team-section:hover .team-photo img {
    transform: scale(1.045);
}

.team-photo-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:

        linear-gradient(
            90deg,
            #050a11 0%,
            rgba(5,10,17,.82) 8%,
            rgba(5,10,17,.38) 25%,
            rgba(5,10,17,.08) 48%,
            transparent 70%
        ),

        linear-gradient(
            0deg,
            rgba(2,8,15,.72),
            transparent 40%
        );
}

.team-photo-caption {
    position: absolute;

    z-index: 5;

    right: 30px;
    bottom: 30px;

    padding: 18px 21px;

    min-width: 210px;

    border-radius: 12px;

    background:
        rgba(2, 12, 23, .72);

    border:
        1px solid rgba(255,255,255,.13);

    backdrop-filter: blur(10px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.28);
}

.team-photo-caption span {
    display: block;

    margin-bottom: 6px;

    color: #10aaf4;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}

.team-photo-caption strong {
    color: #ffffff;

    font-size: 15px;

    line-height: 1.35;

    font-weight: 700;
}


/* =========================================================
   SERVICIOS - ACORDEÓN
========================================================= */

.services-section {
    position: relative;
    width: 100%;
    padding: 100px 30px 110px;
    background: #ffffff;
    overflow: hidden;
}

.services-container {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.services-header {
    margin-bottom: 35px;
}

.services-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 7px;

    color: #078fd6;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.services-label::before {
    content: "";

    width: 28px;
    height: 3px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #087ed1,
        #15b4f5
    );
}

.services-header h2 {
    margin: 0;

    color: #071a38;

    font-size: 43px;
    line-height: 1.08;
    font-weight: 800;

    letter-spacing: -.9px;
}

.services-header p {
    margin: 9px 0 0;

    color: #62748a;

    font-size: 19px;
    line-height: 1.45;
}

.services-header p strong {
    color: #078fd6;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e9f1;

    border-radius: 17px;

    box-shadow:
        0 8px 25px rgba(10, 40, 75, .065);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.service-card.active {
    border-color: rgba(7, 143, 214, .35);

    box-shadow:
        0 14px 38px rgba(7, 73, 125, .12);
}

.service-toggle {
    position: relative;

    width: 100%;

    min-height: 136px;

    padding: 14px 58px 14px 18px;

    display: grid;

    grid-template-columns:
        88px
        minmax(0, 1fr)
        275px;

    align-items: center;

    gap: 20px;

    border: 0;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #f9fbfd 100%
        );

    color: inherit;

    font-family: inherit;

    text-align: left;

    cursor: pointer;
}

.service-toggle::before {
    content: "";

    position: absolute;

    left: 0;
    top: 23px;
    bottom: 23px;

    width: 4px;

    border-radius:
        0 8px 8px 0;

    background:
        linear-gradient(
            180deg,
            #087ed1,
            #16b4f3
        );

    opacity: .75;
}

.service-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-size: 29px;

    background:
        linear-gradient(
            145deg,
            #10aaf1,
            #0569c7
        );

    border: 5px solid #eaf5fc;

    box-shadow:
        0 8px 20px rgba(0, 118, 204, .20),
        inset 0 1px 2px rgba(255,255,255,.35);

    transition:
        transform .3s ease;
}

.service-card.active .service-icon {
    transform: scale(1.05);
}

.service-content {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 12px;
}

.service-number {
    flex-shrink: 0;

    margin-top: 2px;

    color: #0798e2;

    font-size: 13px;
    font-weight: 800;
}

.service-content h3 {
    margin: 0 0 6px;

    color: #071b3d;

    font-size: 19px;
    line-height: 1.22;
    font-weight: 800;
}

.service-content p {
    max-width: 610px;

    margin: 0;

    color: #627287;

    font-size: 15px;
    line-height: 1.48;
    font-weight: 500;
}

.service-image {
    position: relative;

    width: 100%;
    height: 105px;

    overflow: hidden;

    border-radius: 12px;

    background: #dbe8f1;

    border: 1px solid rgba(7, 50, 90, .10);
}

.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform .5s ease;
}

.service-card:hover .service-image img,
.service-card.active .service-image img {
    transform: scale(1.05);
}

.service-arrow {
    position: absolute;

    right: 18px;
    top: 50%;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 50%;

    color: #087ed1;

    background: #edf7fc;

    border: 1px solid #d5edf9;

    font-size: 18px;

    transition:
        transform .35s ease,
        background .25s ease,
        color .25s ease;
}

.service-card.active .service-arrow {
    transform:
        translateY(-50%)
        rotate(180deg);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #087ed1,
            #0aaaf1
        );
}

.service-details {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .45s ease;
}

.service-card.active .service-details {
    grid-template-rows: 1fr;
}

.service-details-inner {
    min-height: 0;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, .8fr);

    gap: 55px;

    padding:
        0 65px;

    border-top: 1px solid transparent;

    transition:
        padding .45s ease,
        border-color .45s ease;
}

.service-card.active .service-details-inner {
    padding:
        28px 65px 32px;

    border-top-color:
        #e8eef4;
}

.details-label {
    display: block;

    margin-bottom: 6px;

    color: #0798e2;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.service-details-text h4 {
    margin: 0 0 12px;

    color: #071b3d;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.service-details-text p {
    max-width: 700px;

    margin: 0 0 10px;

    color: #617287;

    font-size: 13px;
    line-height: 1.6;
}

.service-details-list {
    padding-left: 28px;

    border-left:
        1px solid #e0eaf2;
}

.service-details-list h5 {
    margin: 0 0 14px;

    color: #071b3d;

    font-size: 14px;
    font-weight: 800;
}

.service-details-list ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-details-list li {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: #53677d;

    font-size: 12px;
    font-weight: 500;
}

.service-details-list li i {
    flex-shrink: 0;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #078fd6;

    background: #eaf7fd;

    font-size: 9px;
}

.services-button-container {
    display: flex;
    justify-content: center;

    margin-top: 28px;
}

.services-button {
    min-width: 275px;

    height: 49px;

    padding: 0 18px 0 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    border-radius: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0875cd,
            #079fe9
        );

    box-shadow:
        0 9px 24px rgba(0, 122, 205, .20);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.services-button i {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.14);

    font-size: 11px;
}

.services-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 13px 30px rgba(0, 122, 205, .32);
}


/* =========================================================
   FOOTER CIAR
========================================================= */

.ciar-footer {
    position: relative;

    width: 100%;

    padding: 78px 0 26px;

    background:#041731;

    border-top:
        1px solid rgba(26, 169, 239, .18);

    overflow: hidden;
}

.ciar-footer::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -360px;
    left: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 159, 232, .16) 0%,
            rgba(0, 159, 232, .06) 35%,
            transparent 70%
        );

    pointer-events: none;
}

.ciar-footer::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    bottom: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 116, 210, .14) 0%,
            transparent 70%
        );

    pointer-events: none;
}

.ciar-footer-container {
    position: relative;

    z-index: 2;

    width:
        min(
            1120px,
            calc(100% - 70px)
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        .75fr;

    gap: 150px;
}

.ciar-footer-brand {
    min-width: 0;
}

.ciar-footer-logo {
    display: flex;

    align-items: center;

    gap: 18px;
}

.ciar-footer-logo img {
    width: 340px;
    height: 150px;

    object-fit: cover;

    border-radius: 12px;

    border: 2px solid rgba(36, 173, 240, .45);

    box-shadow:
        0 0 0 4px rgba(0, 136, 210, .07),
        0 8px 28px rgba(0, 0, 0, .35);

    box-sizing: border-box;
}

.ciar-logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.ciar-logo-frame {
    position: relative;

    width: 420px;
    height: 240px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 36px;

    background: #0B1B35;

    border: 2px solid rgba(18, 169, 239, 0.65);

    box-shadow: none;
}

.ciar-logo-glow {
    position: absolute;

    width: 210px;
    height: 210px;

    top: 50%;
    left: 50%;

    display: none;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    filter: blur(12px);

    pointer-events: none;
}

.ciar-logo-frame::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(83, 205, 255, 0.75),
            transparent
        );
}

.ciar-logo-frame::after {
    content: "";

    position: absolute;

    left: 12%;
    right: 12%;
    bottom: 0;

    height: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #079fe8,
            #25c4fa,
            #079fe8,
            transparent
        );

    box-shadow:
        0 0 12px rgba(10, 175, 241, 0.65),
        0 0 25px rgba(10, 175, 241, 0.25);
}

.ciar-logo-frame img {
    display: block;

    width: 205%;
    height: 205%;

    object-fit: contain;

    border: none;
    border-radius: 0;

    box-shadow: none;
    filter: none;

    transform: none;
}

.ciar-logo-frame:hover {
    transform: translateY(-4px);

    border-color:
        rgba(27, 188, 246, 0.95);
}

.ciar-logo-frame:hover img {
    transform: scale(1.035);
}

.ciar-footer-brand-text span {
    color: #ffffff;

    font-family:
        "Oswald",
        sans-serif;

    font-size: 36px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: 2px;
}

.ciar-footer-line {
    width: 390px;

    max-width: 100%;

    height: 3px;

    margin-top: 41px;

    margin-bottom: 18px;

    background:
        linear-gradient(
            90deg,
            #079fe8 0%,
            #0879c7 50%,
            transparent 100%
        );

    box-shadow:
        0 0 10px rgba(8, 159, 232, .25);
}

.ciar-footer-slogan {
    margin: 0 0 22px;

    color: #d9e8f3;

    font-size: 19px;

    font-weight: 700;

    letter-spacing: .3px;
}

.ciar-footer-slogan span {
    margin:
        0 9px;

    color: #079fe8;
}

.ciar-footer-description {
    max-width: 450px;

    margin: 0;

    color: #8fa7ba;

    font-size: 17px;

    line-height: 1.75;
}

.ciar-footer-contact {
    padding-top: 10px;
}

.ciar-footer-contact h3 {
    margin: 0;

    color: #ffffff;

    font-family:
        "Oswald",
        sans-serif;

    font-size: 17px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

.ciar-contact-line {
    width: 55px;

    height: 3px;

    margin-top: 13px;

    margin-bottom: 30px;

    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            #079fe8,
            #006f97
        );

    box-shadow:
        0 0 20px rgba(2, 2, 2, 0.993);
}

.ciar-contact-item {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 22px;
}

.ciar-contact-icon {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(7, 159, 232, .25);

    border-radius: 10px;

    color: #0aa9ef;

    background:
        rgba(7, 159, 232, .07);

    font-size: 14px;
}

.ciar-contact-item > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.ciar-contact-label {
    color: #667f93;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}

.ciar-contact-value {
    color: #d6e2eb;

    font-size: 14px;

    line-height: 1.4;
}

.ciar-footer-bottom {
    position: relative;

    z-index: 2;

    width:
        min(
            1120px,
            calc(100% - 70px)
        );

    margin: 58px auto 0;

    padding-top: 23px;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    border-top:
        1px solid rgba(122, 158, 182, .14);

    color: #647b8d;

    font-size: 12px;
}

.ciar-footer-separator {
    color: #168fcb;

    opacity: .6;
}


/* =========================================================
   RESPONSIVE — >1200px base ya cubierto arriba
========================================================= */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   RESPONSIVE 1200
========================================================= */

@media (max-width: 1200px) {

    .header-container {
        padding: 0 25px;
    }

    .navbar {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .btn-header {
        width: 150px;
    }

    .hero-container {
        padding-left: 45px;
        padding-right: 45px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .about-content {
        padding:
            70px
            45px
            65px
            45px;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .about-content p {
        font-size: 16px;
    }
}


/* =========================================================
   TABLET / MÓVIL — 900px: aquí entra el menú hamburguesa
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-h: var(--header-h-mobile);
    }

    .header,
    .header-container {
        height: var(--header-h-mobile);
    }

    .header-container {
        padding: 0 16px;
        gap: 10px;
    }

    /* Logo + nombre completo, siempre visibles */
    .nav-logo {
        width: 46px;
        height: 46px;
    }

    .brand-ciar-nav {
        font-size: 18px;
    }

    .brand-subtitle-nav {
        font-size: 9px;
        margin-top: 3px;
    }

    /* El botón de escritorio se oculta: reaparece dentro del menú */
    .header-container > a.btn-header.desktop-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Panel lateral deslizable */
    .navbar {
        position: fixed;
        top: 0;
        right: 0;

        height: 100vh;
        width: min(80vw, 320px);

        background: rgba(3, 23, 43, .98);
        backdrop-filter: blur(16px);

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 24px;

        padding: 90px 32px 32px;

        transform: translateX(100%);
        transition: transform .35s ease;

        border-left: 1px solid rgba(31,164,230,.18);

        z-index: 1090;

        overflow-y: auto;
    }

    .navbar.open {
        transform: translateX(0);
    }

    .nav-link {
        height: auto;
        width: 100%;

        font-size: 17px;

        padding: 10px 0;

        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .nav-link.active::after {
        display: none;
    }

    /* Dentro del menú móvil sí se muestran estos dos elementos */
    .nav-link.btn-mobile-platform {
        display: flex;
        align-items: center;
        justify-content: center;

        margin-top: 6px;

        background: rgba(7, 159, 233, .15);
        border: 1px solid var(--blue);
        border-bottom: 1px solid var(--blue);
        border-radius: 8px;

        padding: 12px 20px;
        width: 100%;

        text-align: center;
    }

    .mobile-whatsapp-btn {
        display: flex;
        width: 100%;
        margin-top: 4px;
    }
}


/* =========================================================
   TABLET (secciones generales, sin relación al header)
========================================================= */

@media (max-width: 900px) {

    .about {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 65px 45px;
    }

    .about-image {
        min-height: 500px;
    }

    .about-gradient {
        width: 100%;
        height: 180px;

        bottom: auto;

        background:
            linear-gradient(
                180deg,
                white,
                transparent
            );
    }

    .team-section {
        width: min(
            100% - 40px,
            900px
        );

        grid-template-columns:
            1fr 1fr;
    }

    .team-info {
        padding:
            45px 35px;
    }

    .team-heading h2 {
        font-size:
            35px;
    }

    .team-item {
        min-height:
            105px;
    }

    .team-icon {
        width:
            55px;

        height:
            55px;

        font-size:
            21px;
    }

    .team-item-content p {
        font-size:
            11px;
    }

    .service-toggle {
        grid-template-columns:
            75px
            minmax(0, 1fr)
            230px;

        gap: 15px;
    }

    .service-icon {
        width: 65px;
        height: 65px;

        font-size: 25px;
    }

    .service-details-inner {
        gap: 30px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .service-card.active .service-details-inner {
        padding-left: 40px;
        padding-right: 40px;
    }

    .ciar-footer {
        padding:
            60px 0 25px;
    }

    .ciar-footer-container {
        width:
            min(
                100% - 40px,
                600px
            );

        grid-template-columns: 1fr;

        gap: 55px;
    }

    .ciar-footer-contact {
        padding-top: 0;
    }

    .ciar-logo .logo {
        width: 200px;
        height: 180px;
    }
}


/* =========================================================
   MÓVIL — 600px
========================================================= */

@media (max-width: 600px) {

    :root {
        --header-h-mobile: 68px;
    }

    .header,
    .header-container {
        height: var(--header-h-mobile);
    }

    .header-container {
        padding: 0 14px;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .brand-ciar-nav {
        font-size: 16px;
    }

    .brand-subtitle-nav {
        font-size: 8px;
    }

    .navbar {
        width: min(85vw, 300px);
    }

    .hero {
        min-height: 850px;
    }

    .hero-container {
        min-height: 650px;

        padding:
            115px
            25px
            190px;

        align-items: center;
    }

    .hero-content h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .features {
        min-height: 190px;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature {
        min-height: 95px;
    }

    .feature-icon {
        font-size: 24px;
    }

    .feature-text {
        font-size: 11px;
    }

    .feature:nth-child(-n+2) {
        border-bottom:
            1px solid
            rgba(20,136,199,.3);
    }

    .about-content {
        padding: 50px 25px;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-image {
        min-height: 380px;
    }

    .about-logo {
        top: 20px;
        right: 20px;

        width: 140px;
        height: 60px;
    }

    .about-logo img {
        width: 120px !important;
        height: 48px !important;
    }

    .placeholder {
        min-height: 450px;
    }

    .placeholder h2 {
        font-size: 38px;
    }

    .team-section {
        width:
            calc(100% - 20px);

        border-radius:
            14px;

        margin:
            60px auto;

        display:
            flex;

        flex-direction:
            column;
    }

    .team-info {
        padding:
            45px 25px;
    }

    .team-heading h2 {
        font-size:
            31px;
    }

    .team-subtitle {
        font-size:
            14px;
    }

    .team-item {
        padding:
            13px;

        gap:
            12px;
    }

    .team-icon {
        width:
            48px;

        height:
            48px;

        font-size:
            19px;
    }

    .team-item-content h3 {
        font-size:
            13px;
    }

    .team-item-content p {
        font-size:
            11px;
    }

    .team-photo {
        min-height:
            350px;
    }

    .team-photo-overlay {
        background:

            linear-gradient(
                180deg,
                #050a11 0%,
                rgba(5,10,17,.35) 30%,
                transparent 65%
            );
    }

    .team-photo-caption {
        right:
            15px;

        bottom:
            15px;
    }

    .services-section {
        padding:
            60px 15px 70px;
    }

    .services-header h2 {
        font-size: 31px;
    }

    .services-header p {
        font-size: 14px;
    }

    .service-toggle {
        grid-template-columns:
            58px 1fr;

        gap: 12px;
    }

    .service-icon {
        width: 55px;
        height: 55px;

        font-size: 21px;
    }

    .service-content {
        gap: 7px;
    }

    .service-content h3 {
        font-size: 14px;
    }

    .service-content p {
        font-size: 11px;
    }

    .service-details-text h4 {
        font-size: 19px;
    }

    .service-details-text p {
        font-size: 12px;
    }

    .services-button {
        width: 100%;
        min-width: 0;

        font-size: 12px;
    }

    .ciar-footer-container {
        width:
            calc(100% - 30px);
    }

    .ciar-footer-logo img {
        width: 65px;
        height: 65px;
    }

    .ciar-footer-brand-text span {
        font-size: 30px;
    }

    .ciar-footer-brand-text small {
        font-size: 9px;
    }

    .ciar-footer-description {
        font-size: 13px;
    }

    .ciar-footer-bottom {
        width:
            calc(100% - 30px);

        text-align: center;
    }

    .ciar-logo-frame {
        width: 100%;
        max-width: 330px;
        height: 145px;
    }

    .ciar-logo-frame img {
        width: 245px;
        height: 110px;
    }

    .ciar-logo .logo {
        width: 130px;
        height: 115px;
    }

    .ciar-footer-line {
        width: 100%;
    }
}


/* =========================================================
   SERVICIOS — RESPONSIVE 1000 / 800 / 500
========================================================= */

@media (max-width: 1000px) {

    .service-toggle {
        grid-template-columns:
            75px
            minmax(0, 1fr)
            230px;

        gap: 15px;
    }

    .service-icon {
        width: 65px;
        height: 65px;

        font-size: 25px;
    }

    .service-details-inner {
        gap: 30px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .service-card.active .service-details-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 800px) {

    .services-section {
        padding:
            75px 20px 85px;
    }

    .services-container {
        width: 100%;
    }

    .services-header h2 {
        font-size: 37px;
    }

    .service-toggle {
        grid-template-columns:
            70px
            1fr;

        min-height: 150px;

        padding:
            16px 55px 16px 16px;
    }

    .service-image {
        grid-column:
            1 / -1;

        height: 160px;
    }

    .service-arrow {
        top: 30px;
        right: 16px;

        transform: none;
    }

    .service-card.active .service-arrow {
        transform: rotate(180deg);
    }

    .service-details-inner {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-left: 25px;
        padding-right: 25px;
    }

    .service-card.active .service-details-inner {
        padding:
            25px;
    }

    .service-details-list {
        padding-left: 0;

        padding-top: 20px;

        border-left: 0;

        border-top:
            1px solid #e0eaf2;
    }
}

@media (max-width: 500px) {

    .services-section {
        padding:
            60px 15px 70px;
    }

    .services-header h2 {
        font-size: 31px;
    }

    .services-header p {
        font-size: 14px;
    }

    .service-toggle {
        grid-template-columns:
            58px 1fr;

        gap: 12px;
    }

    .service-icon {
        width: 55px;
        height: 55px;

        font-size: 21px;
    }

    .service-content {
        gap: 7px;
    }

    .service-content h3 {
        font-size: 14px;
    }

    .service-content p {
        font-size: 11px;
    }

    .service-details-text h4 {
        font-size: 19px;
    }

    .service-details-text p {
        font-size: 12px;
    }

    .services-button {
        width: 100%;
        min-width: 0;

        font-size: 12px;
    }
}