@font-face {
  font-family: "League Spartan";
  src: url("../assets/league-spartan.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --navy: #0b243b;
  --navy-deep: #071a2b;
  --charcoal: #27323a;
  --blue: #2b7fbf;
  --blue-light: #58a7dd;
  --white: #fff;
  --light: #f3f6f9;
  --line: #d9e3eb;
  --muted: #60707b;
  --shadow: 0 24px 60px rgba(11, 36, 59, .12);
  --radius: 18px;
  --container: 1200px;
  --header-height: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 42px); }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "League Spartan", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p { margin: 0 0 1.15rem; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.06; letter-spacing: -.025em; }
h1 { max-width: 760px; font-size: clamp(2.6rem, 5.1vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(82px, 9vw, 132px) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; padding: 12px 16px; background: var(--white); color: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #f7b84b; outline-offset: 4px; }

.topbar { min-height: 38px; display: grid; place-items: center; padding: 6px 20px; background: var(--navy-deep); color: var(--white); font-size: .86rem; font-weight: 700; letter-spacing: .05em; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(11,36,59,.1); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: 0 0 auto; width: 78px; height: 68px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--navy); font-size: .94rem; font-weight: 700; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-call { flex: 0 0 auto; }
.menu-toggle, .mobile-nav { display: none; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--blue); border-radius: 11px; background: var(--blue); color: var(--white); font-weight: 800; line-height: 1.15; text-align: center; box-shadow: 0 10px 24px rgba(43,127,191,.2); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { background: #206ea8; box-shadow: 0 14px 28px rgba(43,127,191,.28); transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: currentColor; }
.button-small { min-height: 44px; padding: 10px 18px; }
.button-secondary { border-color: rgba(11,36,59,.18); background: transparent; color: var(--navy); box-shadow: none; }
.button-secondary:hover { background: var(--navy); color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); box-shadow: none; }
.button-light:hover { border-color: #e6f3fc; background: #e6f3fc; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: #a8d7f6; }

.hero { position: relative; min-height: calc(100svh - 124px); display: flex; align-items: center; padding: clamp(66px, 8vw, 112px) 0; overflow: hidden; background: linear-gradient(135deg, #f8fafc 0%, #fff 58%, #eaf3f9 100%); }
.hero::before { position: absolute; width: 680px; height: 680px; right: -270px; top: -220px; border: 1px solid rgba(43,127,191,.18); border-radius: 50%; content: ""; box-shadow: 0 0 0 72px rgba(43,127,191,.035), 0 0 0 144px rgba(43,127,191,.025); }
.hero::after { position: absolute; left: 0; bottom: 44px; width: 34%; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: clamp(42px, 6vw, 94px); }
.hero-copy > p:not(.eyebrow) { max-width: 720px; color: #4f5f69; font-size: 1.04rem; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy .hero-lead { color: var(--charcoal); font-size: 1.12rem; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 32px; }
.badges span { min-height: 35px; display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid #ccdae4; border-radius: 6px; background: rgba(255,255,255,.7); color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .025em; }
.badges span:nth-child(3) { border-color: var(--blue); background: var(--blue); color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; min-height: 590px; }
.portrait-frame { position: absolute; inset: 20px 22px 30px 38px; z-index: 2; overflow: hidden; border-radius: 180px 180px 18px 18px; box-shadow: var(--shadow); }
.portrait-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,26,43,.36)); content: ""; pointer-events: none; }
.portrait-frame picture, .portrait-frame img { width: 100%; height: 100%; }
.portrait-frame img { object-fit: cover; object-position: 50% 35%; }
.technical-ring { position: absolute; right: -38px; top: 0; z-index: 1; width: 260px; aspect-ratio: 1; border: 2px solid rgba(43,127,191,.35); border-radius: 50%; }
.technical-ring::before, .technical-ring::after { position: absolute; border-radius: inherit; content: ""; }
.technical-ring::before { inset: 22px; border: 1px dashed rgba(43,127,191,.45); }
.technical-ring::after { inset: 70px; border: 18px solid rgba(43,127,191,.08); }
.portrait-label { position: absolute; right: -10px; bottom: 4px; z-index: 4; min-width: 208px; padding: 16px 19px; border-left: 4px solid var(--blue-light); border-radius: 7px; background: var(--navy); color: var(--white); box-shadow: 0 18px 35px rgba(11,36,59,.25); }
.portrait-label strong, .portrait-label span { display: block; }
.portrait-label strong { font-size: 1.05rem; }
.portrait-label span { margin-top: 2px; color: #b7ccdb; font-size: .8rem; }
.pipe-detail { position: absolute; left: -6px; bottom: 85px; z-index: 3; width: 58px; height: 132px; }
.pipe-detail i { position: absolute; display: block; background: var(--blue); }
.pipe-detail i:nth-child(1) { left: 0; bottom: 0; width: 8px; height: 100%; }
.pipe-detail i:nth-child(2) { left: 0; top: 0; width: 42px; height: 8px; }
.pipe-detail i:nth-child(3) { left: 34px; top: 0; width: 24px; height: 24px; border: 7px solid var(--blue); border-left: 0; border-bottom: 0; border-radius: 0 18px 0 0; background: transparent; }

.services { position: relative; background: var(--light); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 22px; }
.section-heading > p:last-child { max-width: 660px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 29px; overflow: hidden; border: 1px solid #dbe4ea; border-radius: var(--radius); background: var(--white); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card::after { position: absolute; right: -32px; bottom: -32px; width: 90px; height: 90px; border: 15px solid rgba(43,127,191,.055); border-radius: 50%; content: ""; }
.service-card:hover { z-index: 1; border-color: rgba(43,127,191,.38); box-shadow: 0 18px 45px rgba(11,36,59,.1); transform: translateY(-5px); }
.service-card .icon-box { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 12px; background: #e9f3fa; color: var(--blue); }
.icon-box svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { max-width: 310px; margin: 7px 0 13px; }
.service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card-index { color: #9babb7; font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.mini-label { position: absolute; top: 29px; right: 25px; padding: 4px 8px; border-radius: 4px; background: #ecf3f8; color: var(--navy); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.service-featured { grid-column: span 2; min-height: 330px; display: grid; grid-template-columns: 98px 1fr; align-items: end; background: var(--navy); border-color: var(--navy); }
.service-featured .icon-box { width: 76px; height: 76px; margin: 0; background: rgba(255,255,255,.1); color: #7ac1ef; }
.service-featured .icon-box svg { width: 46px; height: 46px; }
.service-featured h3 { color: var(--white); font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.service-featured p { max-width: 570px; color: #b9cbd7; }
.service-featured.alt { background: linear-gradient(135deg, #143a59, var(--navy)); }
.service-wide { background: linear-gradient(145deg, #fff, #edf6fb); }
.emergency-card { background: var(--blue); border-color: var(--blue); }
.emergency-card .icon-box { background: rgba(255,255,255,.14); color: var(--white); }
.emergency-card h3, .emergency-card p, .emergency-card .card-index { color: var(--white); }
.emergency-card p { opacity: .84; }
.emergency-card a { position: relative; z-index: 2; display: inline-flex; gap: 8px; margin-top: 18px; color: var(--white); font-size: .86rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.about { overflow: hidden; background: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(55px, 8vw, 120px); }
.about-visual { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; padding: 45px; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.about-visual::before { position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border: 44px solid rgba(43,127,191,.18); border-radius: 50%; content: ""; }
.year { position: relative; z-index: 2; font-size: clamp(5.5rem, 10vw, 9rem); font-weight: 900; letter-spacing: -.08em; line-height: .8; }
.year-label { position: relative; z-index: 2; margin-top: 22px; color: #b7ccdb; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.technical-blueprint { position: absolute; inset: 30px; opacity: .32; }
.technical-blueprint i { position: absolute; display: block; border: 1px solid #72b8e6; }
.technical-blueprint i:nth-child(1) { top: 0; right: 32%; width: 1px; height: 42%; }
.technical-blueprint i:nth-child(2) { top: 42%; right: 32%; width: 42%; height: 1px; }
.technical-blueprint i:nth-child(3) { top: calc(42% - 14px); left: 26%; width: 29px; height: 29px; border: 6px solid #72b8e6; border-radius: 50%; }
.technical-blueprint i:nth-child(4) { top: -7px; right: calc(32% - 7px); width: 15px; height: 15px; border-radius: 50%; background: #72b8e6; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: var(--muted); }
.about-copy p:first-of-type { color: var(--charcoal); font-size: 1.15rem; font-weight: 650; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--blue); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.advantages { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.advantages::after { position: absolute; right: -180px; bottom: -310px; width: 700px; height: 700px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.advantages .container { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 130px); }
.advantages h2 { color: var(--white); }
.advantages-list { margin: 0; padding: 0; list-style: none; counter-reset: benefit; }
.advantages-list li { display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: center; min-height: 94px; border-top: 1px solid rgba(255,255,255,.14); }
.advantages-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.advantages-list span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(122,193,239,.55); border-radius: 50%; color: #7ac1ef; font-size: .72rem; font-weight: 900; }
.advantages-list p { margin: 0; color: #e9f2f7; font-size: clamp(1rem, 1.55vw, 1.3rem); font-weight: 700; line-height: 1.3; }

.contacts { background: var(--light); }
.contacts-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:last-of-type { max-width: 500px; color: var(--muted); font-size: 1.08rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social-button { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #d0dce4; border-radius: 10px; background: var(--white); color: var(--navy); font-size: .84rem; font-weight: 800; transition: border-color .2s ease, transform .2s ease; }
.social-button:hover { border-color: var(--blue); transform: translateY(-2px); }
.social-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-button svg path, .social-button .fill { fill: currentColor; stroke: none; }
.contact-panel { display: grid; margin: 0; border-top: 4px solid var(--blue); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); font-style: normal; }
.contact-panel > * { min-width: 0; display: grid; gap: 3px; padding: 23px 28px; border-bottom: 1px solid #e1e8ed; transition: background .2s ease; }
.contact-panel > *:last-child { border: 0; }
.contact-panel a:hover { background: #f4f9fc; }
.contact-panel small { color: var(--blue); font-size: .69rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-panel strong { overflow-wrap: anywhere; color: var(--navy); font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.3; }

.final-cta { position: relative; padding: clamp(65px, 7vw, 92px) 0; overflow: hidden; background: linear-gradient(110deg, #236fa8 0%, var(--blue) 55%, #16618f 100%); color: var(--white); }
.final-cta::before { position: absolute; top: -120px; left: 45%; width: 280px; height: 280px; border: 35px solid rgba(255,255,255,.07); border-radius: 50%; content: ""; }
.final-cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 42px; }
.final-cta h2 { margin-bottom: 12px; color: var(--white); }
.final-cta p:not(.eyebrow) { max-width: 660px; margin: 0; color: #eaf6fd; }

.institutional { padding-block: clamp(58px, 7vw, 88px); background: var(--white); text-align: center; }
.institutional .container { max-width: 960px; }
.institutional-link { display: block; padding: clamp(18px, 4vw, 34px); border: 1px solid #e1e7eb; border-radius: 13px; background: var(--white); box-shadow: 0 10px 35px rgba(11,36,59,.065); transition: transform .25s ease, box-shadow .25s ease; }
.institutional-link:hover { box-shadow: 0 18px 45px rgba(11,36,59,.12); transform: translateY(-4px); }
.institutional-link picture, .institutional-link img { width: 100%; }
.institutional-link img { height: auto; object-fit: contain; }
.institutional p { margin: 20px auto 0; color: var(--muted); font-size: .91rem; }

.site-footer { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); background: var(--navy-deep); color: #c0d0da; font-size: .79rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.site-footer a, .site-footer button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font-weight: 700; }
.site-footer a:hover, .site-footer button:hover { color: #7ac1ef; }

.mobile-emergency { display: none; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,18,29,.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-dialog { position: relative; z-index: 1; width: min(100%, 720px); max-height: min(82vh, 760px); overflow-y: auto; padding: clamp(30px, 5vw, 54px); border-radius: 16px; background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-dialog h2 { margin-bottom: 26px; }
.modal-dialog h3 { margin: 26px 0 10px; font-size: 1.1rem; }
.modal-dialog p { color: var(--muted); font-size: .95rem; }
.modal-dialog a { color: var(--blue); text-decoration: underline; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--light); color: var(--navy); cursor: pointer; font-size: 1.8rem; line-height: 1; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --header-height: 76px; }
  .desktop-nav, .header-call { display: none; }
  .brand { width: 68px; height: 60px; }
  .menu-toggle { width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; margin-left: auto; border: 1px solid #d5e0e8; border-radius: 10px; background: var(--white); cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; display: block; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 100%; left: 0; width: 100%; display: block; max-height: calc(100vh - 114px); overflow-y: auto; border-top: 1px solid #e1e8ed; background: var(--white); box-shadow: 0 22px 45px rgba(11,36,59,.16); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav-inner { display: grid; padding-block: 18px 24px; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid #e7edf1; color: var(--navy); font-weight: 800; }
  .mobile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 16px; }
  .mobile-actions a { min-height: 46px; justify-content: center; padding: 8px 10px; border: 1px solid #d9e3ea; border-radius: 8px; font-size: .82rem; text-align: center; }
  .hero-grid { grid-template-columns: 1fr .78fr; gap: 45px; }
  .hero-visual { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-featured { grid-column: span 2; }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-grid, .about-grid, .advantages .container, .contacts-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 530px); min-height: 620px; margin-inline: auto; }
  .portrait-frame { inset: 10px 25px 38px; }
  .technical-ring { right: -30px; }
  .about-visual { min-height: 420px; }
  .advantages .container { gap: 55px; }
  .advantages-heading h2 br { display: none; }
  .contacts-grid { gap: 46px; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta .button { width: fit-content; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  :root { --header-height: 68px; }
  html { scroll-padding-top: 110px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .topbar { min-height: 36px; padding-inline: 12px; font-size: .74rem; letter-spacing: .025em; }
  .header-inner { min-height: var(--header-height); }
  .brand { width: 58px; height: 55px; }
  .menu-toggle { width: 46px; height: 46px; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.45rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero { padding: 58px 0 76px; }
  .hero::before { width: 420px; height: 420px; right: -250px; top: -100px; }
  .hero-grid { gap: 52px; }
  .hero-copy h1 { margin-bottom: 23px; }
  .hero-copy .hero-lead { font-size: 1.05rem; }
  .badges { margin-block: 24px 27px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 510px; }
  .portrait-frame { inset: 0 13px 28px 18px; border-radius: 120px 120px 15px 15px; }
  .portrait-label { right: 0; bottom: 0; min-width: 186px; }
  .technical-ring { width: 190px; right: -42px; }
  .pipe-detail { left: 2px; bottom: 74px; transform: scale(.76); transform-origin: left bottom; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-featured { grid-column: auto; min-height: 285px; display: flex; padding: 25px; }
  .service-featured .icon-box { width: 60px; height: 60px; margin-bottom: 28px; }
  .service-featured .icon-box svg { width: 38px; height: 38px; }
  .service-featured h3 { font-size: 1.55rem; }
  .mini-label { top: 25px; right: 22px; }
  .about-grid { gap: 45px; }
  .about-visual { min-height: 350px; padding: 30px; }
  .year { font-size: 6rem; }
  .advantages-list li { grid-template-columns: 52px 1fr; gap: 12px; min-height: 92px; }
  .advantages-list span { width: 40px; height: 40px; }
  .contact-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-actions .button { grid-column: span 2; }
  .contact-panel > * { padding: 20px; }
  .final-cta .button { width: 100%; }
  .institutional-link { padding: 12px; }
  .site-footer { padding-bottom: 30px; }
  .site-footer nav { gap: 4px 18px; }
  .mobile-emergency { position: fixed; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 12px; z-index: 90; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 11px; background: var(--blue); color: var(--white); font-size: .92rem; font-weight: 900; box-shadow: 0 12px 32px rgba(7,26,43,.35); transition: opacity .2s ease, transform .2s ease; }
  .mobile-emergency.is-hidden { opacity: 0; pointer-events: none; transform: translateY(130%); }
  .modal { padding: 12px; }
  .modal-dialog { max-height: 88vh; padding: 48px 24px 30px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .mobile-actions { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .portrait-label { right: -2px; min-width: 175px; padding: 13px 15px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .button { grid-column: auto; }
}

@media (min-width: 1440px) {
  :root { --container: 1280px; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; }
  .hero-visual { min-height: 650px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@supports not (height: 100svh) {
  .hero { min-height: calc(100vh - 124px); }
}
