
:root {
  --navy-950: #041421;
  --navy-900: #071e31;
  --navy-800: #0a2d49;
  --blue-700: #006cae;
  --blue-600: #008fd0;
  --blue-500: #00a9e8;
  --blue-300: #70d5f5;
  --red-600: #d61f2c;
  --red-500: #ed2939;
  --ink: #102131;
  --muted: #5f6f7e;
  --line: #dce7ef;
  --soft: #f3f8fb;
  --white: #ffffff;
  --success: #118c55;
  --shadow-sm: 0 10px 30px rgba(6, 31, 51, .08);
  --shadow-md: 0 22px 60px rgba(6, 31, 51, .14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100% - 40px));
}

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

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

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

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: block; }

::selection {
  background: var(--blue-300);
  color: var(--navy-950);
}

.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;
}

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  background: var(--white);
  color: var(--navy-950);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--red-500));
}

.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.86);
  font-size: .87rem;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar__links,
.topbar__social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s ease;
}
.topbar a:hover { color: var(--blue-300); }
.topbar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.93);
  border-bottom: 1px solid rgba(15,49,73,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 10px 40px rgba(4,20,33,.1);
  background: rgba(255,255,255,.98);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 240px;
}
.brand img {
  width: 238px;
  height: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links > a:not(.btn) {
  padding: 10px 12px;
  border-radius: 10px;
  color: #2c4051;
  font-weight: 700;
  font-size: .93rem;
  transition: background .2s ease, color .2s ease;
}
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active {
  background: var(--soft);
  color: var(--blue-700);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid rgba(0,169,232,.3);
  outline-offset: 3px;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,143,208,.24);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(0,143,208,.33); }
.btn--red {
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(214,31,44,.22);
}
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--light {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(0,108,174,.28);
}
.btn--outline:hover { background: var(--soft); border-color: var(--blue-600); }
.btn--small { min-height: 42px; padding-inline: 16px; font-size: .9rem; }
.btn--wide { width: 100%; }

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4,20,33,.96) 0%, rgba(4,20,33,.86) 43%, rgba(4,20,33,.36) 100%),
    url("../img/hero-electricidad.webp") center/cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -240px -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,169,232,.22), transparent 70%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .55fr);
  align-items: center;
  gap: 70px;
  padding-block: 90px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-300);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), var(--red-500));
}
.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 span {
  display: block;
  color: var(--blue-300);
}
.hero__lead {
  max-width: 690px;
  margin: 0 0 31px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  color: rgba(255,255,255,.78);
  font-size: .91rem;
  font-weight: 700;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--blue-300);
}
.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  background: rgba(7,30,49,.7);
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}
.hero-card__label {
  margin: 0 0 8px;
  color: var(--blue-300);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.15;
}
.hero-card p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.hero-card__list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.hero-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.88);
}
.hero-card__list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--blue-300);
}
.hero-card__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-card__phone small { display: block; color: rgba(255,255,255,.58); }
.hero-card__phone strong { font-size: 1.08rem; }

.quick-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}
.quick-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid rgba(6,31,51,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 23px 25px;
}
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--blue-700);
  background: #eaf7fc;
}
.quick-item__icon svg { width: 25px; height: 25px; }
.quick-item strong { display: block; line-height: 1.25; }
.quick-item span { color: var(--muted); font-size: .87rem; }

.section { padding: 105px 0; }
.section--soft { background: var(--soft); }
.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(0,169,232,.16), transparent 35%),
    var(--navy-950);
}
.section__head {
  max-width: 740px;
  margin-bottom: 44px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .eyebrow { justify-content: center; }
.section h2 {
  margin: 0 0 15px;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.section--dark h2 { color: var(--white); }
.section__intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.section--dark .section__intro { color: rgba(255,255,255,.68); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(6,31,51,.09);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(4,20,33,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0,143,208,.28);
  box-shadow: var(--shadow-md);
}
.service-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-800);
}
.service-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4,20,33,.48));
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-card:hover .service-card__image img { transform: scale(1.05); }
.service-card__tag {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--white);
  background: rgba(7,30,49,.78);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}
.service-card h3 {
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: 1.24rem;
  line-height: 1.18;
}
.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .94rem;
}
.service-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-weight: 850;
  font-size: .9rem;
}
.text-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

.more-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.mini-service {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 90px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mini-service:hover {
  transform: translateY(-3px);
  border-color: rgba(0,143,208,.35);
  box-shadow: var(--shadow-sm);
}
.mini-service__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--blue-700);
  background: #eaf7fc;
}
.mini-service svg { width: 22px; height: 22px; }
.mini-service strong { font-size: .92rem; line-height: 1.3; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 70px;
}
.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__badge {
  position: absolute;
  right: -22px;
  bottom: 28px;
  max-width: 210px;
  padding: 20px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--navy-800));
  box-shadow: var(--shadow-md);
}
.split__badge strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}
.split__badge span { font-size: .88rem; color: rgba(255,255,255,.75); }
.check-list {
  display: grid;
  gap: 14px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check-list__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-600);
}
.check-list svg { width: 15px; height: 15px; }
.check-list strong { color: var(--navy-900); }
.check-list span { display: block; color: var(--muted); font-size: .92rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-card {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.055);
}
.process-card__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--blue-300);
  font-weight: 900;
}
.process-card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.process-card p { margin: 0; color: rgba(255,255,255,.64); font-size: .91rem; }
.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -15px;
  width: 29px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-300), transparent);
}

.quote-wrap {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr);
  gap: 35px;
  align-items: start;
}
.quote-info {
  position: sticky;
  top: 115px;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(0,169,232,.24), transparent 34%),
    var(--navy-950);
  box-shadow: var(--shadow-md);
}
.quote-info h2 { color: var(--white); }
.quote-info p { color: rgba(255,255,255,.7); }
.quote-info__items {
  display: grid;
  gap: 15px;
  margin-top: 26px;
}
.quote-info__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.quote-info__item svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  color: var(--blue-300);
}
.quote-info__item strong { display: block; }
.quote-info__item span { color: rgba(255,255,255,.6); font-size: .88rem; }

.quote-form {
  padding: 34px;
  border: 1px solid rgba(6,31,51,.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.quote-form__head { margin-bottom: 25px; }
.quote-form__head h3 { margin: 0 0 7px; color: var(--navy-950); font-size: 1.5rem; }
.quote-form__head p { margin: 0; color: var(--muted); font-size: .92rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.field--full { grid-column: 1 / -1; }
.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: .88rem;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd9e4;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input,
.field select { min-height: 50px; padding: 0 14px; }
.field textarea { min-height: 135px; padding: 13px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,143,208,.11);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red-500);
  box-shadow: 0 0 0 4px rgba(237,41,57,.09);
}
.field__hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 19px 0;
  color: var(--muted);
  font-size: .85rem;
}
.checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue-600);
}
.form-status {
  display: none;
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 700;
}
.form-status.is-visible { display: block; }
.form-status.is-success { color: #075b36; background: #e6f7ef; border: 1px solid #b8e9d2; }
.form-status.is-error { color: #8e1720; background: #fff0f1; border: 1px solid #f4c6ca; }
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.form-actions .btn { flex: 1; }
.form-actions .btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 70px;
}
.faq-list { display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
.faq button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 21px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  text-align: left;
  font-weight: 850;
}
.faq button svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  transition: transform .25s ease;
}
.faq.is-open button svg { transform: rotate(45deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__answer > div { overflow: hidden; }
.faq__answer p {
  margin: 0;
  padding: 0 21px 20px;
  color: var(--muted);
  font-size: .92rem;
}
.faq.is-open .faq__answer { grid-template-rows: 1fr; }

.contact-band {
  padding: 0 0 90px;
  background: var(--soft);
}
.contact-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px 42px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(0,169,232,.12), transparent 50%),
    var(--navy-900);
  box-shadow: var(--shadow-md);
}
.contact-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.contact-band p { margin: 0; color: rgba(255,255,255,.68); }
.contact-band__actions { display: flex; gap: 11px; flex-wrap: wrap; }

.site-footer {
  color: rgba(255,255,255,.72);
  background: var(--navy-950);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.35fr .75fr .85fr;
  gap: 60px;
  padding: 65px 0 45px;
}
.footer__brand img {
  width: 285px;
  margin-bottom: 20px;
}
.footer__brand p { max-width: 520px; margin: 0; }
.footer h3 {
  margin: 7px 0 17px;
  color: var(--white);
  font-size: 1rem;
}
.footer__links {
  display: grid;
  gap: 9px;
}
.footer__links a:hover { color: var(--blue-300); }
.footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer__contact svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--blue-300);
}
.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  background: rgba(0,169,232,.14);
  border-color: rgba(112,213,245,.45);
}
.socials svg { width: 19px; height: 19px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .82rem;
}
.footer__bottom a:hover { color: var(--blue-300); }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 999px;
  color: var(--white);
  background: #1da851;
  box-shadow: 0 14px 34px rgba(20,131,67,.35);
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20,131,67,.43);
}
.floating-whatsapp svg { width: 22px; height: 22px; }

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

/* Service detail pages */
.subhero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4,20,33,.95), rgba(4,20,33,.55)),
    var(--subhero-image) center/cover no-repeat;
}
.subhero__inner { padding-block: 82px 65px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.67);
  font-size: .86rem;
}
.breadcrumb a:hover { color: var(--blue-300); }
.subhero h1 {
  max-width: 820px;
  margin: 0 0 17px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.subhero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
  gap: 55px;
  align-items: start;
}
.detail-content h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.detail-content h3 {
  margin: 35px 0 13px;
  color: var(--navy-900);
  font-size: 1.35rem;
}
.detail-content p { color: var(--muted); }
.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: #33495b;
  font-size: .91rem;
}
.scope-list svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--blue-600);
}
.detail-aside {
  position: sticky;
  top: 112px;
  padding: 27px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.detail-aside h2 {
  color: var(--white);
  font-size: 1.55rem;
}
.detail-aside p { color: rgba(255,255,255,.68); }
.detail-aside .btn + .btn { margin-top: 10px; }
.related-services {
  display: grid;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.related-services a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: .89rem;
}
.related-services a:hover { color: var(--blue-300); }

@media (max-width: 1050px) {
  .nav__links { gap: 2px; }
  .nav__links > a:not(.btn) { padding-inline: 9px; }
  .hero__inner { grid-template-columns: 1fr .48fr; gap: 35px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card::after { display: none; }
}

@media (max-width: 880px) {
  :root { --container: min(100% - 30px, 760px); }
  .topbar__social { display: none; }
  .brand { min-width: auto; }
  .brand img { width: 205px; }
  .nav-toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 114px 15px auto 15px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .menu-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links > a:not(.btn) { padding: 12px 14px; }
  .nav__links .btn { margin-top: 5px; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-block: 75px 95px; }
  .hero-card { max-width: 520px; }
  .quick-strip__grid { grid-template-columns: 1fr; }
  .quick-item + .quick-item { border-left: 0; border-top: 1px solid var(--line); }
  .split,
  .quote-wrap,
  .faq-grid,
  .detail-grid { grid-template-columns: 1fr; gap: 42px; }
  .split__badge { right: 18px; }
  .quote-info,
  .detail-aside { position: relative; top: auto; }
  .contact-band__inner { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 24px, 560px); }
  .topbar__inner { min-height: 42px; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 8px; }
  .topbar__links a:first-child { display: none; }
  .nav { min-height: 70px; }
  .brand img { width: 184px; }
  .nav__links { inset-top: 108px; }
  .hero { background-position: 62% center; }
  .hero__inner { padding-block: 65px 80px; }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .hero__actions,
  .hero__actions .btn,
  .form-actions,
  .contact-band__actions,
  .contact-band__actions .btn { width: 100%; }
  .hero__trust { display: grid; gap: 10px; }
  .hero-card { padding: 23px; }
  .hero-card__phone { align-items: flex-start; flex-direction: column; }
  .quick-strip { margin-top: -25px; }
  .quick-item { padding: 19px; }
  .section { padding: 78px 0; }
  .services-grid,
  .more-services,
  .process-grid,
  .form-grid,
  .scope-list { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .split__badge { right: 10px; bottom: 12px; max-width: 175px; }
  .quote-form,
  .quote-info { padding: 24px; border-radius: 22px; }
  .contact-band__inner { padding: 31px 24px; border-radius: 22px; }
  .footer__main { grid-template-columns: 1fr; gap: 35px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .floating-whatsapp span { display: none; }
  .subhero { min-height: 400px; }
}

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