:root {
  --blue: #011949;
  --blue-2: #0a2d67;
  --orange: #fe8601;
  --green: #57bb2d;
  --water: #005be7;
  --ink: #122033;
  --muted: #4c5a6c;
  --line: #d9e1ea;
  --soft: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(1, 25, 73, 0.13);
  --focus: 0 0 0 3px rgba(0, 91, 231, 0.32);
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

img[src*="icono-electricidad.svg"] {
  transform: scale(1.12);
  transform-origin: center;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

:focus-visible {
  outline: 3px solid rgba(0, 91, 231, 0.42);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--blue);
  background: var(--orange);
  border-radius: 10px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 225, 234, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 24px;
}

.brand {
  display: block;
  width: 220px;
  flex: 0 0 auto;
}

.brand-image {
  display: block;
  width: 100%;
  max-height: 59px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-left: auto;
}

.main-nav a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--water);
}

.menu-toggle,
.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--blue);
  background: #f5f8fc;
  border: 1px solid #cbd8e7;
  border-radius: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-toggle {
  display: none;
}

.menu-toggle:hover,
.theme-toggle:hover {
  background: #e9f1fc;
  transform: translateY(-2px);
}

.menu-toggle svg,
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle .menu-icon {
  fill: currentColor;
  stroke: none;
}

.theme-icon-moon {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(1, 25, 73, 0.22);
}

.button-primary:hover {
  background: #06265f;
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.button-accent {
  color: var(--blue);
  background: var(--orange);
}

.button-header {
  min-height: 40px;
  margin-left: 3px;
  padding: 10px 13px;
  color: var(--blue);
  background: var(--orange);
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -1.1px;
}

h1 {
  max-width: 700px;
  font-size: clamp(42px, 5.2vw, 68px);
}

h1 span {
  color: var(--water);
}

h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

h3 {
  font-size: 21px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--water);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow-light {
  color: #b7d3ff;
}

.section {
  padding: 95px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 43px;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
  background: radial-gradient(circle at 82% 10%, rgba(0, 91, 231, 0.13), transparent 32%), linear-gradient(135deg, #ffffff, #f6f9ff);
}

.hero::before {
  content: '';
  position: absolute;
  top: -340px;
  right: -360px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(0, 91, 231, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(0, 91, 231, 0.04), 0 0 0 90px rgba(0, 91, 231, 0.03);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 60px;
}

.lead {
  max-width: 650px;
  margin: 23px 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--blue);
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list li::before {
  content: '✓';
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 11px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 31px;
  color: var(--white);
  background: linear-gradient(160deg, #082c6c, var(--blue) 72%);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: '';
  position: absolute;
  right: -85px;
  bottom: -155px;
  width: 330px;
  height: 330px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.hero-isotipo-wrap {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 6px;
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-isotipo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-panel-label {
  margin: 0 0 1px;
  color: #dceaff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-panel-title {
  margin: 0;
  color: var(--white);
  font-family: Manrope, Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.55px;
}

.service-orbits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
}

.orbit-card {
  display: grid;
  grid-template-columns: 47px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 14px 16px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
}

.orbit-icon {
  width: 43px;
  height: 43px;
  display: block;
  grid-row: span 2;
  object-fit: contain;
}

.orbit-card strong {
  font-size: 16px;
}

.orbit-card small {
  color: var(--muted);
  font-size: 12px;
}

.hero-note {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  margin-top: 21px;
  color: #dceaff;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.emergency-section {
  padding: 43px 0;
  color: var(--white);
  background: var(--blue);
}

.emergency-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
}

.emergency-section h2 {
  color: var(--white);
  font-size: 32px;
}

.emergency-section p {
  max-width: 470px;
  margin: 12px 0 0;
  color: #dae6fa;
}

.emergency-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.emergency-card {
  min-height: 127px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.emergency-card:hover,
.emergency-card:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.emergency-icon {
  width: 38px;
  height: 38px;
  grid-row: 1 / span 2;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}

.emergency-card strong {
  color: var(--white);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
}

.emergency-card small {
  color: #c6d8f6;
  font-size: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 29px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top-width: 5px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(1, 25, 73, 0.06);
}

.card-gas {
  border-top-color: var(--green);
}

.card-electric {
  border-top-color: var(--orange);
}

.card-water {
  border-top-color: var(--water);
}

.service-icon {
  width: 66px;
  height: 66px;
  display: block;
  margin: 0 0 18px;
  object-fit: contain;
}

.service-card p {
  margin: 13px 0 15px;
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  padding-left: 18px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 13px;
}

.service-card li + li {
  margin-top: 7px;
}

.service-card > a {
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.service-card > a span {
  margin-left: 4px;
  color: var(--water);
  font-size: 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 60px;
}

.steps {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.steps li > span {
  color: var(--water);
  font-family: Manrope, Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.steps h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
}

.steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.maintenance-section {
  padding: 86px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #053a8a);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 65px;
}

.maintenance-section h2 {
  max-width: 670px;
  color: var(--white);
}

.maintenance-section p:not(.eyebrow) {
  max-width: 650px;
  color: #dbe7fa;
  font-size: 17px;
}

.maintenance-panel {
  padding: 28px;
  color: var(--blue);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.maintenance-panel h3 {
  font-size: 21px;
}

.maintenance-panel ul {
  padding: 0;
  margin: 17px 0 24px;
  list-style: none;
}

.maintenance-panel li {
  padding: 7px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.maintenance-panel li::before {
  content: '✓';
  margin-right: 9px;
  color: var(--green);
  font-weight: 800;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.coverage-map {
  min-height: 360px;
  overflow: hidden;
  background: #eef5ff;
  border: 1px solid #e2ebf7;
  border-radius: 30px;
  box-shadow: 0 14px 32px rgba(1, 25, 73, 0.08);
}

.coverage-map iframe {
  width: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.coverage-tags span {
  padding: 8px 11px;
  color: var(--blue);
  background: #edf4ff;
  border: 1px solid #d6e5fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

summary {
  position: relative;
  padding-right: 32px;
  color: var(--blue);
  cursor: pointer;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

summary::after {
  content: '+';
  position: absolute;
  top: -2px;
  right: 0;
  color: var(--water);
  font-size: 24px;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  padding: 90px 0;
  color: var(--white);
  background: #031c4d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p:not(.eyebrow) {
  max-width: 500px;
  color: #d2e0f6;
}

.contact-phone {
  display: inline-block;
  margin-top: 17px;
  color: var(--orange);
  font-family: Manrope, Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 21px;
}

.social-links a {
  color: #d2e0f6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.google-review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 15px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  font-weight: 800;
  transition: background-color 0.2s ease;
}

.google-review-link:hover,
.google-review-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 27px;
  color: var(--blue);
  background: var(--white);
  border-radius: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4),
.contact-form .button,
.contact-form .form-note,
.contact-form noscript {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--water);
  box-shadow: var(--focus);
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted) !important;
  font-size: 11px;
}

.form-note a {
  color: var(--water);
  font-weight: 700;
  text-decoration: underline;
}

.noscript-note {
  padding: 12px;
  margin: 0;
  color: #6b3d00 !important;
  background: #fff4df;
  border: 1px solid #ffd391;
  border-radius: 10px;
  font-size: 13px;
}

.site-footer {
  padding: 25px 0;
  color: #aec3e6;
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 15px;
}

.footer-brand-plate {
  width: 190px;
  display: block;
}

.footer-brand-plate img {
  width: 190px;
  display: block;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.site-footer p:last-of-type {
  text-align: right;
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
}

.privacy-control {
  padding: 5px 0;
  color: #d4e1f4;
  background: transparent;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
}

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 80;
  width: min(430px, calc(100% - 40px));
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(1, 25, 73, 0.24);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}

.consent-banner p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.consent-banner a {
  color: var(--water);
  font-weight: 700;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions .button {
  flex: 1 1 160px;
}

.page-hero {
  padding: 76px 0 44px;
  background: linear-gradient(135deg, #ffffff, #f1f6ff);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
}

.legal-content {
  padding: 64px 0 90px;
}

.legal-layout {
  max-width: 860px;
}

.legal-layout h2 {
  margin-top: 38px;
  font-size: 28px;
}

.legal-layout h3 {
  margin-top: 26px;
  font-size: 20px;
}

.legal-layout p,
.legal-layout li {
  color: var(--muted);
}

.legal-layout a {
  color: var(--water);
  text-decoration: underline;
}

.error-page {
  min-height: calc(100vh - var(--header-height) - 100px);
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--orange);
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(72px, 18vw, 180px);
  font-weight: 800;
  line-height: 0.9;
}

.error-page p {
  max-width: 600px;
  margin: 18px auto 26px;
  color: var(--muted);
}

.no-js .theme-toggle,
.no-js .menu-toggle,
.no-js .consent-banner {
  display: none;
}

@media (max-width: 1020px) {
  .button-header {
    display: none;
  }

  .hero-grid,
  .emergency-grid,
  .process-grid,
  .maintenance-grid,
  .coverage-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .section-heading,
  .section-heading-left {
    margin-bottom: 34px;
  }

  .coverage-map {
    width: 100%;
    max-width: 690px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 32px, 1160px);
  }

  .nav-wrap {
    min-height: var(--header-height);
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    width: 174px;
  }

  .brand-image {
    max-height: 49px;
  }

  .theme-toggle {
    order: 1;
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    order: 2;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    order: 3;
    display: none;
    margin: 0;
    padding: 14px 16px 18px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 34px rgba(1, 25, 73, 0.14);
  }

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

  .main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .no-js .nav-wrap {
    padding-block: 12px;
  }

  .no-js .main-nav {
    position: static;
    width: 100%;
    display: grid;
    box-shadow: none;
  }

  .hero {
    padding: 66px 0 60px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .section {
    padding: 72px 0;
  }

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

  .emergency-actions {
    grid-template-columns: 1fr;
  }

  .emergency-card {
    min-height: 96px;
  }

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

  .contact-form label,
  .contact-form label:nth-of-type(3),
  .contact-form label:nth-of-type(4),
  .contact-form .button,
  .contact-form .form-note,
  .contact-form noscript {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer p,
  .site-footer p:last-of-type {
    text-align: center;
  }

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

  .consent-banner {
    right: 16px;
    bottom: 96px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand {
    width: 150px;
  }

  .menu-toggle,
  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-panel,
  .service-card,
  .maintenance-panel,
  .contact-form {
    padding: 22px;
  }

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

  .coverage-map,
  .coverage-map iframe {
    min-height: 320px;
  }

  .floating-whatsapp {
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
