/* =========================================================
   Alejandro Domínguez · Fontanería y Climatización
   Brand colours sampled from the logo: navy #062C56, sky #01ADEE
   ========================================================= */

:root {
  --navy: #062c56;
  --navy-900: #031a36;
  --navy-700: #0b3a6e;
  --sky: #01adee;
  --sky-600: #0092cc;
  --sky-50: #e8f7fe;

  --ink: #0e1a2b;
  --text: #3d4b5f;
  --muted: #6b7a8f;
  --line: #e3e9f1;
  --soft: #f4f7fb;
  --white: #fff;
  --wa: #25d366;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 44, 86, .06), 0 2px 8px rgba(6, 44, 86, .05);
  --shadow: 0 10px 30px -10px rgba(6, 44, 86, .18), 0 4px 10px -4px rgba(6, 44, 86, .08);
  --shadow-lg: 0 30px 60px -20px rgba(3, 26, 54, .35);

  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--sky { background: var(--sky); color: var(--navy-900); }
.btn--sky:hover { background: #22bdf5; box-shadow: 0 10px 30px -8px rgba(1, 173, 238, .6); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #1fbe5b; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sky-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky); }

.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #c9d6e6; position: relative; overflow: hidden; }
.section__head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; text-align: left; }
.section__head--row .eyebrow { justify-content: flex-start; }
.section__head--row .section__lead { max-width: 420px; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; text-wrap: balance; }
.section__title--light { color: #fff; }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section__lead--light { color: #b8c7da; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b8c7da; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .i { width: 15px; height: 15px; color: var(--sky); }
.topbar__right { margin-left: auto; transition: color .2s; }
.topbar__right:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Blur lives on a pseudo-element so it doesn't become the containing block of the fixed mobile nav */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(6, 44, 86, .25); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand__mark { width: 92px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); color: var(--navy); }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.brand__surname { font-weight: 500; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav a.btn--primary { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 18px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d6e6;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(1, 173, 238, .22), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(1, 173, 238, .12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  padding: 96px 0 110px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__waves { position: absolute; right: -5%; top: 8%; width: 70%; height: 70%; opacity: .16; }
.hero__waves path { fill: none; stroke: var(--sky); stroke-width: 16px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__title { text-wrap: balance; color: #fff; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hero__title span { color: var(--sky); display: block; }
.hero__lead { margin-top: 24px; font-size: 19px; max-width: 560px; color: #c2d0e2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #dfe8f3; }
.hero__trust .i { color: var(--sky); width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(1, 173, 238, .15); stroke-width: 3; }

/* Quote card */
.quote { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; color: var(--text); }
.quote__head h2 { font-size: 24px; font-weight: 700; }
.quote__head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.quote__form { display: grid; gap: 14px; margin-top: 22px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 12px; padding: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 8px; border-radius: 9px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); }

.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(1, 173, 238, .15); }
.field .is-invalid { border-color: #d64545; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check { cursor: pointer; padding: 4px 0; }
.check input { margin-top: 1px; accent-color: var(--navy); width: 20px; height: 20px; flex: none; cursor: pointer; }
.check a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form-error { color: #c23b3b; font-size: 14px; }

/* ---------- Rating strip ---------- */
.rating-strip { border-bottom: 1px solid var(--line); background: #fff; }
.rating-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.rating-strip__google { display: flex; align-items: center; gap: 16px; }
.rating-strip__google strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.rating-strip__google span { color: var(--muted); font-size: 14.5px; }
.g-logo { width: 42px; height: 42px; flex: none; }
.rating-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: #fbbc04; vertical-align: -3px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); margin-bottom: 22px; }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; }

/* ---------- Boletines de agua ---------- */
.boletin { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.boletin__intro .btn { margin-top: 30px; }
.boletin__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; box-shadow: var(--shadow-sm); }
.boletin__card h3 { font-size: 18px; font-weight: 700; }
.boletin__card .ticks { margin: 18px 0 0; }

/* ---------- Audiences ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience { background: #fff; border-radius: var(--radius-lg); padding: 48px 44px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.audience--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); border: 0; color: #c2d0e2; }
.audience--dark h3 { color: #fff; }
.audience__tag { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sky-50); color: var(--sky-600); margin-bottom: 20px; }
.audience--dark .audience__tag { background: rgba(1, 173, 238, .15); color: var(--sky); }
.audience h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.audience > p { font-size: 16.5px; }
.ticks { display: grid; gap: 12px; margin: 28px 0 34px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230092cc' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.audience--dark .ticks li { color: #dfe8f3; }
.audience--dark .ticks li::before { background-color: rgba(1, 173, 238, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301adee' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.audience .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--sky); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--navy); opacity: .9; }
.step h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.shot { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.shot--wide { grid-column: span 2; }
.shot img, .shot__ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot__ph {
  background:
    url("../img/logo-mark-white.png") center 40%/130px auto no-repeat,
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  opacity: .9;
}
.shot:hover img, .shot:hover .shot__ph { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px;
  background: linear-gradient(to top, rgba(3, 26, 54, .9), rgba(3, 26, 54, 0));
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 16px;
}
.shot figcaption span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__text { color: var(--ink); font-size: 16px; line-height: 1.7; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; }
.review__author strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.review__author small { color: var(--muted); }
.review .g-logo { width: 22px; height: 22px; }
.review--placeholder { border-style: dashed; box-shadow: none; background: var(--soft); align-items: center; justify-content: center; text-align: center; min-height: 240px; color: var(--muted); }
.review--placeholder .stars { color: #d7dee8; }

.review-cta {
  margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 40px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--sky-50), #fff 70%); border: 1px solid #cdeefc;
}
.review-cta h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.review-cta p { color: var(--muted); max-width: 560px; }

/* ---------- Area ---------- */
.section--navy::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 173, 238, .18), transparent 70%); }
.area { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.area__list { display: flex; flex-wrap: wrap; gap: 12px; }
.area__list li { padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, .04); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-wrap .section__head .btn { margin-top: 28px; }
.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062c56' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact__list { display: grid; gap: 22px; margin-top: 40px; }
.contact__list li { display: flex; align-items: center; gap: 18px; }
.contact__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--navy); flex: none; }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list span { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.contact__list a:hover { color: var(--sky-600); }
.contact__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 48px 44px; text-align: center; }
.contact__card img { width: 280px; margin: 0 auto; }
.contact__card p { margin: 22px 0 30px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); font-family: var(--font-head); font-weight: 500; line-height: 1.9; }
.contact__buttons { display: grid; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #93a6bf; padding: 80px 0 0; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer__brand img { width: 210px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; padding-bottom: 28px; font-size: 13.5px; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Floating / mobile ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.mobilebar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header__cta { display: none; }
  .nav { gap: 18px; }
  .header__inner { gap: 20px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .section { padding: 84px 0; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px;
    background: #fff; overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav a { padding: 18px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 24px; border-bottom: 0 !important; }
  .header__actions { margin-left: auto; }

  .hero { padding: 64px 0 80px; }
  .hero__waves { width: 130%; height: 34%; top: 30%; right: -15%; opacity: .12; }
  .hero__waves path { stroke-width: 10px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .services { grid-template-columns: 1fr 1fr; }
  .audiences, .area, .faq-wrap, .contact, .boletin { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .reviews { grid-template-columns: 1fr; }
  .review--placeholder:nth-child(n+2) { display: none; }
  .review-cta { flex-direction: column; align-items: flex-start; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .topbar__hide-sm, .topbar__right { display: none; }
  .brand__mark { width: 70px; }
  .brand__name { font-size: 16px; }
  .brand__surname { font-size: 10px; letter-spacing: .08em; }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 40px; }
  .hero__lead { font-size: 17px; }
  .eyebrow { letter-spacing: .12em; font-size: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .quote { padding: 24px 20px; }
  .rating-strip__actions, .rating-strip__actions .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .audience { padding: 34px 24px; }
  .audience h3 { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
  .shot--wide { grid-column: auto; }
  .shot:first-child, .shot:last-child { grid-column: span 2; }
  .shot figcaption { padding: 14px; font-size: 14px; }
  .shot__ph { background-size: 90px auto, auto; }
  .review-cta { padding: 30px 24px; }
  .review-cta .btn { width: 100%; }
  .contact__card { padding: 36px 24px; }
  .contact__card img { width: 210px; }
  .footer { padding-top: 56px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 36px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__brand img { width: 170px; }
  .service { padding: 24px 22px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
  .service__icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; }
  .service__icon svg { width: 24px; height: 24px; }
  .service h3 { margin: 0; font-size: 18px; }
  .service p { grid-column: 1 / -1; margin-top: 14px; }
  .contact__card p { font-size: 11px; letter-spacing: .06em; }
  .boletin__card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .wa-float { display: none; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(6, 44, 86, .25);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .mobilebar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
  .mobilebar__call { background: var(--navy); color: #fff; }
  .mobilebar__wa { background: var(--wa); color: #fff; }
}

/* Touch targets: at least ~44px tall on phones */
@media (max-width: 640px) {
  .footer__col { gap: 0; }
  .footer__col a, .footer__col span { display: block; padding: 10px 0; }
  .footer__bottom nav a { display: inline-block; padding: 10px 0; }
  .contact__list li { position: relative; }
  .contact__list a { display: inline-block; padding: 6px 0; }
  .contact__list li:has(a) a::after { content: ""; position: absolute; inset: 0; } /* whole row tappable */
  .brand { min-height: 44px; }
}
