:root {
  --black: #080808;
  --ink: #171717;
  --muted: #5f625d;
  --line: #d8d9d3;
  --paper: #f5f5f0;
  --white: #ffffff;
  --yellow: #f4c400;
  --yellow-strong: #ffd21a;
  --red: #b9251c;
  --metal: #b8bdba;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  right: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
}

.header-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  transition: transform 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(8, 8, 8, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--yellow);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0 22%, transparent 23%),
    repeating-conic-gradient(from 5deg, #161616 0 8deg, #303030 8deg 14deg);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand-copy strong {
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.main-nav .nav-action {
  margin-left: 6px;
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow-strong), var(--yellow) 58%, #efae00);
  box-shadow: 0 10px 24px rgba(244, 196, 0, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  font-weight: 900;
}

.main-nav .nav-action:hover,
.main-nav .nav-action:focus-visible {
  color: var(--black);
  background: var(--yellow-strong);
  transform: translateY(-2px) scale(1.03);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.entrada {
  position: relative;
  min-height: clamp(500px, 72svh, 670px);
  display: flex;
  align-items: center;
  padding: 7.3rem 1.2rem 3.4rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68)),
    url("Assets/img/WhatsApp Image 2026-06-17 at 15.34.49.jpeg");
  background-size: cover;
  background-position: center 24%;
  isolation: isolate;
}

.entrada::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background:
    repeating-linear-gradient(112deg, transparent 0 22px, rgba(244, 196, 0, 0.3) 22px 24px, transparent 24px 54px),
    linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.82) 100%);
  mix-blend-mode: screen;
}

.entrada-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.entrada-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.light .eyebrow,
.entrada .eyebrow,
.contact-section .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.16rem, 1.8vw, 1.48rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.entrada-text {
  max-width: 650px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow-strong), var(--yellow) 52%, #eca900);
  border-color: #ffe064;
  box-shadow: 0 16px 34px rgba(244, 196, 0, 0.26), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 34%;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  transform: translateX(-170%) skewX(-18deg);
  animation: cta-shine 3.8s ease-in-out infinite;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #ffe970, var(--yellow-strong) 58%, #f2b200);
  box-shadow: 0 20px 44px rgba(244, 196, 0, 0.36), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(244, 196, 0, 0.26), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  }

  50% {
    box-shadow: 0 18px 42px rgba(244, 196, 0, 0.42), 0 0 0 5px rgba(244, 196, 0, 0.08), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  }
}

@keyframes cta-shine {
  0%,
  48% {
    transform: translateX(-170%) skewX(-18deg);
  }

  72%,
  100% {
    transform: translateX(330%) skewX(-18deg);
  }
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.entrada-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 820px;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 2px solid var(--yellow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.proof-rail span {
  padding: 0.9rem 1rem 0.9rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.28;
}

.proof-rail span + span {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-rail strong {
  display: block;
  color: var(--white);
  font-size: 1.04rem;
}

.quick-strip {
  color: var(--black);
  background: var(--yellow);
}

.quick-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0.95rem 0;
}

.quick-inner p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.2;
}

.section {
  padding: clamp(3.2rem, 7vw, 6rem) 0;
}

.story-section {
  background:
    linear-gradient(90deg, rgba(244, 196, 0, 0.16), transparent 34%),
    var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.6rem, 5vw, 4.5rem);
  align-items: start;
}

.story-copy {
  position: sticky;
  top: 110px;
}

.story-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.value-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.value-board article {
  min-height: 190px;
  padding: 1.15rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 16, 16, 0.07);
}

.value-board span {
  display: inline-flex;
  margin-bottom: 2.1rem;
  color: var(--red);
  font-weight: 900;
  font-size: 0.78rem;
}

.value-board h3 {
  margin-bottom: 0.45rem;
}

.value-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.service-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(244, 196, 0, 0.16) 0 18%, transparent 18% 100%),
    var(--black);
  overflow: hidden;
}

.service-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.3) 18px 19px, transparent 19px 42px),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(244, 196, 0, 0.42) 64px 66px, transparent 66px 140px);
  pointer-events: none;
}

.service-section .section-inner {
  position: relative;
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

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

.service-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-bottom: 1rem;
}

.service-photo {
  position: relative;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1c1c1c;
  box-shadow: var(--shadow);
}

.service-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

.service-photo img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.service-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.3rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.service-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.55rem;
  color: var(--black);
  background: var(--yellow);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-info h3 {
  max-width: 620px;
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.service-info p:not(.service-label) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.6;
}

.service-checks {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-checks li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

.service-checks li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 1rem;
}

.service-tab {
  min-height: 58px;
  padding: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-tab:hover,
.service-tab:focus-visible {
  transform: translateY(-2px);
  color: var(--white);
}

.service-tab.is-active {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
  font-weight: 900;
}

.process-section {
  background:
    linear-gradient(180deg, #ffffff, #efefeb);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.process-grid p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.62;
}

.process-line {
  position: relative;
  display: grid;
  gap: 10px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 13px;
  width: 3px;
  background: var(--yellow);
}

.process-line article {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  min-height: 86px;
  padding: 1rem 1rem 1rem 2.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.06);
}

.process-line article::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--yellow);
}

.process-line span {
  color: var(--black);
  font-weight: 900;
}

.process-line p {
  margin: 0;
}

.gallery-section {
  background: #f0f0ea;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 8px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 13px 36px rgba(14, 14, 14, 0.12);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82));
  opacity: 0.88;
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 11px;
  left: 12px;
  z-index: 1;
  display: block;
  color: var(--white);
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
}

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

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(244, 196, 0, 0.18) 0 24%, transparent 24% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 120px),
    var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.4rem, 5vw, 4rem);
  align-items: center;
}

.contact-copy .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.62rem;
  color: var(--black);
  background: var(--yellow);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(244, 196, 0, 0.22);
}

.contact-copy p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.6;
}

.contact-side {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: var(--black);
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1;
}

.contact-card a {
  overflow-wrap: anywhere;
  color: #202020;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.map-card {
  overflow: hidden;
  border-radius: 8px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.map-frame {
  position: relative;
  min-height: 260px;
}

.map-card iframe {
  width: 100%;
  min-height: 260px;
  display: block;
  border: 0;
  filter: saturate(0.95) contrast(1.04);
}

.map-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  gap: 3px;
  max-width: calc(100% - 28px);
  padding: 0.65rem 0.75rem;
  color: var(--white);
  background: rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(244, 196, 0, 0.7);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.map-badge strong {
  color: var(--yellow);
  line-height: 1.1;
}

.map-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.2;
}

.map-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 0 1rem;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
}

.map-card a::after {
  content: ">";
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(244, 196, 0, 0.12), transparent 38%),
    #050505;
  font-size: 0.92rem;
}

.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(150px, 0.7fr) minmax(220px, 0.9fr) minmax(210px, 0.75fr);
  gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(2rem, 5vw, 3.4rem) 0 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  line-height: 1.58;
}

.footer-column,
.footer-cta {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-column strong,
.footer-cta span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column a,
.site-footer a {
  color: var(--yellow);
  overflow-wrap: anywhere;
}

.site-footer .footer-whatsapp {
  width: 100%;
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.94);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: var(--yellow-strong);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.9);
}

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

.lightbox figure {
  width: min(920px, 100%);
  max-height: calc(100svh - 48px);
  display: grid;
  gap: 12px;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 142px);
  object-fit: contain;
  border-radius: 8px;
  background: #111111;
}

.lightbox figcaption {
  display: grid;
  gap: 4px;
  padding-left: 4px;
}

.lightbox figcaption strong {
  color: var(--yellow);
  font-size: 1.05rem;
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.78);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--black);
  background: var(--yellow);
  border-radius: 8px;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 44px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-arrow.prev {
  left: 18px;
}

.lightbox-arrow.next {
  right: 18px;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .main-nav .nav-action {
    justify-content: flex-start;
    margin-left: 0;
  }

  .menu-toggle {
    display: grid;
  }

  .entrada {
    background-position: 56% 20%;
  }

  .proof-rail,
  .quick-inner,
  .story-grid,
  .service-stage,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-copy {
    position: static;
  }

  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .header-inner,
  .entrada-inner,
  .section-inner,
  .quick-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .entrada {
    min-height: 560px;
    padding: 6.5rem 1rem 2.2rem;
    background-position: 58% 18%;
  }

  .entrada-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-rail {
    display: grid;
    border-bottom: 0;
  }

  .proof-rail span {
    padding: 0.8rem 0;
  }

  .proof-rail span + span {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .value-board,
  .service-tabs {
    grid-template-columns: 1fr;
  }

  .service-photo,
  .service-photo img {
    min-height: 320px;
  }

  .service-info {
    padding: 1.1rem;
  }

  .process-line::before {
    display: none;
  }

  .process-line article {
    grid-template-columns: 1fr;
    padding: 1rem 1rem 1rem 2.6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .map-card iframe {
    min-height: 230px;
  }

  .map-frame {
    min-height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.05rem, 12vw, 3.15rem);
  }

  .entrada {
    min-height: 610px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
}

@media (max-height: 780px) and (min-width: 900px) {
  .entrada {
    min-height: 545px;
    padding-top: 6.4rem;
    padding-bottom: 2.2rem;
  }

  h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.15rem);
  }

  .entrada-text {
    margin-bottom: 1.2rem;
  }

  .proof-rail {
    margin-top: 1.35rem;
  }

  .section {
    padding: clamp(2.8rem, 5vw, 4.5rem) 0;
  }

  .service-photo,
  .service-photo img {
    min-height: 360px;
  }
}
