:root {
  --plaster: #f7f2e1;
  --plaster-dim: #f0e9d2;
  --stone: #f0df9f;
  --stone-line: #e3d6a8;
  --charcoal: #1b1c1f;
  --charcoal-soft: #3a3b3e;
  --steel: #17181b;
  --steel-soft: #26282c;
  --accent: #a8791e;
  --accent-soft: #c99a3c;
  --accent-fill: #eac25a;
  --accent-fill-hover: #d9ac3f;
  --accent-tint: rgba(234, 194, 90, 0.16);
  --grey: #6c6f73;
  --grey-light: #91949a;
  --radius: 4px;
  --radius-lg: 18px;
  --max-width: 1180px;
  --shadow-soft: 0 18px 40px -20px rgba(23, 24, 27, 0.4);
  --shadow-card: 0 14px 32px -18px rgba(23, 24, 27, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--charcoal);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4 {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-fill);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-fill);
  display: inline-block;
}

.hero .eyebrow {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-fill);
  margin-bottom: 24px;
}

.hero .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-fill);
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-fill);
  color: var(--charcoal);
  box-shadow: 0 14px 28px -12px rgba(234, 194, 90, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: rgba(23, 24, 27, 0.22);
  color: inherit;
}

.btn-dark {
  background: var(--steel);
  color: var(--plaster);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--accent-fill-hover);
    transform: translateY(-2px);
  }
  .btn-outline:hover {
    border-color: currentColor;
    transform: translateY(-2px);
  }
  .btn-dark:hover {
    background: var(--steel-soft);
    transform: translateY(-2px);
  }
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(23, 24, 27, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 242, 225, 0.08);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(23, 24, 27, 0.92);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.6);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 2px;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.01em;
}

.logo .yeso { color: var(--plaster); }
.logo .pro { color: var(--accent-fill); }

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

.main-nav a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(247, 242, 225, 0.72);
  position: relative;
}

.main-nav a:hover {
  color: var(--accent-fill);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cta .btn {
  padding: 12px 22px;
  font-size: 14.5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plaster);
  margin: 0 auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 94vh;
  min-height: 94dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 150px 0 0;
  color: var(--plaster);
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: hero-kenburns 24s ease-in-out infinite alternate;
}

@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(23, 24, 27, 0.95) 0%, rgba(23, 24, 27, 0.66) 48%, rgba(23, 24, 27, 0.4) 100%),
    linear-gradient(0deg, rgba(23, 24, 27, 0.92) 0%, rgba(23, 24, 27, 0.15) 42%, rgba(23, 24, 27, 0.1) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-bottom: 24px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
}

.h1-line {
  line-height: 1.08;
}

.h1-line-1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  color: var(--plaster);
}

.h1-line-2 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  color: var(--accent-fill);
}

.hero-sub {
  font-size: 18px;
  color: rgba(247, 242, 225, 0.78);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(247, 242, 225, 0.4);
  color: var(--plaster);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover {
    border-color: var(--plaster);
    transform: translateY(-2px);
  }
}

/* ---------- Hero entrance motion ---------- */

.hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.22s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.34s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.46s; }

.hero-media-bg {
  opacity: 0;
  animation: hero-bg-in 1.1s ease forwards;
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-bg-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .hero-media-bg {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-media-bg img {
    animation: none;
  }
}

/* ---------- Feature strip ---------- */

.feature-strip {
  position: relative;
  background:
    radial-gradient(ellipse 900px 520px at 15% -10%, rgba(234, 194, 90, 0.16), transparent 62%),
    radial-gradient(ellipse 700px 460px at 100% 110%, rgba(234, 194, 90, 0.09), transparent 60%),
    var(--steel);
  color: var(--plaster);
  padding: 72px 0;
  overflow: hidden;
}

.feature-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.feature-strip .wrap {
  position: relative;
  z-index: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.feature-item {
  padding-left: 28px;
  border-left: 1px solid rgba(247, 242, 225, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.feature-item:first-child {
  border-left: none;
  padding-left: 0;
}

.feature-item svg {
  color: var(--accent-fill);
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.feature-item h3 {
  margin: 0;
  line-height: 1.25;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 21px;
  color: var(--plaster);
}

.feature-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 242, 225, 0.74);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Section heads ---------- */

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-wrap: balance;
}

.section-head p {
  color: rgba(247, 242, 225, 0.72);
  font-size: 17px;
}

.services-head {
  position: relative;
  max-width: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 56px 44px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.services-head-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-head-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(23, 24, 27, 0.95) 0%, rgba(23, 24, 27, 0.78) 42%, rgba(23, 24, 27, 0.4) 100%),
    linear-gradient(0deg, rgba(23, 24, 27, 0.7) 0%, rgba(23, 24, 27, 0.15) 60%);
}

.services-head-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.services-head-content p:last-child {
  margin-bottom: 0;
}

/* ---------- Services (asymmetric rows) ---------- */

.services {
  background: var(--steel);
  color: var(--plaster);
  counter-reset: service-counter;
  overflow: hidden;
}

.service-card {
  position: relative;
  margin-bottom: 96px;
  counter-increment: service-counter;
}

.service-card::before {
  content: counter(service-counter, decimal);
  position: absolute;
  top: -64px;
  left: 0;
  z-index: 0;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 200px;
  line-height: 1;
  color: rgba(247, 242, 225, 0.045);
  pointer-events: none;
  user-select: none;
}

.service-card:last-of-type {
  margin-bottom: 0;
}

.service-index {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--accent-fill);
  margin-bottom: 12px;
  display: block;
}

.service-card-head {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 32px;
}

.service-card-head h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
  text-wrap: balance;
}

.service-card-head p {
  color: rgba(247, 242, 225, 0.75);
  font-size: 16.5px;
  max-width: 46ch;
}

.service-card-media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2.35 / 1;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(247, 242, 225, 0.08);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card-media img {
    transform: scale(1.04);
  }
}

/* ---------- Calculadora ---------- */

.calc-section {
  position: relative;
  background:
    radial-gradient(ellipse 900px 520px at 85% -10%, rgba(255, 255, 255, 0.28), transparent 62%),
    var(--accent-fill);
  color: var(--steel);
  overflow: hidden;
}

.calc-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.calc-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.calc-intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--steel);
  text-wrap: balance;
}

.calc-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(23, 24, 27, 0.8);
}

.calc-trust svg {
  width: 20px;
  height: 20px;
  color: var(--steel);
  flex-shrink: 0;
  margin-top: 1px;
}

.calc-card {
  background: var(--steel);
  border: 1px solid rgba(247, 242, 225, 0.1);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 30px 60px -28px rgba(23, 24, 27, 0.55);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 6px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(247, 242, 225, 0.82);
}

.calc-field select,
.calc-field input {
  background: rgba(247, 242, 225, 0.06);
  border: 1px solid rgba(247, 242, 225, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--plaster);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  width: 100%;
}

.calc-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eac25a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.calc-field input::placeholder {
  color: rgba(247, 242, 225, 0.55);
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--accent-fill);
}

.calc-help {
  margin: 14px 0 22px;
}

.calc-help summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-fill);
}

.calc-help summary::-webkit-details-marker {
  display: none;
}

.calc-help summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.calc-help[open] summary svg {
  transform: rotate(180deg);
}

.calc-help-body {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(247, 242, 225, 0.05);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 242, 225, 0.82);
}

.calc-help-body b {
  color: var(--plaster);
}

.calc-result {
  border: 1px solid rgba(234, 194, 90, 0.3);
  background: rgba(234, 194, 90, 0.07);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 26px;
}

.calc-result-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 242, 225, 0.7);
  margin-bottom: 6px;
  transition: opacity 0.12s ease-out;
}

.calc-result-value {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--accent-fill);
  line-height: 1.1;
}

.calc-result-note {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(247, 242, 225, 0.68);
}

.calc-divider {
  border: none;
  border-top: 1px solid rgba(247, 242, 225, 0.1);
  margin: 26px 0;
}

.calc-email-lead {
  font-size: 14px;
  color: rgba(247, 242, 225, 0.78);
  margin: 0 0 12px;
}

.calc-email-lead .opt {
  color: rgba(247, 242, 225, 0.62);
  font-weight: 400;
}

.calc-email-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.calc-email-row input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  background: rgba(247, 242, 225, 0.06);
  border: 1px solid rgba(247, 242, 225, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--plaster);
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

.calc-email-row input::placeholder {
  color: rgba(247, 242, 225, 0.55);
}

.calc-email-row input:focus {
  outline: none;
  border-color: var(--accent-fill);
}

.calc-btn-outline {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(247, 242, 225, 0.25);
  color: var(--plaster);
  border-radius: var(--radius);
  padding: 0 18px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.calc-btn-outline:hover {
  border-color: var(--accent-fill);
  color: var(--accent-fill);
}

.calc-send-note {
  font-size: 12.5px;
  margin: 0 0 12px;
  min-height: 1px;
}

.calc-send-note.ok { color: #8fbf7a; }
.calc-send-note.err { color: #e0897f; }

.calc-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13.5px;
  color: rgba(247, 242, 225, 0.72);
  line-height: 1.5;
  cursor: pointer;
}

.calc-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--accent-fill);
}

.calc-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 225, 0.1);
  text-align: center;
}

.calc-cta p {
  font-size: 14.5px;
  color: rgba(247, 242, 225, 0.78);
  margin: 0 0 14px;
}

/* ---------- About ---------- */

.about {
  background: var(--plaster);
  color: var(--charcoal);
}

.about .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 34px 60px -30px rgba(23, 24, 27, 0.5);
  border: 1px solid rgba(23, 24, 27, 0.08);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-body h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  text-wrap: balance;
}

.about-body p {
  color: var(--charcoal-soft);
  font-size: 17px;
  max-width: 62ch;
}

.about-points {
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.about-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
  text-decoration: underline;
  text-decoration-color: rgba(23, 24, 27, 0.3);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.social-link:hover {
  color: var(--charcoal);
  text-decoration-color: var(--charcoal);
}

/* ---------- Gallery ---------- */

.gallery {
  background: var(--steel);
  color: var(--plaster);
}

.gallery .section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-grid a {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(247, 242, 225, 0.08);
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(to top, rgba(15, 16, 18, 0.82), transparent);
  color: var(--plaster);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-grid a:hover img {
    transform: scale(1.04);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 16, 18, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0s linear 0.2s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-out;
}

.lightbox figure {
  margin: 0;
  max-width: min(92vw, 720px);
  transform: scale(0.97);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox.is-open figure {
  transform: scale(1);
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius);
}

.lightbox figcaption {
  margin-top: 14px;
  text-align: center;
  color: rgba(247, 242, 225, 0.85);
  font-size: 14.5px;
}

.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 242, 225, 0.25);
  border-radius: 50%;
  background: rgba(23, 24, 27, 0.7);
  color: var(--plaster);
  cursor: pointer;
  transition: transform 0.16s ease-out, background-color 0.2s ease;
}

.lightbox button:active {
  transform: scale(0.94);
}

.lightbox button svg {
  width: 22px;
  height: 22px;
}

.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox-next { right: 16px; top: 50%; margin-top: -24px; }

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox figure {
    transition: none;
  }
}

/* ---------- Reviews ---------- */

.reviews {
  background: var(--plaster-dim);
  color: var(--charcoal);
}

.reviews .section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-wrap: balance;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fffdf6;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .review-card:hover {
    transform: translateY(-4px);
  }
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent);
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-stars .star-empty {
  color: rgba(23, 24, 27, 0.25);
}

.review-card p.quote {
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 22px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 16px;
}

.review-author p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.review-author p span {
  display: block;
  font-weight: 400;
  color: var(--grey);
  font-size: 13.5px;
  margin-top: 2px;
}

/* ---------- Zona ---------- */

.zona {
  background: var(--stone);
  text-align: center;
}

.zona .wrap {
  max-width: 720px;
}

.zona h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.zona p {
  font-size: 17px;
  color: var(--charcoal-soft);
}

/* ---------- Contact ---------- */

.contact {
  background: var(--steel);
  color: var(--plaster);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(234, 194, 90, 0.22), transparent 55%);
  pointer-events: none;
}

.contact .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact .wrap > * {
  min-width: 0;
}

.contact-intro h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 16px;
  text-wrap: balance;
}

.contact-intro p {
  font-size: 17px;
  color: rgba(241, 238, 231, 0.75);
  margin-bottom: 28px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.contact-direct a {
  font-weight: 700;
  color: var(--plaster);
  text-decoration: underline;
  text-decoration-color: rgba(241, 238, 231, 0.3);
  text-underline-offset: 6px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
}

.contact-direct a:hover {
  text-decoration-color: var(--plaster);
}

.contact-form {
  background: var(--steel-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(241, 238, 231, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(241, 238, 231, 0.82);
}

.form-field label .opt {
  font-weight: 400;
  color: rgba(241, 238, 231, 0.62);
}

.form-field input,
.form-field textarea {
  background: rgba(241, 238, 231, 0.06);
  border: 1px solid rgba(241, 238, 231, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--plaster);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(241, 238, 231, 0.55);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-fill);
  background: rgba(241, 238, 231, 0.09);
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(241, 238, 231, 0.75);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.form-note.is-visible {
  opacity: 1;
  max-height: 60px;
  margin-top: 14px;
}

.form-alt {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 238, 231, 0.12);
  text-align: center;
}

.form-alt p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(241, 238, 231, 0.75);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .btn-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-2px);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--steel);
  color: rgba(241, 238, 231, 0.65);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(241, 238, 231, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(241, 238, 231, 0.1);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--plaster);
}

.footer-logo .pro {
  color: var(--accent);
}

.footer-tag {
  font-size: 14px;
  margin-top: 8px;
  color: rgba(241, 238, 231, 0.72);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(241, 238, 231, 0.65);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14.5px;
  margin-bottom: 8px;
  color: rgba(241, 238, 231, 0.8);
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: #fff;
  }
}

@media (pointer: coarse) {
  .footer-col a,
  .footer-bottom-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 0;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(241, 238, 231, 0.62);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: rgba(241, 238, 231, 0.75);
}

/* ---------- Legal pages ---------- */

.legal-hero {
  background: var(--steel);
  color: var(--plaster);
  padding: 156px 0 56px;
}

.legal-hero .wrap {
  max-width: 760px;
}

.legal-hero .eyebrow {
  color: var(--accent-fill);
}

.legal-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 0;
}

.legal-content {
  background: var(--plaster);
  padding: 56px 0 110px;
}

.legal-content .wrap {
  max-width: 760px;
}

.legal-updated {
  color: var(--grey);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 21px;
  margin-top: 42px;
  margin-bottom: 14px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--charcoal-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 1em;
  padding-left: 22px;
}

.legal-content li {
  color: var(--charcoal-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: #7a5510;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-placeholder {
  background: var(--accent-tint);
  color: #7a5510;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}

/* ---------- Chat widget ---------- */

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--steel-soft);
  color: var(--accent-fill);
  border: 1px solid rgba(247, 242, 225, 0.15);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .chat-toggle:hover {
    transform: translateY(-3px);
  }
}

.chat-toggle:active {
  transform: scale(0.95);
}

.chat-toggle.is-open {
  background: var(--accent-fill);
  color: var(--charcoal);
}

.chat-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-fill);
  border: 2px solid var(--steel-soft);
}

.chat-badge::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--accent-fill);
  opacity: 0.55;
  animation: chat-badge-pulse 2.2s ease-out infinite;
}

.chat-toggle.seen .chat-badge {
  display: none;
}

@keyframes chat-badge-pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-badge::after {
    animation: none;
    opacity: 0;
  }
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
}

.chat-panel {
  display: none;
  width: 340px;
  max-width: calc(100vw - 44px);
  max-height: 460px;
  background: var(--steel-soft);
  border: 1px solid rgba(247, 242, 225, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transform-origin: bottom right;
  transition: opacity 0.18s ease-out, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), display 0.2s allow-discrete;
}

.chat-panel.is-open {
  display: flex;
  opacity: 1;
  transform: none;
}

@starting-style {
  .chat-panel.is-open {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel {
    transition: none;
  }
}

.chat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(247, 242, 225, 0.1);
}

.chat-panel-head strong {
  display: block;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 900;
  color: var(--plaster);
  font-size: 15px;
}

.chat-panel-head span {
  display: block;
  font-size: 12.5px;
  color: rgba(247, 242, 225, 0.7);
  margin-top: 2px;
}

.chat-close {
  background: none;
  border: none;
  color: rgba(247, 242, 225, 0.7);
  cursor: pointer;
  padding: 13px;
  margin: -13px -13px -13px 0;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.16s ease-out;
}

.chat-close:active {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .chat-close:hover {
    color: var(--plaster);
  }
}

.chat-close svg {
  width: 18px;
  height: 18px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  max-height: 300px;
}

.chat-msg {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 13px;
  border-radius: 12px;
  max-width: 88%;
}

.chat-msg.bot {
  background: rgba(247, 242, 225, 0.06);
  color: rgba(247, 242, 225, 0.88);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--accent-fill);
  color: var(--charcoal);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 242, 225, 0.5);
  animation: chat-blink 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(247, 242, 225, 0.1);
  background: rgba(23, 24, 27, 0.3);
}

.chat-input-row input {
  flex: 1;
  min-width: 0;
  background: rgba(247, 242, 225, 0.06);
  border: 1px solid rgba(247, 242, 225, 0.15);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--plaster);
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
}

.chat-input-row input::placeholder {
  color: rgba(247, 242, 225, 0.4);
}

.chat-input-row input:focus {
  outline: none;
  border-color: var(--accent-fill);
}

.chat-input-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--charcoal);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.chat-input-row button:hover {
  background: var(--accent-fill-hover);
}

.chat-input-row button svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .chat-widget {
    right: 16px;
    bottom: 16px;
  }
  .chat-panel {
    width: calc(100vw - 32px);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .feature-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    margin: 0 -24px;
    padding: 4px 24px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .about .wrap {
    grid-template-columns: 1fr;
  }
  .about-media {
    max-width: 420px;
    margin: 0 auto;
  }
  .service-card::before {
    font-size: 120px;
    top: -36px;
  }
  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  section {
    padding: 68px 0;
  }
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--steel);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(247, 242, 225, 0.1);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(247, 242, 225, 0.1);
    color: rgba(247, 242, 225, 0.8);
  }
  .site-header .wrap {
    padding: 0 16px;
  }
  .logo {
    font-size: 18px;
  }
  .header-cta {
    gap: 8px;
  }
  .header-cta .btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12.5px;
    letter-spacing: -0.01em;
  }
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
  }
  .service-card-media {
    aspect-ratio: 16 / 10;
  }
  .calc-btn-outline {
    min-height: 44px;
  }
  .hero {
    padding-top: 118px;
    min-height: 86vh;
    min-height: 86dvh;
  }
  .hero-inner {
    padding-bottom: 24px;
  }
  .hero-media-bg img {
    object-position: 70% center;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .hero .eyebrow::after {
    display: none;
  }
  .h1-line-1,
  .h1-line-2 {
    font-size: clamp(1.65rem, calc(9.8vw - 4.7px), 2.6rem);
    white-space: nowrap;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .feature-item {
    border-left: none;
    padding-left: 0;
  }
  .gallery-grid {
    columns: 2;
    column-gap: 10px;
  }
  .gallery-grid a {
    margin-bottom: 10px;
  }
  .gallery-cap {
    padding: 28px 10px 10px;
    font-size: 12.5px;
  }
  .review-card {
    flex-basis: 86%;
  }
  .services-head {
    padding: 36px 24px;
    min-height: 260px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
  .calc-row {
    grid-template-columns: 1fr;
  }
  .calc-email-row {
    flex-direction: column;
  }
  .calc-btn-outline {
    padding: 12px 18px;
  }
}
