/* ========================================= */
/* RESET BÁSICO */
/* ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  overflow-x: hidden;
}

/* ========================================= */
/* VARIABLES */
/* ========================================= */

:root {
  --terracota: #c7602d;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.png") center center / cover no-repeat;
  animation: heroZoom 24s ease-in-out infinite alternate;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.55) 30%,
      rgba(0, 0, 0, 0.30) 60%,
      rgba(0, 0, 0, 0.10) 100%
    );
  z-index: 1;
}

/* ========================================= */
/* NAVBAR */
/* ========================================= */

/* ============================= */
/* NAVBAR SISTEMA REFINADO */
/* ============================= */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Estado cuando hace scroll */

.navbar.scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}

.navbar.scrolled .logo {
  color: #111;
}

.navbar.scrolled .nav-links a {
  color: #111;
  opacity: 0.8;
}

.navbar.scrolled .nav-links a:hover {
  opacity: 1;
}

.logo {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* ========================================= */
/* HERO CONTENT */
/* ========================================= */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-top: 140px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TÍTULO EDITORIAL */

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.4rem;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -1.2px;
  text-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 500;
  opacity: 0.9;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: var(--terracota);
  margin: 25px 0 35px 0;
  opacity: 0.9;
}

/* SUBTEXTO */

.hero p {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 55px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* ========================================= */
/* BOTONES */
/* ========================================= */

.hero-buttons {
  display: flex;
  gap: 25px;
}

.btn-primary {
  background: var(--terracota);
  padding: 16px 44px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 3px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(199, 96, 45, 0.35);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #a94f24;
  transform: translateY(-3px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  padding: 16px 44px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 400;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* ========================================= */
/* FILOSOFÍA SECTION */
/* ========================================= */

.filosofia-section {
  background: #f1eee9;
  padding: 120px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

.section-header {
  max-width: 650px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section-header.active {
  opacity: 1;
  transform: translateY(0);
}

.section-line {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--terracota);
  margin-bottom: 25px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 25px;
  color: #111;
  font-size: 3rem;
  letter-spacing: -0.8px;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

/* GRID */

.filosofia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

/* CARDS */

.card-line {
  width: 35px;
  height: 2px;
  background: var(--terracota);
  margin-bottom: 18px;
  opacity: 0.9;
}

.filosofia-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.filosofia-card.active {
  opacity: 1;
  transform: translateY(0);
}

.filosofia-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #111;
}

.filosofia-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* ========================================= */
/* ESPECIALIDADES DESTACADAS */
/* ========================================= */

.especialidades-section{
  background:#ffffff;
  padding:120px 20px;
}

.especialidades-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
}

/* CARD */

.especialidad-card{
  background:#ffffff;
  overflow:hidden;
  transition:all .5s ease;
  opacity:0;
  transform:translateY(40px);
}

.especialidad-card.active{
  opacity:1;
  transform:translateY(0);
}

/* IMAGE */

.especialidad-image{
  overflow:hidden;
}

.especialidad-image img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:transform .6s ease;
}

.especialidad-card:hover img{
  transform:scale(1.06);
}

/* CONTENT */

.especialidad-content{
  padding:28px 5px;
}

.especialidad-content h3{
  font-family:'Playfair Display',serif;
  font-size:1.5rem;
  margin-bottom:14px;
  color:#111;
}

.especialidad-content p{
  font-size:.95rem;
  line-height:1.7;
  color:#555;
  margin-bottom:22px;
}

/* FOOTER */

.especialidad-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.especialidad-price{
  font-weight:600;
  font-size:1rem;
  color:var(--terracota);
  letter-spacing:.5px;
}

.especialidad-footer{
  margin-top:10px;
}

.especialidad-price{
  font-weight:600;
  font-size:1rem;
  color:var(--terracota);
  letter-spacing:.5px;
  display:block;
}

.especialidad-footer::after{
  content:"";
  display:block;
  width:30px;
  height:2px;
  background:var(--terracota);
  margin-top:8px;
  opacity:.8;
}

/* HOVER MICRO DETAIL */

.especialidad-card::after{
  content:"";
  display:block;
  width:0;
  height:2px;
  background:var(--terracota);
  transition:width .4s ease;
  margin-top:6px;
}

.especialidad-card:hover::after{
  width:35px;
}

.especialidad-card:hover{
  transform:translateY(-6px);
}

.especialidades-section .container{
  max-width:1100px;
}

/* ========================================= */
/* MENU SECTION */
/* ========================================= */

.menu-section{
  background:#f1eee9;
  padding:120px 20px;
}

/* REVEAL ANIMATION */

.menu-items{
  max-width:700px;
  opacity:0;
  transform:translateY(20px);
  transition:all .6s ease;
}

.menu-section.active .menu-items{
  opacity:1;
  transform:translateY(0);
}

/* ========================================= */
/* MENU TABS */
/* ========================================= */

.menu-tabs{
  display:flex;
  gap:35px;
  margin-bottom:60px;
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.menu-tab{
  background:none;
  border:none;
  font-family:'Inter',sans-serif;
  font-size:.95rem;
  padding:16px 0;
  cursor:pointer;
  color:#555;
  position:relative;
  letter-spacing:.5px;
  transition:all .3s ease;
}

.menu-tab:hover{
  color:#111;
}

.menu-tab.active{
  color:#111;
  font-weight:500;
}

.menu-tab.active::after{
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:2px;
  background:var(--terracota);
}

/* ========================================= */
/* MENU CATEGORIES */
/* ========================================= */

.menu-category{
  display:none;
  animation:menuFade .35s ease;
}

.menu-category.active{
  display:block;
}

@keyframes menuFade{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ========================================= */
/* MENU ITEMS */
/* ========================================= */

.menu-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid rgba(0,0,0,0.06);
  font-size:1rem;
  color:#333;
  position:relative;
  transition:all .25s ease;
}

/* Hover editorial */

.menu-item:hover{
  padding-left:8px;
}

/* Línea animada */

.menu-item::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:1px;
  width:0;
  background:var(--terracota);
  transition:width .3s ease;
}

.menu-item:hover::after{
  width:100%;
}

/* Texto */

.menu-item span:first-child{
  font-weight:400;
}

/* Precio */

.menu-item span:last-child{
  color:var(--terracota);
  font-weight:500;
  letter-spacing:.5px;
}

/* ========================================= */
/* AMBIENTE SECTION */
/* ========================================= */

.ambiente-section{
  background:#ffffff;
  padding:120px 20px;
}

/* GRID EDITORIAL */

.ambiente-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:220px;
  gap:18px;
}

/* ITEMS */

.ambiente-item{
  position:relative;
  overflow:hidden;
}

.ambiente-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s ease;
}

/* tamaños especiales */

.ambiente-item.large{
  grid-row:span 2;
}

.ambiente-item.wide{
  grid-column:span 2;
}

/* hover */

.ambiente-item:hover img{
  transform:scale(1.06);
}

.ambiente-grid{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.ambiente-section.active .ambiente-grid{
  opacity:1;
  transform:translateY(0);
}

.ambiente-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.0)
  );
  opacity:0;
  transition:opacity .4s ease;
}

.ambiente-item:hover::after{
  opacity:1;
}

.ambiente-item{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.ambiente-section.active .ambiente-item{
  opacity:1;
  transform:translateY(0);
}

/* ========================================= */
/* RESERVA SECTION */
/* ========================================= */

.reserva-section{
  position:relative;
  padding:120px 20px 160px 20px;
  background:url("assets/reserva-bg.jpg") center center / cover no-repeat;
  color:#ffffff;
  text-align:center;
  overflow:hidden;
}

/* overlay oscuro */

.reserva-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.65);
}

/* contenido */

.reserva-content{
  position:relative;
  z-index:2;
  max-width:600px;
  margin:0 auto;
}

/* línea */

.reserva-line{
  display:inline-block;
  width:60px;
  height:2px;
  background:var(--terracota);
  margin-bottom:30px;
}

/* título */

.reserva-content h2{
  font-family:'Playfair Display',serif;
  font-size:3rem;
  margin-bottom:25px;
  letter-spacing:-0.5px;
}

/* texto */

.reserva-content p{
  font-size:1.05rem;
  line-height:1.7;
  margin-bottom:50px;
  color:rgba(255,255,255,0.85);
}

/* botón */

.reserva-btn{
  display:inline-block;
  padding:16px 48px;
  background:var(--terracota);
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.8px;
  border-radius:3px;
  transition:all .3s ease;
  box-shadow:0 18px 40px rgba(199,96,45,0.35);
}

.reserva-btn:hover{
  background:#a94f24;
  transform:translateY(-3px);
}

.reserva-content{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.reserva-section.active .reserva-content{
  opacity:1;
  transform:translateY(0);
}

.section-divider{
  height:120px;
  background:linear-gradient(
    to bottom,
    #ffffff,
    #f1eee9
  );
}

.section-divider-dark{
  height:220px;
  background:linear-gradient(
    to bottom,
    #f1eee9 0%,
    #d8d2c9 40%,
    #1a1a1a 80%,
    #000000 100%
  );
  box-shadow: inset 0 -40px 60px rgba(0,0,0,0.35);
}

/* ========================================= */
/* EXPERIENCIAS */
/* ========================================= */

.experiencias-section{
  background:#ffffff;
  padding:120px 20px;
  text-align:center;
}

.experiencias-header{
  margin-bottom:70px;
}

.rating{
  font-size:3rem;
  font-weight:600;
  color:var(--terracota);
}

.stars{
  letter-spacing:4px;
  margin:10px 0;
  color:#d8a14d;
}

.experiencias-header h2{
  font-family:'Playfair Display',serif;
  font-size:2.6rem;
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
  max-width:900px;
  margin:0 auto;
}

.review-card{
  text-align:left;
  background:#f6f3ef;
  padding:30px;
  border-radius:4px;
  line-height:1.7;
}

.review-author{
  display:block;
  margin-top:20px;
  font-weight:500;
  color:#333;
}

/* ========================================= */
/* UBICACION */
/* ========================================= */

.ubicacion-section{
  background:#f1eee9;
  padding:120px 20px;
}

.ubicacion-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
}

.ubicacion-info h2{
  font-family:'Playfair Display',serif;
  font-size:2.6rem;
  margin-bottom:40px;
}

.ubicacion-block{
  margin-bottom:35px;
}

.ubicacion-block h4{
  color:var(--terracota);
  margin-bottom:8px;
  font-size:.9rem;
  letter-spacing:1px;
  text-transform:uppercase;
}

.ubicacion-map{
  background:#ddd;
  min-height:320px;
  border-radius:6px;
}

.experiencias-section{
  background:#ffffff;
  padding:140px 20px;
}

.ubicacion-section{
  background:#f1eee9;
  padding:140px 20px;
}

.ubicacion-map iframe{
  width:100%;
  height:100%;
  border-radius:6px;
}

.ubicacion-map{
  min-height:340px;
  overflow:hidden;
}

.rating{
  font-size:3.2rem;
  font-family:'Playfair Display',serif;
}

.stars{
  color:#d89b3a;
  letter-spacing:6px;
}


/* ========================================= */
/* EXPERIENCIAS SLIDER */
/* ========================================= */

.reviews-slider{
  overflow:hidden;
  max-width:1000px;
  margin:0 auto;
}

.reviews-track{
  display:flex;
  gap:40px;
  transition:transform .8s ease;
}

.review-card{
  flex:0 0 calc(50% - 20px);
  background:#f6f3ef;
  padding:35px;
  border-radius:6px;
  line-height:1.7;
  font-size:.95rem;
}

.review-author{
  display:block;
  margin-top:18px;
  font-weight:500;
  color:#333;
}

/* MOBILE */

@media(max-width:768px){

  .review-card{
    flex:0 0 100%;
  }

}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width:992px){

  .especialidades-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media (max-width:768px){

  .especialidades-section{
    padding:90px 20px;
  }

  .especialidades-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .especialidad-image img{
    height:220px;
  }

}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 992px) {

  .filosofia-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {

  .filosofia-section {
    padding: 90px 20px;
  }

  .filosofia-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-header {
    margin-bottom: 60px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 992px) {

  .hero {
    padding: 0 8%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-content {
    margin-top: 120px;
  }
}

@media (max-width: 768px) {

  .hero {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    margin-top: 0;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.4rem;
    font-weight: 500;
  }

  .nav-links {
    display: none;
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}