/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --cream: #F5F0E8;
  --creamlt: #fffaf1;
  --sand: #EDE5D0;
  --wood: #B8935A;
  --wood-dk: #8A6A38;
  --bark: #0D0D0A;
  --charcoal: #1A1A12;
  --white: #ffffff;
  --white-dk: #fcfaf5;
  --accent: #C9A227;
  --green: #25D366;
  --gold: #f6d052;
  --gold-dk: #7A5E0A;
  --gold-lt: #f4d684;
  --gold-on-light: #8B6200;
  --gold-glow: rgba(201, 162, 39, 0.25);
  --shadow: rgba(10, 8, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

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

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

/* ── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 98, 0, 0.2);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 24px rgba(59, 34, 16, 0.12);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo span {
  color: var(--gold-on-light);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2.5rem);
  list-style: none;
  font-size: clamp(0.65rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(13, 13, 10, 0.65);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-on-light);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--bark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #1ebe5a;
  transform: scale(1.04);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bark);
  transition: 0.3s;
  border-radius: 2px;
}

/* ── HERO ──────────────────────────────────────────────────── */
#inicio {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(15%) contrast(1.05);
}

.hero-left {
  background: var(--bark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw 6vw 8vw 8vw;
  position: relative;
  overflow: hidden;
}


.hero-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.10);
}

.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(250, 250, 245, 0.65);
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--bark);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold-lt);
  background: rgba(201, 162, 39, 0.1);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.hero-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-lt);
}

.hero-stat-l {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 245, 0.5);
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(15%) contrast(1.05);
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 43, 10, 0.25) 0%, transparent 60%);
}

.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  background: var(--white);
  border-radius: 8px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.hero-badge-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--bark);
}

.hero-badge-txt strong {
  font-size: 1.05rem;
  display: block;
  color: var(--bark);
}

.hero-badge-txt span {
  font-size: 0.88rem;
  color: #888;
  font-weight: 700;
}

/* ── BANNER MADERA ─────────────────────────────────────────── */
.madera-banner {
  background: var(--bark);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  padding: 0;
}

.madera-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 8vw;
  max-width: 100%;
}

.madera-banner-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.madera-banner-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.madera-banner-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.madera-banner-txt strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.madera-banner-txt span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.madera-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.madera-banner-cta:hover {
  background: rgba(201, 162, 39, 0.35);
}

.madera-banner-cta svg {
  width: 14px;
  height: 14px;
}



/* ── SECCIÓN GENÉRICA ──────────────────────────────────────── */
section {
  padding: 7rem 8vw;
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-on-light);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--bark);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-on-light);
}

.section-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #666;
  max-width: 560px;
}

/* ── SERVICIOS ─────────────────────────────────────────────── */
#servicios {
  background: var(--white);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}


.servicio-lista {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}

.servicio-lista li {
  font-size: 1rem;
  color: rgba(250, 250, 245, 0.686);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
  font-weight: 400;
}

.servicio-lista li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold-lt);
  font-weight: 700;
}

.servicio-card--featured .servicio-lista {
  border-top-color: rgba(201, 162, 39, 0.2);
}

.servicio-card--featured .servicio-lista li {
  color: rgba(250, 250, 245, 0.6);
}

.servicio-card--featured .servicio-lista li::before {
  color: var(--gold-lt);
}

.servicio-card--featured {
  background: #454536;
  border-color: rgba(201, 162, 39, 0.4) !important;
}

.servicio-card--featured h3 {
  color: var(--white) !important;
}

.servicio-card--featured p {
  color: rgba(250, 250, 245, 0.7) !important;
  
}

.servicio-card--featured .servicio-icon {
  background: rgba(201, 167, 53, 0.2);
}

.servicio-card--featured .servicio-icon svg {
  stroke: var(--gold-lt);
}

.servicio-card--featured::before {
  background: var(--gold);
}

.servicio-card {
  background: #39392c;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.5);
}

.servicio-card:hover::before {
  width: 100%;
}

.servicio-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.servicio-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-lt);
  fill: none;
  stroke-width: 1.6;
}

.servicio-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.servicio-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(250, 250, 245, 0.686);
  font-weight: 500;
}

/* ── PROYECTOS ─────────────────────────────────────────────── */
#proyectos {
  background: var(--white);
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.proyecto-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--sand);
}

.proyecto-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proyecto-card:hover .proyecto-thumb {
  transform: scale(1.07);
}

.proyecto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 30, 5, 0.9) 0%, rgba(40, 30, 5, 0.15) 65%, transparent 100%);
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

.proyecto-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.proyecto-overlay span {
  font-size: 0.82rem;
  color: var(--gold-lt);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.proyecto-overlay .ver-galeria {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  transition: color 0.2s;
}

.proyecto-card:hover .proyecto-overlay .ver-galeria {
  color: #fff;
}

.proyecto-overlay .ver-galeria svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

/* ── MODAL GALERÍA ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 8, 2, 0.96);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: flex;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(201, 162, 39, 0.25);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}

.modal-main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 5rem;
}

.modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  background: #333;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.modal-arrow:hover {
  background: rgba(201, 162, 39, 0.28);
}

.modal-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.modal-arrow.prev {
  left: 1rem;
}

.modal-arrow.next {
  right: 1rem;
}

.modal-thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 2rem;
  overflow-x: auto;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  justify-content: center;
}

.modal-thumbs::-webkit-scrollbar {
  height: 4px;
}

.modal-thumbs::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

.modal-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.55;
  flex-shrink: 0;
  background: #333;
}

.modal-thumb.active {
  border-color: var(--gold-lt);
  opacity: 1;
}

.modal-counter {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  padding-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

/* ── MADERA ────────────────────────────────────────────────── */
#madera {
  background: #3B2210;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

#madera .section-tag {
  color: var(--gold-lt);
}

#madera .section-title {
  color: var(--white);
}

#madera .section-sub {
  color: rgba(253, 250, 245, 0.6);
}

.madera-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 5vw 7rem 8vw;
}

.madera-foto-wrap {
  overflow: hidden;
}

.madera-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(8%) contrast(1.05);
}


  .madera-foto {
    object-position: center top; /* opcional: si quieres recortar la foto por abajo */
  }



.madera-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--wood);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.madera-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 2rem 0;
}

.madera-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.madera-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood);
  flex-shrink: 0;
  margin-top: 6px;
}

.madera-feat p {
  font-size: 0.95rem;
  color: rgba(253, 250, 245, 0.75);
  line-height: 1.5;
}

/* ── PLACAS SOLARES ────────────────────────────────────────── */
#solares {
  background: #0D1B2A;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  min-height:920px;
}

#solares .section-tag {
  color: var(--gold-lt);
}

#solares .section-title {
  color: var(--white);
}

#solares .section-title em {
  color: var(--gold-lt);
}

#solares .section-sub {
  color: rgba(250, 250, 245, 0.6);
}

.solares-foto-wrap {
  overflow: hidden;
  position: relative;
}

.solares-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(8%) contrast(1.05);
}

.solares-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 8vw 7rem 5vw;
}

.solares-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--wood);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.solares-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 2rem 0;
}

.solares-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.solares-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood);
  flex-shrink: 0;
  margin-top: 6px;
}

.solares-feat p {
  font-size: 0.95rem;
  color: rgba(253, 250, 245, 0.75);
  line-height: 1.5;
}


/* ── POR QUÉ NOSOTROS ──────────────────────────────────────── */
#nosotros {
  background: var(--white-dk);
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
  align-items: center;
}
.nosotros-img-wrap {
  position: relative;
}
.nosotros-logo-wrap {
  width: 100%;
  height: 440px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/nosotros-fondo2.jpeg');
  background-size: cover;
  background-position: center;
  position:relative;
}
.nosotros-logo {
  display:none;
  width: 55%;
  max-width: 300px;
}

.nosotros-img-deco {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 180px;
  height: 180px;
  background: var(--gold);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.7;
}
.nosotros-puntos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.nosotros-punto {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.nosotros-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-on-light);
  flex-shrink: 0;
  line-height: 1;
}
.nosotros-punto h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bark);
  margin-bottom: 0.25rem;
}
.nosotros-punto p {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.55;
}

/* ── ZONA DE TRABAJO ───────────────────────────────────────── */
#zona {
  background: var(--white);
  text-align: center;
}

#zona .section-sub {
  margin: 0 auto;
  text-align: left;
  max-width: none;
}

.zona-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}

.zona-chip {
  background: var(--sand);
  color: var(--bark);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(139, 98, 0, 0.3);
}

/* ── CONTACTO ──────────────────────────────────────────────── */
#contacto {
  background: var(--bark);
  text-align: center;
}

#contacto .section-title {
  color: var(--white);
}

#contacto .section-tag {
  color: var(--gold-lt);
}

#contacto .section-sub {
  color: rgba(250, 250, 245, 0.6);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.contacto-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.btn-wa svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-tel:hover {
  border-color: var(--gold-lt);
  background: rgba(201, 162, 39, 0.1);
}

.btn-tel svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-lt);
  fill: none;
}

/* ── TESTIMONIOS ───────────────────────────────────────────── */
#testimonios {
  background: var(--sand);
  text-align: center;
}

#testimonios .section-sub {
  max-width: 600px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonio-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  text-align: left;
  border: 1px solid rgba(139, 98, 0, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.testimonio-estrellas {
  color: gold;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.testimonio-texto {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #262626;
  flex: 1;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 98, 0, 0.12);
}

.testimonio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bark);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonio-autor strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bark);
}

.testimonio-autor span {
  font-size: 0.78rem;
  color: #999;
  font-weight: 500;
}

.testimonios-cta {
  margin-top: 2.5rem;
}

.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bark);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.btn-review:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}



/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 2.5rem 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}

.footer-logo span {
  color: var(--gold-lt);
}

footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── ENTRADA ANIMACIONES ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */





/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(245, 240, 232, 0.98);
  border-bottom: 1px solid rgba(139, 98, 0, 0.2);
  padding: 1.5rem 8vw;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 8px 24px rgba(59, 34, 16, 0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(13, 13, 10, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 98, 0, 0.15);
  position: relative;
  transition: color 0.2s;
}

.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-on-light);
  transition: width 0.25s;
}

.mobile-menu a:hover {
  color: var(--bark);
}

.mobile-menu a:hover::after {
  width: 100%;
}

/* placeholder img color */
.ph {
  background: var(--sand);
}

/* ── HAMBURGER → X ──────────────────────────────────────────── */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ── QUIÉNES SOMOS ─────────────────────────────────────────── */
#sobre-nosotros {
  scroll-margin-top: 45px;
  background: #0D0D12;
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.sn-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem 4rem;
  align-items: start;
}

.sn-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sn-texto {
  flex: 1;
}

/* stats + cards en fila compacta */
.sn-bottom {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,162,39,0.3);
  margin-top: 1rem;
}

.sn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  min-width: 140px;
}

.sn-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sn-card {
  background: rgba(78,58,22,0.4);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.sn-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(201,162,39,0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.sn-card h4 {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.sn-card p {
  font-size: 0.78rem;
  color: rgba(250,250,249,0.55);
  line-height: 1.45;
}

/* imagen fija derecha */
.sn-right {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 0;
}

.sn-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.sn-img-fija {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-img-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */

@media (min-width: 1600px) {
  #inicio {
    height: 100vh;
    min-height: unset;
    overflow: hidden;
  }
  .hero-left {
    padding: 3vw 6vw 3vw 8vw;
  }
}

@media (min-width: 1301px) {
  .sn-bottom {
    grid-template-columns: auto 1fr;
  }
}

@media (min-width: 901px) {
  #madera {
    max-height: 930px;
    align-items: start;
  }
  .madera-foto-wrap {
    height: 930px;
  }
  #inicio {
    min-height: unset;
    max-height: 100%;
  }
  .hero-right img {
    object-position: center 70%;
  }
}

@media (min-width: 901px) and (max-width: 1300px) {
  .sn-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .sn-stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 1rem 2rem;
  }
}

@media (max-width: 1100px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 40px;
  }
  #inicio {
    grid-template-columns: 1fr;
  }
  .hero-right {
    min-height: 320px;
    height: 550px;
    max-height: none;
    position: relative;
  }
  .hero-slider {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .hero-slide {
    height: 100%;
  }
  #madera {
    grid-template-columns: 1fr;
  }
  .madera-foto-wrap {
    min-height: 300px;
    max-height: 320px;
  }
  .madera-inner {
    padding: 5rem 6vw;
  }
  #solares {
    grid-template-columns: 1fr;
  }
  #solares .solares-foto-wrap {
    min-height: 300px;
    max-height: 360px;
    order: 1;
  }
  .solares-inner {
    padding: 5rem 6vw;
  }
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nosotros-logo-wrap {
    order: 2;
    height: 240px;
    width: 100%;
    margin: 0 auto;
  }
  .nosotros-grid > div:last-child {
    order: 1;
  }
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
  #sobre-nosotros {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .sn-outer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .sn-left {
    order: 1;
  }
  .sn-right {
    order: 2;
    grid-column: unset;
    grid-row: unset;
  }
  .sn-img-wrap {
    height: 60vw;
    min-height: 300px;
    max-height: 500px;
  }
  .sn-bottom {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .sn-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
  }
  .sn-cards {
    width: 100%;
  }
  .sn-texto p {
    font-size: 0.95rem;
  }
  .sn-stats > div > div:first-child {
    font-size: 1.5rem;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .testimonios-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonio-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
    
    
  body {
    padding-top: 60px;
  }
  section {
    padding: 5rem 6vw;
  }
  
  .inicio nav-scroll{
      padding-top: 70px;
  }
  
  .hero-left {
    padding: 4rem 6vw;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .madera-banner-txt span {
    display: none;
  }
  .madera-banner-inner {
    gap: 1rem;
    padding: 0.9rem 6vw;
  }
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  .proyectos-grid {
    grid-template-columns: 1fr;
  }
  .madera-foto-wrap {
    max-height: none;
  }
}