*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f1f1f;
  background-color: #f5f1eb;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Containers & sections */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background-color: #ffffff;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #2b1a10;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 2rem;
}

.section-intro.small {
  font-size: 0.9rem;
  color: #666;
}

/* Hero */

.hero {
  position: relative;
  height: 85vh;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo img {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  padding: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 1rem 0 0.2rem;
}

.hero-tagline {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-sub {
  max-width: 520px;
  margin-top: 1rem;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: #b5432b;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.btn.primary:hover {
  background: #cf563e;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

.btn.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.2);
}

.btn.full {
  width: 100%;
}

/* Nav */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(245,241,235,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.nav-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #4a3427;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #b5432b;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Layouts */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.features li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #b5432b;
  font-size: 1.1rem;
}

.highlight-card {
  background: #2d1b11;
  color: #fbeee3;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.highlight-card h3 {
  margin-top: 0;
}

.highlight-card .small {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #f8f3ed;
  border-radius: 1.25rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #2b1a10;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  width: 100%;
  display: block;
  border-radius: 0.9rem;
  object-fit: cover;
  height: 180px;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  filter: brightness(1.03);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 50;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 0.75rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #eee;
  text-align: center;
  max-width: 600px;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Redes */

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.social-card {
  background: #f8f3ed;
  border-radius: 1rem;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.social-card h3 {
  margin-top: 0;
}

.social-embed {
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* Video */

.video-wrapper {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  align-items: center;
}

.video-text p {
  max-width: 420px;
}

.video-embed .ratio-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Contacto */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.contact-list a {
  color: #b5432b;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #f8f3ed;
  padding: 1.6rem 1.4rem;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d8c9b9;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #b5432b;
  box-shadow: 0 0 0 1px rgba(181,67,43,0.2);
}

/* Ubicación */

.address {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.map-placeholder {
  background: linear-gradient(135deg, #f4cf9b, #f5f1eb);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4a3427;
  font-weight: 500;
  box-shadow: 0 14px 35px rgba(0,0,0,0.16);
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  z-index: 40;
}

.wa-icon {
  font-size: 1.6rem;
}

/* Footer */

.site-footer {
  background: #24140c;
  color: #f9efe4;
  padding: 1.3rem 0 1.6rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #f8d1a6;
  text-decoration: none;
}

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

/* Animación simple */

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .two-cols,
  .cards-grid,
  .video-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(245,241,235,0.98);
    flex-direction: column;
    width: 100%;
    padding: 0.8rem 1rem 1rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  #nav-toggle:checked + .nav-toggle-label + .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle-label {
    display: block;
  }

  .hero-content {
    padding-inline: 1rem;
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: 420px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item {
    height: 150px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-inner {
    justify-content: center;
  }
}
