:root {
  --primary: #0b578a;
  --primary-dark: #083e64;
  --ink: #172b3a;
  --muted: #536774;
  --line: #dce7ee;
  --pale: #eef5fa;
  --header-height: 86px;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.75 'Karla', system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0078b9; outline-offset: 5px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-height) + 22px); }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.8rem); font-weight: 800; }
h2 { margin: 0 0 1.4rem; font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 700; }
h3 { margin: 2rem 0 1rem; font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1.15rem; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.container { width: min(1140px, 90%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 6.5vw, 6rem) 0; }
.prose { max-width: 860px; }
.centered { text-align: center; }
.eyebrow { margin-bottom: 1.1rem; color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.small { font-size: 0.88rem; color: var(--muted); }
.statement { color: var(--primary-dark); font-weight: 700; }
.section-heading { margin-bottom: 2.5rem; }
.section-heading p:last-child { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -100px; background: #fff; color: var(--primary-dark); padding: 0.6rem 1rem; }
.skip-link:focus { top: 0.5rem; }
.button-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 46px; margin-top: 1rem; padding: 0.7rem 1.5rem; border: 1px solid transparent; border-radius: 5px; font-size: 0.94rem; font-weight: 600; line-height: 1.5; transition: background 0.18s, color 0.18s; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary { background: #fff; border-color: #a9c5d7; color: var(--primary-dark); }
.btn.secondary:hover { background: var(--pale); }
.text-link { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--primary); text-decoration: underline; text-underline-offset: 5px; font-weight: 600; font-size: 0.95rem; }
.text-link:hover { color: var(--primary-dark); }

/* Compact black contact strip above the sticky white navigation. */
.top-bar { background: #272b2e; color: #fff; font-size: 0.75rem; }
.top-bar-inner, .top-bar-contacts { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; }
.top-bar-inner { min-height: 34px; padding-block: 5px; }
.top-bar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 2rem; }
.logo-area { width: 225px; flex: 0 0 auto; }
.logo-img { width: 100%; height: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 0.45rem; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.9rem; border-radius: 4px; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.035em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:hover { color: var(--primary); background: #edf5fa; }
.main-nav a.active { color: var(--primary); background: #eaf3f9; }
.main-nav > ul > li:last-child > a { margin-left: 0.4rem; border: 1px solid #b7cedd; }
.has-submenu > a::after { content: '▾'; font-size: 0.65rem; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 235px; padding: 0.5rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 24px rgba(8,42,66,0.08); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.submenu a { display: block; padding: 0.6rem 0.7rem; font-size: 0.92rem; line-height: 1.4; border-radius: 4px; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu { visibility: visible; opacity: 1; transform: none; }
.nav-toggle { display: none; width: 45px; height: 45px; padding: 0.6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 4px auto; background: var(--primary); }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Only the three supplied photographs slide; the title has its own layer. */
.hero-slider { width: 100%; background: #edf4f8; overflow: hidden; }
.slider-frame { position: relative; overflow: hidden; touch-action: pan-y; }
.slide-images { display: flex; transition: transform 0.7s ease; }
.slide { flex: 0 0 100%; min-width: 0; height: clamp(430px, 38vw, 570px); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide:nth-child(3) img { object-position: 70% 60%; }
.slider-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(249,252,254,0.96), rgba(249,252,254,0.85) 30%, rgba(249,252,254,0.2) 68%, transparent); pointer-events: none; }
.slide-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.5rem 30px 4rem; pointer-events: none; }
.slide-overlay h1 { margin: 0 0 0.6rem; color: #102d42; font-size: clamp(2.7rem, 5.5vw, 4.9rem); text-transform: uppercase; line-height: 1.03; letter-spacing: -0.045em; }
.hero-action { margin: 0; min-height: 1.6em; color: var(--primary); font-size: clamp(1.7rem, 3.4vw, 3.1rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; text-transform: uppercase; }
.typewriter { white-space: nowrap; }
.typewriter::after { content: ''; display: inline-block; height: 0.82em; width: 2px; margin-left: 0.08em; background: var(--primary); vertical-align: -0.02em; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.is-paused .typewriter::after { animation-play-state: paused; }
.hero-contact { display: inline-flex; align-items: center; gap: 1rem; padding-block: 0.5rem; margin-top: 1.3rem; color: var(--primary-dark); border-bottom: 1px solid #80a8c1; font-size: 0.94rem; font-weight: 600; pointer-events: auto; }
.hero-contact:hover { border-bottom-color: var(--primary-dark); }
.hero-specialty { max-width: 540px; margin: 0.35rem 0 0; color: var(--primary-dark); font-size: 1rem; line-height: 1.55; }
.hero-controls { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero-arrow { display: grid; place-items: center; width: 40px; height: 40px; margin-inline: 10px; padding: 0; background: rgba(255,255,255,0.75); color: var(--primary-dark); border: 1px solid #a9c0cf; border-radius: 50%; font-size: 1.8rem; line-height: 1; pointer-events: auto; }
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-toolbar { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { position: relative; width: 30px; height: 30px; padding: 0; background: transparent; border: 0; border-radius: 50%; }
.hero-dot::after { content: ''; position: absolute; inset: 10px; background: rgba(11,87,138,0.35); border-radius: 50%; }
.hero-dot.active::after { background: var(--primary); box-shadow: 0 0 0 3px rgba(255,255,255,0.7); }
.hero-pause { padding: 5px 13px; color: var(--primary-dark); background: rgba(255,255,255,0.85); border: 1px solid #a9c0cf; border-radius: 99px; font-size: 0.75rem; }

/* Frameless narrative blocks, with air-inspired lines and soft blue bands. */
.flow-background { background: #fff url('../resources/images/sfondo-linee.svg') center / cover no-repeat fixed; }
.narrative .prose > p:not(.eyebrow) { max-width: 830px; margin-inline: auto; }
.wave-background { position: relative; isolation: isolate; background: #f0f6fa; }
.wave-background::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../resources/images/nuovo/sfondo-linee-originale.webp') center / cover no-repeat; opacity: 0.48; }
.wave-background::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(173deg, rgba(255,255,255,0.35) 24%, rgba(217,235,247,0.65) 24.2%, rgba(233,243,250,0.3) 64%, rgba(255,255,255,0.65) 64.2%); pointer-events: none; }
.services-intro .prose { max-width: 830px; }
.sectors-section { padding-bottom: 6rem; }
.sector-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.7rem; }
.sector-card { overflow: hidden; border: 1px solid #aac4d6; border-radius: 18px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.sector-card img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s; }
.sector-card > span { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 1rem 1.2rem; background: #fff; color: var(--primary); font-size: 1.2rem; font-weight: 700; }
.sector-arrow { font-size: 1.25rem; }
.sector-card:hover { border-color: var(--primary); box-shadow: 0 10px 25px rgba(8,62,100,0.1); }
.sector-card:hover img { transform: scale(1.035); }

.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; background-size: cover; background-position: center; background-attachment: fixed; }
.page-hero--chi-siamo { background-image: url('../resources/images/nuovo/chi-siamo.webp'); }
.page-hero--servizi { background-image: url('../resources/images/nuovo/servizi.webp'); }
.page-hero--residenziale { background-image: url('../resources/images/settori/residenziale.webp'); }
.page-hero--commerciale { background-image: url('../resources/images/settori/commerciale.webp'); }
.page-hero--terziario { background-image: url('../resources/images/settori/terziario.webp'); }
.page-hero-image { display: none; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(245,250,253,0.96),rgba(245,250,253,0.8) 40%,rgba(245,250,253,0.1)); }
.page-hero-content { min-height: 340px; display: flex; flex-direction: column; justify-content: center; padding-block: 3rem; }
.page-hero-content h1 { margin: 0 0 0.9rem; }
.page-hero-content > p:last-child { max-width: 600px; margin: 0; font-size: 1.1rem; }
.compact-hero { padding: 4.5rem 0; }
.compact-hero h1 { margin: 0 0 1.5rem; }
.compact-hero .text-link { margin-top: 1rem; }
.values-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 2.5rem; text-align: left; margin: 2rem 0; }
.values-list li { position: relative; padding: 0.7rem 0 0.7rem 1.3rem; border-top: 1px solid var(--line); }
.values-list li::before { content: ''; position: absolute; left: 0; top: 1.4rem; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.partners { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.partners h3 { margin-top: 0; }
.partners p { color: var(--muted); font-size: 0.95rem; }
.partner-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 3rem; margin-top: 2rem; }
.partner-grid figure { display: flex; align-items: center; justify-content: center; min-height: 95px; }
.partner-grid img { max-width: 190px; width: 100%; height: 90px; object-fit: contain; }
.brand-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1.2rem; }
.brandmark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; min-height: 150px; padding: 1.2rem 1rem 0.8rem; background: #fff; border: 1px solid #ccdce7; border-radius: 18px; transition: border-color 0.2s, box-shadow 0.2s; }
.brandmark img { width: 100%; height: 70px; object-fit: contain; }
.brandmark span { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-align: center; }
.brandmark:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(8,62,100,0.08); }
.supply-list { max-width: 580px; margin: 2rem auto; text-align: left; }
.supply-list li:nth-child(4) { margin-top: 0.9rem; }
.supply-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.5rem; border-bottom: 1px solid #ccdde9; font-weight: 600; color: var(--primary-dark); }
.supply-list a::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; margin-right: 0.25rem; }
.supply-list a span { margin-left: auto; font-size: 1.1rem; }
.supply-list a:hover { color: var(--primary); background: rgba(230,241,248,0.65); }
.consulting-list { max-width: 350px; margin: 2rem auto; padding-left: 1.5rem; list-style: disc; text-align: left; }
.consulting-list li { padding-block: 0.2rem; }
.consulting-section #sistema-integrato { padding-top: 1rem; margin-top: 2rem; border-top: 1px solid #cddfe9; }
.consulting-section #sistema-integrato h3 { margin-top: 1.5rem; }

.premium-band { background: #2b2c2d; color: #fff; }
.premium-link { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 165px; padding-block: 2rem; text-align: center; }
.premium-title { font-size: clamp(1.35rem,2.4vw,1.85rem); line-height: 1.3; }
.premium-title strong { font-weight: 800; }
.premium-caption { font-size: 0.84rem; color: #dbe8f1; margin-top: 0.6rem; text-decoration: underline; text-underline-offset: 4px; }
.premium-link:hover .premium-caption { color: #fff; }
.site-footer { background: #fff; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 1fr; gap: 4rem; padding-bottom: 2.5rem; font-size: 0.9rem; }
.footer-logo { width: 190px; height: auto; margin-bottom: 1.5rem; }
.footer-grid h2 { margin: 0 0 1.25rem; font-size: 1rem; letter-spacing: 0; }
.footer-grid p { margin-bottom: 0.8rem; overflow-wrap: anywhere; }
.footer-links li + li { margin-top: 0.4rem; }
.footer-grid a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.2rem; font-size: 0.75rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 5rem; }
.contact-layout > * { min-width: 0; }
.contact-details { font-size: 0.98rem; }
.contact-details h2 { font-size: 2rem; }
.contact-phone { color: var(--primary); font-size: 1.5rem; font-weight: 700; }
.contact-details #diventa-partner { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-details h3 { margin-top: 0; }
.contact-form { margin-top: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-width: 0; min-height: 45px; padding: 0.6rem 0.7rem; background: #fff; color: var(--ink); border: 1px solid #b5cbd9; border-radius: 4px; font-size: 1rem; }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-consent { font-size: 0.8rem; line-height: 1.6; margin: 0.5rem 0 1rem; }
.form-consent input { margin: 0 0.4rem 0 0; vertical-align: middle; }
.form-note, .form-status { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }
.form-status a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.map-section iframe { display: block; width: 100%; height: 350px; border: 0; }
.login-section { min-height: 520px; display: flex; align-items: center; }
.login-section h1 { font-size: clamp(2.4rem,4.5vw,4rem); }
.login-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 2rem; background: var(--pale); color: var(--primary); font-size: 2.5rem; border-radius: 50%; }
.technical-content { max-width: 960px; margin-inline: auto; }
.solution-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; margin: 0; font: inherit; letter-spacing: inherit; }
.service-local { max-width: 850px; margin: -0.8rem auto 2rem; text-align: center; color: var(--muted); }
.sector-local { color: var(--primary-dark); font-size: 1.05rem; }
.breadcrumbs { padding-block: 0.7rem; color: var(--muted); font-size: 0.78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; padding-right: 0.6rem; color: #8196a3; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }
.context-link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #91afc2; }
.context-link:hover { color: var(--primary-dark); text-decoration-color: currentColor; }
.service-intro { margin-inline: auto; margin-bottom: 2.5rem; }
.service-catalogue .solution-body { padding: 1rem 1.4rem 2.5rem; border-radius: 0 0 12px 12px; background: rgba(255,255,255,0.94); }
.content-list { max-width: 850px; margin: 1.4rem auto; padding-left: 1.5rem; list-style: disc outside; text-align: left; }
.content-list li + li { margin-top: 0.7rem; }
.content-list li::marker, .values-list li::marker { color: var(--primary); }
.values-list { padding-left: 1.3rem; list-style: disc outside; }
.values-list li { padding-left: 0.3rem; }
.values-list li::before { content: none; }
.radiant-diagram { max-width: 450px; margin: 2rem auto; }
.radiant-diagram img { width: 100%; height: auto; }
.sector-copy { margin-inline: auto; }
.sector-copy .content-list { margin-block: 1.8rem; }
.anchor-alias { display: block; height: 0; }
.seo-keywords { margin-top: 0; margin-bottom: 0; padding-bottom: 1.5rem; color: #647785; font-size: 0.73rem; line-height: 1.9; }
.solution-panel { border-top: 1px solid #b6cedd; }
.solution-panel:last-child { border-bottom: 1px solid #b6cedd; }
.solution-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.7rem 0.25rem; color: var(--primary-dark); font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 700; letter-spacing: -0.02em; list-style: none; }
.solution-panel summary::-webkit-details-marker { display: none; }
.details-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #b6cedd; border-radius: 50%; font-size: 1.6rem; font-weight: 400; transition: transform 0.2s; }
.solution-panel[open] .details-icon { transform: rotate(45deg); }
.solution-body { padding-bottom: 3rem; font-size: 0.98rem; }
.solution-body p, .solution-body h3 { max-width: 850px; margin-inline: auto; }
.solution-body h3 { margin-top: 2rem; }
.solution-photo { width: 100%; height: 360px; object-fit: cover; border-radius: 12px; margin-bottom: 2rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.photo-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; }
.product-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.product-gallery figure { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.product-gallery img { width: 100%; height: 130px; object-fit: contain; }
.product-gallery figcaption { margin-top: 0.8rem; font-size: 0.8rem; line-height: 1.4; text-align: center; }

@media (max-width: 960px) {
  :root { --header-height: 74px; }
  .logo-area { width: 195px; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height) - 64px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; pointer-events: none; box-shadow: 0 10px 20px rgba(8,42,66,0.08); }
  .main-nav.open { visibility: visible; opacity: 1; pointer-events: auto; }
  .main-nav > ul { display: block; width: 90%; margin: auto; padding: 1rem 0; }
  .main-nav > ul > li > a { display: flex; padding: 0.75rem 0.8rem; font-size: 0.95rem; }
  .main-nav > ul > li:last-child > a { margin: 0.5rem 0 0; }
  .submenu { position: static; visibility: inherit; opacity: 1; transform: none; min-width: 0; padding: 0.1rem 0 0.6rem 1rem; border: 0; box-shadow: none; }
  .submenu a { padding-block: 0.6rem; }
  .top-bar-inner, .top-bar-contacts { gap: 1rem; }
  .top-bar { font-size: 0.65rem; }
  .sector-card img { height: 200px; }
  .sector-card > span { font-size: 1.05rem; padding: 0.8rem 1rem; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { gap: 2rem; }
  .contact-layout { gap: 2.5rem; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; overflow-wrap: break-word; }
  .container { width: 89%; }
  .top-bar-inner { flex-wrap: wrap; justify-content: center; gap: 0; padding-block: 6px; }
  .top-bar-contacts { width: 100%; justify-content: center; gap: 0.7rem; font-size: 0.64rem; }
  .opening-hours { font-size: 0.64rem; }
  .header-inner { gap: 1rem; }
  .logo-area { width: 190px; }
  .slide { height: 485px; }
  .slide-overlay { padding: 2.5rem 12px 4.5rem; }
  .slide-overlay h1 { font-size: clamp(2.2rem,7.5vw,3rem); }
  .hero-action { margin-top: 0.4rem; font-size: clamp(1.15rem,5.2vw,1.9rem); min-height: 2em; }
  .hero-contact { font-size: 0.88rem; margin-top: 0.4rem; }
  .slider-frame::after { background: linear-gradient(90deg,rgba(250,253,255,0.95),rgba(250,253,255,0.8) 45%,rgba(250,253,255,0.4)); }
  .hero-controls { align-items: flex-end; padding-bottom: 19px; }
  .hero-arrow { width: 36px; height: 36px; margin-inline: 14px; }
  .hero-toolbar { bottom: 20px; }
  .page-hero { min-height: 280px; background: none; }
  .page-hero-image { display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .page-hero-content { min-height: 280px; padding-block: 2.5rem; }
  .page-hero-content h1 { font-size: 2.8rem; }
  .page-hero-content > p:last-child { font-size: 1rem; }
  .flow-background { background-attachment: scroll; }
  .compact-hero { padding: 3rem 0; }
  .compact-hero h1 { font-size: 2.8rem; }
  .desktop-break { display: none; }
  .narrative h2, .services-intro h2 { max-width: 500px; margin-inline: auto; }
  .sector-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 440px; margin-inline: auto; }
  .sector-card img { height: 260px; }
  .sector-card > span { font-size: 1.2rem; }
  .sectors-section { padding-bottom: 3.5rem; }
  .values-list { grid-template-columns: 1fr; gap: 0.3rem; }
  .partner-grid { gap: 1.2rem; }
  .partner-grid img { height: 65px; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.8rem; }
  .brandmark { min-height: 135px; padding: 1rem 0.75rem; }
  .brandmark img { height: 60px; }
  .brandmark span { font-size: 0.72rem; }
  .supply-list a { padding-inline: 0.1rem; font-size: 0.95rem; }
  .button-row { flex-direction: column; gap: 1.25rem; }
  .premium-link { min-height: 145px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div + div { padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-phone { font-size: 1.4rem; }
  .map-section iframe { height: 280px; }
  .login-section { min-height: 460px; }
  .solution-photo { height: 240px; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery img { height: 230px; }
  .product-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-gallery img { height: 100px; }
}
@media (max-width: 360px) {
  .top-bar-contacts { flex-direction: column; gap: 0; }
  .logo-area { width: 170px; }
  .slide-overlay h1 { font-size: 2rem; }
  .hero-contact { font-size: 0.78rem; }
  .hero-action { font-size: 1.1rem; }
  .hero-arrow { margin-inline: 8px; }
  .page-hero-content h1 { font-size: 2.4rem; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid img { height: 85px; max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .page-hero, .flow-background { background-attachment: scroll; }
  .typewriter::after { display: none; }
}
