/*
Theme Name: Kresia Vetrina
Theme URI: https://kresia.local/
Author: Codex
Description: Tema vetrina per Kresia srl, finiture professionali per stampa e packaging.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: kresia-vetrina
*/

:root {
  --ink: #05070a;
  --panel: #10151b;
  --muted: #687381;
  --line: #dbe2ea;
  --paper: #f4f7fa;
  --white: #ffffff;
  --blue: #1398e5;
  --blue-strong: #0077c8;
  --cyan: #56c8ff;
  --gold: #c99a45;
  --shadow: 0 24px 70px rgba(4, 11, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(5, 7, 10, 0.94);
  border-bottom: 1px solid rgba(19, 152, 229, 0.28);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  width: 248px;
  height: 54px;
  flex: 0 0 248px;
}

.brand-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
}

.brand-wordmark {
  width: 182px;
  height: auto;
  flex: 0 1 auto;
  object-fit: contain;
}

.site-footer img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 9px 0;
}

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

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

.main-nav .nav-cta {
  padding: 12px 18px;
  color: var(--cyan);
  border: 1px solid rgba(19, 152, 229, 0.7);
  border-radius: 4px;
}

.main-nav .nav-cta::after {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 900;
}

.language-option {
  padding: 6px 4px;
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.language-option.is-active {
  color: var(--cyan);
}

.language-option:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  overflow: hidden;
  color: var(--white);
  background: #05070a;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.72) 42%, rgba(5, 7, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.1) 0%, rgba(5, 7, 10, 0.8) 100%),
    url("assets/hero-generated.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  width: min(900px, 100%);
  padding: clamp(70px, 8vw, 104px) clamp(22px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.quote-strip h2,
.contact h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.45vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--blue);
}

.hero p:not(.eyebrow) {
  max-width: 470px;
  margin: 20px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 16px 34px rgba(19, 152, 229, 0.28);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.button.light {
  color: var(--blue-strong);
  background: var(--white);
}

.button.ghost-dark {
  color: var(--ink);
  background: transparent;
  border: 1px solid #b8c5d1;
}

.intro,
.services,
.gallery,
.quote-assistant,
.contact {
  padding: clamp(52px, 7vw, 78px) clamp(22px, 7vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--white);
}

.section-heading h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.intro-copy {
  color: #202a33;
  font-size: clamp(17px, 1.4vw, 20px);
}

.featured-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.82 / 1;
  object-fit: cover;
}

.service-card div {
  position: relative;
  padding: 40px 24px 26px;
}

.service-icon {
  position: absolute;
  top: -28px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  background: var(--blue);
  border: 4px solid var(--white);
  border-radius: 50%;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-card p {
  min-height: 68px;
  margin: 0 0 18px;
  color: #303943;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #202a33;
  font-size: 14px;
}

.service-card li::before {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 9px;
  color: var(--white);
  font-size: 11px;
  content: "\2713";
  background: var(--blue);
  border-radius: 50%;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1120px;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
}

.service-list span {
  padding: 11px 16px;
  color: #15202b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quality-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(22px, 7vw, 86px);
  color: var(--white);
  background: var(--ink);
}

.quality-band div {
  min-height: 112px;
  padding: 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-band strong,
.quality-band span {
  display: block;
}

.quality-band strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.quality-band span {
  color: #c2ccd6;
  font-size: 14px;
}

.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(22px, 7vw, 86px);
  color: var(--white);
  background: linear-gradient(135deg, #0b8dde, #26b8ff);
}

.quote-strip h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.quote-strip p {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: 17px;
}

.quote-assistant {
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fb 100%);
}

.assistant-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.assistant-intro h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.assistant-intro p:not(.eyebrow) {
  max-width: 400px;
  color: #344050;
  font-size: 17px;
}

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

.assistant-form label,
.assistant-output {
  display: grid;
  gap: 7px;
  color: #182331;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.assistant-form input,
.assistant-form select,
.assistant-form textarea,
.assistant-output textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  text-transform: none;
  background: #f7fafc;
  border: 1px solid #cfdae5;
  border-radius: 6px;
  outline: none;
}

.assistant-form select {
  appearance: auto;
}

.assistant-form textarea,
.assistant-output textarea {
  resize: vertical;
}

.assistant-wide,
.assistant-output {
  grid-column: 1 / -1;
}

.assistant-actions {
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.assistant-actions .button,
.assistant-mail {
  width: auto;
}

.assistant-output {
  padding-top: 4px;
}

.assistant-output textarea {
  min-height: 144px;
  color: #1b2633;
  background: #eef4f9;
}

.assistant-mail {
  justify-self: start;
  color: var(--white);
  background: var(--ink);
}

.contact {
  background: #0a0d12;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  max-width: 980px;
  margin: 0 auto;
  color: var(--white);
}

.contact-panel p:not(.eyebrow) {
  color: #c2ccd6;
  font-size: 17px;
}

.company-details {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.company-details > div,
.company-details > a {
  display: block;
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
  background: #111820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.company-details h3 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.company-details p {
  margin: 0;
  color: #c2ccd6;
}

.company-details a {
  color: inherit;
  overflow-wrap: anywhere;
}

.company-details a:hover,
.company-details a:focus-visible {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #d8e3ed;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--white);
  font: inherit;
  background: #151b22;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .privacy-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #d8e3ed;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
}

.contact-form .privacy-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}

.privacy-consent button,
.footer-privacy {
  display: inline;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.privacy-modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 10, 0.72);
}

.privacy-modal[hidden],
.cookie-modal[hidden],
.cookie-banner[hidden] {
  display: none;
}

.privacy-modal-panel,
.cookie-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: clamp(26px, 5vw, 42px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.privacy-modal-panel h2,
.cookie-modal-panel h2 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.privacy-text {
  display: grid;
  gap: 12px;
}

.privacy-text p {
  margin: 0;
  color: #2e3946;
}

.privacy-text strong {
  color: var(--ink);
}

.privacy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  background: #eef4f9;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

body.privacy-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 55;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cookie-banner-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(1040px, 100%);
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.cookie-banner p:not(.eyebrow),
.cookie-modal-panel p {
  margin: 0;
  color: #354252;
}

.cookie-actions,
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 16px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cookie-options input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.cookie-options span {
  display: grid;
  gap: 4px;
}

.cookie-options small {
  color: #526071;
  font-size: 13px;
  line-height: 1.4;
}

.quote-bot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  color: #07111f;
}

.quote-bot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  width: min(400px, calc(100vw - 28px));
  height: min(720px, calc(100vh - 112px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.quote-bot-panel[hidden] {
  display: none;
}

.quote-bot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5ebf1;
}

.quote-bot-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border-radius: 50%;
}

.quote-bot-header strong {
  flex: 1;
  font-size: 16px;
}

.quote-bot-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #162232;
  font-size: 26px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quote-bot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  background: #ffffff;
}

.bot-message {
  max-width: 86%;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.42;
  white-space: pre-line;
  border-radius: 18px;
}

.bot-message.is-bot {
  align-self: flex-start;
  background: #f0f3ff;
  border-top-left-radius: 6px;
}

.bot-message.is-user {
  align-self: flex-end;
  color: var(--white);
  background: var(--blue-strong);
  border-top-right-radius: 6px;
}

.quote-bot-quick {
  display: flex;
  gap: 8px;
  padding: 0 16px 10px;
  overflow-x: auto;
}

.quote-bot-file-input {
  display: none;
}

.quote-bot-quick button,
.bot-mail-link,
.bot-restart {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--blue-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: #edf7ff;
  border: 1px solid #c8e7ff;
  border-radius: 999px;
  cursor: pointer;
}

.quote-bot-quick .bot-back-button {
  color: #ffffff;
  background: #101923;
  border-color: rgba(20, 153, 227, 0.65);
}

.bot-mail-link {
  align-self: flex-start;
  margin: 0 16px 12px;
  color: var(--white);
  background: var(--blue-strong);
  border-color: var(--blue-strong);
}

.quote-bot-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 10px;
  padding: 9px 10px 9px 14px;
  border: 1px solid #d6dee8;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 28, 45, 0.08);
}

.quote-bot-input input {
  width: 100%;
  min-width: 0;
  color: #152131;
  font: inherit;
  border: 0;
  outline: none;
}

.quote-bot-input button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  font-size: 20px;
  background: var(--blue);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.quote-bot-footer {
  padding: 0 0 12px;
  color: #697586;
  font-size: 12px;
  text-align: center;
}

.quote-bot-footer strong {
  color: var(--blue-strong);
}

.quote-bot-toggle {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: auto;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(0, 119, 200, 0.38);
  cursor: pointer;
}

.quote-bot.is-open .quote-bot-toggle span {
  font-size: 0;
}

.quote-bot.is-open .quote-bot-toggle span::before {
  content: "v";
  font-size: 24px;
}

.site-footer {
  display: grid;
  gap: 12px;
  padding: 30px clamp(22px, 7vw, 86px);
  color: #c2ccd6;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: min(320px, 100%);
}

.site-footer .footer-brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.site-footer .footer-brand-wordmark {
  width: 238px;
  height: auto;
  object-fit: contain;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  justify-content: flex-start;
  max-width: 1180px;
  color: #d8e3ed;
  font-size: 13px;
}

.footer-powered {
  display: block;
  width: 100%;
  justify-self: stretch;
  margin-top: 6px;
  color: rgba(216, 227, 237, 0.72);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    padding: 12px 24px;
  }

  .brand {
    width: 220px;
    height: 50px;
    flex-basis: 220px;
    gap: 10px;
  }

  .brand-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-wordmark {
    width: 160px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(5, 7, 10, 0.98);
    border: 1px solid rgba(19, 152, 229, 0.3);
    border-radius: 6px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  }

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

  .main-nav a,
  .main-nav .nav-cta {
    width: 100%;
    padding: 14px 12px;
  }

  .language-switch {
    justify-content: flex-start;
    padding: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.72) 58%, rgba(5, 7, 10, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.18) 0%, rgba(5, 7, 10, 0.78) 100%),
      url("assets/hero-generated.jpg") 58% center / cover no-repeat;
  }

  .hero-content {
    width: min(720px, 100%);
    padding: 78px 34px 70px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(44px, 6.2vw, 54px);
  }

  .intro,
  .assistant-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .service-card p {
    min-height: 0;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    width: min(190px, calc(100vw - 86px));
    height: 46px;
    flex-basis: min(190px, calc(100vw - 86px));
    gap: 8px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-wordmark {
    width: min(138px, calc(100vw - 138px));
  }

  .main-nav {
    top: 64px;
    right: 12px;
    left: 12px;
    padding: 12px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.82) 48%, rgba(5, 7, 10, 0.94) 100%),
      url("assets/hero-generated.jpg") 62% center / cover no-repeat;
  }

  .hero-content {
    padding: 58px 20px 46px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1.02;
  }

  .hero p:not(.eyebrow) {
    max-width: 340px;
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .intro,
  .services,
  .gallery,
  .quote-assistant,
  .contact {
    padding: 42px 18px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 30px;
  }

  .section-heading.centered {
    margin-bottom: 26px;
    text-align: left;
  }

  .featured-services {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card div {
    padding: 38px 20px 24px;
  }

  .service-list {
    justify-content: stretch;
    gap: 9px;
  }

  .service-list span {
    width: 100%;
    padding: 12px 14px;
  }

  .hero-actions,
  .quote-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quality-band,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-band {
    padding: 0 18px;
  }

  .quality-band div {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img:last-child {
    grid-column: auto;
  }

  .quote-strip {
    padding: 30px 18px;
  }

  .quote-strip h2 {
    font-size: 30px;
  }

  .contact-form input,
  .contact-form textarea,
  .assistant-form input,
  .assistant-form select,
  .assistant-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .assistant-panel {
    padding: 22px 18px;
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }

  .assistant-actions {
    flex-direction: column;
  }

  .assistant-actions .button,
  .assistant-mail {
    width: 100%;
  }

  .site-footer {
    padding: 28px 18px;
  }

  .footer-brand {
    gap: 9px;
    max-width: min(260px, 100%);
  }

  .site-footer .footer-brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .site-footer .footer-brand-wordmark {
    width: 204px;
  }

  .footer-details {
    display: flex;
    gap: 8px;
  }

  .quote-bot {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  body.cookie-visible .quote-bot {
    bottom: 86px;
  }

  .quote-bot-panel {
    right: 0;
    bottom: 70px;
    width: 100%;
    height: min(680px, calc(100vh - 92px));
    border-radius: 13px;
  }

  .quote-bot-toggle {
    width: 56px;
    height: 56px;
  }

  .quote-bot-messages {
    padding: 14px;
  }

  .bot-message {
    max-width: 92%;
    font-size: 14px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-banner-panel,
  .cookie-actions,
  .cookie-modal-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-banner-panel {
    gap: 16px;
    padding: 18px;
  }

  .cookie-actions,
  .cookie-modal-actions {
    display: grid;
  }

  .cookie-actions .button,
  .cookie-modal-actions .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }
}

/* Visual refinement layer */
body {
  background:
    linear-gradient(180deg, #eef3f8 0%, #f7f9fb 420px, #f4f7fa 100%);
}

.site-header {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.main-nav .nav-cta,
.button,
.quote-bot-toggle,
.quote-bot-close,
.privacy-close {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.main-nav .nav-cta:hover,
.quote-bot-toggle:hover {
  transform: translateY(-1px);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 20px 42px rgba(19, 152, 229, 0.34);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(86, 200, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(86, 200, 255, 0.5), transparent);
}

.hero-content {
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  align-content: center;
}

.hero p:not(.eyebrow) {
  color: #e7eef6;
}

.intro {
  align-items: center;
  border-bottom: 1px solid #e4ebf2;
}

.intro-copy {
  max-width: 680px;
  padding: clamp(22px, 3vw, 34px);
  background: #f7fafc;
  border: 1px solid #e1e9f1;
  border-radius: 8px;
}

.services {
  background:
    linear-gradient(180deg, #eef3f8 0%, #f6f9fc 100%);
}

.section-heading.centered {
  margin-bottom: clamp(34px, 5vw, 54px);
}

.service-card {
  border-color: rgba(205, 218, 230, 0.82);
  box-shadow: 0 18px 44px rgba(9, 20, 31, 0.11);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 152, 229, 0.38);
  box-shadow: 0 28px 70px rgba(9, 20, 31, 0.17);
}

.service-card img,
.gallery-grid img {
  transition: transform 260ms ease, filter 260ms ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card h3 {
  line-height: 1.14;
}

.service-card p {
  color: #3d4856;
}

.quality-band {
  background:
    linear-gradient(135deg, #05070a 0%, #0e1720 58%, #07121c 100%);
  border-top: 1px solid rgba(86, 200, 255, 0.16);
  border-bottom: 1px solid rgba(86, 200, 255, 0.16);
}

.quality-band div {
  position: relative;
}

.quality-band div::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 14px;
  content: "";
  background: var(--blue);
}

.gallery {
  background: #ffffff;
}

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

.gallery-grid img {
  box-shadow: 0 16px 38px rgba(9, 20, 31, 0.12);
}

.gallery-grid img:hover {
  transform: translateY(-3px);
  filter: contrast(1.05) saturate(1.04);
}

.quote-strip {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 12, 18, 0.2), rgba(6, 12, 18, 0)),
    linear-gradient(135deg, #087dcc 0%, #18a9f2 58%, #54c9ff 100%);
}

.quote-strip::after {
  position: absolute;
  inset: auto -8% -120% auto;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 62%);
  pointer-events: none;
}

.contact {
  background:
    linear-gradient(180deg, #080c11 0%, #0d141b 100%);
  border-top: 1px solid rgba(86, 200, 255, 0.12);
}

.contact-panel {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

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

.company-details > div,
.company-details > a {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer {
  border-top-color: rgba(86, 200, 255, 0.14);
}

.quote-bot-panel,
.cookie-banner-panel,
.privacy-modal-panel,
.cookie-modal-panel {
  border-color: rgba(203, 216, 229, 0.9);
}

.quote-bot-panel {
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.28);
}

.bot-message.is-bot {
  background: #eef5ff;
}

.bot-message.is-user {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
}

@media (max-width: 980px) {
  .company-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-content {
    min-height: 560px;
  }

  .intro-copy,
  .contact-panel {
    padding: 0;
    background: transparent;
    border: 0;
  }

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

/* Premium industrial refresh */
:root {
  --paper: #f3f6f9;
  --paper-soft: #f8fafc;
  --steel: #d8e1ea;
  --blue: #1499e3;
  --blue-strong: #087dcc;
  --cyan: #63ceff;
  --shadow: 0 22px 54px rgba(3, 9, 15, 0.13);
}

body {
  color: #071019;
  background:
    linear-gradient(180deg, #eaf0f5 0%, #f8fafc 360px, #f3f6f9 100%);
}

.site-header {
  min-height: 76px;
  background: rgba(3, 7, 11, 0.96);
  border-bottom-color: rgba(73, 154, 212, 0.34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.main-nav {
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 12px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.main-nav .nav-cta {
  min-height: 42px;
  padding: 11px 16px;
  color: #ffffff;
  background: rgba(20, 153, 227, 0.12);
  border-color: rgba(99, 206, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switch {
  padding-left: 4px;
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  isolation: isolate;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(3, 7, 11, 0.96) 0%, rgba(3, 7, 11, 0.82) 38%, rgba(3, 7, 11, 0.22) 72%, rgba(3, 7, 11, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 7, 11, 0.06) 0%, rgba(3, 7, 11, 0.86) 100%),
    url("assets/hero-generated.jpg") center / cover no-repeat;
  transform: none;
}

.hero-content {
  min-height: min(760px, calc(100vh - 76px));
  width: min(980px, 100%);
  padding-top: clamp(76px, 8.4vw, 124px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 11px;
}

.eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  color: #dce8f2;
  font-size: clamp(17px, 1.35vw, 20px);
}

.button {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 6px;
}

.button.primary {
  background: linear-gradient(135deg, #1398e5, #0077c8);
  box-shadow: 0 18px 40px rgba(19, 152, 229, 0.28);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.intro,
.services,
.gallery,
.contact {
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
}

.intro {
  gap: clamp(34px, 5vw, 70px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.section-heading h2,
.contact h2 {
  max-width: 820px;
  font-size: clamp(34px, 4.2vw, 58px);
}

.intro-copy {
  position: relative;
  padding: clamp(26px, 3.4vw, 42px);
  background: #ffffff;
  border-color: rgba(207, 219, 230, 0.9);
  box-shadow: 0 18px 46px rgba(7, 16, 25, 0.08);
}

.intro-copy::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  border-radius: 8px 0 0 8px;
}

.services {
  background:
    linear-gradient(180deg, #eef4f8 0%, #f7fafc 100%);
}

.featured-services {
  gap: clamp(18px, 2vw, 26px);
}

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

.service-card {
  overflow: hidden;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid rgba(204, 217, 229, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(7, 16, 25, 0.1);
}

.service-card img {
  height: 190px;
  filter: saturate(0.98) contrast(1.04);
}

.service-card div {
  position: relative;
  padding: 34px 24px 26px;
}

.service-icon {
  top: -24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 28px rgba(7, 16, 25, 0.2);
}

.service-card h3 {
  min-height: 2.28em;
  margin-bottom: 10px;
  font-size: 21px;
}

.service-card p {
  min-height: 4.6em;
  color: #43505e;
  font-size: 15px;
}

.quality-band {
  gap: 0;
  padding: 0 clamp(22px, 7vw, 86px);
  background: #03070b;
}

.quality-band div {
  min-height: 150px;
  padding: 34px 28px;
  border-left: 1px solid rgba(99, 206, 255, 0.12);
}

.quality-band div:last-child {
  border-right: 1px solid rgba(99, 206, 255, 0.12);
}

.quality-band strong {
  font-size: 16px;
}

.gallery {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.gallery-grid {
  gap: clamp(12px, 1.3vw, 18px);
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: clamp(170px, 16vw, 230px);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(7, 16, 25, 0.14);
}

.quote-strip {
  padding: clamp(36px, 5vw, 58px) clamp(22px, 7vw, 86px);
  background:
    linear-gradient(110deg, #0572bc 0%, #1398e5 48%, #58c9ff 100%);
}

.quote-strip h2 {
  font-size: clamp(30px, 3.7vw, 48px);
}

.quote-strip .button {
  color: #0572bc;
  box-shadow: 0 16px 32px rgba(3, 7, 11, 0.14);
}

.contact {
  background:
    radial-gradient(circle at top right, rgba(20, 153, 227, 0.18), transparent 34%),
    linear-gradient(180deg, #070b10 0%, #03070b 100%);
}

.contact-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  border-color: rgba(99, 206, 255, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.company-details {
  gap: 16px;
}

.company-details > div,
.company-details > a {
  min-height: 150px;
  padding: 22px;
  border-radius: 8px;
}

.site-footer {
  gap: 14px;
  padding-top: 38px;
  padding-bottom: 34px;
  background: #03070b;
}

.footer-details {
  max-width: 1180px;
}

.quote-bot-panel {
  border-radius: 14px;
}

.quote-bot-header {
  min-height: 62px;
}

.quote-bot-toggle {
  box-shadow: 0 18px 40px rgba(20, 153, 227, 0.34);
}

@media (max-width: 1180px) {
  .featured-services.all-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .featured-services.all-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .quality-band div {
    border-top: 1px solid rgba(99, 206, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .main-nav {
    top: 64px;
  }

  .hero,
  .hero-content {
    min-height: 590px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero-actions,
  .quote-strip {
    align-items: stretch;
  }

  .hero-actions .button,
  .quote-strip .button {
    width: 100%;
  }

  .featured-services.all-services {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 210px;
  }

  .service-card h3,
  .service-card p {
    min-height: 0;
  }

  .quality-band {
    grid-template-columns: 1fr;
  }

  .quality-band div {
    min-height: auto;
    padding: 28px 22px;
  }

  .gallery-grid img {
    height: 150px;
  }

  .contact-panel {
    padding: 28px 20px;
  }
}

/* Softer proportion pass */
.site-header {
  min-height: 72px;
}

.brand {
  width: 232px;
  height: 50px;
  flex-basis: 232px;
  gap: 10px;
}

.brand-icon {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

.brand-wordmark {
  width: 172px;
}

.hero {
  min-height: min(700px, calc(100vh - 72px));
}

.hero-content {
  min-height: min(700px, calc(100vh - 72px));
  padding-top: clamp(66px, 7vw, 104px);
  padding-bottom: clamp(62px, 7vw, 96px);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.03;
}

.hero p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  font-size: clamp(16px, 1.18vw, 18px);
}

.hero-actions {
  margin-top: 26px;
}

.intro,
.services,
.gallery,
.contact {
  padding-top: clamp(58px, 6.5vw, 88px);
  padding-bottom: clamp(58px, 6.5vw, 88px);
}

.section-heading.centered {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.section-heading h2,
.contact h2 {
  max-width: 760px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

.intro-copy {
  padding: clamp(22px, 2.8vw, 34px);
}

.intro-copy p,
.contact-panel p:not(.eyebrow) {
  font-size: 16px;
}

.featured-services {
  gap: clamp(16px, 1.8vw, 22px);
}

.service-card img {
  height: 176px;
}

.service-card div {
  padding: 30px 22px 24px;
}

.service-icon {
  top: -22px;
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.service-card h3 {
  min-height: auto;
  font-size: 19px;
  line-height: 1.18;
}

.service-card p {
  min-height: 4.2em;
  font-size: 14.5px;
  line-height: 1.48;
}

.quality-band div {
  min-height: 132px;
  padding: 28px 24px;
}

.quality-band strong {
  font-size: 15px;
}

.quality-band span {
  font-size: 13px;
}

.gallery-grid img {
  height: clamp(150px, 14vw, 205px);
}

.quote-strip {
  padding: clamp(32px, 4.4vw, 48px) clamp(22px, 7vw, 86px);
}

.quote-strip h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.quote-strip p {
  font-size: 16px;
}

.contact-panel {
  padding: clamp(28px, 4vw, 44px);
}

.company-details > div,
.company-details > a {
  min-height: 132px;
  padding: 20px;
}

.company-details h3 {
  font-size: 15px;
}

.company-details p {
  font-size: 14px;
}

@media (max-width: 980px) {
  .brand {
    width: 210px;
    height: 48px;
    flex-basis: 210px;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-wordmark {
    width: 152px;
  }

  .hero,
  .hero-content {
    min-height: 600px;
  }

  .hero h1 {
    font-size: clamp(34px, 6vw, 48px);
  }
}

@media (max-width: 640px) {
  .brand {
    width: min(176px, calc(100vw - 86px));
    height: 42px;
    flex-basis: min(176px, calc(100vw - 86px));
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-wordmark {
    width: min(128px, calc(100vw - 136px));
  }

  .hero,
  .hero-content {
    min-height: 540px;
  }

  .hero h1 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .section-heading h2,
  .contact h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .service-card img {
    height: 188px;
  }

  .gallery-grid img {
    height: 136px;
  }
}

/* Contact + newsletter layout */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 30px);
  max-width: 1180px;
}

.contact-info,
.newsletter-box {
  min-width: 0;
}

.contact-info h2 {
  max-width: 650px;
  font-size: clamp(28px, 3vw, 42px);
}

.company-details {
  grid-template-columns: 1fr;
}

.company-details > div,
.company-details > a {
  min-height: auto;
}

.company-details [data-operational-map] {
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  -webkit-tap-highlight-color: rgba(32, 158, 221, 0.22);
}

.company-details [data-operational-map]:hover,
.company-details [data-operational-map]:focus-visible {
  border-color: rgba(32, 158, 221, 0.7);
  box-shadow: 0 14px 32px rgba(32, 158, 221, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.newsletter-box {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(99, 206, 255, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.newsletter-box h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
}

.newsletter-box p:not(.eyebrow) {
  margin: 0;
  color: #c2ccd6;
  font-size: 15px;
}

.newsletter-box label {
  display: grid;
  gap: 8px;
  color: #d8e3ed;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.newsletter-box input[type="email"],
.newsletter-box input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--white);
  font: inherit;
  background: rgba(3, 7, 11, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.newsletter-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  text-transform: none;
  font-weight: 600;
  line-height: 1.35;
}

.newsletter-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.newsletter-consent button {
  display: inline;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  font-weight: 900;
  line-height: inherit;
  text-decoration: underline;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.newsletter-box .button {
  width: 100%;
  margin-top: 2px;
}

.newsletter-message {
  min-height: 1.2em;
  color: #9ee4ff;
  font-size: 12px;
  font-weight: 700;
}

.newsletter-message.is-error {
  color: #ffb4b4;
}

@media (max-width: 980px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .company-details {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    padding: 24px 20px;
  }
}

/* Compact gallery section */
.gallery {
  padding-top: clamp(42px, 4.8vw, 64px);
  padding-bottom: clamp(42px, 4.8vw, 64px);
}

.gallery .section-heading.centered {
  margin-bottom: clamp(20px, 2.8vw, 30px);
}

.gallery .section-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.gallery-grid img {
  height: clamp(128px, 11vw, 174px);
}

@media (max-width: 640px) {
  .gallery {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .gallery-grid img {
    height: 126px;
  }
}

/* Compact contact slide */
.contact {
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

.contact-panel {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(18px, 2.2vw, 24px);
  padding: clamp(22px, 3vw, 34px);
}

.contact-info {
  display: grid;
  align-content: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.58fr);
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 28px);
}

.contact-info h2 {
  max-width: 560px;
  font-size: clamp(26px, 2.8vw, 38px);
}

.contact-panel p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
}

.company-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.company-details > div,
.company-details > a {
  min-height: 0;
  padding: 14px 16px;
  border-radius: 6px;
}

.company-details h3 {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.2;
}

.company-details p {
  font-size: 13.5px;
  line-height: 1.38;
}

.company-details .contact-phone-card {
  grid-column: 1 / -1;
  text-align: left;
}

.contact-phone-card p {
  display: block;
  font-size: 15px;
}

.newsletter-box {
  align-self: stretch;
  margin-top: 0;
  padding: clamp(18px, 2vw, 24px);
  gap: 11px;
  min-height: 0;
}

@media (max-width: 980px) {
  .newsletter-box {
    margin-top: 0;
    min-height: 0;
  }
}

.newsletter-box h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.newsletter-box p:not(.eyebrow) {
  font-size: 14px;
}

@media (min-width: 981px) {
  .company-details > :nth-child(1),
  .company-details > :nth-child(2) {
    grid-column: span 1;
  }

  .company-details > :nth-child(5),
  .company-details > :nth-child(6) {
    grid-column: span 1;
  }

  .company-details .contact-phone-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .contact-panel {
    padding: 22px 16px;
  }

  .company-details {
    grid-template-columns: 1fr;
  }
}

/* Mobile polish */
@media (max-width: 640px) {
  section {
    padding: 44px 18px;
  }

  .site-header {
    min-height: 64px;
    padding: 9px 14px;
  }

  .brand {
    width: 174px;
    height: 42px;
    flex-basis: 174px;
    gap: 8px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-wordmark {
    width: 126px;
  }

  .hero,
  .hero-content {
    min-height: 520px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.76) 68%, rgba(5, 7, 10, 0.5) 100%),
      linear-gradient(0deg, rgba(5, 7, 10, 0.28), transparent 42%);
  }

  .hero-content {
    padding: 52px 18px 42px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 32px;
    line-height: 1.06;
  }

  .hero p {
    max-width: 310px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    width: min(100%, 310px);
  }

  .hero-actions .button,
  .quote-strip .button {
    width: 100%;
    justify-content: center;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .intro-copy {
    padding: 22px 20px;
  }

  .intro-copy p,
  .contact-panel p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.55;
  }

  .featured-services,
  .featured-services.all-services {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card img {
    height: 176px;
  }

  .service-card div {
    padding: 28px 20px 22px;
  }

  .service-icon {
    left: 20px;
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .service-card h3 {
    min-height: auto;
    font-size: 19px;
  }

  .service-card p {
    min-height: auto;
    font-size: 14.5px;
  }

  .quality-band {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .quality-band div {
    min-height: auto;
    padding: 20px 0;
  }

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

  .gallery-grid img {
    height: 128px;
    border-radius: 6px;
  }

  .quote-strip {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 14px;
    padding: 30px 18px;
    text-align: left;
  }

  .quote-strip::after {
    display: none;
  }

  .quote-strip h2 {
    font-size: 27px;
    line-height: 1.1;
  }

  .quote-strip p {
    font-size: 15px;
  }

  .contact-panel {
    width: 100%;
    padding: 22px 16px;
  }

  .contact-layout,
  .company-details {
    grid-template-columns: 1fr;
  }

  .company-details {
    gap: 10px;
  }

  .company-details > div,
  .company-details > a {
    min-height: auto;
    padding: 14px 15px;
  }

  .newsletter-box {
    width: 100%;
    padding: 20px 18px;
  }

  .newsletter-box h2 {
    font-size: 24px;
  }

  .site-footer {
    padding: 28px 18px 22px;
  }

  .footer-brand {
    width: min(240px, 100%);
  }

  .quote-bot {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .quote-bot-panel {
    width: 100%;
    max-height: min(640px, calc(100vh - 104px));
  }
}
