:root {
    --ai-blue: #0d4dcc;
    --ai-blue-dark: #082785;
    --ai-blue-deep: #071a59;
    --ai-cyan: #15a8db;
    --ai-yellow: #ffd31d;
    --ai-orange: #f5a31a;
    --ai-magenta: #e7257e;
    --ai-ink: #0d1b3a;
    --ai-muted: #62708b;
    --ai-soft: #f4f7ff;
    --ai-white: #ffffff;
    --ai-border: rgba(13, 77, 204, .12);
    --ai-shadow: 0 18px 48px rgba(7, 26, 89, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ai-ink); background: #fff; }
a { text-decoration: none; }
img { max-width: 100%; }
.collab-bar { background: linear-gradient(90deg, #078a80, #069b8f); color: rgba(255,255,255,.9); border-top: 7px solid #25282d; }
.collab-inner { min-height: 66px; display: grid; grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr); align-items: center; gap: 1.5rem; }
.collab-brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.collab-mark { flex: 0 0 auto; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 13px; background: rgba(255,255,255,.08); color: #fff; font-weight: 900; font-size: .82rem; }
.collab-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.collab-copy small { font-size: .72rem; opacity: .9; margin-bottom: .28rem; }
.collab-copy strong { font-size: .9rem; color: #fff; }
.collab-services { display: flex; align-items: center; justify-content: center; gap: 1.6rem; white-space: nowrap; font-size: .78rem; }
.collab-services span { display: inline-flex; align-items: center; gap: .45rem; }
.collab-services i { color: #8cefe7; }
.collab-link { justify-self: end; color: #fff; font-weight: 900; font-size: .82rem; white-space: nowrap; }
.collab-link:hover { color: #d8fffb; }
.main-navbar { background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(13,77,204,.08); box-shadow: 0 8px 28px rgba(7,26,89,.05); backdrop-filter: blur(12px); }
.brand-logo { width: 108px; height: 58px; object-fit: cover; object-position: center; border-radius: 12px; }
.navbar .nav-link { color: #26375e; font-weight: 700; font-size: .94rem; padding: .7rem .85rem !important; border-radius: 10px; transition: .2s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ai-blue); background: rgba(13,77,204,.08); }
.btn-whatsapp { background: #14a763; color: #fff; border: 0; font-weight: 800; border-radius: 12px; padding: .72rem 1rem; }
.btn-whatsapp:hover { background: #0f8e54; color: #fff; }
.hero-banner { position: relative; overflow: hidden; background: var(--ai-blue-deep); }
.hero-banner img { width: 100%; display: block; min-height: 290px; object-fit: cover; object-position: center; }
.hero-bottom-strip { background: linear-gradient(90deg, var(--ai-blue-dark), var(--ai-blue)); color: #fff; }
.hero-bottom-strip .container { padding-top: 1rem; padding-bottom: 1rem; }
.hero-bottom-strip strong { color: var(--ai-yellow); }
.section { padding: 5rem 0; }
.section-soft { background: var(--ai-soft); }
.section-eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--ai-blue); font-weight: 900; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.section-eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 20px; background: linear-gradient(90deg, var(--ai-cyan), var(--ai-magenta)); }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; font-weight: 900; letter-spacing: -.04em; color: var(--ai-blue-deep); }
.section-text { color: var(--ai-muted); font-size: 1.05rem; line-height: 1.8; }
.service-card, .product-card, .info-card { height: 100%; border: 1px solid var(--ai-border); background: #fff; border-radius: 22px; padding: 1.6rem; box-shadow: 0 10px 30px rgba(7,26,89,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .product-card:hover, .info-card:hover { transform: translateY(-5px); box-shadow: var(--ai-shadow); border-color: rgba(13,77,204,.22); }
.service-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center; color: #fff; font-size: 1.35rem; background: linear-gradient(135deg, var(--ai-blue), var(--ai-cyan)); box-shadow: 0 10px 24px rgba(13,77,204,.2); }
.service-card h3 { font-size: 1.15rem; font-weight: 900; margin: 1.15rem 0 .65rem; color: var(--ai-blue-deep); }
.service-card p, .product-card p, .info-card p { color: var(--ai-muted); line-height: 1.7; margin-bottom: 0; }
.cta-band { border-radius: 28px; overflow: hidden; padding: 2.2rem; color: #fff; background: linear-gradient(120deg, var(--ai-blue-deep), var(--ai-blue) 58%, var(--ai-cyan)); box-shadow: var(--ai-shadow); position: relative; }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -90px; background: rgba(255,211,29,.17); }
.cta-band > * { position: relative; z-index: 1; }
.btn-brand { background: linear-gradient(135deg, var(--ai-yellow), var(--ai-orange)); color: var(--ai-blue-deep); border: 0; font-weight: 900; border-radius: 13px; padding: .85rem 1.15rem; box-shadow: 0 10px 24px rgba(245,163,26,.24); }
.btn-brand:hover { color: var(--ai-blue-deep); transform: translateY(-1px); }
.page-hero { padding: 5.5rem 0 4.6rem; color: #fff; background: radial-gradient(circle at 75% 20%, rgba(21,168,219,.45), transparent 26%), radial-gradient(circle at 18% 90%, rgba(231,37,126,.22), transparent 28%), linear-gradient(120deg, var(--ai-blue-deep), var(--ai-blue)); overflow: hidden; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.6); --bs-breadcrumb-item-active-color: rgba(255,255,255,.78); }
.page-hero .breadcrumb a { color: #fff; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 900; letter-spacing: -.05em; margin-bottom: 1rem; }
.page-hero p { max-width: 760px; font-size: 1.15rem; color: rgba(255,255,255,.84); line-height: 1.75; }
.stat-card { border-radius: 20px; padding: 1.4rem; background: linear-gradient(150deg, #fff, #f7f9ff); border: 1px solid var(--ai-border); height: 100%; }
.stat-card strong { display: block; color: var(--ai-blue); font-size: 2rem; font-weight: 900; }
.stat-card span { color: var(--ai-muted); }
.about-image { border-radius: 26px; overflow: hidden; box-shadow: var(--ai-shadow); border: 8px solid #fff; }
.about-image img { width: 100%; height: 440px; object-fit: cover; }
.feature-check { display: flex; align-items: flex-start; gap: .85rem; padding: .85rem 0; }
.feature-check i { color: var(--ai-blue); font-size: 1.3rem; margin-top: .1rem; }
.feature-check strong { display: block; color: var(--ai-blue-deep); }
.feature-check span { color: var(--ai-muted); }
.gallery-card { position: relative; overflow: hidden; border-radius: 22px; min-height: 290px; background: var(--ai-blue-deep); box-shadow: 0 12px 30px rgba(7,26,89,.12); cursor: pointer; }
.gallery-card img { width: 100%; height: 320px; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,26,89,.9)); }
.gallery-caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.15rem; color: #fff; z-index: 2; }
.gallery-caption strong { font-size: 1.08rem; }
.gallery-caption span { display: block; opacity: .78; font-size: .88rem; margin-top: .2rem; }
.video-placeholder { min-height: 360px; display: grid; place-items: center; text-align: center; border: 2px dashed rgba(13,77,204,.22); border-radius: 24px; background: linear-gradient(135deg, rgba(13,77,204,.04), rgba(21,168,219,.06)); padding: 2rem; }
.video-placeholder i { font-size: 3rem; color: var(--ai-blue); }
.product-card { padding: 0; overflow: hidden; }
.product-card img { width: 100%; height: 230px; object-fit: cover; }
.product-card-body { padding: 1.35rem; }
.product-card h3 { font-size: 1.17rem; font-weight: 900; color: var(--ai-blue-deep); }
.product-tags { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 1rem; }
.product-tags span { font-size: .75rem; font-weight: 800; color: var(--ai-blue); background: rgba(13,77,204,.08); padding: .42rem .62rem; border-radius: 999px; }
.contact-card { border-radius: 24px; background: #fff; border: 1px solid var(--ai-border); box-shadow: var(--ai-shadow); padding: 1.5rem; height: 100%; }
.contact-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(13,77,204,.08); color: var(--ai-blue); font-size: 1.25rem; }
.contact-card h3 { font-size: 1rem; font-weight: 900; margin: 1rem 0 .35rem; }
.contact-card a, .contact-card span { color: var(--ai-muted); overflow-wrap: anywhere; }
.contact-form { background: #fff; border: 1px solid var(--ai-border); border-radius: 26px; padding: 2rem; box-shadow: var(--ai-shadow); }
.form-label { font-weight: 800; color: var(--ai-blue-deep); }
.form-control, .form-select { border-radius: 12px; border-color: #dbe3f2; padding: .8rem .95rem; }
.form-control:focus, .form-select:focus { border-color: rgba(13,77,204,.5); box-shadow: 0 0 0 .2rem rgba(13,77,204,.1); }
.site-footer { background: var(--ai-blue-deep); color: rgba(255,255,255,.72); padding: 4rem 0 1.4rem; }
.footer-logo { width: 135px; height: 82px; object-fit: cover; border-radius: 14px; }
.site-footer h6 { color: #fff; font-weight: 900; margin-bottom: 1rem; }
.site-footer a:hover { color: var(--ai-yellow); }
.footer-collab { opacity: .72; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #18ad66; font-size: 1.55rem; box-shadow: 0 14px 34px rgba(0,0,0,.2); z-index: 1040; transition: transform .2s ease; }
.floating-whatsapp:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.lightbox-modal .modal-content { background: transparent; border: 0; }
.lightbox-modal img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; }
@media (max-width: 991.98px) {
    .brand-logo { width: 96px; height: 52px; }
    .navbar-collapse { padding: 1rem 0 .5rem; }
    .btn-whatsapp { margin-top: .65rem; width: 100%; }
    .hero-banner img { min-height: 250px; }
    .section { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
    .hero-banner img { min-height: 230px; object-position: 35% center; }
    .section { padding: 3.4rem 0; }
    .section-title { font-size: 2.15rem; }
    .page-hero { padding: 4.3rem 0 3.5rem; }
    .gallery-card img { height: 280px; }
    .contact-form { padding: 1.35rem; }
}
.site-footer .footer-stack a, .site-footer .footer-stack > span { display: block; color: rgba(255,255,255,.72); margin-bottom: .55rem; }
.site-footer .footer-stack a:hover { color: var(--ai-yellow); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom > span { display: inline; margin: 0; color: rgba(255,255,255,.72); }
.footer-bottom .footer-system a { display: inline; margin: 0; color: #fff; font-weight: 800; }
.footer-bottom #currentYear { display: inline; margin: 0; color: inherit; }


/* Catálogo de productos / lista de cotización */
.product-catalog-section { background: linear-gradient(180deg, #fff 0%, #f8faff 100%); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.catalog-search { position: relative; flex: 1; max-width: 620px; }
.catalog-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ai-muted); z-index: 2; }
.catalog-search .form-control { padding-left: 2.8rem; background: #fff; border: 1px solid var(--ai-border); box-shadow: 0 8px 24px rgba(7,26,89,.05); }
.catalog-result { color: var(--ai-muted); font-size: .9rem; white-space: nowrap; }
.catalog-result strong { color: var(--ai-blue); font-size: 1.05rem; }
.filter-scroller { display: flex; gap: .65rem; overflow-x: auto; padding: .2rem 0 1rem; scrollbar-width: thin; }
.filter-chip { border: 1px solid rgba(13,77,204,.14); background: #fff; color: #354363; border-radius: 999px; padding: .62rem .9rem; font-weight: 800; font-size: .84rem; white-space: nowrap; transition: .2s ease; }
.filter-chip:hover, .filter-chip.active { color: #fff; border-color: var(--ai-blue); background: var(--ai-blue); }
.quote-product { display: flex; flex-direction: column; }
.quote-product .product-card-body { display: flex; flex-direction: column; flex: 1; }
.product-category { display: inline-flex; width: fit-content; margin-bottom: .65rem; padding: .32rem .55rem; border-radius: 999px; background: rgba(231,37,126,.08); color: var(--ai-magenta); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.quote-product .product-tags { margin-bottom: 1rem; }
.add-quote-btn { margin-top: auto; width: 100%; border-radius: 12px; background: rgba(13,77,204,.08); color: var(--ai-blue); font-weight: 900; border: 1px solid rgba(13,77,204,.12); }
.add-quote-btn:hover { background: var(--ai-blue); color: #fff; }
.add-quote-btn.is-added { background: rgba(20,167,99,.1); color: #128653; border-color: rgba(20,167,99,.18); }
.catalog-product.is-hidden { display: none !important; }
.catalog-empty { margin-top: 1rem; padding: 4rem 2rem; text-align: center; border: 2px dashed rgba(13,77,204,.15); border-radius: 22px; background: #fff; }
.catalog-empty i { font-size: 2.2rem; color: var(--ai-blue); }
.catalog-empty h3 { margin-top: .75rem; color: var(--ai-blue-deep); font-weight: 900; }
.catalog-empty p { color: var(--ai-muted); margin-bottom: 0; }
.quote-panel { position: sticky; top: 110px; border: 1px solid var(--ai-border); border-radius: 24px; background: #fff; box-shadow: var(--ai-shadow); padding: 1.35rem; }
.quote-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quote-panel-head > i { font-size: 2rem; color: var(--ai-blue); }
.quote-eyebrow { color: var(--ai-magenta); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.quote-panel h2 { margin: .2rem 0 0; color: var(--ai-blue-deep); font-size: 1.35rem; font-weight: 900; }
.quote-count { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 .4rem; border-radius: 999px; background: var(--ai-blue); color: #fff; font-size: .77rem; vertical-align: middle; }
.quote-help { color: var(--ai-muted); font-size: .88rem; line-height: 1.55; padding: .9rem 0; border-bottom: 1px solid var(--ai-border); margin-bottom: .2rem; }
.quote-items { max-height: 390px; overflow-y: auto; padding-right: .15rem; }
.quote-empty { display: flex; align-items: center; gap: .75rem; color: var(--ai-muted); padding: 1.1rem .2rem; font-size: .9rem; }
.quote-empty i { font-size: 1.35rem; color: var(--ai-blue); }
.quote-item { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--ai-border); }
.quote-item-name { font-weight: 800; color: var(--ai-blue-deep); font-size: .9rem; }
.quote-item-controls { display: flex; align-items: center; gap: .35rem; }
.quote-item-controls button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--ai-soft); color: var(--ai-blue); }
.quote-item-controls .remove-quote-item { color: #b8254b; background: rgba(184,37,75,.07); margin-left: .25rem; }
.quote-item-qty { min-width: 22px; text-align: center; font-weight: 900; font-size: .85rem; }
.quote-actions { padding-top: 1rem; }
.quote-clear { color: #7d879b; font-size: .85rem; font-weight: 800; text-decoration: none; margin-top: .35rem; }
.quote-clear:disabled { opacity: .4; }

/* Mapa de contacto */
.location-section { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--ai-border); }
.location-title { font-size: clamp(2rem, 4vw, 3rem); }
.map-card { overflow: hidden; border-radius: 26px; border: 8px solid #fff; box-shadow: var(--ai-shadow); background: #e7ecf5; min-height: 410px; }
.map-card iframe { width: 100%; height: 410px; border: 0; display: block; }


@media (max-width: 1199.98px) {
    .collab-inner { grid-template-columns: 1fr auto; }
    .collab-services { display: none; }
    .quote-panel { position: static; }
}
@media (max-width: 991.98px) {
    .nav-social-actions { margin-top: .75rem; }
    .nav-social-actions .btn-whatsapp { flex: 1; margin-top: 0; }
    .collab-inner { min-height: 62px; }
    .collab-link { font-size: .76rem; }
}
@media (max-width: 767.98px) {
    .collab-inner { grid-template-columns: 1fr auto; gap: .75rem; }
    .collab-copy small { display: none; }
    .collab-copy strong { font-size: .82rem; }
    .collab-link { width: 36px; height: 36px; display: grid; place-items: center; font-size: 0; border-radius: 10px; background: rgba(255,255,255,.1); }
    .collab-link i { font-size: .95rem; }
    .catalog-toolbar { align-items: stretch; flex-direction: column; }
    .catalog-search { max-width: none; }
    .catalog-result { align-self: flex-end; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
@media (max-width: 575.98px) {
    .collab-bar { border-top-width: 5px; }
    .collab-mark { width: 37px; height: 37px; border-radius: 11px; }
    .collab-inner { min-height: 56px; }
    .map-card, .map-card iframe { min-height: 330px; height: 330px; }
}


/* Botones de navegación y llamadas a la acción */
.nav-social-actions { display: flex; align-items: center; gap: .55rem; }
.header-social-btn { min-width: 118px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 .9rem; border-radius: 12px; font-size: .88rem; font-weight: 900; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.header-social-btn i { font-size: 1.05rem; }
.header-social-btn:hover { transform: translateY(-2px); }
.header-facebook { color: #fff; background: #1877f2; box-shadow: 0 8px 20px rgba(24,119,242,.20); }
.header-facebook:hover { color: #fff; filter: brightness(.96); box-shadow: 0 10px 24px rgba(24,119,242,.28); }
.header-whatsapp { color: #fff; background: #16a966; box-shadow: 0 8px 20px rgba(22,169,102,.20); }
.header-whatsapp:hover { color: #fff; filter: brightness(.95); box-shadow: 0 10px 24px rgba(22,169,102,.28); }

.btn-cta-whatsapp { min-width: 164px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid rgba(255,255,255,.34); border-radius: 13px; padding: .82rem 1.15rem; color: #fff; background: linear-gradient(135deg, #17b86d, #0f9958); font-weight: 900; box-shadow: 0 12px 26px rgba(4,76,45,.22); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn-cta-whatsapp i { font-size: 1.08rem; }
.btn-cta-whatsapp:hover { color: #fff; transform: translateY(-2px); filter: brightness(.98); box-shadow: 0 15px 30px rgba(4,76,45,.28); }

.footer-quote-btn { min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; gap: .55rem; width: fit-content; padding: .72rem 1rem; margin: .2rem 0 0 !important; border-radius: 12px; color: var(--ai-blue-deep) !important; background: linear-gradient(135deg, var(--ai-yellow), var(--ai-orange)); font-size: .9rem; font-weight: 900; box-shadow: 0 10px 24px rgba(245,163,26,.18); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.footer-quote-btn:hover { color: var(--ai-blue-deep) !important; transform: translateY(-2px); filter: brightness(.99); box-shadow: 0 13px 28px rgba(245,163,26,.26); }
.footer-quote-btn i { font-size: 1rem; }

.cta-band .btn-brand, .cta-band .btn-cta-whatsapp { min-width: 178px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; }


@media (max-width: 991.98px) {
    .nav-social-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; width: 100%; }
    .header-social-btn { width: 100%; min-width: 0; }
}
@media (max-width: 575.98px) {
    .header-social-btn { height: 43px; font-size: .84rem; }
    .cta-band .btn-brand, .cta-band .btn-cta-whatsapp { width: 100%; min-width: 0; }
    .footer-quote-btn { width: 100%; }
}
