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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #1a1a1a;
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0 5vw;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 28px; }

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: opacity 0.2s;
}
nav a:hover { opacity: 0.45; }

.header-instagram a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.header-instagram a:hover { opacity: 1; }
.header-instagram svg { width: 18px; height: 18px; }

/* ===== PAGE WRAPPER ===== */
main { padding-top: 70px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 500px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section { padding: 7rem 10vw; }
.section-narrow { padding: 7rem 15vw; }

/* ===== SOBRE NOSOTROS ===== */
.sobre-nosotros {
  background: #fff;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 7rem 5vw;
}

.sobre-nosotros h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2rem;
}

.sobre-nosotros p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #333;
  font-weight: 300;
}

/* ===== NUESTRO ESPACIO ===== */
.nuestro-espacio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.espacio-img {
  overflow: hidden;
}

.espacio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.espacio-img:hover img { transform: scale(1.03); }

.espacio-texto {
  background: #f7f5f2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6vw;
}

.espacio-texto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  line-height: 1.3;
}

.espacio-texto p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ===== PROFESIONAL ===== */
.profesional {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profesional img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profesional-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.profesional-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 4rem 5vw;
}

.profesional-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.profesional-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s;
}

.btn-dark {
  color: #1a1a1a;
  border-color: #1a1a1a;
}
.btn-dark:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-light {
  color: #fff;
  border-color: #fff;
}
.btn-light:hover {
  background: #fff;
  color: #1a1a1a;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 3rem 5vw;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

footer p { margin-bottom: 0.8rem; }

footer a {
  color: #999;
  transition: color 0.2s;
}
footer a:hover { color: #fff; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== PÁGINA INTERIOR: HERO PEQUEÑO ===== */
.hero-small {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.hero-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-small-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-small h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

/* ===== DISTRIBUCIÓN ===== */
.dist-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.dist-intro-img { overflow: hidden; }
.dist-intro-img img { width: 100%; height: 100%; object-fit: cover; }

.dist-intro-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6vw;
  background: #fff;
}
.dist-intro-texto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.dist-intro-texto p {
  font-size: 1.05rem;
  color: #555;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===== VALORES ===== */
.valores {
  background: #f7f5f2;
  padding: 6rem 10vw;
}
.valores-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  text-align: center;
  margin-bottom: 4rem;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.valor h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.valor p {
  font-size: 0.97rem;
  color: #555;
  font-weight: 300;
  line-height: 1.8;
}

/* ===== HISTORIA ===== */
.historia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 7rem 10vw;
  align-items: center;
}
.historia img { width: 100%; height: 420px; object-fit: cover; }
.historia-texto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.historia-texto p {
  font-size: 1rem;
  color: #555;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

/* ===== CONTACTO PROFESIONAL ===== */
.contacto-pro {
  background: #1a1a1a;
  color: #fff;
  padding: 6rem 10vw;
  text-align: center;
}
.contacto-pro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.contacto-pro p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ===== DEGUSTACIÓN: GALERÍA ===== */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.galeria img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: opacity 0.3s;
}
.galeria img:hover { opacity: 0.88; }

/* ===== DEGUSTACIÓN: INFO ===== */
.degu-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.degu-img { overflow: hidden; }
.degu-img img { width: 100%; height: 100%; object-fit: cover; }
.degu-texto {
  background: #f7f5f2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6vw;
}
.degu-texto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.degu-texto p {
  font-size: 1.05rem;
  color: #555;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.degu-datos {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.degu-dato strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
  color: #1a1a1a;
}
.degu-dato span {
  font-size: 0.97rem;
  color: #555;
  font-weight: 300;
}

/* ===== CONTACTO ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 7rem 10vw;
  align-items: start;
}
.contacto-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.contacto-dato {
  margin-bottom: 2rem;
}
.contacto-dato strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}
.contacto-dato p, .contacto-dato a {
  font-size: 1rem;
  color: #555;
  font-weight: 300;
  line-height: 1.7;
}
.contacto-dato a:hover { color: #1a1a1a; }

.contacto-form h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
  color: #888;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.6rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #1a1a1a;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: #1a1a1a; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nuestro-espacio,
  .dist-intro,
  .historia,
  .degu-info,
  .contacto-grid { grid-template-columns: 1fr; }

  .valores-grid { grid-template-columns: 1fr; gap: 2rem; }
  .galeria { grid-template-columns: repeat(2, 1fr); }

  .espacio-texto,
  .dist-intro-texto,
  .degu-texto { padding: 3rem 6vw; }

  nav { gap: 1.5rem; }

  .historia { padding: 4rem 6vw; gap: 3rem; }
  .contacto-grid { padding: 4rem 6vw; gap: 3rem; }
}

/* ===== HAMBURGER MOBILE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #1a1a1a;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 1.8rem;
  }
  nav.open { display: flex; }
  .header-instagram { display: none; }
}
