:root {
  --ink: #18201d;
  --muted: #607069;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #ded8cd;
  --graphite: #27302c;
  --terracotta: #d00012;
  --clay: #ff2d2d;
  --sage: #607966;
  --shadow: 0 18px 50px rgba(24, 32, 29, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(247, 244, 239, 0.96);
  box-shadow: 0 8px 30px rgba(24, 32, 29, 0.12);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header:has(.brand-logo-home) {
  min-height: 138px;
  max-height: 138px;
  overflow: hidden;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 239, 0.96);
  box-shadow: 0 8px 30px rgba(24, 32, 29, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 500;
}

.brand-logo {
  width: 132px;
  height: 74px;
  object-fit: contain;
}

.brand-logo-home {
  width: 340px;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.brand-name {
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.whatsapp-link,
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 800;
}

.whatsapp-link {
  min-height: 40px;
  padding: 9px 13px;
  color: #102418;
  background: #25d366;
}

.phone-header-link {
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  min-height: auto;
}

.header-contact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(14px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.language-button {
  width: 30px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(24, 32, 29, 0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(24, 32, 29, 0.12);
}

.language-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-label {
  display: none;
}

.language-button.is-active {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.whatsapp-link svg,
.contact-whatsapp svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 30;
  display: grid;
  place-items: center;
  width: clamp(62px, 7vw, 82px);
  height: clamp(62px, 7vw, 82px);
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 16px 34px rgba(24, 32, 29, 0.22);
  transition: transform 160ms ease, filter 160ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.08);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-solados-alicatados.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 19, 17, 0.82) 0%, rgba(13, 19, 17, 0.58) 42%, rgba(13, 19, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 19, 17, 0.34), rgba(13, 19, 17, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.natural-case {
  text-transform: none;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--terracotta);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark-secondary {
  color: var(--ink);
  border-color: rgba(24, 32, 29, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.section-heading p:not(.eyebrow),
.feature-copy p:not(.eyebrow),
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(24, 32, 29, 0.05);
}

.card-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--graphite);
  font-weight: 800;
}

.service-card p,
.timeline p {
  color: var(--muted);
}

.info-button {
  min-height: 42px;
  margin-top: auto;
  padding: 10px 16px;
  color: #fff;
  background: var(--graphite);
}

.detail-header {
  position: sticky;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: calc(96px + clamp(34px, 6vw, 72px)) clamp(18px, 4vw, 56px) clamp(56px, 8vw, 96px);
  background: #ede7dc;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--sage);
  font-weight: 800;
}

.detail-hero h1 {
  margin: 0;
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0;
}

.detail-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.detail-hero .hero-actions {
  margin-top: 28px;
}

.detail-hero-image {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-image-button img {
  display: block;
}

.zocalos-hero-image {
  min-height: 0;
  aspect-ratio: 2.22 / 1;
}

.shower-hero-image {
  min-height: 0;
  aspect-ratio: 1095 / 543;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
  background: var(--surface);
}

.detail-copy {
  max-width: 820px;
}

.detail-copy p:not(.eyebrow),
.detail-list li {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-list {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.detail-list ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.detail-gallery {
  border-top: 1px solid var(--line);
}

.compact-gallery {
  grid-auto-rows: 250px;
}

.gallery-section {
  background: #eee9df;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 24px;
  align-items: end;
  width: 100%;
}

.gallery-heading p:not(.eyebrow) {
  margin: 0;
}

.gallery-grid {
  column-count: 4;
  column-gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  color: #fff;
  background: var(--graphite);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(24, 32, 29, 0.12);
  break-inside: avoid;
  page-break-inside: avoid;
}

.gallery-item.tall {
  grid-row: auto;
}

.gallery-item.wide {
  grid-column: auto;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 24, 21, 0.72), rgba(18, 24, 21, 0.05) 56%);
}

.gallery-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: left;
}

.gallery-item small {
  position: absolute;
  left: 16px;
  bottom: 44px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: rgba(208, 0, 18, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--graphite);
}

.feature-copy {
  max-width: 800px;
}

.feature-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.metrics strong {
  color: var(--clay);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.metrics span {
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  padding-top: 20px;
  border-top: 2px solid var(--terracotta);
}

.timeline span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
  background: #ece7de;
}

.contact-whatsapp {
  width: fit-content;
  min-height: 48px;
  margin-top: 18px;
  padding: 13px 18px;
  color: #102418;
  background: #25d366;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc6b8;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.captcha-box {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 2px;
}

.captcha-error {
  margin: 0;
  color: #9d2f1e;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.captcha-box iframe {
  max-width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #fff;
  background: #151b18;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links span {
  color: rgba(255, 255, 255, 0.48);
}

.legal-page {
  padding: 144px 18px 56px;
}

.legal-content {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.42;
}

.legal-content h1 {
  margin: 10px 0 14px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.legal-content h2 {
  margin: 16px 0 6px;
  font-size: 0.95rem;
}

.legal-content p {
  margin: 0 0 6px;
  color: var(--muted);
}

.legal-content strong {
  color: var(--ink);
}

.legal-nav {
  margin-left: auto;
}

.thanks-page {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding: 156px 18px 72px;
}

.thanks-card {
  width: min(560px, 100%);
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: #fff;
  border-radius: 50%;
  background: var(--terracotta);
}

.thanks-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.thanks-card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1;
}

.thanks-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 60px rgba(24, 32, 29, 0.22);
}

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

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.cookie-banner p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 15px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(13, 19, 17, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox.is-open figure {
  animation: zoomIn 180ms ease-out;
}

.lightbox figure {
  width: min(1200px, 100%);
  max-height: 92svh;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 84svh;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox figcaption {
  margin-top: 10px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 42;
  display: grid;
  width: 52px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-nav[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-hero,
  .detail-content,
  .gallery-heading,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .detail-hero-image {
    min-height: 460px;
  }

  .zocalos-hero-image {
    min-height: 0;
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 16px;
  }

  .site-header:has(.brand-logo-home) {
    min-height: 118px;
    max-height: 118px;
  }

  .brand-logo-home {
    width: 220px;
  }

  .site-header.is-open {
    overflow: visible;
  }

  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .legal-nav a {
    padding: 6px 0;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .legal-nav a {
    padding: 6px 0;
  }

  .site-nav .whatsapp-link {
    margin-top: 8px;
    padding: 13px 12px;
  }

  .header-contact {
    align-items: flex-start;
    padding: 10px 12px 12px;
    transform: none;
  }

  .header-contact .whatsapp-link {
    margin-top: 0;
    padding: 0;
  }

  .legal-nav .header-contact {
    align-items: flex-end;
    padding: 0;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    gap: 10px;
    padding-top: 10px;
  }

  .language-switcher::before {
    content: "Cambiar idioma";
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .language-button {
    width: 42px;
    height: 30px;
    border-radius: 5px;
    background: #fff;
  }

  .language-button img {
    object-fit: contain;
  }

  .site-nav a:active {
    background: #f0ebe3;
  }

  .hero {
    min-height: 86svh;
    align-items: end;
  }

  .hero-media {
    background-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13, 19, 17, 0.86) 0%, rgba(13, 19, 17, 0.58) 52%, rgba(13, 19, 17, 0.14) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 120px 0 42px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 3.1rem);
    white-space: normal;
  }

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

  .detail-hero {
    padding-top: 112px;
  }

  .detail-hero-image {
    min-height: 390px;
  }

  .zocalos-hero-image {
    min-height: 0;
  }

  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .trust-strip div {
    padding: 20px 18px;
  }

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

  .card-icon {
    margin-bottom: 22px;
  }

  .metrics div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .metrics span {
    text-align: left;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    flex: 1;
    min-width: 0;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 58px;
    font-size: 2.5rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 72px;
    height: 48px;
  }

  .brand-logo-home {
    width: 210px;
    height: auto;
  }
}
