/* ==================================================
   SYA EQUIPOS DE BOMBEO - LANDING V2
   Código organizado para facilitar ajustes manuales.
================================================== */

:root {
    --navy: #103a78;
    --navy-dark: #071f46;
    --blue: #2b78c8;
    --sky: #8fc7ec;
    --ice: #edf6fc;
    --off-white: #f7f9fc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #e8edf4;
    --gray-300: #aab4c2;
    --gray-600: #5f6c7b;
    --gray-800: #273445;
    --text: #12243b;
    --shadow: 0 22px 55px rgba(13, 47, 94, 0.12);
    --shadow-sm: 0 10px 30px rgba(13, 47, 94, 0.09);
    --radius: 24px;
    --radius-sm: 15px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-dark);
    font-family: "Montserrat", sans-serif;
    line-height: 1.12;
}

h1 {
    max-width: 880px;
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(2.7rem, 5.5vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.18rem;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 105px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 46px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 1.06rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #a9d5f5;
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 0.83rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: 0 11px 26px rgba(43, 120, 200, 0.28);
}

.btn-secondary {
    color: var(--navy);
    border-color: #bfd0e3;
    background: #f7fbff;
}

.btn-light {
    color: var(--navy-dark);
    background: var(--white);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255,255,255,0.58);
    background: rgba(255,255,255,0.06);
}

.btn-block {
    width: 100%;
}

/* ==================================================
   HEADER
================================================== */
.site-header {
    position: relative;
    z-index: 50;
}

.topbar {
    color: #d9e8f7;
    background: var(--navy-dark);
    font-size: 0.84rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 20px;
}

.topbar-links {
    display: flex;
    gap: 22px;
}

.topbar a:hover {
    color: var(--white);
}

.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(16,58,120,0.08);
    box-shadow: 0 6px 20px rgba(4, 29, 67, 0.05);
    backdrop-filter: blur(14px);
}

.nav-inner {
    display: flex;
    align-items: center;
    min-height: 86px;
    gap: 26px;
}

.brand img {
    width: 184px;
    height: 62px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 21px;
}

.main-nav a {
    position: relative;
    color: var(--gray-800);
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
}

.main-nav a::after {
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--blue);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy-dark);
}

/* ==================================================
   HERO
================================================== */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 24, 55, 0.97) 0%, rgba(7, 31, 70, 0.90) 38%, rgba(7,31,70,0.40) 69%, rgba(7,31,70,0.20) 100%),
        url("../img/hero-team.webp") center / cover no-repeat;
}

.hero-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(143,199,236,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143,199,236,0.055) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to right, black 22%, transparent 83%);
}

.hero-grid {
    display: grid;
    align-items: center;
    min-height: 690px;
}

.hero-copy {
    max-width: 800px;
    padding: 70px 0;
}

.hero-lead {
    max-width: 670px;
    margin-bottom: 32px;
    color: #dbe9f7;
    font-size: 1.14rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 740px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.16);
}

.trust-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 10px;
}

.trust-item .mini-icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    color: #a9d5f5;
}

.trust-item strong,
.trust-item > span:last-child {
    display: block;
}

.trust-item strong {
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 0.86rem;
}

.trust-item > span:last-child {
    color: #abc2da;
    font-size: 0.79rem;
}

/* ==================================================
   PRODUCTOS
================================================== */
.products-section {
    background: linear-gradient(180deg, var(--off-white), var(--white));
}

.product-explorer {
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px;
    background: var(--navy-dark);
    scrollbar-width: thin;
}

.product-tab {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 9px;
    color: #d4e4f5;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.product-tab:hover,
.product-tab.active {
    color: var(--navy-dark);
    background: #a9d5f5;
}

.product-stage {
    padding: 34px;
}

.product-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.product-intro h3 {
    margin: 5px 0 9px;
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
}

.product-intro p {
    max-width: 730px;
    margin-bottom: 0;
    color: var(--gray-600);
}

.product-kicker {
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: var(--white);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #bdd4ea;
    box-shadow: var(--shadow-sm);
}

.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f2f6fa 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 18px;
    border-top: 1px solid #edf1f5;
}

.product-card-body h4 {
    min-height: 46px;
    margin: 0 0 7px;
    color: var(--navy-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    line-height: 1.35;
}

.product-spec {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 700;
}

.product-card-body p {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 0.84rem;
    line-height: 1.55;
}

.product-card-body a {
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.solution-finder {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid #cfe1f1;
    border-radius: var(--radius);
    background: var(--ice);
}

.solution-finder-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.finder-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: var(--navy-dark);
    background: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
}

.need-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.need-grid button {
    min-height: 62px;
    padding: 12px 16px;
    border: 1px solid #c3d8ec;
    border-radius: 12px;
    color: var(--navy-dark);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
}

/* ==================================================
   CATÁLOGO
================================================== */
.catalog-section {
    padding: 80px 0;
    color: var(--white);
    background: linear-gradient(135deg, #08234d 0%, #0f4f93 65%, #3387c6 100%);
}

.catalog-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    gap: 58px;
}

.catalog-preview {
    position: relative;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 28px 50px rgba(0,0,0,0.18);
}

.catalog-preview img {
    width: 100%;
    border-radius: 12px;
}

.catalog-badge {
    position: absolute;
    right: -16px;
    bottom: 28px;
    padding: 9px 13px;
    border-radius: 8px;
    color: var(--navy-dark);
    background: #a9d5f5;
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
}

.catalog-copy h2 {
    color: var(--white);
}

.catalog-copy p {
    max-width: 760px;
    color: #d5e6f6;
}

.catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* ==================================================
   INDUSTRIAS
================================================== */
.industries-section {
    background:
        radial-gradient(circle at 8% 20%, rgba(143,199,236,0.26), transparent 28%),
        var(--off-white);
}

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

.industry-card {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.industry-card:nth-child(3),
.industry-card:nth-child(4) {
    background: var(--navy-dark);
}

.industry-card img {
    width: 100%;
    height: 300px;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
}

/* Encuadre individual para conservar los equipos principales */
.industry-card:nth-child(1) img { object-position: 56% center; }
.industry-card:nth-child(2) img { object-position: 60% center; }
.industry-card:nth-child(3) img { object-position: 56% center; }
.industry-card:nth-child(4) img { object-position: 52% center; }

.industry-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.industry-number {
    margin-bottom: 18px;
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.industry-card:nth-child(3) .industry-content *,
.industry-card:nth-child(4) .industry-content * {
    color: var(--white);
}

.industry-card:nth-child(3) .industry-number,
.industry-card:nth-child(4) .industry-number {
    color: #a9d5f5;
}

.industry-content h3 {
    margin-bottom: 12px;
    font-size: 1.65rem;
}

.industry-content p {
    color: var(--gray-600);
    font-size: 0.93rem;
}

.industry-content a {
    margin-top: auto;
    padding-top: 10px;
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

/* ==================================================
   ACERCA DE SYA
================================================== */
.about-section {
    padding-bottom: 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    right: -26px;
    bottom: 34px;
    width: 190px;
    padding: 23px 26px;
    border-radius: 24px;
    color: var(--white);
    background: var(--navy-dark);
    box-shadow: var(--shadow-sm);
}

.experience-badge strong,
.experience-badge span {
    display: block;
}

.experience-badge strong {
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 2.6rem;
}

.experience-badge span {
    color: #cde0f2;
}

.about-intro {
    color: var(--gray-600);
    font-size: 1.04rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.value-card {
    padding: 22px 18px;
    border: 1px solid #dce7f1;
    border-radius: 14px;
    background: var(--gray-50);
}

.value-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 0.96rem;
}

.value-card p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 0.82rem;
}

.personalized-card {
    padding: 24px;
    border-left: 4px solid var(--blue);
    border-radius: 0 15px 15px 0;
    background: var(--ice);
}

.personalized-card h3 {
    margin-bottom: 7px;
}

.personalized-card p {
    margin-bottom: 9px;
    color: var(--gray-600);
}

.text-link {
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
}

.stats-band {
    margin-top: 90px;
    background: linear-gradient(110deg, #061a3d, #103a78 56%, #165ea4);
}

.stats-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.13);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 50%;
    color: #a9d5f5;
    font-size: 1.1rem;
}

.stat-card strong {
    display: block;
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
}

.stat-card > span:last-child {
    color: #e0edf8;
    font-family: "Montserrat", sans-serif;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==================================================
   CTA
================================================== */
.cta-band {
    padding: 72px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7,31,70,0.94), rgba(16,58,120,0.90)),
        url("../img/experience-tech.webp") center 43% / cover no-repeat;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-band h2 {
    margin-bottom: 10px;
    color: var(--white);
}

.cta-band p {
    max-width: 760px;
    margin-bottom: 0;
    color: #d8e6f4;
}

/* ==================================================
   MARCAS
================================================== */
.brands-section {
    background: linear-gradient(180deg, var(--white), #eef5fb);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.brand-card {
    display: grid;
    place-items: center;
    min-height: 135px;
    padding: 22px;
    border: 1px solid #dfe7f0;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(17, 54, 96, 0.05);
}

.brand-card.dark-logo {
    background: linear-gradient(145deg, #0b2b5c, #174d8c);
}

.brand-card img {
    width: 100%;
    max-width: 145px;
    height: 76px;
    object-fit: contain;
}

.brands-note {
    margin: 24px 0 0;
    color: var(--gray-600);
    text-align: center;
    font-size: 0.86rem;
}

/* ==================================================
   FAQ
================================================== */
.faq-section {
    background:
        radial-gradient(circle at 82% 12%, rgba(143,199,236,0.34), transparent 28%),
        var(--ice);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 11px;
}

.faq-list details {
    border: 1px solid #cfe0ef;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 7px 18px rgba(15,58,120,0.04);
}

.faq-list summary {
    position: relative;
    padding: 21px 54px 21px 22px;
    cursor: pointer;
    list-style: none;
    color: var(--navy-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 0.91rem;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    right: 20px;
    top: 16px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    content: "+";
    border-radius: 50%;
    color: var(--blue);
    background: var(--ice);
    font-size: 1.2rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    padding: 0 22px 22px;
    margin: 0;
    color: var(--gray-600);
    font-size: 0.91rem;
}

/* ==================================================
   CONTACTO
================================================== */
.contact-section {
    padding: 100px 0;
    color: var(--white);
    background: linear-gradient(135deg, #061b3f, #0d3b77 58%, #165da3);
}

.contact-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.contact-heading h2 {
    color: var(--white);
}

.contact-heading p {
    color: #d4e4f3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
}

.map-wrap {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
}

.map-wrap iframe {
    width: 100%;
    height: 590px;
}

.contact-info-card {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 345px;
    padding: 22px;
    border-radius: 15px;
    color: var(--text);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    margin-bottom: 9px;
}

.contact-info-card p {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.contact-info-card a {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-weight: 700;
}

.quote-form {
    padding: 36px;
    border-radius: var(--radius);
    color: var(--text);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-head h3 {
    font-size: 1.55rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quote-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--gray-800);
    font-size: 0.79rem;
    font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5e0ea;
    border-radius: 9px;
    outline: 0;
    color: var(--text);
    background: #fbfcfe;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43,120,200,0.10);
}

.form-note {
    margin: 12px 0 0;
    color: var(--gray-600);
    font-size: 0.75rem;
}

/* ==================================================
   FOOTER
================================================== */
.site-footer {
    padding: 58px 0 24px;
    color: #cbd9e8;
    background: #04152f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
    gap: 50px;
}

.footer-brand img {
    width: 185px;
    padding: 8px;
    border-radius: 10px;
    background: var(--white);
}

.footer-brand p {
    max-width: 500px;
    margin: 18px 0 0;
    font-size: 0.88rem;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 0.9rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 7px;
    font-size: 0.84rem;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.11);
}

/* ==================================================
   MODAL CATÁLOGO
================================================== */
.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 24px;
}

.catalog-modal.open {
    display: grid;
    place-items: center;
}

.catalog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 15, 36, 0.86);
    backdrop-filter: blur(5px);
}

.catalog-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, 96vw);
    height: min(820px, 92vh);
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}

.catalog-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 18px;
    color: var(--white);
    background: var(--navy-dark);
    font-family: "Montserrat", sans-serif;
}

.catalog-modal-head button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: var(--navy-dark);
    background: var(--white);
    cursor: pointer;
    font-size: 1.4rem;
}

.catalog-modal-dialog iframe {
    width: 100%;
    height: calc(100% - 58px);
    border: 0;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 1100px) {
    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.69rem;
    }

    .nav-cta {
        display: none;
    }

    .product-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .industry-card {
        grid-template-columns: 1fr;
    }

    .industry-card img {
        height: 230px;
        min-height: 230px;
    }

    .brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .section {
        padding: 78px 0;
    }

    .topbar-inner > span {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 86px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border: 1px solid #dfe8f1;
        border-radius: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .hero,
    .hero-grid {
        min-height: 620px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-intro,
    .cta-band-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-actions {
        justify-content: flex-start;
    }

    .product-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-card,
    .about-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .catalog-preview {
        max-width: 350px;
    }

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

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

    .stats-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .stat-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.13);
    }

    .brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar-links {
        gap: 12px;
        font-size: 0.76rem;
    }

    .brand img {
        width: 155px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(5,24,55,0.70) 0%, rgba(7,31,70,0.97) 60%, rgba(7,31,70,1) 100%),
            url("../img/hero-team.webp") 63% center / cover no-repeat;
    }

    .hero-grid {
        align-items: end;
        min-height: 680px;
    }

    .hero-copy {
        padding: 110px 0 55px;
    }

    .hero-trust {
        margin-top: 34px;
    }

    .product-stage {
        padding: 22px;
    }

    .product-card-grid,
    .need-grid {
        grid-template-columns: 1fr;
    }

    .product-card-body h4 {
        min-height: 0;
    }

    .catalog-card {
        gap: 32px;
    }

    .catalog-preview {
        max-width: 280px;
        margin-inline: auto;
    }

    .industry-content {
        padding: 27px;
    }

    .industry-card img {
        height: 215px;
        min-height: 215px;
    }

    .about-grid {
        gap: 45px;
    }

    .experience-badge {
        right: 10px;
        bottom: 10px;
        width: 155px;
        padding: 17px;
    }

    .experience-badge strong {
        font-size: 2rem;
    }

    .stats-wrap,
    .brand-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.13);
    }

    .stat-card:last-child {
        border-bottom: 0;
    }

    .brand-card {
        min-height: 115px;
    }

    .contact-info-card {
        position: static;
        max-width: none;
        border-radius: 0;
    }

    .map-wrap,
    .map-wrap iframe {
        min-height: 430px;
        height: 430px;
    }

    .quote-form {
        padding: 25px;
    }

    .catalog-modal {
        padding: 8px;
    }
}
