/* ============ FUENTES Y VARIABLES ============ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Mulish:wght@400;500;600;700;800&display=swap');

:root {
  --verde: #003b31;
  --verde-claro: #0e5446;
  --dorado: #d9c9ad;
  --dorado-oscuro: #c1a874;
  --texto: #2b2b2b;
  --gris-claro: #f6f4ef;
  --blanco: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Mulish', Arial, sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, .logo-text {
  font-family: 'Playfair Display', Georgia, serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ HEADER ============ */
.header {
  background: var(--dorado);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 54px;
  width: 54px;
  border-radius: 50%;
  margin-right: 14px;
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  color: var(--verde);
  line-height: 1.25;
  font-size: 19px;
}

/* NAV */
nav {
  display: flex;
  flex-wrap: wrap;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--verde);
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.25s;
}

nav a:hover {
  border-bottom: 2px solid var(--verde);
}

/* ============ HERO ============ */
.hero {
  min-height: 480px;
  background:
    linear-gradient(rgba(0, 59, 49, 0.45), rgba(0, 59, 49, 0.45)),
    url('../img/hotel.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero p {
  font-size: 18px;
  margin: 0 0 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  max-width: 700px;
}

/* Hero secundario */
.page-hero {
  background: var(--verde);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.page-hero h1 {
  font-size: 42px;
  margin: 0 0 12px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  color: #e7ded0;
}

/* ============ BOTONES ============ */
.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--dorado);
  color: var(--verde);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: 0.3s;
  border: 2px solid var(--dorado);
}

.btn:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}

.btn-outline:hover {
  background: var(--verde);
  color: white;
}

/* ============ SECCIONES GENERALES ============ */
.section {
  padding: 70px 40px;
}

.section-alt {
  background: var(--gris-claro);
}

.section-title {
  text-align: center;
  font-size: 34px;
  margin: 0 0 8px;
  color: var(--verde);
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--dorado-oscuro);
  margin: 0 auto 18px;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
}

.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  color: #444;
}

.contenido {
  padding: 40px;
}

/* ============ ESTADISTICAS ============ */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 40px;
  background: var(--verde);
}

.stat-item {
  text-align: center;
  color: white;
  min-width: 160px;
}

.stat-item i {
  font-size: 30px;
  color: var(--dorado);
  margin-bottom: 10px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: #d9d2c4;
}

/* ============ MISION Y VISION ============ */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.mv-card {
  background: white;
  padding: 36px;
  border-radius: 10px;
  border-top: 4px solid var(--dorado-oscuro);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.mv-card i {
  font-size: 26px;
  color: var(--verde);
  margin-bottom: 14px;
}

.mv-card h3 {
  margin: 0 0 12px;
  color: var(--verde);
  font-size: 24px;
}

.mv-card p {
  color: #555;
  font-size: 15px;
  margin: 0;
}

/* ============ TARJETAS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
}

.card .card-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 21px;
  color: var(--verde);
  margin: 0 0 10px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  color: #555;
}

.card-list li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-list li i {
  color: var(--dorado-oscuro);
  margin-top: 3px;
  font-size: 13px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--verde);
  color: white;
  padding: 50px 40px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer h3 {
  color: var(--dorado);
  font-size: 17px;
  margin: 0 0 14px;
}

.footer a {
  text-decoration: none;
  color: #e7e2d6;
}

.footer > div > a,
.footer nav a {
  display: block;
  margin: 0 0 8px;
  font-weight: 500;
}

.footer > div > a:hover,
.footer nav a:hover {
  color: var(--dorado);
}

.footer p {
  margin: 4px 0;
  color: #cfc8ba;
  font-size: 14.5px;
}

.footer i {
  font-size: 22px;
  margin-right: 10px;
  color: white;
  transition: 0.3s;
}

.footer i:hover {
  color: var(--dorado);
}

/* ============ WHATSAPP ============ */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 50;
  text-decoration: none;
}

/* ============ CARRUSEL ============ */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 380px;
  margin-top: 35px;
  border-radius: 12px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-container img.active {
  opacity: 1;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 59, 49, 0.65);
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 2;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--dorado);
  color: var(--verde);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-dots .dot.active {
  background: var(--dorado);
  transform: scale(1.2);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
    justify-content: center;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  .hero {
    min-height: 380px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .carousel {
    height: 240px;
  }

  .section {
    padding: 50px 20px;
  }

  .footer {
    padding: 40px 20px 24px;
  }
}
