:root {
  --bg-cream: #f5f0e8;
  --bg-sand: #eae1d3;
  --surface-card: #fcf9f4;
  --surface-dark: #14110f;
  --surface-espresso: #1f1a16;
  --brand-walnut: #7a4b2a;
  --brand-walnut-hover: #5e381e;
  --brand-brass: #c59b5f;
  --brand-whatsapp: #1e8e4e;
  --brand-whatsapp-hover: #17723e;
  --text-primary: #171411;
  --text-secondary: #5e554b;
  --text-on-dark: #f5f0e8;
  --text-muted-dark: #b5aa9c;
  --border-subtle: #dfd5c7;
  --border-dark: #332b24;
  --shadow-card: 0 18px 44px rgba(20, 17, 15, 0.09);
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

.section,
[id] {
  scroll-margin-top: 92px;
}

body.modal-open {
  overflow: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-cream);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: pageReveal 0.4s ease-out;
}

@keyframes pageReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Top Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-walnut), var(--brand-brass));
  z-index: 90;
  transition: width 0.08s linear;
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  body,
  [data-reveal] {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

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

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

.container {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--surface-dark);
  color: var(--brand-brass);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--border-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background-color: var(--brand-walnut);
  color: var(--text-on-dark);
}

.btn--primary:hover {
  background-color: var(--brand-walnut-hover);
  box-shadow: 0 10px 24px rgba(122, 75, 42, 0.28);
}

.btn--whatsapp {
  background-color: var(--brand-whatsapp);
  color: #ffffff;
}

.btn--whatsapp:hover {
  background-color: var(--brand-whatsapp-hover);
  box-shadow: 0 10px 24px rgba(30, 142, 78, 0.28);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--brand-walnut);
}

.btn--outline:hover {
  background-color: var(--bg-sand);
}

.btn--brass-outline {
  background-color: rgba(20, 17, 15, 0.45);
  color: var(--text-on-dark);
  border-color: var(--brand-brass);
  backdrop-filter: blur(6px);
}

.btn--brass-outline:hover {
  background-color: rgba(197, 155, 95, 0.2);
}

/* Navbar (shared across all pages) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(20, 17, 15, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.navbar--overlay {
  position: relative;
  background-color: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.navbar--overlay.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(20, 17, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}

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

.brand__badge {
  display: inline-flex;
  padding: 6px;
  border-radius: 10px;
  background-color: var(--bg-cream);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-on-dark);
}

.brand__loc {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--brand-brass);
}

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

.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.86);
  padding-block: 4px;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--brand-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.is-current {
  color: var(--brand-brass);
}

.nav__link.is-current::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(197, 155, 95, 0.45);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 22px;
  background-color: var(--surface-dark);
  border-top: 1px solid var(--border-dark);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__link {
  padding-block: 6px;
  font-weight: 600;
  color: var(--text-on-dark);
}

.mobile-menu__link.is-current {
  color: var(--brand-brass);
}

/* Full-Bleed Hero (Home) */
.hero-editorial {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}

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

.hero-editorial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.hero-editorial:hover .hero-editorial__bg img {
  transform: scale(1.06);
}

.hero-editorial__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 17, 15, 0.92) 0%,
    rgba(20, 17, 15, 0.70) 52%,
    rgba(20, 17, 15, 0.34) 100%
  );
}

.hero-editorial__content {
  position: relative;
  z-index: 10;
  padding-block: 48px 36px;
}

.heritage-stamp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.heritage-stamp__crest {
  display: inline-flex;
  padding: 6px;
  border-radius: 14px;
  background-color: var(--bg-cream);
}

.heritage-stamp__text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-brass);
}

.hero-editorial__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 800px;
}

.hero-editorial__title em {
  font-style: italic;
  color: #e9c996;
  font-weight: 500;
}

.hero-editorial__lead {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.88);
  max-width: 640px;
}

.hero-editorial__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(20, 17, 15, 0.84);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
}

.hero-index__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--text-on-dark);
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-index__item:hover {
  background-color: rgba(197, 155, 95, 0.16);
  transform: translateX(3px);
}

.hero-index__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-brass);
  letter-spacing: 0.08em;
}

.hero-index__label {
  font-size: 14px;
  font-weight: 500;
}

/* Sub-page Header Banner */
.page-banner {
  background-color: var(--surface-espresso);
  color: var(--text-on-dark);
  padding-block: 68px 60px;
  border-bottom: 1px solid var(--border-dark);
}

.page-banner__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.page-banner__title {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
}

.page-banner__lead {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted-dark);
  max-width: 620px;
}

.page-banner__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.page-banner__media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

/* Shared Sections */
.section {
  padding-block: 84px;
}

.section--sand {
  background-color: var(--bg-sand);
}

.section--obsidian {
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
}

.section--espresso {
  background-color: var(--surface-espresso);
  color: var(--text-on-dark);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.section-head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--brand-walnut);
  margin-bottom: 6px;
}

.eyebrow--brass {
  color: var(--brand-brass);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  max-width: 680px;
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-subtitle-dark {
  margin: 6px 0 0;
  color: var(--text-muted-dark);
  font-size: 15px;
}

/* Workshop / Historia Split */
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.editorial-quote {
  margin: 22px 0 18px;
  padding-left: 20px;
  border-left: 2.5px solid var(--brand-brass);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--brand-walnut);
}

.workshop-copy__body {
  margin: 0 0 26px;
  color: var(--text-secondary);
}

.blueprint-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.blueprint-card {
  padding: 12px 16px;
  border-radius: 14px;
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
}

.workshop-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item__val {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--brand-walnut);
  line-height: 1.15;
}

.stat-item__lbl {
  font-size: 13px;
  color: var(--text-secondary);
}

.workshop-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.workshop-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.workshop-photo:hover img {
  transform: scale(1.03);
}

.workshop-photo__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(20, 17, 15, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
}

.workshop-photo__badge span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-brass);
}

.workshop-photo__badge strong {
  font-size: 14px;
}

/* Faith & Dedication Card + Timeline (historia.html) */
.faith-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

.faith-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.faith-card__crest {
  padding: 8px;
  border-radius: 14px;
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
}

.faith-card__body {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}

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

.timeline-card {
  background-color: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-walnut);
}

.timeline-card__year {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-walnut);
  margin-bottom: 8px;
}

.timeline-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.timeline-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.value-card {
  background-color: var(--surface-espresso);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 28px;
  color: var(--text-on-dark);
}

.value-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-brass);
}

.value-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-dark);
}

/* Filter Tabs & Bento Grid */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--brand-walnut);
  color: var(--text-primary);
}

.filter-tab.is-active {
  background-color: var(--brand-walnut);
  border-color: var(--brand-walnut);
  color: var(--text-on-dark);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(20, 17, 15, 0.14);
}

.bento-card[hidden] {
  display: none;
}

.bento-card--span7 {
  grid-column: span 7;
}
.bento-card--span5 {
  grid-column: span 5;
}
.bento-card--span4 {
  grid-column: span 4;
}
.bento-card--span6 {
  grid-column: span 6;
}

.bento-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-cream);
  cursor: pointer;
  overflow: hidden;
}

.bento-card__media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card--span4 .bento-card__media img {
  height: 270px;
}

.bento-card__media--portrait img {
  height: 390px !important;
  object-position: center 35%;
}

.bento-card:hover .bento-card__media img {
  transform: scale(1.05);
}

.bento-card__pill-hover {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.8);
  color: var(--text-on-dark);
  font-size: 12px;
  font-weight: 600;
}

.bento-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.tag-pill {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--bg-sand);
  color: var(--brand-walnut);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.bento-card__title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.bento-card__desc {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
  flex: 1;
}

.bento-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.link-action {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-walnut);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.link-action:hover {
  text-decoration: underline;
}

/* Material Swatches */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.swatch-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 18px;
  border-radius: 14px;
  background-color: var(--surface-espresso);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.swatch-card:hover,
.swatch-card.is-selected {
  border-color: var(--brand-brass);
  transform: translateY(-3px);
}

.swatch-card__chip {
  display: block;
  width: 100%;
  height: 78px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  object-fit: cover;
}

.swatch-card__img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.swatch-card__chip--walnut {
  background: linear-gradient(135deg, #4b2e1b 0%, #6a4229 50%, #442918 100%);
}
.swatch-card__chip--oak {
  background: linear-gradient(135deg, #986332 0%, #b88048 55%, #8a572a 100%);
}
.swatch-card__chip--gloss {
  background: linear-gradient(135deg, #e7e2d8 0%, #ffffff 55%, #ded8cd 100%);
}
.swatch-card__chip--charcoal {
  background: linear-gradient(135deg, #2d2c2a 0%, #454340 60%, #262523 100%);
}
.swatch-card__chip--aluminum {
  background: linear-gradient(135deg, #878c93 0%, #bcc1c7 50%, #55595e 100%);
}
.swatch-card__chip--led {
  background: radial-gradient(circle at center, #ffe2a4 0%, #e7b868 65%, #9d7332 100%);
}

.swatch-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.swatch-card__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted-dark);
}

/* Interactive Blueprint Inspector (acabados.html) */
.blueprint-inspector {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.blueprint-stage {
  position: relative;
  background-color: var(--bg-sand);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
}

.blueprint-stage img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.hotspot-dot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: var(--brand-walnut);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 17, 15, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hotspot-dot.is-active,
.hotspot-dot:hover {
  background-color: var(--brand-brass);
  color: var(--surface-dark);
  transform: scale(1.14);
}

.hotspot-dot--1 { top: 24%; left: 32%; }
.hotspot-dot--2 { top: 48%; left: 54%; }
.hotspot-dot--3 { top: 32%; left: 74%; }
.hotspot-dot--4 { top: 68%; left: 26%; }

.hotspot-panel h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 28px;
}

.hotspot-panel p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.hotspot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-item__icon {
  font-size: 20px;
  color: var(--brand-walnut);
  transition: transform 0.25s ease;
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.faq-item__body[hidden] {
  display: none;
}

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.step-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--brand-brass);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.step-card__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Interactive Multi-Step Wizard (cotizar.html) */
.wizard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.wizard-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.wizard-step-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-sand);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wizard-step-pill.is-active {
  background-color: var(--brand-walnut);
  border-color: var(--brand-walnut);
  color: var(--text-on-dark);
}

.wizard-pane[hidden] {
  display: none;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.option-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-cream);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.option-card.is-selected {
  border-color: var(--brand-walnut);
  background-color: var(--bg-sand);
}

.option-card strong {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 4px;
}

.option-card span {
  font-size: 13px;
  color: var(--text-secondary);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.summary-card {
  background-color: var(--surface-espresso);
  color: var(--text-on-dark);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border-dark);
  position: sticky;
  top: 96px;
}

.summary-card h3 {
  margin: 6px 0 18px;
  font-family: var(--font-display);
  font-size: 24px;
}

.summary-rows {
  margin: 0 0 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 13.5px;
}

.summary-row dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-brass);
}

.summary-row dd {
  margin: 0;
  text-align: right;
  color: var(--text-on-dark);
}

/* Quote Card & Form Fields */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.quote-copy__lead {
  margin: 16px 0 20px;
  color: #ddd5cb;
  font-size: 17px;
}

.coverage-list {
  margin: 0;
  padding-left: 18px;
  color: #e6d4b8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.quote-card {
  background-color: var(--surface-card);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.quote-card__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12.5px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14.5px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--brand-walnut);
  outline-offset: 1px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.checkbox-field input {
  margin-top: 3px;
  accent-color: var(--brand-walnut);
}

.checkbox-field a {
  color: var(--brand-walnut);
  font-weight: 700;
  text-decoration: underline;
}

.form-feedback {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--brand-walnut);
  min-height: 18px;
}

/* Legal / Privacidad Page */
.legal-article {
  max-width: 860px;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 28px 0 10px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Footer */
.footer {
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-dark);
  padding-block: 42px 86px;
}

.cta-band {
  margin-top: 38px;
  padding: 28px 32px;
  border-radius: 16px;
  background-color: var(--surface-espresso);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-band h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-on-dark);
}

.cta-band p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__crest {
  display: inline-flex;
  padding: 5px;
  border-radius: 8px;
  background-color: var(--bg-cream);
}

.footer__brand div {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.footer__brand span {
  font-size: 12px;
  color: var(--text-muted-dark);
}

.footer__note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted-dark);
  max-width: 360px;
}

.footer__col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-brass);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.85);
}

.footer__col a:hover {
  color: var(--brand-brass);
  text-decoration: underline;
}

.footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted-dark);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: var(--brand-whatsapp);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(30, 142, 78, 0.35);
}

.wa-float:hover {
  background-color: var(--brand-whatsapp-hover);
}

/* Project Technical Detail Modal */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 9, 0.86);
  backdrop-filter: blur(4px);
}

.detail-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  background-color: var(--surface-card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.detail-modal__close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(252, 249, 244, 0.96);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.detail-modal__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}

.detail-modal__media img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-modal__title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
}

.detail-modal__desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.detail-specs {
  margin: 0 0 20px;
}

.detail-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
}

.detail-specs__row dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-walnut);
}

.detail-specs__row dd {
  margin: 0;
  text-align: right;
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1100px) {
  .swatches-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workshop-grid,
  .quote-grid,
  .detail-modal__grid,
  .page-banner__grid,
  .blueprint-inspector,
  .wizard-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .navbar__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .bento-card--span7,
  .bento-card--span5,
  .bento-card--span4,
  .bento-card--span6 {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 9.5px;
    letter-spacing: 0.08em;
    padding: 7px 12px;
  }

  .brand__name {
    font-size: 15.5px;
  }

  .brand__loc {
    display: none;
  }

  .section {
    padding-block: 52px;
  }

  .hero-editorial {
    min-height: 600px;
  }

  .hero-index,
  .steps-grid,
  .timeline-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .wizard-step-pill {
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .wizard-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .wizard-nav .btn {
    width: 100%;
  }

  .bento-card__media img {
    height: auto;
    aspect-ratio: 16 / 10.5;
  }

  .bento-card__media--portrait img {
    height: auto !important;
    aspect-ratio: 4 / 4.2;
  }

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

  .quote-card,
  .wizard-card,
  .faith-card,
  .legal-article,
  .detail-modal__dialog {
    padding: 20px 16px;
  }

  .cta-band {
    padding: 22px 18px;
  }
}
/* Conversion, keyboard access and narrow-screen refinements */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-brass); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 12px 20px; background: var(--surface-card); color: var(--text-primary); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.service-strip { border-bottom: 1px solid var(--border-subtle); background: var(--surface-card); }
.service-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.service-strip p { margin: 0; }
.service-strip strong, .service-strip span { display: block; }
.service-strip span, .service-strip a { font-size: .875rem; color: var(--text-secondary); }
.service-strip a { text-decoration: underline; text-underline-offset: 4px; }
.planning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.planning-lead { color: var(--text-secondary); max-width: 52ch; margin: 0 0 26px; }
.planning-note, .field-help { font-size: .875rem; color: var(--text-secondary); }
.coverage-card { border: 1px solid var(--border-subtle); padding: clamp(24px, 4vw, 42px); border-radius: var(--radius-lg); background: var(--surface-card); }
.coverage-card h3 { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; margin: 12px 0 24px; }
.coverage-card p { color: var(--text-secondary); }
.coverage-towns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.coverage-towns li { border: 1px solid var(--border-subtle); border-radius: 30px; padding: 7px 14px; font-size: .875rem; }
.contact-call { display: inline-block; font-weight: 700; color: var(--brand-walnut); padding-block: 10px; text-decoration: underline; text-underline-offset: 5px; }
.home-faq details { border-bottom: 1px solid #c9bdad; padding-block: 20px; }
.home-faq details:first-child { border-top: 1px solid #c9bdad; }
.home-faq summary { cursor: pointer; font-weight: 600; padding-right: 12px; }
.home-faq p { color: var(--text-secondary); margin-bottom: 4px; }
.field [aria-invalid="true"] { border: 2px solid #a02824; }
[data-reveal] { opacity: 1; transform: none; }
@media (max-width: 1200px) {
  .nav, .navbar__actions .btn { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 760px) {
  .planning-grid { grid-template-columns: 1fr; }
  .service-strip__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn { white-space: normal; text-align: center; }
  .hero-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand__text { min-width: 0; }
  .brand__name { font-size: .875rem; }
  .hero-editorial__lead { font-size: 1rem; }
  .heritage-stamp__text { font-size: .75rem; }
  .footer { padding-bottom: 95px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Picture wrapper transparency & media distinction */
picture { display: contents; }

.media-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.88);
  background: rgba(24, 15, 9, 0.92);
  padding: 10px 16px;
  margin: 0;
}

@media (min-width: 761px) {
  .service-strip__inner {
    padding-right: 128px;
  }
}

.workshop-photo__badge small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(251, 248, 243, 0.78);
}

/* Modal multi-photo switcher & Santos/deVOL case study blocks */
.detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.detail-gallery__thumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  border: 1.5px solid var(--border-subtle);
  background: var(--surface-card);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.detail-gallery__thumb img {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: auto;
}

.detail-gallery__thumb.is-active,
.detail-gallery__thumb:hover {
  border-color: var(--brand-walnut);
  background: var(--surface-sand);
}

.detail-case {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-sand);
  border: 1px solid var(--border-subtle);
}

.detail-case__item {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.detail-case__item strong {
  color: var(--brand-walnut);
}

/* Commercial Process & Quote Scope */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scope-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.scope-card__step {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-brass);
  margin-bottom: 8px;
}

.scope-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.scope-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Material comparison cards on acabados.html */
.material-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.material-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #f7f2ea;
}

.material-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #f4d39b;
}

.material-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(247, 242, 234, 0.86);
}

.material-disclaimer {
  margin-top: 18px;
  font-size: 0.86rem;
  color: rgba(247, 242, 234, 0.78);
  text-align: center;
}

@media (max-width: 960px) {
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .material-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }
}
