/* ==========================================================================
   FABIÁN SLEZAK · LUTHIER (BARILOCHE, PATAGONIA)
   Estilos Principales - Paleta Maderas Nobles & Estética Lutería de Autor
   ========================================================================== */

:root {
  --wood-dark: #120c08;
  --wood-ebony: #1a1410;
  --wood-walnut: #2a1f18;
  --wood-mahogany: #42251a;
  --wood-amber: #c88133;
  --wood-amber-light: #e49f4c;
  --wood-gold: #d4af37;
  --wood-spruce: #f9f5ec;
  --wood-cream: #f4ece1;
  --wood-bone: #ede4d3;
  --wood-muted: #9c8e82;
  --wood-border: rgba(200, 129, 51, 0.25);
  
  --bg-primary: #120d09;
  --bg-secondary: #1b1510;
  --bg-card: #221a13;
  --bg-card-hover: #2c221a;
  --text-main: #f5eedf;
  --text-muted: #b5a494;
  --text-dim: #7d6f62;

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-warm: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(200, 129, 51, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #251a13 0%, #120d09 70%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   TIPOGRAFÍA Y TÍTULOS
   ========================================================================== */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--wood-cream);
  letter-spacing: 0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #faebd7 0%, #e2a85c 60%, #b87528 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-amber-light);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tagline::before, .tagline::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--wood-amber);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0.75rem 0 1rem 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVBAR & HEADER PRINCIPAL
   ========================================================================== */
section[id] {
  scroll-margin-top: 85px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 13, 9, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 129, 51, 0.2);
  height: 74px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--wood-amber);
  object-fit: cover;
  transition: var(--transition);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
  border-color: var(--wood-gold);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--wood-spruce);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-amber-light);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--wood-amber-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--wood-amber);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.35);
  color: #f06292;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

.nav-social-btn:hover {
  background: #e1306c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  background: #25d366;
  color: #0b2e13;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav-wa:hover {
  background: #20ba59;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: rgba(42, 31, 24, 0.7);
  border: 1px solid var(--wood-border);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  border-color: var(--wood-amber);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--wood-spruce);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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


/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, #c88133 0%, #aa641c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(200, 129, 51, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #db9345 0%, #be7322 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 129, 51, 0.5);
}

.btn-outline {
  border: 1px solid var(--wood-amber);
  color: var(--wood-cream);
  background: rgba(34, 26, 19, 0.6);
}

.btn-outline:hover {
  background: var(--wood-amber);
  color: #1a1410;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #0b2e13;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 13, 9, 0.5) 0%,
    rgba(18, 13, 9, 0.8) 75%,
    var(--bg-primary) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 31, 24, 0.85);
  border: 1px solid var(--wood-border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--wood-spruce);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.location-badge span {
  color: var(--wood-amber-light);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--wood-bone);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid rgba(200, 129, 51, 0.2);
  padding-top: 2rem;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--wood-gold);
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   ABOUT / STORY SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--wood-border);
  transition: var(--transition);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--wood-amber);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-warm);
  max-width: 260px;
}

.about-badge-card h4 {
  color: var(--wood-amber-light);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.about-badge-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin: 0.8rem 0 1.5rem 0;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  font-size: 1.02rem;
}

.features-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--wood-spruce);
  font-size: 0.96rem;
}

.features-list svg {
  color: var(--wood-amber);
  flex-shrink: 0;
}

/* ==========================================================================
   CATALOG / INSTRUMENTS SECTION
   ========================================================================== */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--wood-border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--wood-amber);
  color: #120c08;
  border-color: var(--wood-amber);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.2rem;
}

.instrument-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 129, 51, 0.2);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.instrument-card:hover {
  transform: translateY(-6px);
  border-color: var(--wood-amber);
  box-shadow: var(--shadow-warm), var(--shadow-glow);
}

.card-img-box {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}

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

.instrument-card:hover .card-img-box img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 13, 9, 0.85);
  color: var(--wood-amber-light);
  border: 1px solid var(--wood-border);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.card-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transition: var(--transition);
}

.instrument-card:hover .card-zoom-hint {
  opacity: 1;
}

.card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem 0;
}

.spec-pill {
  font-size: 0.75rem;
  background: rgba(42, 31, 24, 0.8);
  border: 1px solid rgba(200, 129, 51, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--wood-bone);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(200, 129, 51, 0.15);
  padding-top: 1.2rem;
}

.card-status {
  font-size: 0.8rem;
  color: var(--wood-gold);
  font-weight: 600;
}

/* ==========================================================================
   TONEWOOD EXPLORER & AUDIO SYNTHESIZER
   ========================================================================== */
.tonewood-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #17110c 100%);
  border-top: 1px solid rgba(200, 129, 51, 0.15);
  border-bottom: 1px solid rgba(200, 129, 51, 0.15);
}

.tonewood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.wood-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 129, 51, 0.2);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.wood-card:hover, .wood-card.active {
  border-color: var(--wood-amber);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.wood-origin {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--wood-amber);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.wood-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.acoustic-metrics {
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-bar-bg {
  width: 130px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #aa641c, #d4af37);
  border-radius: 3px;
}

.wood-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.btn-play-wood {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(200, 129, 51, 0.12);
  color: var(--wood-amber-light);
  border: 1px solid var(--wood-border);
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-play-wood:hover {
  background: var(--wood-amber);
  color: #120c08;
}

/* ==========================================================================
   SERVICES & TALLER EN BARILOCHE
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 129, 51, 0.15);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--wood-amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(200, 129, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-amber-light);
  margin-bottom: 1.4rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE CUSTOM GUITAR BUILDER / ESTIMATOR
   ========================================================================== */
.builder-section {
  background: radial-gradient(circle at 50% 50%, #201711 0%, #120d09 100%);
  border-top: 1px solid rgba(200, 129, 51, 0.2);
}

.builder-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--wood-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-warm);
}

.builder-step {
  margin-bottom: 2rem;
}

.builder-step-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wood-amber-light);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.builder-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.builder-option-btn {
  background: rgba(18, 13, 9, 0.6);
  border: 1px solid rgba(200, 129, 51, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  text-align: left;
  transition: var(--transition);
  color: var(--wood-spruce);
}

.builder-option-btn:hover {
  border-color: var(--wood-amber);
}

.builder-option-btn.selected {
  background: rgba(200, 129, 51, 0.2);
  border-color: var(--wood-gold);
  box-shadow: 0 0 15px rgba(200, 129, 51, 0.2);
}

.builder-option-btn .opt-name {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.builder-option-btn .opt-detail {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Builder Summary Box */
.builder-summary-box {
  background: #18120d;
  border: 1px solid var(--wood-amber);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.builder-summary-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(200, 129, 51, 0.2);
  padding-bottom: 0.8rem;
}

.summary-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.summary-item .label {
  color: var(--text-muted);
}

.summary-item .value {
  color: var(--wood-spruce);
  font-weight: 600;
  text-align: right;
}

.lead-time-notice {
  background: rgba(200, 129, 51, 0.1);
  border-left: 3px solid var(--wood-amber);
  padding: 0.8rem;
  font-size: 0.8rem;
  color: var(--wood-bone);
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   UBICACIÓN / MAPA & TALLER EN LAS VICTORIAS
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.location-card-info {
  background: var(--bg-card);
  border: 1px solid var(--wood-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.location-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.location-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 129, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-amber);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.location-item-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.location-item-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--wood-border);
  background: var(--bg-card);
  position: relative;
  box-shadow: var(--shadow-warm);
}

.map-mockup-wrapper {
  position: relative;
  height: 380px;
  background: #171f26;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.map-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(#c88133 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-pin {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(200, 129, 51, 0.2);
  border: 2px solid var(--wood-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(200, 129, 51, 0.5);
  animation: pulsePin 2.5s infinite;
}

@keyframes pulsePin {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 129, 51, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 18px rgba(200, 129, 51, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 129, 51, 0); }
}

.map-title {
  position: relative;
  z-index: 2;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.map-subtitle {
  position: relative;
  z-index: 2;
  color: var(--wood-spruce);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0c0805;
  border-top: 1px solid rgba(200, 129, 51, 0.2);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 380px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--wood-amber-light);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--wood-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   MODAL LIGHTBOX (<dialog closedby="any">)
   Cumple las directrices de modern-web-guidance
   ========================================================================== */
dialog#imageModal {
  margin: auto;
  padding: 0;
  border: 1px solid var(--wood-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

dialog#imageModal::backdrop {
  background-color: rgba(10, 7, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 880px;
}

.modal-img-container {
  max-height: 65vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-container img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.modal-info {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--wood-amber);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE NAVIGATION
   ========================================================================== */
@media (max-width: 1080px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: rgba(18, 13, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--wood-amber);
    padding: 1.8rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(200, 129, 51, 0.12);
    display: flex;
    align-items: center;
    color: var(--wood-spruce);
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(200, 129, 51, 0.12);
    color: var(--wood-amber-light);
  }

  .nav-link::after {
    display: none;
  }

  .about-grid, .location-grid, .builder-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 680px) {
  .site-nav {
    height: 68px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .btn-nav-wa span {
    display: none;
  }

  .btn-nav-wa {
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
  }

  .hero-section {
    min-height: auto;
    padding: 2.5rem 0 3.5rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .builder-container {
    padding: 1.4rem;
  }

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