
:root {
  --color-primario: #a0573f; /* tierra rojiza salteña */
  --color-secundario: #f2e7d5; /* crema cálido */
  --color-olivo: #6d775e; /* verde olivo suave */
  --color-gris: #666666; /* gris texto */
  --color-blanco: #ffffff;
  --shadow-suave: 0 10px 25px rgba(0, 0, 0, 0.12);
  --radius-card: 14px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-gris);
  background: #fbf7f1;
  line-height: 1.6;
}

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

/* ===== Layout base ===== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 231, 213, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== Header / Nav ===== */

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Logo base (si no usás vertical) */
.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.logo-mark img.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mejor para escudo (no recorta) */
  display: block;

  /* nitidez Chrome */
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Si tu header usa .logo-title/.logo-subtitle, estas clases mandan */
.logo-title {
  font-size: 1.25rem; /* Desktop grande como querías */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.05;
}

.logo-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6c5a;
}

/* Fallback si estás usando spans sin clases
.logo-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #3b2319;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #8a6c5a;
}*/

/* ===== Logo vertical ===== */

.logo-vertical {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-vertical .logo-mark {
  width: 126px;
  height: 126px;
  margin-bottom: 0.35rem;
}

/* ===== Menú ===== */

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #5a3a2e;
  font-weight: 500;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(160, 87, 63, 0.12);
  color: #2b1a12;
}

.btn-nav {
  background: var(--color-primario);
  color: var(--color-blanco) !important;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(160, 87, 63, 0.4);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #1f1f1f !important;
}

/* ===== Main / Sections ===== */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

section {
  padding: 3rem 0;
  scroll-margin-top: 140px; /* compensa header + logo */
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: #3b2319;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #8a6c5a;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.4rem;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile: en el HERO, carrusel/imagen primero y texto después */
@media (max-width: 767px) {
  .hero .grid-2 {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.2rem;
  }
}

/* ===== Mobile Header Ajustes ===== */
@media (max-width: 700px) {
  .logo-title { font-size: 1.25rem; } /* lo que pediste */
  .logo-vertical .logo-mark { width: 72px; height: 72px; }
  .logo-title { font-size: 1.25rem; }
  section { scroll-margin-top: 100px; } /* menor en mobile */
}

/* ===== Cards / Buttons ===== */

.card {
  background: var(--color-blanco);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-suave);
  padding: 1.3rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #3b2319;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.card-text {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #555;
}

.tag-soft {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(242, 231, 213, 0.8);
  color: #7a5b4b;
  margin-bottom: 0.4rem;
}

.muted {
  font-size: 0.8rem;
  color: #888;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(242, 231, 213, 0.9);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  color: #7a5b4b;
  margin-bottom: 0.7rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  background: var(--color-primario);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
  gap: 0.4rem;
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primario);
  color: var(--color-blanco);
  box-shadow: 0 10px 24px rgba(160, 87, 63, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-ghost {
  background: transparent;
  color: var(--color-primario);
  border: 1px solid rgba(160, 87, 63, 0.4);
}

.btn-ghost:hover {
  background: rgba(160, 87, 63, 0.05);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ===== Hero ===== */

.hero {
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #3b2319;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero-slogan {
  font-size: 1rem;
  color: #7a5b4b;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.hero-note {
  font-size: 0.8rem;
  color: #8a6c5a;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
}

.hero-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 87, 63, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

/* ===== Beneficios ===== */

.benefits {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefit-pill {
  background: var(--color-blanco);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  justify-content: center;
}

.benefit-icon {
  font-size: 1rem;
}

/* ===== Habitaciones ===== */

.room-card img {
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: #8a6c5a;
}

/* ===== Servicios ===== */

.service-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}

.service-icon {
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.service-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #3b2319;
}

.service-desc {
  font-size: 0.85rem;
}

/* ===== Turismo ===== */

.tour-card {
  background: var(--color-blanco);
  border-radius: var(--radius-card);
  padding: 1rem;
  box-shadow: var(--shadow-suave);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.tour-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8a6c5a;
}

/* ===== Galería ===== */

.gallery-grid {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  height: 140px;
  background-size: cover;
  background-position: center;
}

/* ===== Contacto / Ubicación ===== */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.contact-list {
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.contact-list strong {
  color: #3b2319;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

@media (max-width: 700px) {
  .contact-item { align-items: flex-start; }
  .contact-item .btn { margin-top: 0.3rem; }
}

/* Redes */
.contact-socials {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a6c5a;
}

.social-btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(160, 87, 63, 0.4);
  color: #5a3a2e;
}

.social-btn:hover {
  background: rgba(160, 87, 63, 0.08);
  color: #2b1a12;
}

/* ===== Mapa ===== */

.map-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-suave);
  background: #ddd;
  min-height: 230px;
  padding: 0; /* mapa full */
}

.map-box iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-box iframe { height: 320px; }
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f2e7d5;
  padding: 1.4rem 1rem 1.7rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #7a5b4b;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  color: #7a5b4b;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== Responsivo Header ===== */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.4rem); /* ya no depende de 54px */
    background: rgba(242, 231, 213, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===== Carousel Astur ===== */

.astur-carousel {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  background: #000;
  height: 60vh;
  max-height: 520px;
  min-height: 260px;
}

@media (max-width: 700px) {
  .astur-carousel {
    height: 45vh;
    max-height: 360px;
  }
}

.astur-slides {
  position: relative;
  height: 100%;
}

.astur-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.astur-slide.is-active {
  opacity: 1;
}

.astur-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botones */
.astur-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.astur-btn.prev { left: 10px; }
.astur-btn.next { right: 10px; }

.astur-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Dots */
.astur-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.astur-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
}

.astur-dot.is-active {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
}

.astur-carousel:hover .astur-btn,
.astur-carousel:hover .astur-dots,
.astur-carousel:focus-within .astur-btn,
.astur-carousel:focus-within .astur-dots {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Promociones spacing ===== */

.promotions-grids {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Offset extra solo para promociones */
#promociones {
  scroll-margin-top: 160px;
}
