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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #F9F7F2;
  color: #2C1F16;
  line-height: 1.6;
}

/* ═══════════════════════════════
   TIPOGRAFÍA
═══════════════════════════════ */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 0.95rem;
}

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(249,247,242,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #ddd;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.nav__logo img {
  height: 40px;
}

.nav__links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav__link {
  text-decoration: none;
  color: #5C4033;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav__link--cta {
  background: #C17D3C;
  color: white;
  padding: 6px 14px;
  border-radius: 3px;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  height: 100vh;
  background: url('../fotos/foto-inicio/foto-inicio.png') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 100px 40px;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero__content {
  position: relative;
  color: white;
  max-width: 500px;
}

.hero__subtitle {
  margin: 15px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #C17D3C;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
}

.btn--fantasma {
  background: transparent;
  border: 1px solid white;
}

/* ═══════════════════════════════
   SECCIONES
═══════════════════════════════ */
.contenedor {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.seccion-cab {
  text-align: center;
  margin-bottom: 40px;
}

.etiqueta {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5C6A47;
}

/* ═══════════════════════════════
   RAÍZ
═══════════════════════════════ */
.raiz__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.raiz__foto {
  width: 100%;
}

.raiz__frase {
  color: #C17D3C;
  margin-top: 15px;
}

/* ═══════════════════════════════
   PRODUCTOS
═══════════════════════════════ */
.productos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.tarjeta {
  background: #F0EBE1;
}

.tarjeta img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.tarjeta__cuerpo {
  padding: 15px;
}

/* ═══════════════════════════════
   PROCESO
═══════════════════════════════ */
.proceso {
  background: #3A2B1F;
  color: white;
}

.proceso__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.proceso__fotos img {
  width: 100%;
  margin-bottom: 10px;
}

/* ═══════════════════════════════
   GALERÍA
═══════════════════════════════ */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.galeria__grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ═══════════════════════════════
   CONTACTO
═══════════════════════════════ */
.contacto {
  background: #3A2B1F;
  color: white;
  text-align: center;
}

.contacto .btn {
  margin-top: 20px;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  background: #2A1D12;
  color: #ccc;
}

/* ═══════════════════════════════
   WHATSAPP
═══════════════════════════════ */
.wa-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.8rem;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 768px) {
  .productos__grid,
  .galeria__grid,
  .raiz__grid,
  .proceso__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 20px;
  }
}