/* ==========================================================================
   Centria — Sistema de Diseño Clínico & Bienestar
   Paleta fiel a identidad original: Verde bosque, Oliva, Crema, Arena y Terracota
   ========================================================================== */

:root {
  --bg-cream: #F7F3EA;
  --bg-sand: #EFE7DD;
  --bg-sand-soft: #F3ECE2;
  --bg-white: #FFFFFF;

  --green-deep: #1E3323;
  --green-deep-90: rgba(30, 51, 35, 0.9);
  --green-olive: #566436;
  --green-olive-hover: #45522A;
  --green-olive-soft: rgba(86, 100, 54, 0.12);

  --terracotta: #8A6343;
  --terracotta-hover: #724F34;
  --terracotta-soft: rgba(138, 99, 67, 0.12);

  --text-main: #223024;
  --text-muted: #566258;
  --text-light: #E8E3D8;

  --border-soft: rgba(30, 51, 35, 0.11);
  --border-strong: rgba(30, 51, 35, 0.2);

  --shadow-sm: 0 6px 20px rgba(30, 51, 35, 0.05);
  --shadow-md: 0 16px 42px rgba(30, 51, 35, 0.08);
  --shadow-lg: 0 24px 60px rgba(30, 51, 35, 0.12);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --nav-height: 78px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.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;
}

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

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background-color: var(--terracotta);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.18;
  color: var(--green-deep);
  text-transform: uppercase;
}

.section-title strong {
  font-weight: 700;
}

.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
  max-width: 64ch;
}

/* Signature leaf divider */
.leaf-divider {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--terracotta);
}

.leaf-divider span {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
  opacity: 0.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--green-olive);
  color: var(--bg-white);
  box-shadow: 0 10px 26px rgba(86, 100, 54, 0.25);
}

.btn-primary:hover {
  background-color: var(--green-olive-hover);
  box-shadow: 0 14px 32px rgba(86, 100, 54, 0.32);
}

.btn-terracotta {
  background-color: var(--terracotta);
  color: var(--bg-white);
  box-shadow: 0 10px 26px rgba(138, 99, 67, 0.24);
}

.btn-terracotta:hover {
  background-color: var(--terracotta-hover);
  box-shadow: 0 14px 32px rgba(138, 99, 67, 0.32);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-deep);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: rgba(30, 51, 35, 0.05);
  border-color: var(--green-deep);
}

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

.btn-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.38);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(247, 243, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background-color: rgba(247, 243, 234, 0.96);
  box-shadow: 0 8px 28px rgba(30, 51, 35, 0.07);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

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

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-deep);
  padding-block: 6px;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--terracotta);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-white);
  color: var(--green-deep);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  z-index: 99;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--green-deep);
}

.mobile-menu-list a:hover,
.mobile-menu-list a.is-active {
  background-color: var(--bg-sand);
  color: var(--terracotta);
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(540px, 78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-cream);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 36%;
}

/* Soft cream veil over left side ensures crisp readability and hides baked corner watermark cleanly */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 48%, rgba(247, 243, 234, 0.98) 0%, rgba(247, 243, 234, 0.92) 34%, rgba(247, 243, 234, 0) 68%),
    linear-gradient(90deg, #F7F3EA 0%, #F7F3EA 31%, rgba(247, 243, 234, 0.88) 47%, rgba(247, 243, 234, 0.25) 66%, rgba(247, 243, 234, 0.04) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 72px;
  max-width: 560px;
}

.hero-eyebrow {
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.12;
  color: var(--green-deep);
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  font-weight: 500;
}

.hero-divider {
  margin-block: 22px 16px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1.3;
  margin-bottom: 30px;
}

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

.hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-item svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding-block: clamp(68px, 8vw, 108px);
}

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

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

.section-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

.section-header.is-centered {
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   ¿Qué hacemos? (Services)
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 48px;
}

.services-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.services-copy p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.services-copy strong {
  color: var(--green-deep);
  font-weight: 600;
}

.services-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-sand);
  aspect-ratio: 16 / 10;
}

.services-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.services-photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background-color: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: 0.03em;
}

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

.pillar-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(138, 99, 67, 0.35);
}

.pillar-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  border: 1.5px solid rgba(30, 51, 35, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   4-Stage Clinical Roadmap ("Tu camino hacia el bienestar y la movilidad")
   ========================================================================== */
.roadmap-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
}

.roadmap-subtitle strong {
  color: var(--terracotta);
  font-weight: 700;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.stage-card {
  position: relative;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 51, 35, 0.25);
}

.stage-card.is-final {
  background: linear-gradient(180deg, #FAF6EE 0%, #F4EAE0 100%);
  border-color: rgba(138, 99, 67, 0.28);
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--green-deep);
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stage-card.is-final .stage-number {
  background-color: var(--terracotta);
}

.stage-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 51, 35, 0.22);
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}

.stage-card.is-final .stage-icon {
  border-color: rgba(138, 99, 67, 0.35);
  color: var(--terracotta);
}

.stage-heading {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--green-deep);
  min-height: 2.7em;
}

.stage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.stage-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.stage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green-deep);
}

.stage-list strong {
  color: var(--green-deep);
  font-weight: 600;
}

.stage-list .brand-accent {
  color: var(--terracotta);
  font-weight: 600;
}

.stage-milestone {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}

.stage-milestone-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.stage-card.is-final .stage-milestone-label {
  color: var(--terracotta);
}

.stage-milestone p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Progress track bar below cards on desktop */
.roadmap-track {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  position: relative;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-deep) 0%, var(--green-deep) 68%, var(--terracotta) 100%);
  z-index: 0;
}

.roadmap-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--green-deep);
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 1.5px var(--green-deep);
  margin-inline: auto;
}

.roadmap-dot.is-final {
  background-color: var(--terracotta);
  box-shadow: 0 0 0 1.5px var(--terracotta);
}

/* ==========================================================================
   Team Banner + 3D Wedges Spotlight (Homepage)
   ========================================================================== */
.team-banner {
  background-color: var(--green-deep);
  color: var(--bg-cream);
  padding-block: 44px;
}

.team-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.team-banner-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-banner-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D2B396;
  font-weight: 600;
}

.team-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--bg-white);
  line-height: 1.2;
}

.wedges-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.wedges-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-sand);
}

.wedges-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wedges-spotlight:hover .wedges-preview img {
  transform: scale(1.03);
}

.wedges-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(30, 51, 35, 0.88);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wedges-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wedges-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-cream);
  border: 1px solid var(--border-soft);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green-deep);
}

.spec-pill strong {
  color: var(--terracotta);
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4.5vw, 48px);
  align-items: stretch;
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  border: 1px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}

a.contact-item:hover {
  border-color: rgba(138, 99, 67, 0.35);
  background-color: #F4EFE4;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-soft);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.4;
}

.contact-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  min-height: 360px;
  background-color: var(--bg-sand);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ==========================================================================
   Subpage: Cuñas 3D (/cunas-3d/)
   ========================================================================== */
.subpage-hero {
  padding-block: 28px 68px;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 18px;
  transition: color var(--transition), transform var(--transition);
}

.breadcrumb-back:hover {
  color: var(--terracotta);
  transform: translateX(-3px);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--green-deep);
}

.product-title strong {
  font-weight: 700;
}

.product-description {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.product-description strong {
  color: var(--green-deep);
  font-weight: 600;
}

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

.spec-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.spec-card-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.spec-card-range {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.15;
}

.spec-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Interactive Media Viewer on /cunas-3d/ */
.media-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #1A241C;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.media-stage video,
.media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stage-item {
  display: none;
  width: 100%;
  height: 100%;
}

.media-stage-item.is-active {
  display: block;
}

.media-caption-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-inline: 4px;
}

.media-caption-bar::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--terracotta);
  flex-shrink: 0;
}

.media-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.media-thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-sand);
  opacity: 0.72;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.media-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.media-thumb.is-active {
  opacity: 1;
  border-color: var(--terracotta);
  box-shadow: 0 6px 16px rgba(138, 99, 67, 0.22);
}

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

.thumb-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(30, 51, 35, 0.56);
  color: var(--bg-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fast-note-box {
  background-color: var(--bg-sand-soft);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.fast-note-box strong {
  color: var(--green-deep);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--green-deep);
  color: var(--text-light);
  padding-block: 48px 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bg-white);
  line-height: 1;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(232, 227, 216, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(232, 227, 216, 0.86);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #DFC0A3;
}

.footer-bottom {
  padding-top: 24px;
  padding-right: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(232, 227, 216, 0.72);
}

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

.footer-contacts a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--green-olive);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(30, 51, 35, 0.28);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  background-color: var(--green-olive-hover);
  box-shadow: 0 16px 36px rgba(30, 51, 35, 0.36);
}

/* ==========================================================================
   Subtle Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-track {
    display: none;
  }
  .services-layout,
  .wedges-spotlight,
  .contact-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }
  .hero-media::after {
    background: linear-gradient(90deg, #F7F3EA 0%, rgba(247, 243, 234, 0.94) 44%, rgba(247, 243, 234, 0.45) 75%, rgba(247, 243, 234, 0.1) 100%);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 70px;
  }
  .brand-logo {
    height: 42px;
  }
  .hero {
    min-height: auto;
    flex-direction: column-reverse;
  }
  .hero-media {
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
  }
  .hero-media img {
    object-position: 100% 42%;
    transform: scale(1.38);
    transform-origin: 96% 48%;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(247, 243, 234, 0.04) 52%, #F7F3EA 100%);
  }
  .site-footer {
    padding-bottom: 84px;
  }
  .footer-bottom {
    padding-right: 0;
  }
  .hero-content {
    padding-block: 36px 48px;
    max-width: 100%;
  }
  .roadmap-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .stage-heading {
    min-height: auto;
  }
  .media-thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
