:root {
  color-scheme: light;
  --navy: #10366e;
  --navy-deep: #092650;
  --ink: #17263b;
  --muted: #526273;
  --yellow: #f5d54b;
  --line: #d9e1e9;
  --soft: #f3f6f8;
  --white: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); color: var(--ink); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2374d3; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: #fff; color: var(--navy); padding: 10px 15px; }
.skip-link:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid #eef1f3; position: sticky; top: 0; z-index: 40; }
main[id], section[id], details[id] { scroll-margin-top: 98px; }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 178px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a, .mobile-nav nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .mobile-nav nav a:hover { color: #1d5aa6; }
.mobile-nav { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 12px 24px; border: 1px solid transparent; font-size: 14px; font-weight: 800; line-height: 1.1; text-decoration: none; text-align: center; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 18px; line-height: 0; }
.button-small { min-height: 43px; padding: 10px 16px; }
.header-cta, .button-primary { background: var(--navy); color: #fff; }
.header-cta:hover, .button-primary:hover { background: #164887; }
.button-yellow { background: var(--yellow); color: var(--navy-deep); }
.button-yellow:hover { background: #ffe46d; }
.text-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 14px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { gap: 16px; }
.text-link-light { color: #fff; }

.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: 595px; }
.hero-copy { padding: 82px 76px 58px 0; display: flex; flex-direction: column; align-items: flex-start; position: relative; }
.hero-copy::after { content: ""; pointer-events: none; position: absolute; left: -25%; bottom: -110px; width: 500px; height: 300px; opacity: .09; transform: rotate(-22deg); background: repeating-linear-gradient(0deg, transparent 0 32px, #fff 33px 35px, transparent 36px 65px), repeating-linear-gradient(90deg, transparent 0 32px, #fff 33px 35px, transparent 36px 65px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #e1eaff; }
.eyebrow-line { display: inline-block; width: 25px; height: 2px; background: var(--yellow); flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.04em; line-height: 1.12; }
.hero h1 { max-width: 680px; margin-bottom: 25px; font-size: clamp(44px, 4.2vw, 63px); font-weight: 800; }
.hero-lead { max-width: 560px; margin-bottom: 30px; color: #dce6f4; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; position: relative; z-index: 1; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 48px; color: #d8e4f2; font-size: 12px; position: relative; z-index: 1; }
.note-mark { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #acc3e0; border-radius: 50%; color: var(--yellow); font-size: 14px; }
.hero-visual { position: relative; min-height: 100%; background: #0c2d5e; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,38,80,.18), transparent 30%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; min-height: 595px; object-fit: cover; object-position: 59% center; }
.visual-label { position: absolute; z-index: 1; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.96); color: var(--navy); padding: 10px 13px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.label-dot { width: 8px; height: 8px; border-radius: 50%; background: #58ab45; }

.value-strip { background: #eef3f8; border-bottom: 1px solid #e2eaf1; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-grid > div { display: flex; align-items: center; gap: 14px; min-height: 85px; padding: 18px 28px; border-right: 1px solid #d6e0eb; color: var(--navy-deep); font-size: 13px; font-weight: 750; }
.value-grid > div:first-child { padding-left: 0; }
.value-grid > div:last-child { border-right: 0; }
.value-number { color: #6f92ba; font-size: 12px; font-weight: 900; }

.section { padding: 104px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 56px; margin-bottom: 38px; }
.section-head h2, .about h2, .contact-section h2 { max-width: 690px; margin: 0; font-size: clamp(35px, 3.2vw, 48px); }
.section-head > p { max-width: 320px; margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: border-color .18s ease, transform .18s ease; }
.product-card:hover { border-color: #a7bed8; transform: translateY(-3px); }
.product-photo { height: 240px; background-repeat: no-repeat; background-color: #d7e2ee; background-size: 300% auto; background-position: left top; }
.product-photo-redes { background-image: url("assets/redes.webp"); }
.product-photo-fachada { background-image: url("assets/fachada.webp"); }
.product-photo-fios { background-image: url("assets/fios.webp"); background-position: right top; }
.product-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px 26px 29px; }
.product-index { margin-bottom: 13px; color: #567eaa; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-body h3 { margin-bottom: 11px; color: var(--navy-deep); font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.product-body p { margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-link:hover { color: #1c61af; }

.about { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; right: -100px; top: -160px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; position: relative; }
.about h2 { margin-bottom: 23px; }
.about-copy > p:not(.eyebrow) { max-width: 510px; margin-bottom: 28px; color: #d2e0ef; font-size: 16px; line-height: 1.75; }
.about-points > div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.19); }
.about-points > div:first-child { padding-top: 0; }
.about-points > div:last-child { border-bottom: 0; padding-bottom: 0; }
.point-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(245,213,75,.7); color: var(--yellow); font-size: 13px; font-weight: 900; }
.about-points h3 { margin-bottom: 5px; font-size: 20px; }
.about-points p { margin: 0; color: #cddbeb; font-size: 14px; }

.clients { padding-top: 88px; padding-bottom: 88px; }
.clients-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 33px; }
.clients-head h2 { margin: 0; color: var(--navy-deep); font-size: clamp(30px, 2.7vw, 38px); }
.clients-head p { margin: 0; color: var(--muted); font-size: 13px; }
.logo-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 26px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-row img { max-width: 145px; width: 100%; max-height: 72px; height: auto; object-fit: contain; margin-inline: auto; }
.logo-row img:nth-child(3), .logo-row img:nth-child(4) { max-width: 78px; }

.contact-section { padding: 89px 0; background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 80px; align-items: center; }
.contact-section h2 { max-width: 590px; margin-bottom: 18px; color: var(--navy-deep); }
.contact-section p:not(.eyebrow) { max-width: 530px; margin-bottom: 26px; color: var(--muted); }
.contact-card { display: flex; flex-direction: column; padding: 29px 32px; border-left: 4px solid var(--yellow); background: #fff; box-shadow: 0 15px 40px rgba(17,46,82,.07); overflow-wrap: anywhere; }
.contact-card span { color: #61748b; font-size: 11px; text-transform: uppercase; font-weight: 900; letter-spacing: .12em; }
.contact-card a { margin: 5px 0 22px; color: var(--navy-deep); font-size: 20px; font-weight: 800; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card address { margin: 5px 0 22px; color: var(--navy-deep); font-size: 16px; font-style: normal; line-height: 1.5; }
.contact-card small { color: var(--muted); font-size: 12px; }

.site-footer { background: #08244d; color: #e5edfa; }
.footer-top { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 60px; padding: 56px 0 42px; }
.footer-top img { width: 186px; height: auto; margin-bottom: 14px; }
.footer-top p, .footer-top span { display: block; color: #acbed5; font-size: 12px; }
.footer-top strong { display: block; max-width: 270px; margin-bottom: 8px; font-size: 13px; }
.footer-top nav { display: flex; flex-direction: column; gap: 8px; }
.footer-top nav a { color: #d7e5f4; font-size: 13px; text-decoration: none; }
.footer-top nav a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0 25px; color: #a5b8ce; font-size: 11px; }
.catalog { background: var(--soft); }
.catalog .section-head h2 { color: var(--navy-deep); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.catalog-item { background: #fff; border: 1px solid var(--line); }
.catalog-item summary { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 21px 22px; cursor: pointer; list-style: none; }
.catalog-item summary::-webkit-details-marker { display: none; }
.catalog-item summary::after { content: "+"; color: var(--navy); font-size: 27px; line-height: 1; grid-column: 3; grid-row: 1 / 3; }
.catalog-item[open] summary::after { content: "−"; }
.catalog-item summary span { grid-row: 1 / 3; color: #6486a7; font-size: 12px; font-weight: 900; }
.catalog-item summary strong { color: var(--navy-deep); font-size: 18px; line-height: 1.25; }
.catalog-item summary em { grid-column: 2; color: var(--muted); font-size: 12px; font-style: normal; }
.catalog-content { border-top: 1px solid var(--line); padding: 18px 25px 25px 72px; color: var(--muted); font-size: 14px; }
.catalog-content p { margin-bottom: 12px; }
.catalog-content h3 { margin: 18px 0 7px; color: var(--navy-deep); font-size: 15px; }
.catalog-content ul { margin: 0 0 16px; padding-left: 20px; }
.catalog-content li { margin: 4px 0; }
.catalog-content .technical-note { font-size: 12px; }
.catalog-cta { color: var(--navy); font-weight: 800; text-decoration: none; }
.catalog-cta:hover { text-decoration: underline; }
.identity h2, .resources h2, .quote-section h2 { font-size: clamp(35px, 3.2vw, 48px); }
.identity h2 { max-width: 750px; color: var(--navy-deep); }
.identity-intro { max-width: 830px; margin: 20px 0 34px; color: var(--muted); }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.identity-grid article { padding: 30px; border-top: 3px solid var(--yellow); background: var(--soft); }
.identity-grid span { color: #547393; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.identity-grid h3 { margin: 12px 0 9px; color: var(--navy-deep); font-size: 23px; }
.identity-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.resources { background: var(--soft); }
.resources-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: center; }
.resources h2 { color: var(--navy-deep); }
.resources p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.resource-links { display: grid; gap: 12px; }
.resource-links a { display: flex; flex-direction: column; gap: 5px; padding: 21px 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.resource-links a:hover { border-color: #547ba9; }
.resource-links strong { color: var(--navy-deep); font-size: 17px; }
.resource-links span { color: var(--muted); font-size: 13px; }
.quote-section { background: var(--navy-deep); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.quote-section h2 { max-width: 580px; }
.quote-section .quote-grid > div > p:not(.eyebrow) { max-width: 530px; margin: 20px 0 35px; color: #d2e0ef; }
.quote-step { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.19); font-size: 14px; }
.quote-step span { color: var(--yellow); font-weight: 900; }
.quote-form { display: grid; gap: 7px; padding: 32px; color: var(--ink); background: #fff; box-shadow: 0 20px 45px rgba(0,0,0,.12); }
.quote-form h3 { margin: 0 0 12px; color: var(--navy-deep); font-size: 23px; }
.quote-progress { margin: 0 0 7px; color: #517196; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.quote-panel { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-panel[hidden] { display: none; }
.quote-panel legend { margin-bottom: 8px; color: var(--navy-deep); font-size: 17px; font-weight: 800; }
.quote-form label { margin-top: 9px; color: var(--navy-deep); font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd6e1; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.quote-form textarea { resize: vertical; }
.quote-form .button { margin-top: 14px; cursor: pointer; }
.quote-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.quote-back { border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.quote-back:hover { text-decoration: underline; }
.quote-review { display: grid; grid-template-columns: 105px 1fr; gap: 11px 15px; margin: 8px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.quote-review dt { color: #5b7189; font-weight: 800; }
.quote-review dd { margin: 0; color: var(--navy-deep); }
.quote-form .form-note { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.back-to-top { position: fixed; z-index: 30; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(calc(-50% + 90px)); display: grid; place-items: center; width: 45px; height: 45px; padding: 0; border: 1px solid var(--yellow); border-radius: 50%; background: var(--navy-deep); color: var(--yellow); box-shadow: 0 8px 22px rgba(9,38,80,.25); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transition: transform 1s cubic-bezier(.77,0,.175,1), opacity 1s cubic-bezier(.77,0,.175,1), visibility 1s, background-color .2s ease; }
.back-to-top.is-visible { transform: translateX(-50%); opacity: 1; visibility: visible; pointer-events: auto; }
.back-to-top span { width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(3px) rotate(-45deg); }
.back-to-top:hover { background: var(--navy); }

@media (max-width: 1050px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 12px; }
  .brand img { width: 155px; }
  .hero-copy { padding-right: 42px; }
  .hero h1 { font-size: clamp(41px, 4.5vw, 54px); }
  .about-grid { gap: 52px; }
  .footer-top { gap: 30px; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 36px, 640px); }
  .header-inner { min-height: 74px; justify-content: space-between; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; color: var(--navy); font-size: 14px; font-weight: 800; padding: 12px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 21px; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(270px, 82vw); padding: 10px 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 15px 30px rgba(10,30,60,.15); display: flex; flex-direction: column; }
  .mobile-nav nav a { padding: 10px 0; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { padding: 66px 0 48px; }
  .hero h1 { max-width: 660px; font-size: clamp(40px, 7vw, 55px); }
  .hero-note { padding-top: 35px; }
  .hero-visual { height: 370px; min-height: 0; margin-inline: -18px; }
  .hero-visual img { min-height: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid > div { min-height: 61px; padding: 12px 0; border-right: 0; border-bottom: 1px solid #d6e0eb; }
  .value-grid > div:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head, .clients-head { display: block; }
  .section-head > p { margin-top: 18px; max-width: 510px; }
  .product-grid { grid-template-columns: 1fr; gap: 19px; }
  .product-photo { height: 270px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .catalog-grid, .resources-grid, .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .identity-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 25px; }
  .clients-head p { margin-top: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 146px; }
  .hero-copy { padding-top: 55px; }
  .hero h1 { font-size: clamp(37px, 10vw, 46px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 21px; }
  .hero-visual { height: 260px; margin-inline: -16px; }
  .visual-label { right: 13px; bottom: 13px; font-size: 10px; }
  .product-photo { height: 210px; }
  .section-head h2, .about h2, .contact-section h2 { font-size: 35px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 23px 22px; }
  .contact-card a { font-size: 17px; }
  .catalog-item summary { padding: 17px; }
  .catalog-content { padding: 17px 20px 22px; }
  .quote-form { padding: 24px; }
  .quote-review { grid-template-columns: 1fr; gap: 3px; }
  .quote-review dd { margin-bottom: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .product-card { transition: none; }
}
