/* =========================================================
   FONTANEROS LA RIBERA
   CSS portado del template /templates/roofin (Refresh Square)
   Mismas proporciones, radios, animaciones y estructura;
   paleta acuática (azul marino + cian + naranja urgencias).
   Sin Bootstrap, Swiper, jQuery, WOW ni Font Awesome.
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Paleta */
  --primary-color: #ea580c;          /* urgencias / CTA (acento) */
  --primary-hover: #c2410c;
  --title-color: #0c4a6e;            /* títulos y cabecera */
  --title-deep: #082f49;
  --text-color: #64748b;             /* metadatos y subtítulos */
  --text-read: #0f172a;              /* texto principal */
  --sky: #0284c7;                    /* azul cian iconos y detalles */
  --color-white: #fff;
  --wa-color: #25d366;
  --wa-hover: #1da851;

  /* Fondos */
  --bg-color1: #082f49;              /* bloques oscuros (agua profunda) */
  --bg-color2: #f0f9ff;              /* fondo limpio acuático */
  --bg-color3: #ffffff1a;
  --bg-tint: #e0f2fe;                /* tinte azul cielo */
  --surface: #ffffff;

  /* Bordes */
  --boder-color: #ffffff1a;
  --color-border: rgb(12 74 110 / 12%);

  /* Tipografía (idéntica al template) */
  --title-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --transition: 500ms ease-in-out;
  --container-width: 1470px;
  --header-h: 90px;

  /* Alias del naming oficial de Fontanería La Ribera */
  --color-primary: #0c4a6e;        /* títulos y cabecera principal */
  --color-primary-light: #0284c7;  /* azul cian iconos y detalles */
  --color-accent: #ea580c;         /* botón de urgencias / llamada */
  --color-accent-hover: #c2410c;
  --color-whatsapp: #25d366;       /* chat directo */
  --color-bg: #f0f9ff;             /* fondo limpio acuático */
  --color-surface: #ffffff;        /* fondo de tarjetas */
  --color-text: #0f172a;           /* texto principal */
  --color-text-muted: #64748b;     /* metadatos y subtítulos */
  --color-border: #e0f2fe;         /* bordes sutiles azulados */
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

html, body { overflow-x: clip; width: 100%; }

body {
  margin: 0;
  font-family: var(--text-font);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--text-read);
  background: var(--bg-color2);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-weight: 700;
  font-style: normal;
  margin: 0 0 11px;
  transition: .5s;
}
h1 { font-size: 50px; line-height: 1.1; }
h2 { font-size: 35px; line-height: 1.15; }
h3 { font-size: 30px; line-height: 1.25; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p { font-size: 16px; line-height: 26px; color: var(--text-color); margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; color: var(--primary-color); transition: all .3s ease-out 0s; }
a:hover { color: var(--primary-hover); }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; border-radius: 4px; }

.text-white { color: var(--color-white) !important; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--title-color); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.auto-container {
  position: static;
  max-width: var(--container-width);
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

.defult__wrapper { padding: 0 15px; background: var(--bg-color1); }

/* ---------- 3. TÍTULOS DE SECCIÓN ---------- */
.sec-title { margin-bottom: 50px; }
.sec-title.upper { margin-top: -5px; }
.sec-title.center { text-align: center; max-width: 780px; margin-inline: auto; }

.section-sub-title span {
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-white);
  background: #FFFFFF0D;
  display: inline-block;
  padding: 2px 20px;
  line-height: 26px;
  border: 1px solid #FFFFFF1A;
  border-radius: 40px 0 0 40px;
  margin-bottom: 12px;
}
.section-sub-title.two span {
  color: var(--primary-color);
  background: rgba(232, 93, 4, .08);
  border: 1px solid rgba(232, 93, 4, .22);
}
.sec-title.center .section-sub-title span { border-radius: 40px; }

.section-title { margin-top: 15px; }
.section-title h2,
.section-title h1 {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 52px;
  line-height: 56px;
  letter-spacing: -.02em;
  color: var(--title-color);
  margin: 0;
}
.section-title h2.title { color: var(--primary-color); }
.section-title h2.title.text-white { color: var(--color-white) !important; opacity: .85; }

.section__description {
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #cbd5e1;
  width: 82%;
  margin: 22px 0 0;
}
.section__description.dark { color: var(--text-color); }
.sec-title.center .section__description { width: 100%; margin-inline: auto; }

/* ---------- 4. BOTÓN roofin__button ---------- */
/* Píldora + círculo de flecha integrado (el template lo saca fuera
   con position:absolute y desplaza el botón en hover; aquí va dentro
   para que no se solapen ni empujen a los botones vecinos). */
.roofin__button { display: inline-block; max-width: 100%; }

.roofin__button a,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--primary-color);
  font-family: var(--title-font);
  color: var(--color-white);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  padding: 8px 8px 8px 32px;
  border: 0;
  border-radius: 40px;
  transition: .5s;
  position: relative;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
}
.roofin__button a::before,
.submit-btn::before {
  position: absolute;
  content: "";
  inset: 0;
  background: var(--title-color);
  transition: .5s;
  clip-path: polygon(50% 0, 50% 0, 50% 50%, 50% 100%, 50% 100%, 50% 50%);
  z-index: -1;
}
.roofin__button a:hover::before,
.submit-btn:hover::before {
  clip-path: polygon(25% -70%, 75% -70%, 120% 50%, 75% 170%, 25% 170%, -20% 50%);
}
.roofin__button a:hover,
.submit-btn:hover { color: var(--color-white); }

.btn-label { white-space: nowrap; }

/* círculo con la flecha */
.btn-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex: none;
  transition: .5s;
}
.btn-ico::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: -3px;
  transition: .5s;
}
.roofin__button a:hover .btn-ico,
.submit-btn:hover .btn-ico { background: var(--primary-color); transform: rotate(45deg); }
.roofin__button a:hover .btn-ico::before,
.submit-btn:hover .btn-ico::before { transform: rotate(0deg); }

/* variante clara (sobre fondo oscuro) */
.roofin__button.style__two a::before { background: var(--color-white); }
.roofin__button.style__two a:hover { color: var(--primary-color); }
.roofin__button.style__two a:hover .btn-ico { background: var(--primary-color); color: #fff; }

/* variante WhatsApp */
.roofin__button.style__wa a { background: var(--wa-color); }
.roofin__button.style__wa a::before { background: var(--title-color); }
.roofin__button.style__wa a:hover .btn-ico { background: var(--wa-color); }

/* flecha suelta (tarjetas de servicio) */
.arrow {
  display: inline-block;
  width: 10px; height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- 5. HEADER ---------- */
.main-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: var(--bg-color1);
  padding: 0;
  transition: all .3s ease;
}
.main-header.is-stuck { box-shadow: 0 6px 26px rgba(10, 30, 55, .35); background: rgba(15, 42, 74, .97); backdrop-filter: blur(8px); }

.header-lower .main-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo:hover { color: #fff; }
.logo-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-color);
  color: #fff;
  flex: none;
}
.logo-text {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo-text strong { font-weight: 800; display: block; }

/* Menú */
.main-menu { position: relative; }
.main-menu .navigation { display: flex; align-items: center; margin: 0; }
.main-menu .navigation > li { position: relative; margin-right: 25px; transition: all 300ms ease; }
.main-menu .navigation > li:last-child { margin-right: 0; }
.main-menu .navigation > li > a {
  display: inline-block;
  padding: 32px 14px;
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  position: relative;
  transition: .5s;
}
.main-menu .navigation > li > a:hover { color: var(--primary-color); }
.main-menu .navigation > li.current > a { color: #fff; font-weight: 700; }
.main-menu .navigation > li.dropdown > a::after {
  content: "";
  position: absolute;
  right: -8px; top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: .3s;
}

.main-menu .navigation > li > ul {
  position: absolute;
  top: 100%; left: 0;
  width: 268px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 12px 0;
  transition: .4s;
  transform-origin: 0 0;
  transform: scale(1, 0);
  background: var(--color-white);
  border: 1px solid rgba(15, 42, 74, .08);
  box-shadow: 0 14px 40px rgba(15, 42, 74, .16);
  border-radius: 0 0 12px 12px;
}
.main-menu .navigation > li.dropdown:hover > ul,
.main-menu .navigation > li.dropdown:focus-within > ul,
.main-menu .navigation > li.dropdown.is-open > ul { opacity: 1; visibility: visible; transform: scale(1); }
.main-menu .navigation > li > ul > li { width: 100%; border-bottom: 1px dashed rgba(15, 42, 74, .12); }
.main-menu .navigation > li > ul > li:last-child { border-bottom: none; }
.main-menu .navigation > li > ul > li > a {
  display: block;
  padding: 10px 0;
  margin: 0 26px;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--title-color);
  transition: all 200ms ease;
}
.main-menu .navigation > li > ul > li:hover > a { color: var(--primary-color); }

.dropdown-btn { display: none; }

/* Teléfono cabecera */
.header-buttons { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px 10px 12px;
  border-radius: 40px;
  background: var(--primary-color);
  color: #fff;
  transition: .4s;
}
.header-phone:hover { background: var(--primary-hover); color: #fff; }
.header-phone-ico {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex: none;
}
.header-phone-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone-txt small { font-size: 12px; opacity: .88; }
.header-phone-txt strong { font-family: var(--title-font); font-size: 19px; font-weight: 700; }

.nav-burger {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--boder-color);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .4s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: rgba(10, 30, 55, .55); z-index: 998; }

/* ---------- 6. HERO ---------- */
.hero-section-one { padding-top: var(--header-h); }
.hero-section-one .hero-section-bg {
  background-color: var(--title-deep);
  background-image:
    radial-gradient(900px 520px at 88% 18%, rgba(232, 93, 4, .30), transparent 62%),
    radial-gradient(760px 520px at 10% 92%, rgba(58, 80, 107, .55), transparent 60%),
    linear-gradient(140deg, #12304F 0%, #082f49 100%);
  min-height: 850px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 90px 0;
}
/* trama diagonal tipo lona */
.hero-section-one .hero-section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 34px, transparent 34px 68px);
  z-index: -1;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.client-card { display: flex; align-items: center; margin-left: 15px; margin-bottom: 22px; }
.client-avatars { display: flex; align-items: center; }
.client-avatars .avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: var(--primary-color);
  margin-left: -15px;
  border: 2px solid var(--color-white);
}
.avatar.count span { font-family: var(--title-font); font-size: 16px; font-weight: 700; color: #fff; }
.avatar-ico { background: var(--title-color); }
.client-text h3 {
  margin: 0 0 0 20px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
}

.hero_content h1 {
  font-family: var(--title-font);
  color: var(--color-white);
  font-weight: 800;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero_content h1 .line { display: block; }
.hero_content h1 .accent { color: var(--primary-color); }

.hero__desc {
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 30px;
  color: rgba(255, 255, 255, .78);
  width: 74%;
  margin: 0 0 40px;
}

.hero-button { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-thumb { position: absolute; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.hero-thumb .hero-img img { max-height: 720px; width: auto; }
.hero-shape { position: absolute; left: -60px; top: 12%; }
.hero-shape img { width: 180px; }

/* Formulario hero */
.hero-form-box {
  background: var(--color-white);
  border-radius: 30px;
  padding: 34px 32px 30px;
  box-shadow: 0 30px 70px rgba(10, 30, 55, .38);
  position: relative;
  z-index: 3;
}
.hero-form-head { margin-bottom: 22px; }
.form-badge {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary-color);
  background: var(--bg-tint);
  border-radius: 40px;
  padding: 4px 16px;
  margin-bottom: 12px;
}
.hero-form-head h2 { font-size: 30px; line-height: 36px; margin: 0 0 6px; }
.hero-form-head p { font-size: 15px; margin: 0; }

.form-box { position: relative; margin-bottom: 16px; }
.form-box input,
.form-box select {
  width: 100%;
  height: 55px;
  display: block;
  background-color: var(--bg-color2);
  font-family: var(--text-font);
  font-size: 15px;
  color: var(--text-read);
  font-weight: 400;
  outline: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0 44px 0 18px;
  transition: .4s;
  appearance: none;
}
.form-box input::placeholder { color: #64748b; }
.form-box select { color: var(--text-read); cursor: pointer; }
.form-box select:invalid { color: #64748b; }
.form-box input:focus,
.form-box select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(232, 93, 4, .15); }
.form-box input.is-invalid,
.form-box select.is-invalid { border-color: var(--primary-hover); background: #FFF5F3; }

.form-box .ico {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: var(--primary-color);
  pointer-events: none;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.submit-btn { width: 100%; margin-top: 6px; font-size: 17px; padding: 8px 8px 8px 28px; }
.submit-btn.is-loading { opacity: .75; pointer-events: none; }

.form-legal { font-size: 12px; line-height: 18px; color: #7C8FA6; margin: 14px 0 0; }
.form-status { font-size: 14px; margin: 8px 0 0; font-family: var(--title-font); }
.form-status.is-error { color: var(--primary-hover); font-weight: 600; }
.form-status.is-ok { color: var(--wa-hover); font-weight: 600; }

/* Etiqueta visible del campo */
.field-label {
  display: block;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  margin: 0 0 6px;
}

/* Mensaje de error inline (junto al campo) */
.form-error {
  font-size: 13px;
  line-height: 18px;
  color: var(--primary-hover);
  font-weight: 600;
  margin: -8px 0 14px;
}

/* Resumen de errores al enviar */
.form-summary {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #FFF5F3;
  border: 1px solid rgba(194, 65, 12, .35);
  border-radius: 12px;
}
.form-summary-title {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-hover);
  margin: 0 0 8px;
}
.form-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.form-summary li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-summary li a:hover { color: var(--primary-color); }

/* ---------- 7. SECCIÓN OSCURA (about) ---------- */
.about-section { background: var(--bg-color1); padding: 121px 0 110px; margin-top: -1px; }

.about-row { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

.about-thumb { margin-top: 85px; position: relative; z-index: 1; }
.about-thumb figure img { border-radius: 20px; width: 100%; }
.about-shape { position: absolute; right: -40px; bottom: -30px; }
.about-shape img { width: 120px; }

.about-us-img figure {
  display: block;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
}
.about-us-img figure img { width: 100%; object-fit: cover; }

.icon-single-box {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--boder-color);
  margin-bottom: 25px;
  padding-bottom: 32px;
}
.icon-single-box.two { padding: 0; margin: 0; border: 0; }
.icon-single-box .icon {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  background: var(--bg-color3);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 13px;
  transition: .5s;
}
.icon-single-box .icon svg { transition: .5s; }
.icon-single-box:hover .icon svg { transform: scaleX(-1); }
.icon-single-box:hover .icon { background: var(--primary-color); }
.icon-content-box h3 { font-size: 22px; line-height: 30px; color: var(--color-white); margin: 0 0 8px; }
.icon-content-box p { color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 25px; margin: 0; }

.about-section .roofin__button { margin-top: 40px; }

.icon-single-box.style__two {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  gap: 18px;
  align-items: center;
}
.icon-single-box.style__two .icon {
  width: 70px; height: 70px;
  margin-top: 0;
  background: transparent;
  border: 1px solid #FFFFFF26;
}
.icon-single-box.style__two:hover .icon { background: rgba(232, 93, 4, .14); }
.icon-single-box.style__two .icon-content-box h3 { font-size: 20px; line-height: 28px; margin: 0; }

/* ---------- 8. MARQUEE ---------- */
.marquee-section {
  position: relative;
  z-index: 1;
  background-color: var(--bg-color1);
  padding: 0 0 100px;
  overflow: hidden;
}
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg-color1), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(to left, var(--bg-color1), transparent); }

.marquee { position: relative; display: flex; overflow: hidden; user-select: none; gap: 0; }
.marquee-block {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: scroll 30s linear infinite;
}
.marquee-block h3 {
  display: flex;
  align-items: center;
  font-family: var(--title-font);
  font-size: clamp(48px, 8vw, 120px);
  text-transform: uppercase;
  color: var(--color-white);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  white-space: nowrap;
  opacity: .16;
}
.marquee-block h3 span { display: inline-block; margin: 0 35px 0 40px; }
.marquee-block h3 span img { width: 60px; animation: rotateIcon 8s linear infinite; }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes rotateIcon { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- 9. SERVICIOS ---------- */
.service-section { background: var(--bg-color2); padding: 110px 0 120px; }
.service-head {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 20px;
  padding-bottom: 20px;
}
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.service-single-box {
  background: var(--color-white);
  padding: 20px 20px 35px;
  border-radius: 20px;
  transition: .5s;
}
.service-single-box:hover { box-shadow: 0 24px 50px rgba(15, 42, 74, .12); transform: translateY(-6px); }

.service-thumb figure {
  display: block;
  border-radius: 14px 14px 60px 14px;
  overflow: hidden;
  background: var(--bg-color2);
}
.service-thumb img { width: 100%; height: 240px; object-fit: cover; }

.service__content { padding-top: 26px; }
.service__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 42, 74, .1);
  margin-bottom: 26px;
  padding-bottom: 17px;
  position: relative;
  z-index: 1;
}
.service__title::before {
  position: absolute;
  content: '';
  right: 50%;
  height: 2px;
  width: 0;
  bottom: -1px;
  background: var(--primary-color);
  transition: .5s;
}
.service-single-box:hover .service__title::before { width: 100%; right: 0; }

.service__title .title { margin: 0; }
.service__title .title a {
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 600;
  line-height: 34px;
  color: var(--title-color);
  display: inline-block;
}
.service__title .title a:hover { color: var(--primary-color); }

.service__btn a {
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 42, 74, .12);
  height: 50px; width: 50px;
  border-radius: 50%;
  color: var(--title-color);
  transition: .4s;
  flex: none;
}
.service__btn a .arrow { transform: rotate(45deg); }
.service-single-box:hover .service__btn a { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

.service__list { display: grid; gap: 12px; }
.service__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-color);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}
.service__list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(-45deg);
}

/* ---------- 10. POR QUÉ ELEGIRNOS ---------- */
.choose-section {
  position: relative;
  z-index: 1;
  background: var(--bg-color1);
  padding: 120px 0;
  overflow: hidden;
}
.choose-section .sec-title { margin-bottom: 32px; }
.choose-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.choose-us-img figure img { width: 100%; border-radius: 24px; }

.choose-section .main-box.style__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border-top: 1px solid var(--boder-color);
  border-bottom: 1px solid var(--boder-color);
  padding: 34px 0;
  margin-top: 34px;
}
.choose-section .roofin__button { margin-top: 40px; }

.bg-buler { position: absolute; right: -180px; top: 10%; z-index: -1; opacity: .45; pointer-events: none; }

/* ---------- 11. PROCESO ---------- */
.work-process { background: var(--bg-color1); padding: 0 0 110px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.process__single__box {
  background: var(--color-white);
  border-radius: 50px;
  padding: 50px 30px 48px;
  position: relative;
  text-align: center;
}
.process-grid .process__single__box:first-child { border-radius: 10px 50px 50px 10px; }
.process__single__box .icon {
  height: 75px; width: 75px;
  display: inline-grid;
  place-items: center;
  background: var(--primary-color);
  border-radius: 50%;
  margin-bottom: 22px;
}
.process__single__box .icon svg { transition: .5s; }
.process__single__box:hover .icon svg { transform: scaleX(-1); }
.process__contnet h3 { font-size: 24px; line-height: 32px; margin: 0 0 12px; }
.process__contnet p { font-size: 15px; line-height: 25px; margin: 0; }
.process__single__box .arrow {
  position: absolute;
  top: 10%; right: -12%;
  z-index: 1;
  width: auto; height: auto;
  border: 0;
  transform: none;
}
.process__single__box .arrow img { width: 120px; opacity: .6; }
.process-image figure { height: 100%; }
.process-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50px 10px 10px 50px; }

/* ---------- 11a. IMÁGENES RESPONSIVAS (<picture>) ---------- */
.choose-us-img picture,
.faq-img picture,
.about-thumb picture,
.about-us-img picture,
.process-image picture { display: block; }
.process-image picture { height: 100%; }

/* ---------- 11b. ETIQUETA SOBRE LA IMAGEN ---------- */
.choose-us-img figure,
.process-image figure { position: relative; }
.img-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 36px);
  padding: 10px 18px 10px 15px;
  border-radius: 999px;
  background: rgba(10, 30, 55, .82);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(10, 30, 55, .28);
}
.img-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .img-label { font-size: 11px; padding: 8px 14px 8px 12px; left: 12px; bottom: 12px; }
}

/* ---------- 12. COBERTURA ---------- */
.coverage-section { background: var(--bg-color2); padding: 110px 0 120px; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.coverage-box {
  background: var(--color-white);
  border-radius: 20px;
  padding: 34px 34px 24px;
  transition: .5s;
}
.coverage-box:hover { box-shadow: 0 24px 50px rgba(15, 42, 74, .1); }
.coverage-box-head {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(15, 42, 74, .1);
  padding-bottom: 20px;
  margin-bottom: 6px;
}
.coverage-ico {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--primary-color);
  flex: none;
}
.coverage-box-head h3 { font-size: 22px; line-height: 30px; margin: 0; }

.town-list li { border-bottom: 1px dashed rgba(15, 42, 74, .12); }
.town-list li:last-child { border-bottom: 0; }
.town-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 44px 16px 0;
  position: relative;
  color: var(--text-read);
  transition: .4s;
}
.town-list a::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: .4s;
}
.town-list a:hover { padding-left: 14px; }
.town-list a:hover::after { opacity: 1; right: 8px; }
.town-list strong {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  transition: .4s;
}
.town-list a:hover strong { color: var(--primary-color); }
.town-list span { font-size: 14px; color: var(--text-color); }

.coverage-note { margin-top: 34px; text-align: center; font-size: 16px; color: var(--text-color); }

/* ---------- 13. CONTACTO / URGENCIAS ---------- */
.contact-section {
  background-color: var(--bg-color1);
  background-image:
    radial-gradient(820px 520px at 85% 20%, rgba(232, 93, 4, .26), transparent 60%),
    linear-gradient(120deg, #0c4a6e 0%, #082f49 100%);
  padding: 120px 0 145px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 34px, transparent 34px 68px);
  z-index: -1;
}
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 60px; align-items: center; }
.contact-section .sec-title { margin-bottom: 40px; }

.contact__info {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF1A;
  border: 1px solid #FFFFFF33;
  border-radius: 95px;
  padding: 20px 32px 20px 20px;
  width: fit-content;
  margin-bottom: 26px;
}
.contact__info__ico {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  flex: none;
}
.info__content p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.info__content h3 { margin: 4px 0 0; font-size: 28px; line-height: 32px; }
.info__content h3 a { color: #fff; }
.info__content h3 a:hover { color: var(--primary-color); }

.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-all-sp { position: absolute; right: 0; bottom: 0; z-index: -1; pointer-events: none; }
.contact-arrow { position: absolute; left: -120px; top: 20%; }
.contact-arrow img { width: 160px; opacity: .8; }

/* ---------- 14. FAQ ---------- */
.faq-section {
  background-color: var(--bg-color2);
  background-image: radial-gradient(760px 460px at 92% 8%, rgba(232, 93, 4, .07), transparent 62%);
  padding: 110px 0 120px;
  border-radius: 30px;
  margin: 0 15px;
}
.faq-row { display: grid; grid-template-columns: 480px 1fr; gap: 70px; align-items: start; }
.faq-img figure {
  display: block;
  border-radius: 24px 200px 24px 24px;
  overflow: hidden;
}
.faq-img figure img { width: 100%; object-fit: cover; }
.faq-section .sec-title { margin-bottom: 40px; }

.accordion li { position: relative; z-index: 1; margin-bottom: 18px; }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn {
  position: relative;
  width: 100%;
  display: block;
  text-align: left;
  cursor: pointer;
  color: var(--title-color);
  padding: 24px 90px 24px 35px;
  font-family: var(--title-font);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  background: var(--bg-tint);
  border: 0;
  border-radius: 15px;
  transition: .3s;
}
.acc-btn::after {
  content: "";
  position: absolute;
  right: 25px; top: 50%;
  transform: translateY(-50%);
  border: 2px solid rgba(15, 42, 74, .2);
  height: 38px; width: 38px;
  border-radius: 50%;
}
.acc-btn::before {
  content: "";
  position: absolute;
  right: 42px; top: 50%;
  width: 14px; height: 2px;
  background: var(--title-color);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 transparent;
  transition: .3s;
}
.acc-btn .plus {
  position: absolute;
  right: 48px; top: 50%;
  width: 2px; height: 14px;
  background: var(--title-color);
  transform: translateY(-50%);
  transition: .3s;
}
.acc-btn[aria-expanded="true"] {
  color: #fff;
  background: var(--primary-color);
  border-radius: 15px 15px 0 0;
}
.acc-btn[aria-expanded="true"]::after { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.acc-btn[aria-expanded="true"]::before { background: #fff; }
.acc-btn[aria-expanded="true"] .plus { opacity: 0; }

.acc-panel {
  margin: 0;
  background: var(--primary-color);
  border-radius: 0 0 15px 15px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 38px 35px 34px;
}
.acc-panel::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  margin: auto;
  top: 6px;
  height: 1px;
  width: 90%;
  border-bottom: 1px dashed rgba(255, 255, 255, .55);
}
.acc-panel p {
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 28px;
  color: var(--color-white);
  margin: 0;
}
.acc-panel a { color: #fff; text-decoration: underline; }

/* ---------- 15. BANDA OFERTA ---------- */
.offer-section {
  position: relative;
  z-index: 1;
  background-color: var(--primary-color);
  background-image:
    radial-gradient(620px 320px at 92% 120%, rgba(208, 0, 0, .40), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 28px, transparent 28px 56px);
  padding: 73px 0 70px;
  border-radius: 0 0 30px 30px;
  margin: 60px 15px 0;
  overflow: hidden;
}
.offer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px 70px;
}
.roofin__offer__title h2,
.roofin__offer__title h1 {
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: var(--color-white);
  margin: 0;
}
.offer-section .roofin__button a { background: var(--title-color); }
.offer-section .roofin__button a::before { background: var(--color-white); }
.offer-section .roofin__button a:hover { color: var(--title-color); }
.offer-section .roofin__button a .btn-ico { background: rgba(255, 255, 255, .18); }
.offer-section .roofin__button a:hover .btn-ico { background: var(--title-color); color: #fff; }

/* ---------- 16. FOOTER ---------- */
.main-footer-one {
  padding: 105px 0 0;
  background: var(--title-deep);
  border-radius: 30px 30px 0 0;
  position: relative;
  overflow: hidden;
  margin: 15px 15px 0;
}
.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px 30px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}
.footer-widget-content.social { max-width: 380px; }
.logo-footer { margin-bottom: 22px; }
.footer-desc { font-size: 15px; line-height: 26px; color: rgba(255, 255, 255, .68); margin-bottom: 22px; }
.office__time p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--title-font);
  font-size: 15px;
  color: #fff;
  margin: 0;
}

.footer-title {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--boder-color);
}
.footer-menu { display: grid; gap: 12px; }
.footer-menu a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: rgba(255, 255, 255, .68);
  padding-right: 22px;
  transition: .4s;
}
.footer-menu a::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: .4s;
}
.footer-menu a:hover { color: var(--primary-color); padding-left: 8px; }
.footer-menu a:hover::after { opacity: 1; right: 0; }

.footer__info { display: grid; gap: 18px; margin-bottom: 22px; }
.footer__info .location { display: flex; gap: 14px; align-items: flex-start; }
.footer__info .location > span:first-child { margin-top: 5px; flex: none; }
.footer__info .location span { font-size: 15px; line-height: 25px; color: rgba(255, 255, 255, .68); }
.footer__info a { color: #fff; }
.footer__info a:hover { color: var(--primary-color); }

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-color);
  color: #fff;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 40px;
  transition: .4s;
}
.wa-link:hover { background: var(--wa-hover); color: #fff; }

.footer-sp { position: absolute; inset: auto 0 0 0; pointer-events: none; z-index: 1; }
.footer-sp2 { position: absolute; left: -10%; bottom: -30%; opacity: .3; }

.footer-bottom { border-top: 1px solid var(--boder-color); position: relative; z-index: 2; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 15px;
}
.copyright-text { font-size: 15px; color: rgba(255, 255, 255, .68); }
.footer-bottom-menu ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-bottom-menu a { font-size: 15px; color: rgba(255, 255, 255, .68); }
.footer-bottom-menu a:hover { color: var(--primary-color); }

/* ---------- 17. STICKY MÓVIL ---------- */
.sticky-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 995;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(15, 42, 74, .14);
}
.sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border-radius: 40px;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.sticky-btn:hover, .sticky-btn:active { color: #fff; }
.sticky-call { background: var(--primary-color); }
.sticky-wa { background: var(--wa-color); }

/* ---------- 18. ANIMACIONES ---------- */
.bounce-animate { animation: bounceUpDown 4s ease-in-out infinite; }
.dance { animation: danceShape 6s ease-in-out infinite; }
@keyframes bounceUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes danceShape { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-14px, 12px) rotate(8deg); } }

/* ---------- 18b. SCROLL-REVEAL ---------- */
html.js .reveal-obs {
  opacity: 0;
  transform: translateY(16px);
  transition: none;
}
html.js .reveal-obs.revealed { animation: revealUp .6s ease both; }
@keyframes revealUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1400px) {
  .section-title h2 { font-size: 44px; line-height: 48px; }
  .hero-row { grid-template-columns: 1fr 400px; gap: 40px; }
  .hero-thumb { display: none; }
}

@media (max-width: 1200px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid .process__single__box:first-child { border-radius: 50px; }
  .process__single__box .arrow { display: none; }
  .process-image img { border-radius: 50px; min-height: 320px; }
  .footer-row { grid-template-columns: repeat(3, 1fr); }
  .footer-widget-content.social { grid-column: 1 / -1; max-width: none; }
  .faq-row { grid-template-columns: 380px 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  :root { --header-h: 76px; }

  .main-menu .navigation > li > a { padding: 16px 12px; }

  /* menú móvil */
  .nav-burger { display: inline-grid; }
  .main-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(350px, 88vw);
    height: calc(100dvh - var(--header-h));
    background: var(--bg-color1);
    border-left: 1px solid var(--boder-color);
    padding: 16px 18px 40px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .4s ease;
    z-index: 999;
  }
  .main-menu.is-open { transform: translateX(0); }
  .main-menu .navigation { flex-direction: column; align-items: stretch; }
  .main-menu .navigation > li { margin-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-menu .navigation > li > a { display: block; font-size: 17px; padding: 15px 4px; }
  .main-menu .navigation > li.dropdown > a::after { display: none; }

  .dropdown-btn {
    display: block;
    position: absolute;
    right: 0; top: 8px;
    width: 44px; height: 44px;
    border: 1px solid var(--boder-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
  }
  .dropdown-btn::before, .dropdown-btn::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: .3s;
  }
  .dropdown-btn::before { width: 12px; height: 2px; }
  .dropdown-btn::after { width: 2px; height: 12px; }
  .dropdown-btn[aria-expanded="true"]::after { opacity: 0; }

  .main-menu .navigation > li > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 0;
    box-shadow: none;
    border-radius: 8px;
    padding: 6px 0 8px 12px;
    margin-bottom: 12px;
  }
  .main-menu .navigation > li.is-open > ul { display: block; }
  .main-menu .navigation > li > ul > li { border-bottom: 1px dashed rgba(255, 255, 255, .12); }
  .main-menu .navigation > li > ul > li > a { color: rgba(255, 255, 255, .78); margin: 0 14px; font-size: 16px; }

  .header-phone-txt { display: none; }
  .header-phone { padding: 9px; }
  .header-phone-ico { width: 32px; height: 32px; }

  .hero-row { grid-template-columns: 1fr; gap: 40px; }
  .hero-col-right { max-width: 520px; width: 100%; }
  .hero__desc { width: 100%; }
  .hero-section-one .hero-section-bg { min-height: 0; padding: 70px 0; }

  .about-row { grid-template-columns: 1fr; }
  .about-col-img { max-width: 420px; }
  .choose-row { grid-template-columns: 1fr; gap: 40px; }
  .section__description { width: 100%; }
  .faq-row { grid-template-columns: 1fr; }
  .faq-col-img { max-width: 480px; margin-inline: auto; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .contact-all-sp { opacity: .25; }
}

@media (max-width: 768px) {
  .section-title h2 { font-size: 34px; line-height: 40px; }
  .roofin__offer__title h2 { font-size: 30px; line-height: 38px; }
  .roofin__offer__title h2 br { display: none; }

  .about-section, .choose-section, .service-section, .coverage-section { padding: 70px 0 80px; }
  .contact-section { padding: 70px 0 90px; }
  .faq-section { padding: 70px 0 80px; }
  .work-process { padding-bottom: 70px; }
  .main-footer-one { padding-top: 70px; }

  .service-grid, .process-grid, .choose-section .main-box.style__two { grid-template-columns: 1fr; }
  .service-head { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-thumb { margin-top: 0; }
  .about-shape { display: none; }
  .footer-row { grid-template-columns: 1fr 1fr; }

  .hero_content h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-button { gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-button .roofin__button { display: block; }
  .roofin__button a { width: 100%; }
  .contact-actions { gap: 14px; }
  .contact__info { width: 100%; border-radius: 20px; }

  .acc-btn { font-size: 17px; line-height: 24px; padding: 20px 78px 20px 22px; }
  .acc-panel-inner { padding: 30px 22px 26px; }
  .acc-panel p { font-size: 16px; line-height: 26px; }

  .defult__wrapper, .faq-section, .offer-section, .main-footer-one { margin-inline: 0; padding-inline: 0; }
  .hero-section-one .hero-section-bg,
  .faq-section, .offer-section, .main-footer-one { border-radius: 0; }

  /* barra fija */
  body { padding-bottom: 74px; }
  .sticky-bar { display: flex; }
}

@media (max-width: 480px) {
  .footer-row { grid-template-columns: 1fr; }
  .hero-form-box { padding: 26px 20px 24px; border-radius: 20px; }
  .coverage-box { padding: 26px 22px 18px; }
  .logo-text { font-size: 19px; }
  .info__content h3 { font-size: 24px; }
}

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

@media print {
  .main-header, .sticky-bar, .marquee-section, .hero-thumb, .offer-section, .contact-all-sp { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
}

/* tarjeta de urgencias */
.urgencia-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--boder-color);
  border-radius: 24px;
  padding: 32px 30px;
  backdrop-filter: blur(6px);
}
.urgencia-card h3 { font-size: 20px; line-height: 28px; color: #fff; margin: 0 0 20px; }
.urgencia-steps { display: grid; gap: 18px; }
.urgencia-steps li { display: flex; gap: 14px; align-items: flex-start; }
.urgencia-steps b {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
}
.urgencia-steps span { font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .74); }
@media (max-width: 992px) {
  .contact-row { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- 21. LANDING URGENCIAS POR TEMPORAL ---------- */

/* Hero variante urgencia */
.hero-urgent .hero-section-bg {
  background-image:
    radial-gradient(880px 520px at 88% 14%, rgba(208, 0, 0, .34), transparent 60%),
    radial-gradient(760px 520px at 6% 96%, rgba(232, 93, 4, .28), transparent 60%),
    linear-gradient(140deg, #12304F 0%, #082f49 100%);
  min-height: 760px;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  padding: 10px 22px 10px 18px;
  border: 1px solid rgba(232, 93, 4, .55);
  background: rgba(208, 0, 0, .16);
  border-radius: 40px;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
}
.hero-alert .pulse {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 0 rgba(232, 93, 4, .7);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(232, 93, 4, .7); }
  70%  { box-shadow: 0 0 0 12px rgba(232, 93, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0); }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}
.hero-chips li {
  padding: 8px 18px;
  border-radius: 40px;
  border: 1px solid var(--boder-color);
  background: var(--bg-color3);
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: rgba(255, 255, 255, .86);
}
.hero-chips li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 10px;
  margin-right: 10px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg) translateY(-2px);
}

/* Daños que reparamos */
.damage-section { background: var(--bg-color2); padding: 110px 0 120px; }
.damage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.damage-grid.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.damage-box {
  background: var(--color-white);
  border-radius: 20px;
  padding: 34px 32px 32px;
  border: 1px solid var(--color-border);
  transition: .5s;
}
.damage-box:hover { box-shadow: 0 24px 50px rgba(15, 42, 74, .1); transform: translateY(-4px); }
.damage-ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px 14px 22px 14px;
  background: var(--bg-tint);
  color: var(--primary-color);
  margin-bottom: 22px;
}
.damage-box h3 {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 21px;
  line-height: 28px;
  color: var(--title-color);
  margin: 0 0 12px;
}
.damage-box p { font-size: 16px; line-height: 27px; color: var(--text-color); margin: 0; }

/* Proceso de urgencia (fondo oscuro, con título propio) */
.urgent-process {
  background-color: var(--bg-color1);
  background-image: radial-gradient(760px 480px at 12% 6%, rgba(232, 93, 4, .2), transparent 62%);
  padding: 110px 0 120px;
  border-radius: 30px;
  margin: 0 15px;
}
.urgent-process .sec-title.center { margin-bottom: 55px; }

/* Qué hacer / qué no */
.safety-section { background: var(--bg-color2); padding: 110px 0 120px; }
.safety-row {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.safety-col-lists { display: grid; gap: 26px; }
.safety-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 32px 34px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--primary-color);
}
.safety-card.no { border-left-color: var(--primary-hover); }
.safety-card h3 {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--title-color);
  margin: 0 0 18px;
}
.safety-list { display: grid; gap: 14px; }
.safety-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-read);
}
.safety-list li::before {
  position: absolute;
  content: "";
  left: 0; top: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-tint);
}
.safety-list li::after {
  position: absolute;
  content: "";
  left: 6px; top: 9px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
}
.safety-card.no .safety-list li::before { background: rgba(208, 0, 0, .1); }
.safety-card.no .safety-list li::after {
  left: 5px; top: 10px;
  width: 10px; height: 10px;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) center/10px 2px no-repeat;
  color: var(--primary-hover);
  transform: none;
}

@media (max-width: 1200px) {
  .damage-grid, .damage-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .safety-row { grid-template-columns: 1fr; gap: 34px; }
  .urgent-process { padding: 80px 0 90px; }
  .damage-section { padding: 80px 0 90px; }
  .safety-section { padding: 80px 0 90px; }
}
@media (max-width: 768px) {
  .damage-grid, .damage-grid.four { grid-template-columns: 1fr; }
  .hero-alert { font-size: 14px; line-height: 19px; padding: 9px 18px 9px 15px; }
  .hero-chips li { font-size: 14px; padding: 7px 15px; }
}

/* municipios sin página propia */
.town-more { margin-top: 22px; padding-top: 20px; border-top: 1px dashed rgba(15, 42, 74, .14); }
.town-more h4 {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-color);
  margin: 0 0 14px;
}
.town-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.town-chips li {
  padding: 5px 12px;
  border-radius: 40px;
  background: var(--bg-color2);
  border: 1px solid var(--color-border);
  font-size: 13.5px;
  line-height: 20px;
  color: var(--text-read);
}

/* chips enlazados y centrados (páginas de municipio) */
.town-chips.center { justify-content: center; gap: 10px; }
.town-chips.center li { display: flex; padding: 0; border: 0; background: none; }
.town-chips.center a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 22px;
  color: var(--text-read);
  transition: .35s;
}
.town-chips.center a:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* sección de poblaciones cercanas */
.near-section { background: var(--bg-color2); padding: 100px 0 110px; }
.near-section .sec-title.center { margin-bottom: 40px; }

/* cobertura de las landings de servicio: enlaces por comarca */
.cobertura-servicio .cob-lead {
  margin: -18px 0 34px;
  text-align: center;
  font-size: 16.5px;
  color: var(--text-color);
}
.grid-cobertura {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.cob-col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 26px 28px 22px;
}
.cob-col h3 {
  margin: 0 0 16px;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-color);
}
.cob-col ul { margin: 0; padding: 0; list-style: none; }
.cob-col li { padding: 11px 0; border-top: 1px solid var(--color-border); }
.cob-col li:first-child { border-top: 0; padding-top: 0; }
.cob-col li a {
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--title-color);
  transition: .3s;
}
.cob-col li a:hover { color: var(--primary-color); }
.cob-pueblos {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--text-color);
}
.nota-desplazamiento { margin-top: 30px; font-size: 15px; font-style: italic; }
@media (max-width: 768px) {
  .grid-cobertura { grid-template-columns: 1fr; gap: 18px; }
  .cob-col { padding: 22px 20px 18px; }
  .cobertura-servicio .cob-lead { margin: -10px 0 26px; font-size: 15.5px; }
}
@media (max-width: 768px) {
  .near-section { padding: 70px 0 80px; }
  .town-chips.center a { font-size: 14.5px; padding: 8px 16px; }
}

@media (max-width: 1200px) {
  .coverage-box { padding: 28px 26px 22px; }
}
@media (max-width: 768px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* ---------- 22. CONTENIDO LOCAL (páginas de municipio) ---------- */
.local-section { background: var(--color-white); padding: 110px 0 115px; }
.local-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: start;
}
.local-copy .sec-title { margin-bottom: 32px; }
.local-copy p {
  font-size: 17px;
  line-height: 31px;
  color: var(--text-read);
  margin: 0 0 20px;
  max-width: 780px;
}
.local-copy p:last-child { margin-bottom: 0; }

.local-points { display: grid; gap: 16px; }
.local-point {
  background: var(--bg-color2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px 26px;
  transition: .4s;
}
.local-point:hover { border-color: var(--primary-color); }
.local-point h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: var(--title-color);
  margin: 0 0 8px;
}
.local-point h3::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-color);
}
.local-point p { font-size: 15.5px; line-height: 25px; color: var(--text-color); margin: 0; }

@media (max-width: 992px) {
  .local-row { grid-template-columns: 1fr; gap: 34px; }
  .local-section { padding: 80px 0 85px; }
}
@media (max-width: 768px) {
  .local-copy p { font-size: 16px; line-height: 28px; }
}

/* Enlace "Más información" de las tarjetas de servicio en landings de municipio */
.damage-box .damage-more {
  display: inline-block;
  margin-top: 14px;
  color: #ea580c;
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.damage-box .damage-more:hover { color: #c2410c; }

/* ==========================================================================
   Página "Sobre nosotros": tarjetas de datos + mapa a ancho de vista
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: center;
}
.about-intro-copy .sec-title { margin-bottom: 28px; }
.about-intro-media { position: relative; }
.about-intro-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -20px -20px auto;
  width: 72%;
  height: 72%;
  border-radius: 24px;
  background: var(--bg-tint);
}
.about-intro-media figure {
  position: relative;
  z-index: 1;
  margin: 0;
}
.about-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(15, 42, 74, .16);
  border: 1px solid var(--color-border);
}
@media (max-width: 992px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-media { max-width: 460px; }
  .about-intro-media::before { inset: auto -14px -14px auto; }
}

.about-where .sec-title.center { margin-bottom: 48px; }

/* Tarjetas de datos (taller, horario, teléfono, email) */
.where-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.where-item {
  background: var(--bg-color2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  transition: .4s;
}
.where-item:hover { border-color: var(--primary-color); }
.where-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px 13px 20px 13px;
  background: var(--color-white);
  color: var(--primary-color);
  margin-bottom: 16px;
}
.where-item h3 {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: var(--title-color);
  margin: 0 0 8px;
}
.where-item p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-color);
  margin: 0;
}
.where-item a { color: var(--primary-color); font-weight: 700; text-decoration: none; }
.where-item a:hover { color: var(--primary-hover); }

/* Botones de contacto, centrados */
.about-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Mapa a lo ancho de la vista (fuera del auto-container) */
.about-map-full {
  position: relative;
  width: 100%;
  height: clamp(300px, 42vh, 480px);
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-color2);
}
.about-map-full iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.about-where .coverage-note { text-align: center; margin: 56px auto 0; max-width: 640px; }

@media (max-width: 1200px) {
  .where-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .where-grid { grid-template-columns: 1fr; }
  .about-map-full { height: 300px; margin-top: 44px; }
}

/* ==========================================================================
   14. LAYOUT "PRO" — landings de instalación / obra / comunidades
   (obra nueva, calderas de gas, mantenimiento de fincas).  Estilo distinto
   del de reparación: fondo acero claro, esquinas rectas y tarjetas numeradas,
   manteniendo la identidad (navy de títulos, CTA naranja, formulario).
   ========================================================================== */

.pagina-pro { background: var(--color-white); }

.pagina-pro .main-header { background: var(--title-deep); }
.pagina-pro .main-header.is-stuck { background: rgba(8, 30, 47, .97); }

/* --- Hero en dos columnas --- */
.pro-hero {
  padding: calc(var(--header-h) + 46px) 0 0;
  background:
    radial-gradient(900px 420px at 88% -40px, rgba(2, 132, 199, .10), transparent 60%),
    linear-gradient(180deg, #eef3f8 0%, #e7edf3 100%);
  position: relative;
  overflow: hidden;
}
.pro-hero::before {
  content: "";
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #0c4a6e 0%, #0284c7 40%, #ea580c 100%);
  opacity: .5;
}
.pro-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 70px;
}
.pro-hero-copy { max-width: 640px; }
.pro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--title-color);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 7px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(15, 42, 74, .06);
}
.pro-kicker span {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, .18);
}
.pro-hero-copy h1 {
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--title-deep);
  margin: 22px 0 0;
}
.pro-hero-copy h1 .line { display: block; }
.pro-hero-copy h1 .line.pro-accent { color: var(--primary-color); }
.pro-lead {
  font-size: 18px;
  line-height: 30px;
  color: #33445c;
  margin: 20px 0 0;
}
.pro-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.pro-tags li {
  font-family: var(--text-font);
  font-size: 14.5px;
  font-weight: 600;
  color: #1e3a5f;
  background: var(--color-white);
  border: 1px solid #d7e1ec;
  border-radius: 6px;
  padding: 8px 14px;
}
/* --- CTA: llamar (principal) + WhatsApp (secundario) --- */
.pro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #f97316, #ea580c 55%, #c2410c);
  color: #fff;
  border-radius: 16px;
  padding: 10px 22px 10px 10px;
  box-shadow: 0 14px 30px rgba(234, 88, 12, .28);
  transition: .3s;
}
.cta-call:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(234, 88, 12, .34); }
.cta-call-ico {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .22);
  border-radius: 12px;
}
.cta-call-txt { display: flex; flex-direction: column; line-height: 1.1; }
.cta-call-txt small {
  font-family: var(--text-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .92;
}
.cta-call-txt strong {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-color);
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  transition: .3s;
}
.cta-wa:hover { color: #fff; background: var(--wa-hover); transform: translateY(-2px); }
.cta-wa-ico { display: grid; place-items: center; }

/* --- Tarjeta de presupuesto (formulario) --- */
.pro-lead-card {
  background: var(--color-white);
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  padding: 30px 28px 26px;
  box-shadow: 0 30px 70px rgba(15, 42, 74, .16);
}
.pro-form-head { margin-bottom: 20px; }
.pro-form-head h2 { font-size: 26px; line-height: 32px; margin: 0 0 6px; color: var(--title-color); }
.pro-form-head p { font-size: 15px; margin: 0; }

/* --- Capacidades numeradas --- */
.pro-cap { background: var(--color-white); padding: 100px 0 110px; }
.pro-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cap-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-areas: "num ico"
                       "num body";
  gap: 2px 18px;
  background: var(--bg-color2);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--primary-color);
  border-radius: 10px;
  padding: 24px 22px 22px;
  transition: .3s;
}
.cap-item:hover { box-shadow: 0 16px 34px rgba(15, 42, 74, .12); transform: translateY(-3px); }
.cap-num {
  grid-area: num;
  font-family: var(--title-font);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #d7e0ea;
  letter-spacing: -.03em;
}
.cap-item:hover .cap-num { color: var(--primary-color); }
.cap-ico {
  grid-area: ico;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--primary-color);
  background: rgba(234, 88, 12, .1);
  border-radius: 8px;
}
.cap-body { grid-area: body; }
.cap-body h3 { font-size: 19px; line-height: 24px; color: var(--title-color); margin: 0 0 6px; }
.cap-body p { font-size: 15px; line-height: 24px; color: var(--text-color); margin: 0; }

/* --- Proceso numerado (pasos) --- */
.pro-steps { background: #eef3f8; padding: 100px 0 110px; }
.pro-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pro-step {
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  padding: 26px 22px 24px;
  box-shadow: 0 10px 26px rgba(15, 42, 74, .08);
}
.pro-step-n {
  position: absolute;
  top: -16px;
  left: 18px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--title-color);
  border-radius: 6px;
  padding: 4px 10px;
}
.pro-step-body { margin-top: 14px; }
.pro-step-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: rgba(234, 88, 12, .1); margin-bottom: 12px; }
.pro-step h3 { font-size: 18px; color: var(--title-color); margin: 0 0 6px; }
.pro-step p { font-size: 14.5px; line-height: 23px; color: var(--text-color); margin: 0; }

/* --- Banda secundaria de la home (servicios "pro") --- */
.serv-second {
  border-top: 1px solid var(--color-border);
  margin-top: 44px;
  padding-top: 40px;
}
.serv-second h3 {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px;
}
.serv-second > p { font-size: 15.5px; color: var(--text-color); margin: 0 0 22px; }
.serv-sec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.serv-sec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-color2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: .3s;
}
.serv-sec-item:hover { box-shadow: 0 12px 26px rgba(15, 42, 74, .1); transform: translateY(-2px); }
.serv-sec-item .serv-sec-ico {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  color: var(--primary-color);
  background: #fff;
  border-radius: 10px;
}
.serv-sec-item .serv-sec-txt { min-width: 0; }
.serv-sec-item .serv-sec-txt strong {
  display: block;
  font-family: var(--title-font);
  font-size: 16.5px;
  color: var(--title-color);
  line-height: 1.2;
}
.serv-sec-item .serv-sec-txt span { font-size: 13.5px; color: var(--text-color); line-height: 1.35; display: block; margin-top: 3px; }
.serv-sec-item .serv-sec-arrow {
  margin-left: auto;
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  color: var(--primary-color);
  font-size: 18px;
}

/* --- Responsive layout pro --- */
@media (max-width: 1200px) {
  .pro-step-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .pro-step:nth-child(3), .pro-step:nth-child(4) { margin-top: 14px; }
}
@media (max-width: 992px) {
  .pro-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pro-cap-grid { grid-template-columns: 1fr; }
  .serv-sec-list { grid-template-columns: repeat(2, 1fr); }
  .pro-hero { padding-top: calc(var(--header-h) + 30px); }
  .pro-cap, .pro-steps { padding: 74px 0 84px; }
}
@media (max-width: 640px) {
  .pro-step-grid, .serv-sec-list { grid-template-columns: 1fr; }
  .pro-hero-copy h1 { font-size: 40px; }
  .pro-tags { gap: 8px; }
  .pro-lead-card { padding: 26px 20px 22px; }
  .pro-cta { flex-direction: column; align-items: center; }
  .cta-call, .cta-wa { width: min(100%, 320px); justify-content: center; }
  .cta-wa { justify-content: center; }
}

/* Ajuste móvil del teléfono de cabecera: cuadrado 48px, igual al menú, centrado */
@media (max-width: 992px) {
  .header-buttons { gap: 10px; }
  .header-phone {
    width: 48px;
    height: 48px;
    flex: none;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }
  .header-phone-ico { width: 26px; height: 26px; }
  .nav-burger { width: 48px; height: 48px; flex: none; }
}

/* ---------- 404 ---------- */
.error-404 { max-width: 640px; }
.error-404 .error-code {
  font-family: var(--title-font);
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--primary-color);
  margin: 0 0 8px;
}
.error-404 h1 {
  font-family: var(--title-font);
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.error-404 .error-text {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 29px;
  margin: 0 0 30px;
}
.error-links {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.error-links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
}
.error-links a:hover { border-color: var(--primary-color); color: #fff; background: rgba(234, 88, 12, .16); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 16px 20px; background: #fff; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15, 42, 74, .25);
  font-size: 14px; line-height: 1.5;
}
.cookie-banner p { margin: 0; flex: 1 1 280px; }
.cookie-banner a { color: var(--color-primary); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn-cookie {
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 10px;
  background: #fff; color: var(--color-primary); border: 1.5px solid var(--color-primary);
}
.btn-cookie--primary { background: var(--color-primary); color: #fff; }
.btn-cookie:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 480px) {
  .cookie-banner__actions { width: 100%; }
  .btn-cookie { flex: 1; }
}
