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

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2b2b2b;
  background-color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 80vh;
  background-image: url('../img/portada.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(196, 66, 60, 0.9), rgba(27, 27, 27, 0.7));
}

.nav-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

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

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

.logo-text .tagline {
  font-size: 0.75rem;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffe1dd;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 18px;
  background-color: #ffffff;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0 3.5rem;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  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-color: #ffe1dd;
  color: #832825;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  background-color: #ffd2cb;
}

.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

.btn-block {
  width: 100%;
}

.hero-meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

.section {
  padding: 4rem 0;
}

.bg-light {
  background-color: #faf6f6;
}

.section h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #b03832;
}

.section-intro {
  max-width: 540px;
  margin: 0 0 2rem;
  color: #555;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

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

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #b03832;
  font-weight: 600;
}

.image-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: #ffe1dd;
  color: #832825;
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.2);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.2);
}

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

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

.social-card {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #f0d0cc;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-card i {
  font-size: 1.3rem;
  color: #b03832;
}

.social-card span {
  font-weight: 600;
}

.social-card small {
  color: #666;
  font-size: 0.8rem;
}

.social-card:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
  border-color: #e9b4ae;
}

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

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-list i {
  color: #b03832;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #e3d1ce;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b03832;
  box-shadow: 0 0 0 1px rgba(176,56,50,0.12);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
  z-index: 30;
}

.whatsapp-float:hover {
  transform: translateY(-1px);
}

.footer {
  background-color: #1f1f1f;
  color: #f1f1f1;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

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

.footer a {
  color: #ffd2cb;
}

.footer-made {
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    background-color: rgba(0,0,0,0.82);
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-content {
    padding-top: 0;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}
