/* HERO */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 0 1.2rem;
    min-height: clamp(300px, 34vw, 470px);
    background:
        radial-gradient(780px 420px at 100% 0%, rgba(211, 71, 88, 0.14), transparent 72%),
        linear-gradient(180deg, #edf1f8 0%, #e6ebf4 100%);
    border-bottom: 1px solid #e0e5f0;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(239, 243, 251, 0.97) 0%, rgba(239, 243, 251, 0.94) 36%, rgba(239, 243, 251, 0.56) 58%, rgba(239, 243, 251, 0.12) 78%, rgba(239, 243, 251, 0) 100%);
    pointer-events: none;
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, rgba(230, 236, 247, 0), rgba(223, 230, 244, 0.66));
    z-index: 1;
    pointer-events: none;
}
.hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.82;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 3;
    min-height: clamp(280px, 26vw, 390px);
    display: flex;
    align-items: center;
}
.hero-figure {
    position: absolute;
    right: clamp(-1.2rem, -1vw, -0.25rem);
    bottom: 0;
    width: min(560px, 48%);
    max-height: 92%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(27, 33, 49, 0.24));
    z-index: 2;
}
.hero-copy {
    position: relative;
    z-index: 3;
    max-width: min(55%, 640px);
    padding: clamp(1rem, 2.2vw, 1.9rem) 0;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d2394b;
    background: rgba(210, 57, 75, 0.07);
    border: 1px solid rgba(210, 57, 75, 0.2);
    border-radius: 999px;
    padding: 0.28rem 0.76rem;
}
.hero-copy h1 {
    font-size: clamp(2rem, 2.95vw, 3.9rem);
    line-height: 1.02;
    margin-bottom: 0.9rem;
    color: #252b3d;
    letter-spacing: -0.03em;
}
.hero-title-line {
    display: block;
}
.hero-copy h1 strong {
    font-weight: 700;
}
.hero-copy p {
    color: #5a6478;
    font-size: clamp(0.92rem, 0.93vw, 1.02rem);
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}
.btn-hero {
    border: 0;
    background: #d2394b;
    color: #fff;
    border-radius: 0.52rem;
    padding: 0.62rem 1.65rem;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 9px 20px rgba(210, 57, 75, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-hero:hover {
    color: #fff;
    background: #ad2f3f;
    transform: translateY(-1px);
}

@media (min-width: 1200px) {
    .hero-title-line {
        white-space: nowrap;
    }
    html[lang^="es"] .hero-copy {
        max-width: min(60%, 710px);
    }
    html[lang^="es"] .hero-copy h1 {
        font-size: clamp(1.95rem, 2.7vw, 3.45rem);
    }
}

/* CREDIBILIDAD */
.credibility-strip {
    background: #f9fbff;
    border-top: 1px solid #e2e8f3;
    border-bottom: 1px solid #e2e8f3;
    padding: 1.8rem 0;
}
.cred-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 0.8rem;
    padding: 0.95rem 0.9rem;
    box-shadow: 0 4px 12px rgba(36, 48, 78, 0.05);
}
.cred-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
}
.cred-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6deec;
    color: #d2394b;
    background: #fff;
    font-size: 1.1rem;
}
.cred-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3a4462;
    line-height: 1.45;
    margin: 0;
}

/* TEXTO */
.text-section {
    padding: 3rem 0;
}
.text-section + .text-section {
    padding-top: 0;
}
.text-section-equal .row > [class*="col-"] {
    display: flex;
}
.text-section-equal .text-block {
    width: 100%;
    height: 100%;
}
.text-block {
    background: #fff;
    border: 1px solid #dde4f1;
    border-radius: 1rem;
    padding: 2rem 2rem 2rem 1.75rem;
    border-left: 4px solid #d2394b;
    box-shadow: 0 6px 18px rgba(32, 45, 74, 0.05);
}
.text-block-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d2394b;
    margin-bottom: 0.7rem;
}
.text-block h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: #1f2737;
    margin-bottom: 0.9rem;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.text-block p {
    font-size: 0.98rem;
    color: #505a72;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}
.text-block p:last-child {
    margin-bottom: 0;
}
.text-block p:first-of-type {
    font-size: 1.04rem;
    color: #3b4562;
    font-weight: 500;
}

/* FILOSOFIA */
.philosophy-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f4f7fc 0%, #eef2f9 100%);
    border-top: 1px solid #e2e9f5;
    border-bottom: 1px solid #e2e9f5;
}
.philosophy-section .section-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d2394b;
    margin-bottom: 0.5rem;
}
.philosophy-section h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: #1f2737;
    margin-bottom: 1.6rem;
    letter-spacing: -0.025em;
}
.philo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}
.philo-list-clean {
    width: 100%;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    align-items: stretch;
}
.philo-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #dde4f0;
    border-radius: 0.7rem;
    padding: 0.85rem 1rem;
    font-size: 0.93rem;
    font-weight: 600;
    color: #303c56;
    box-shadow: 0 3px 8px rgba(30, 45, 80, 0.05);
}
.philo-list-clean li {
    min-height: 72px;
    width: 100%;
}
.philo-list li i {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #d2394b;
}

/* SERVICIOS */
.services-section {
    padding: 3rem 0 4rem;
}
.section-heading {
    text-align: center;
    margin-bottom: 2.2rem;
}
.section-heading .section-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #d2394b;
    margin-bottom: 0.4rem;
}
.section-heading h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    color: #1f2737;
    margin: 0;
    letter-spacing: -0.025em;
}
.service-card {
    background: #fff;
    border: 1px solid #d8dfef;
    border-radius: 0.9rem;
    padding: 1.5rem 1.35rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(36, 48, 78, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: #c7d3ea;
    box-shadow: 0 16px 30px rgba(29, 43, 76, 0.11);
}
.service-card-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    color: #d2394b;
    font-size: 1.3rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(210, 57, 75, 0.2);
    background: rgba(210, 57, 75, 0.07);
}
.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2737;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #616c84;
    line-height: 1.65;
}

/* CONTACTO */
.cta-section {
    padding: 3.5rem 0 3.5rem;
    background:
        radial-gradient(460px 200px at 100% 0%, rgba(210, 57, 75, 0.36), transparent 80%),
        radial-gradient(430px 220px at 0% 100%, rgba(63, 104, 186, 0.34), transparent 70%),
        linear-gradient(100deg, #121a2f, #1b2440);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/ngt_ciudad_futurista.png") center / cover no-repeat;
    opacity: 0.12;
}
.cta-shell {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-inline: auto;
}
.cta-shell h2 {
    margin-bottom: 0.4rem;
    text-align: center;
    color: #eef3ff;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
.cta-subtitle {
    text-align: center;
    color: rgba(220, 229, 252, 0.7);
    font-size: 0.93rem;
    margin-bottom: 1.8rem;
}
.cta-form .form-control,
.cta-form textarea.form-control {
    border-radius: 0.5rem;
    border: 1px solid rgba(228, 236, 252, 0.2);
    background: rgba(234, 241, 255, 0.08);
    color: #f2f6ff;
    font-size: 0.92rem;
}
.cta-form .form-control {
    height: 48px;
}
.cta-form textarea.form-control {
    height: auto;
    resize: vertical;
}
.cta-form .form-control::placeholder,
.cta-form textarea.form-control::placeholder {
    color: rgba(220, 229, 250, 0.6);
}
.cta-form .form-control:focus,
.cta-form textarea.form-control:focus {
    box-shadow: none;
    border-color: rgba(235, 242, 255, 0.55);
    background: rgba(234, 241, 255, 0.14);
    color: #fff;
}
.btn-cta {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 0.5rem;
    background: #d2394b;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-cta:hover {
    background: #ae2f3f;
    color: #fff;
    transform: translateY(-1px);
}

/* ANIMACION */
.reveal-up {
    animation: revealUp 0.85s ease both;
}
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
    .hero-content {
        min-height: 340px;
    }
    .hero-copy {
        max-width: min(58%, 560px);
    }
    .hero-copy h1 {
        font-size: clamp(1.95rem, 3.2vw, 3.2rem);
    }
    .hero-figure {
        width: min(500px, 47%);
        max-height: 90%;
    }
}
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 1.05rem;
        padding-bottom: 1rem;
    }
    .hero-content {
        min-height: 300px;
    }
    .hero-copy h1 {
        font-size: clamp(1.7rem, 4.1vw, 2.7rem);
    }
    .hero-copy {
        max-width: 60%;
        padding: 0.85rem 0;
    }
    .hero-figure {
        width: min(390px, 45%);
        right: -0.35rem;
        bottom: 0;
        max-height: 88%;
    }
    .hero-copy p {
        font-size: 0.92rem;
    }
    .text-section {
        padding: 2rem 0;
    }
    .services-section {
        padding: 2rem 0 3rem;
    }
}
@media (max-width: 767.98px) {
    .hero-content {
        min-height: 290px;
    }
    .hero-copy {
        max-width: 62%;
    }
    .hero-figure {
        width: min(340px, 50%);
        right: -0.4rem;
        max-height: 86%;
    }
    .text-block {
        padding: 1.4rem 1.2rem 1.4rem 1rem;
    }
    .philo-list {
        grid-template-columns: 1fr;
    }
    .philo-list-clean li {
        min-height: auto;
    }
}
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 0.75rem;
        padding-bottom: 0.9rem;
    }
    .hero-section::before {
        background: linear-gradient(180deg, rgba(239, 243, 251, 0.96) 0%, rgba(239, 243, 251, 0.9) 44%, rgba(239, 243, 251, 0.62) 68%, rgba(239, 243, 251, 0.15) 100%);
    }
    .hero-section::after {
        height: 32%;
    }
    .hero-copy h1 {
        font-size: 1.7rem;
        line-height: 1.08;
    }
    .hero-copy p {
        font-size: 0.88rem;
        margin-bottom: 0.85rem;
        max-width: none;
    }
    .hero-content {
        min-height: 392px;
        align-items: flex-start;
    }
    .hero-bg-layer {
        object-position: 60% center;
    }
    .hero-copy {
        max-width: 100%;
        padding: 0.72rem 0 0;
    }
    .hero-figure {
        width: min(280px, 78%);
        right: 50%;
        transform: translateX(50%);
        bottom: 0;
        max-height: 56%;
    }
    .btn-hero {
        padding: 0.55rem 1.3rem;
    }
}
