:root {
    --blue: #002cff;
    --lime: #c3ff00;
    --ink: #3b3b3b;
    --navy: #121646;
    --border: #dfdfdf;
    --footer-background: #ededed;
}

/* EqualWeb: el botón semicircular debe quedar unido al borde de la pantalla. */
#INDWrap #INDmenu-btn.INDsemicircle-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4
}

button,
input,
textarea {
    font: inherit
}

button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #8b9fff;
    outline-offset: 5px
}

button {
    border: 0
}

p {
    margin: 0 0 1rem
}

strong {
    font-weight: 700
}

.ne-container {
    width: calc(100% - 48px);
    max-width: 1456px;
    padding: 0
}

header {
    background: #fff
}

.navbar {
    min-height: 147px;
    padding: 24px 5.5% 24px 3.8%;
    display: flex;
    justify-content: space-between;
    gap: 30px
}

.brand {
    display: flex;
    align-items: center;
    gap: 21px
}

.brand img {
    object-fit: contain
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 46px
}

.nav-links button {
    background: none;
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 23px;
    font-weight: 900;
    white-space: nowrap
}

.nav-links .pill,
.pill {
    background: var(--blue);
    color: white;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: Lato, sans-serif;
    font-weight: 900;
    padding: 13px 25px;
    transition: background .2s, transform .2s
}

.nav-links .pill {
    font-size: 23px;
    padding: 7px 16px
}

.pill:hover {
    background: #001fbd;
    transform: translateY(-2px)
}

.pill img {
    max-width: 25px
}

.menu-toggle {
    display: none
}

.hero {
    height: 648px;
    position: relative;
    overflow: hidden;
    background: var(--blue)
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 44, 255, .73) 63.5%, rgba(0, 26, 153, 0) 111.4%)
}

.hero-content {
    position: relative;
    padding-top: 93px;
    color: #fff
}

.hero h1 {
    font-size: 90px;
    line-height: 1;
    font-weight: 800;
    margin: 0 0 19px;
    letter-spacing: -1.7px
}

.hero h1 span {
    color: var(--lime)
}

.hero p {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px
}

.sence {
    width: 207px;
    height: 84px;
    object-fit: contain
}

.video-toggle {
    position: absolute;
    bottom: 16px;
    right: 22px;
    color: white;
    background: #121646b3;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 12px
}

.about {
    background: #f5f5f5;
    padding: 63px 0 50px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center
}

.about-grid>div:first-child {
    padding-right: 0
}

.about p {
    line-height: 1.3
}

.history {
    border-left: 2px solid var(--blue);
    padding: 14px 0 14px 44px;
    display: flex;
    align-items: center;
    gap: 24px
}

.history>img {
    object-fit: contain
}

.history p {
    font-size: 25px;
    font-weight: 600;
    margin: 0
}

.history .since {
    font-size: 40px;
    margin-bottom: 8px
}

.since strong {
    color: var(--blue)
}

h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 32px;
    display: flex;
    gap: 18px;
    align-items: center
}

h2>img {
    max-width: 69px;
    max-height: 69px;
    object-fit: contain;
    flex: none
}

.section {
    padding: 64px 0 0
}

.section-intro {
    margin-bottom: 38px
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 423px));
    justify-content: space-between;
    gap: 35px
}

.offer-card {
    padding: 35px 28px 50px;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 601px;
    background: white;
    transition: box-shadow .25s, transform .25s
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px #12164612
}

.offer-image {
    width: 100%;
    height: auto;
    aspect-ratio: 365/236;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 20px
}

.offer-card h3 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--blue);
    margin: 21px 8px 14px;
    min-height: 100px
}

.trailer {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    font-weight: 700;
    background: transparent;
    text-align: left;
    margin: 6px 0 38px;
    padding: 0;
    color: var(--ink)
}

.trailer img {
    max-width: 32px
}

.offer-card .pill {
    margin-top: auto;
    width: 100%;
    min-height: 70px;
    font-size: 27px;
    gap: 14px;
    padding: 12px
}

.section-rule {
    border-top: 2px solid var(--border);
    padding-top: 55px
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 19px
}

.work-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 20px;
    min-height: 371px;
    padding: 32px 24px 32px 10px;
    gap: 10px
}

.work-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0
}

.work-art img {
    max-width: 100%;
    height: auto;
    object-fit: contain
}

.work-card h3 {
    font-size: 23px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 20px
}

.work-card p {
    font-size: 18px;
    line-height: 1.4;
    margin: 0
}

.ne-carousel {
    position: relative
}

.carousel-track {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 24px
}

.carousel-track::-webkit-scrollbar {
    display: none
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows), 130px);
    align-items: center;
    gap: 30px 24px;
    padding: 25px 15px
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 115px;
    transform: scale(var(--logo-scale, 1));
    transform-origin: center;
}

.client-grid.standardized .client-logo {
    max-width: 150px;
    max-height: 85px;
    justify-self: center
}

.client-grid.grayscale .client-logo {
    filter: grayscale(1);
    opacity: .75;
    transition: filter .2s, opacity .2s
}

.client-grid.grayscale .client-logo:hover {
    filter: none;
    opacity: 1
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 22px
}

.carousel-controls[hidden] {
    display: none
}

.carousel-arrow {
    background: #f0f2ff;
    color: var(--blue);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 23px
}

.carousel-dots {
    display: flex;
    gap: 9px
}

.carousel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    padding: 0;
    background: #d9dce9
}

.carousel-dot[aria-current=true] {
    background: var(--blue)
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.testimonial-card {
    position: relative;
    min-height: 550px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fbfbfb;
    text-align: center;
    padding: 34px 55px 36px;
    display: flex;
    flex-direction: column;
    align-items: center
}

/* Recorte circular para fotos cuadradas o rectangulares, sin deformarlas. */
/* Enlaces legales navegables sin JavaScript y mejorados con modal al activarlo. */
.footer-legal a {
    color: inherit;
    text-decoration: underline;
    margin-right: 12px;
    font-size: inherit;
}

.portrait {
    width: 186px;
    height: 186px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    margin-bottom: 31px;
}

.quote-icon {
    position: absolute;
    right: 24px;
    top: 22px;
    width: 67px;
    height: 44px
}

.testimonial-card blockquote {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 20px
}

.testimonial-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    margin: auto 0 0
}

.testimonial-card h3 span {
    color: var(--ink)
}

/* El espaciado depende de las secciones presentes, no de un ID concreto. */
#main {
    --section-closing-space: 62px;
}

#main > .section:has(+ :not(.section)),
#main > .section:last-child {
    padding-bottom: var(--section-closing-space);
}

/* Si se ocultan las secciones anteriores, no queda una línea al inicio. */
#main > .section:first-child > .section-rule {
    border-top: 0;
    padding-top: 0;
}

/* El fondo del footer continúa detrás de la esquina redondeada del contacto. */
#main,
#catalog-main {
    background: var(--footer-background);
}

#main>.section,
#catalog-main>.catalog-section {
    background: #fff;
}

.contact {
    background: var(--navy);
    border-bottom-right-radius: 150px;
    color: #fff;
    padding: 96px 0 80px
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 77px
}

.contact h2 {
    color: var(--lime);
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 34px
}

.contact p {
    font-size: 18px;
    font-weight: 600;
    max-width: 664px
}

.contact a {
    color: var(--lime);
    text-decoration: none;
    font-weight: 600
}

.field {
    margin-bottom: 22px
}

.field label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px
}

.form-control {
    background: #f4f4f4;
    border-radius: 15px;
    min-height: 46px;
    font: 500 18px Raleway, sans-serif;
    padding: 11px 22px
}

.form-control::placeholder {
    color: #a5a5a5
}

/* Conservar el indicador nativo del selector y el estilo del formulario. */
.contact select.form-control {
    appearance: auto;
    padding-right: 16px;
}

.form-control:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px #c3ff0040
}

.submit {
    background: var(--lime);
    color: var(--navy);
    width: 100%;
    font-size: 25px;
    min-height: 52px;
    padding: 9px
}

.submit:hover {
    background: #d4ff4a
}

.submit:disabled {
    opacity: .65;
    cursor: wait
}

.form-mode {
    font-size: 12px !important;
    margin-top: 12px;
    color: #c7cae5
}

.contact .invalid-feedback {
    color: #ffb9c2
}

footer {
    background: var(--footer-background);
    padding: 36px 0 25px
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: center
}

.footer-brands {
    display: flex;
    gap: 23px;
    align-items: center
}

.footer-brands>img:first-child {
    max-width: 348px;
    width: 100%;
    height: auto
}

.footer-brands>img:nth-child(2),
.footer-brands .footer-hours {
    width: 91px;
    height: 91px;
    object-fit: contain
}

.footer-brands a {
    --linkedin-size: 48px;
    display: block;
    overflow: hidden;
    width: var(--linkedin-size);
    height: var(--linkedin-size);
    flex: none
}

.footer-brands a img {
    width: 160%;
    height: 160%;
    max-width: none;
    transform: translate(-18.75%, -18.75%)
}

.footer-legal {
    font-size: 16px
}

.footer-legal p {
    margin: 0 0 4px
}

.footer-legal button {
    background: none;
    text-decoration: underline;
    padding: 0;
    margin-right: 12px;
    color: var(--ink);
    font-size: 16px
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 15px;
    z-index: 3000;
    background: white;
    padding: 12px
}

.skip-link:focus {
    top: 10px
}

.swal2-popup {
    font-family: Raleway, sans-serif;
    border-radius: 20px
}

.swal2-confirm {
    background: var(--blue) !important;
    border-radius: 40px !important
}

.modal-content-ne {
    text-align: left;
    line-height: 1.6
}

.legal-policy {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.legal-policy h2 {
    display: block;
    font-size: 25px;
    margin: 32px 0 20px;
    line-height: 1.3;
}

.legal-policy h2:first-child {
    margin-top: 0;
}

.legal-policy h3 {
    color: var(--blue);
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 14px;
    line-height: 1.4;
}

.legal-policy li {
    padding-left: 5px;
    margin-bottom: 16px;
}

.modal-content-ne h2 {
    font-size: 26px
}

.legal-pdf-viewer {
    display: block;
    width: 100%;
    height: 68vh;
    height: 68dvh;
    border: 0;
    border-radius: 12px;
    background: #f5f5f5;
}

.legal-pdf-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--blue);
    font-size: 15px;
}

.destination-list {
    display: grid;
    gap: 14px
}

.destination-list a {
    display: block;
    background: #eff2ff;
    color: var(--blue);
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700
}

.vimeo-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0
}

.load-error {
    padding: 24px;
    background: #f5f5f5;
    border-radius: 15px
}

.example-label {
    font-size: 12px;
    color: #777
}

/* Canal de denuncias en SweetAlert. */
.report-modal { border-radius: 24px; }
.report-modal .swal2-title { color: var(--blue); font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.report-modal-body { max-height: 72vh; max-height: 72dvh; overflow-y: auto; text-align: left; }
.report-content { text-align: left; color: var(--ink); font-size: 16px; line-height: 1.6; }
.report-intro { margin: 0 0 24px; }
.report-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: #fbfbff; }
.report-card h2, .report-content legend { display: block; color: var(--blue); font-size: 21px; line-height: 1.25; font-weight: 700; margin: 0 0 15px; }
.report-card p { margin-bottom: 20px; }
.report-card > button, .report-card > form { margin-top: auto; }
.report-content label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.report-content .form-control { font-size: 16px; }
.report-content input[type="date"], .report-content .report-select { appearance: auto; }
.report-content .report-select { padding-right: 12px; }
.report-primary, .report-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 2px solid var(--blue); border-radius: 40px; font-family: Lato, sans-serif; font-weight: 900; line-height: 1.25; transition: background .2s, color .2s; }
.report-primary { background: var(--blue); color: white; }
.report-primary:hover { background: #001fbd; }
.report-secondary { background: transparent; color: var(--blue); }
.report-secondary:hover { background: #eff2ff; }
.report-primary:disabled, .report-secondary:disabled { opacity: .55; cursor: wait; }
.report-card form .report-secondary { margin-top: 16px; width: 100%; }
.report-content fieldset { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-full { grid-column: 1 / -1; }
.report-anonymous { padding: 20px !important; border-radius: 16px; background: #f3f5ff; }
.report-anonymous label { display: inline-flex; align-items: center; gap: 7px; margin: 0 20px 0 0; }
.report-anonymous input { accent-color: var(--blue); }
.report-hint { color: #626272; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.report-error { padding: 12px 14px; margin: 14px 0; border-radius: 10px; background: #fff0f1; color: #8a1d2c; font-size: 14px; }
.report-error[hidden], #report-person[hidden] { display: none; }
.report-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; }
.report-back { background: transparent; color: var(--blue); font-weight: 700; padding: 8px 0; }
.report-result { margin: 0; }
.report-result > div { padding: 15px 0; border-bottom: 1px solid var(--border); }
.report-result dt { color: var(--blue); font-weight: 700; margin-bottom: 5px; }
.report-result dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.report-tracking-code { padding: 16px; border-radius: 12px; background: #f0f3ff; color: var(--blue); font-weight: 800; font-size: 22px; text-align: center; overflow-wrap: anywhere; }
.report-captcha { overflow-x: auto; }
@media (max-width: 767px) {
    .report-modal .swal2-title { font-size: 24px; padding-right: 35px; }
    .report-modal-body { margin: 18px 15px 15px; }
    .report-options, .report-fields { grid-template-columns: 1fr; }
    .report-card { padding: 20px; }
    .report-full { grid-column: auto; }
    .report-actions { flex-direction: column-reverse; align-items: stretch; }
    .report-actions button { width: 100%; }
}
