:root {
  --flame: #d63b2e;
  --flame-bright: #e14b3a;
  --flame-dark: #a92a23;
  --navy: #16324a;
  --navy-deep: #0f263c;
  --water: #2f7fc4;
  --water-bright: #3b8fd4;
  --cream: #f7f5f0;
  --cream-soft: #fbfaf7;
  --ink: #16324a;
  --muted: #5f7180;
  --line: rgba(22, 50, 74, 0.15);
  --shadow: 0 28px 80px rgba(15, 38, 60, 0.18);
  --ice: #e8f2f8;
  --aqua: var(--water);
  --deep: var(--navy);
  --red: var(--flame);
  --red-dark: var(--flame-dark);
  --steel: #687b89;
  --success: #2a9d72;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 127, 196, 0.08), transparent 34%),
    #ffffff;
  opacity: 1;
  pointer-events: none;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-intro img {
  width: min(52vw, 430px);
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(15, 38, 60, 0.16));
  animation: introLogo 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.site-intro.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.policy-page {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 96px max(24px, calc((100vw - 900px) / 2));
  background:
    linear-gradient(135deg, rgba(232, 242, 248, 0.9), rgba(251, 250, 247, 0.96)),
    var(--cream);
}

.policy-page .btn {
  justify-self: start;
}

.policy-page h1 {
  margin: 0;
  color: var(--navy);
}

.policy-page h2,
.policy-page h3 {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--navy);
  line-height: 1.15;
}

.policy-page h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.policy-page h3 {
  font-size: 1.08rem;
}

.policy-page p,
.policy-page ul {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.policy-page ul {
  padding-left: 22px;
}

.policy-page li + li {
  margin-top: 6px;
}

.policy-page a {
  color: var(--water);
  font-weight: 800;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 48px), 1180px);
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: stretch;
  gap: clamp(18px, 3vw, 34px);
  padding: 10px clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(22, 50, 74, 0.12);
  border-bottom-color: rgba(22, 50, 74, 0.2);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 20px 52px rgba(15, 38, 60, 0.14);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: min-height 260ms ease, transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  animation: navDrop 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flame), var(--water));
  opacity: 0.72;
  pointer-events: none;
}

.site-header:not(.is-scrolled) {
  min-height: 168px;
  background: rgba(251, 250, 247, 0.9);
  box-shadow:
    0 22px 58px rgba(15, 38, 60, 0.13),
    0 1px 0 rgba(22, 50, 74, 0.14);
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.98);
  box-shadow:
    0 16px 44px rgba(15, 38, 60, 0.16),
    0 1px 0 rgba(22, 50, 74, 0.14);
}

.site-header.is-on-light .brand {
  text-shadow: none;
}

.site-header.is-on-light .nav-links {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-header.is-on-light .nav-links a {
  color: var(--navy);
  text-shadow: none;
}

.site-header.is-on-light .nav-links a:hover {
  color: var(--red-dark);
  background: #ffffff;
}

.site-header.is-on-light .header-cta {
  color: #ffffff;
  border-color: rgba(47, 127, 196, 0.28);
  background: linear-gradient(135deg, var(--navy), var(--water));
  box-shadow: 0 12px 28px rgba(15, 38, 60, 0.18);
}

.brand {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: 210px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: none;
  transition: width 260ms ease, height 260ms ease, opacity 260ms ease, filter 260ms ease, transform 260ms ease, box-shadow 240ms ease;
}

.site-header:not(.is-scrolled) .brand {
  width: min(45vw, 500px);
  height: min(14vw, 154px);
}

.site-header.is-scrolled .brand {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  transition: opacity 220ms ease, transform 240ms ease;
}

.brand-logo-open {
  display: none;
}

.brand-logo-scrolled {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-links a {
  min-width: 0;
  padding: 12px 20px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.015em;
  text-shadow: none;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--flame);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 38, 60, 0.13);
  transform: translateY(-1px);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.header-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  padding: 0 20px;
  white-space: nowrap;
  color: #ffffff;
  border: 1px solid rgba(47, 127, 196, 0.38);
  background: rgba(22, 50, 74, 0.86);
  box-shadow: 0 12px 28px rgba(15, 38, 60, 0.18);
  backdrop-filter: blur(14px);
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  background: var(--water);
  box-shadow: 0 16px 34px rgba(47, 127, 196, 0.24);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 86px);
  padding: 230px max(24px, calc((100vw - 1180px) / 2)) 64px;
  overflow: hidden;
  color: var(--navy);
  background: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(214, 59, 46, 0.04), transparent 25%),
    linear-gradient(270deg, rgba(47, 127, 196, 0.08), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy-block {
  min-width: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--flame);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 1px solid rgba(192, 57, 43, 0.18);
  border-radius: 999px;
  color: var(--flame);
  background: rgba(214, 59, 46, 0.08);
  font-size: 0.72rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(47, 127, 196, 0.22);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(47, 127, 196, 0.09);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-inline: 0;
  font-size: clamp(2.65rem, 4.2vw, 4.25rem);
  line-height: 1;
  font-weight: 900;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.hero-actions {
  justify-content: flex-start;
}

.contact-actions {
  justify-content: center;
}

.btn {
  min-width: 160px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.header-cta:active,
.floating-whatsapp:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--flame-dark), var(--flame-bright));
  box-shadow: 0 16px 34px rgba(169, 42, 35, 0.28);
}

.btn-secondary {
  color: var(--navy);
  border: 2px solid rgba(22, 50, 74, 0.28);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 38, 60, 0.08);
  backdrop-filter: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: min(68svh, 680px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow: 0 34px 90px rgba(15, 38, 60, 0.22);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-media:hover > img {
  transform: scale(1.045);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 50, 74, 0.04), rgba(22, 50, 74, 0.34)),
    linear-gradient(90deg, rgba(22, 50, 74, 0.2), transparent 44%);
  pointer-events: none;
}

.contact .btn-secondary {
  color: var(--navy);
  border-color: rgba(47, 127, 196, 0.28);
  background: #ffffff;
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--water));
  box-shadow: 0 16px 34px rgba(15, 38, 60, 0.22);
}

.section-pad {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 108px max(24px, calc((100vw - 1180px) / 2)) 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 54px;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(232, 242, 248, 0.82), rgba(251, 250, 247, 0.86)),
    var(--cream);
}

.intro-copy {
  min-width: 0;
}

.intro-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px 0 34px;
  border: 1px solid rgba(47, 127, 196, 0.2);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(251, 250, 247, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 47, 76, 0.07);
}

.trust-strip span::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 0 4px rgba(47, 127, 196, 0.14);
}

.intro-image {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  margin: 0;
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: var(--ice);
  box-shadow: 0 34px 90px rgba(16, 47, 76, 0.18);
}

.intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 245, 240, 0.12), rgba(22, 50, 74, 0.24));
  pointer-events: none;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.intro-image:hover img {
  transform: scale(1.04);
}

.services {
  background:
    linear-gradient(180deg, rgba(47, 127, 196, 0.1), transparent 44%),
    var(--cream-soft);
}

.coverage {
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(135deg, #ffffff, rgba(232, 242, 248, 0.72)),
    var(--cream);
}

.coverage-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

.coverage-grid span,
.proof-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(251, 250, 247, 0.92);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(16, 47, 76, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.service-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(16, 47, 76, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  border-color: rgba(214, 59, 46, 0.26);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #335b72;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
}

.service-card:hover li::before {
  background: var(--water);
  transform: scale(1.22);
}

.service-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 8px;
  background: rgba(47, 127, 196, 0.12);
  transition: transform 220ms ease, background 220ms ease;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid var(--water);
  border-radius: 50%;
}

.service-icon.water::after {
  inset: 11px 16px 9px;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
}

.service-icon.heat::after {
  inset: 9px 17px 9px;
  border-radius: 18px 18px 6px 6px;
  border-color: var(--flame);
}

.service-icon.gas::before {
  border-radius: 50% 50% 50% 10px;
  transform: rotate(45deg);
}

.service-icon.climate::after {
  inset: 17px 9px;
  border-radius: 99px;
}

.service-icon.boiler::before {
  inset: 10px 13px;
  border-radius: 7px;
}

.showcase {
  background:
    linear-gradient(180deg, rgba(47, 127, 196, 0.08), transparent 38%),
    var(--cream-soft);
  color: var(--navy);
}

.process {
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.94), rgba(232, 242, 248, 0.72)),
    var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.process-step {
  min-height: 255px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(16, 47, 76, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-step:hover {
  border-color: rgba(47, 127, 196, 0.28);
  box-shadow: 0 24px 60px rgba(16, 47, 76, 0.12);
  transform: translateY(-4px);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--water));
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease;
}

.process-step:hover span {
  background: linear-gradient(135deg, var(--flame-dark), var(--flame-bright));
  transform: rotate(-3deg) scale(1.06);
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.proof,
.faq {
  background: var(--cream-soft);
}

.proof-grid,
.category-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.proof-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 47, 76, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.proof-card:hover {
  border-color: rgba(214, 59, 46, 0.22);
  box-shadow: 0 24px 60px rgba(16, 47, 76, 0.13);
  transform: translateY(-4px);
}

.proof-number {
  display: block;
  color: var(--flame);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.proof-badge {
  transition: color 220ms ease, transform 220ms ease;
}

.proof-card:hover .proof-number,
.proof-card:hover .proof-badge {
  color: var(--water);
  transform: translateY(-2px);
}

.proof-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.showcase .eyebrow {
  color: var(--flame);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, 0.68fr);
  grid-template-rows: repeat(2, minmax(230px, 310px));
  gap: 16px;
  margin-top: 38px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(15, 38, 60, 0.14);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery-main {
  grid-row: 1 / 3;
}

.gallery figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(16px);
}

.gallery figcaption strong,
.gallery figcaption span {
  display: block;
}

.category-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 38, 60, 0.12);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.category-gallery figure:hover {
  box-shadow: 0 24px 56px rgba(15, 38, 60, 0.16);
  transform: translateY(-3px);
}

.category-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.category-gallery figure:hover img {
  transform: scale(1.04);
}

.category-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(251, 250, 247, 0.9);
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.gallery-teaser {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.gallery figcaption strong {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.full-gallery-page.section-pad {
  min-height: 100svh;
  padding-top: 230px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(247, 245, 240, 0.96) 34%),
    radial-gradient(circle at 8% 18%, rgba(214, 59, 46, 0.08), transparent 26%),
    radial-gradient(circle at 92% 6%, rgba(47, 127, 196, 0.12), transparent 30%),
    var(--cream);
}

.gallery-page-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 250, 247, 0.82)),
    #ffffff;
  box-shadow: 0 28px 84px rgba(15, 38, 60, 0.1);
}

.gallery-page-top::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--flame), var(--water));
}

.gallery-page-top .section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.gallery-page-logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 300px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(15, 38, 60, 0.12));
}

.gallery-page-top .section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  line-height: 1.6;
}

.gallery-back {
  min-width: 0;
  margin: 0;
  padding-inline: 18px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(15, 38, 60, 0.18);
  backdrop-filter: blur(16px);
}

.gallery-floating-actions {
  position: fixed;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.gallery-floating-actions .gallery-back,
.gallery-floating-actions .floating-whatsapp {
  position: static;
  right: auto;
  bottom: auto;
}

.gallery-filters {
  position: sticky;
  top: 116px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.86);
  box-shadow: 0 18px 48px rgba(15, 38, 60, 0.08);
  backdrop-filter: blur(18px);
}

.gallery-filters button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(47, 127, 196, 0.26);
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.gallery-filters button:hover,
.gallery-filters button.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--water));
  box-shadow: 0 12px 24px rgba(47, 127, 196, 0.2);
  transform: translateY(-1px);
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}

.full-gallery-grid figure {
  position: relative;
  grid-column: span 4;
  min-height: 330px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 50, 74, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 38, 60, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.full-gallery-grid figure.is-landscape {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.full-gallery-grid figure.is-portrait {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.full-gallery-grid figure.is-square {
  grid-column: span 4;
  aspect-ratio: 1 / 1;
}

.full-gallery-grid figure:hover {
  border-color: rgba(47, 127, 196, 0.28);
  box-shadow: 0 28px 70px rgba(15, 38, 60, 0.16);
  transform: translateY(-3px);
}

.full-gallery-grid figure.is-hidden {
  display: none;
}

.full-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 700ms ease;
}

.full-gallery-grid figure:hover img {
  transform: scale(1.04);
}

.full-gallery-grid figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.full-gallery-grid figure::before {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(22, 50, 74, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.full-gallery-grid figure[data-gallery-category="idraulica"]::before {
  content: "Bagno";
}

.full-gallery-grid figure[data-gallery-category="idrico"]::before {
  content: "Idrico";
}

.full-gallery-grid figure[data-gallery-category="clima"]::before {
  content: "Condizionatori";
}

.full-gallery-grid figure[data-gallery-category="caldaie"]::before {
  content: "Caldaie";
}

.full-gallery-grid figure[data-gallery-category="riscaldamento"]::before {
  content: "Riscaldamento";
}

.full-gallery-grid figure[data-gallery-category="gas"]::before {
  content: "Gas";
}

.full-gallery-grid figure[data-gallery-category="lavori"]::before {
  content: "Lavori";
}

.full-gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(15, 38, 60, 0.16));
  pointer-events: none;
}

.gallery figcaption span {
  color: var(--muted);
  line-height: 1.45;
}

.contact {
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 127, 196, 0.14), transparent 32%),
    var(--cream);
  justify-items: center;
}

.contact-box {
  width: min(100%, 920px);
  max-width: 920px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-box p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.contact-details div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-details div:hover {
  border-color: rgba(47, 127, 196, 0.24);
  box-shadow: 0 14px 34px rgba(15, 38, 60, 0.08);
  transform: translateY(-2px);
}

.contact-details dt {
  margin: 0 0 8px;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 47, 76, 0.18);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form select {
  font-size: 0.96rem;
  line-height: 1.35;
}

.contact-form select option {
  min-height: 40px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.full-field,
.contact-form button,
.form-error,
.form-success {
  grid-column: 1 / -1;
}

.hidden-field,
.form-error,
.form-success {
  display: none;
}

.form-error,
.form-success {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-error.is-visible,
.form-success.is-visible {
  display: block;
}

.form-error {
  color: #ffffff;
  background: var(--flame-dark);
}

.form-success {
  color: var(--navy);
  background: rgba(47, 127, 196, 0.12);
  border: 1px solid rgba(47, 127, 196, 0.24);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.76;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(214, 59, 46, 0.16);
  border-color: var(--flame);
  box-shadow: 0 10px 24px rgba(15, 38, 60, 0.08);
}

.map-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ice);
}

.map-placeholder {
  min-height: 430px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 28px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 242, 248, 0.82)),
    var(--ice);
  animation: softMapIn 620ms ease both;
}

.map-placeholder strong,
.map-placeholder span {
  display: block;
}

.map-placeholder strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.map-placeholder span {
  max-width: 360px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  animation: softMapIn 520ms ease both;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 47, 76, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(47, 127, 196, 0.24);
  box-shadow: 0 18px 42px rgba(16, 47, 76, 0.1);
  transform: translateY(-2px);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--water);
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease;
}

.faq-list details[open] summary::after {
  color: var(--flame);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  animation: faqAnswer 220ms ease both;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 30px;
  color: rgba(247, 245, 240, 0.82);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  line-height: 1.5;
}

.site-footer a:hover {
  color: #ffb2a8;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  width: min(100%, 260px);
  padding: 8px;
  border: 1px solid rgba(247, 245, 240, 0.72);
  border-radius: 8px;
  background: rgba(247, 245, 240, 0.96);
}

.footer-logo {
  display: block;
  width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.footer-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(247, 245, 240, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(15, 38, 60, 0.58);
}

.footer-cta span {
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  margin: 0;
  text-align: center;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  width: min(calc(100% - 40px), 920px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(15, 38, 60, 0.96);
  box-shadow: 0 22px 54px rgba(15, 38, 60, 0.28);
  transform: translateX(-50%);
}

.cookie-banner.is-visible {
  display: flex;
  animation: bannerUp 260ms ease both;
}

.cookie-banner p {
  max-width: 620px;
  margin: 0;
  color: rgba(247, 245, 240, 0.9);
  font-weight: 750;
  line-height: 1.45;
}

.cookie-banner div {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner .btn {
  min-width: 112px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #128c4a, #25d366);
  box-shadow: 0 18px 42px rgba(15, 38, 60, 0.22);
  font-weight: 900;
  line-height: 1;
  animation: floatWhatsapp 3.8s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.floating-whatsapp:hover {
  animation-play-state: paused;
  box-shadow: 0 22px 50px rgba(15, 38, 60, 0.28);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  filter: none;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 620ms ease,
    transform 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal {
  transform: translateY(14px) scale(0.99);
}

.service-card.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.gallery figure.reveal {
  transform: translateY(14px) scale(0.99);
}

.gallery figure.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.hero-media.reveal {
  transform: translateX(26px) scale(0.985);
}

.hero-media.reveal.is-visible {
  transform: translateX(0) scale(1);
}

@keyframes softMapIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqAnswer {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bannerUp {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes floatWhatsapp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes introLogo {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(38, 159, 217, 0.3),
      0 0 0 4px rgba(139, 224, 255, 0.16);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(38, 159, 217, 0.38),
      0 0 0 7px rgba(139, 224, 255, 0.1);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    grid-template-columns: auto 1fr auto;
  }

  .site-header:not(.is-scrolled) {
    min-height: 72px;
  }

  .site-header:not(.is-scrolled) .brand {
    width: 210px;
    height: 66px;
  }

  .nav-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    justify-content: center;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-content {
    text-align: center;
    grid-row: 1;
  }

  .hero-copy,
  h1 {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    min-height: 440px;
  }

  .proof-grid,
  .category-gallery {
    max-width: 620px;
    grid-template-columns: repeat(2, 1fr);
  }

  .full-gallery-grid figure {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }

  .full-gallery-grid figure.is-landscape {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .full-gallery-grid figure.is-portrait,
  .full-gallery-grid figure.is-square {
    grid-column: span 6;
  }

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

  .intro-image {
    justify-self: start;
    max-width: 520px;
    max-height: 42svh;
  }

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

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

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-main {
    grid-row: auto;
    min-height: 520px;
  }

  .gallery-side {
    min-height: 420px;
  }

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

  .footer-brand,
  .footer-cta,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-intro img {
    width: min(74vw, 310px);
  }

  .site-header {
    top: 10px;
    left: 50%;
    width: min(calc(100% - 20px), 1180px);
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px 10px;
    transform: translateX(-50%);
    animation: none;
  }

  .brand {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: 138px;
    height: 48px;
    padding: 0;
    transform: none;
  }

  .site-header.is-scrolled .brand {
    width: 138px;
    height: 48px;
    transform: none;
  }

  .site-header:not(.is-scrolled) .brand {
    width: 138px;
    height: 48px;
  }

  .brand-logo-scrolled {
    width: 100%;
    height: 100%;
  }

  .header-cta {
    position: static;
    grid-column: 2;
    grid-row: 1;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: none;
  }

  .nav-links {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(22, 50, 74, 0.1);
    background: #ffffff;
  }

  .nav-links a {
    min-width: 0;
    padding: 9px 4px;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.01em;
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 54px;
  }

  .hero-content,
  .section-heading,
  .intro-copy,
  .intro-text,
  .contact-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.05rem, 9.5vw, 3rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.9rem, 11vw, 3.1rem);
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-media {
    min-height: 360px;
  }

  .proof-grid,
  .category-gallery,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-top {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
    padding: 22px;
  }

  .gallery-page-logo {
    justify-self: start;
    width: min(100%, 220px);
    padding: 0;
  }

  .gallery-back {
    min-height: 52px;
    width: auto;
    max-width: calc(100vw - 28px);
    padding-inline: 14px;
    font-size: 0.78rem;
  }

  .gallery-floating-actions {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    align-items: end;
    max-width: calc(100vw - 28px);
  }

  .gallery-floating-actions .floating-whatsapp {
    right: auto;
    bottom: auto;
  }

  .full-gallery-grid {
    gap: 12px;
  }

  .full-gallery-grid figure,
  .full-gallery-grid figure.is-landscape,
  .full-gallery-grid figure.is-portrait,
  .full-gallery-grid figure.is-square {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 0;
  }

  .full-gallery-grid figure,
  .full-gallery-grid figure.is-portrait {
    aspect-ratio: 4 / 5;
  }

  .full-gallery-grid figure.is-landscape {
    aspect-ratio: 16 / 10;
  }

  .full-gallery-grid figure.is-square {
    aspect-ratio: 1 / 1;
  }

  .section-pad {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .full-gallery-page.section-pad {
    padding-top: 150px;
    padding-bottom: 150px;
  }

  .intro {
    gap: 28px;
  }

  .intro-image {
    max-width: 100%;
    max-height: 360px;
    aspect-ratio: 1.1;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .process-grid,
  .contact-details,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 52px;
    font-size: 1rem;
  }

  .contact-form select option {
    min-height: 44px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .process-step {
    min-height: 0;
  }

  .gallery-main,
  .gallery-side {
    min-height: 420px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .site-footer {
    gap: 22px;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta .btn {
    width: 100%;
  }

  .cookie-banner {
    bottom: 76px;
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .cookie-banner div {
    width: 100%;
  }

  .cookie-banner .btn {
    flex: 1;
    min-width: 0;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    padding: 0 16px 0 14px;
    font-size: 0.86rem;
  }

  .floating-whatsapp svg {
    width: 20px;
    height: 20px;
  }
}

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