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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background: #f4f5f7;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

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

.logo-img {
  width: 56px;
  height: auto;
  border-radius: 999px;
}

.logo-text h1 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}

.logo-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

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

.main-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: #0f766e10;
  color: #0f766e;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  background: linear-gradient(135deg, #0f766e, #0369a1);
  color: #0f172a;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero-content {
  padding-block: 3.5rem;
  color: #f8fafc;
}

.hero-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 1rem 0 0.75rem;
}

.hero-content p {
  margin: 0 0 1.25rem;
  font-weight: 300;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.24);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: #f97316;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.btn.primary:hover {
  background: #fb923c;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(248, 250, 252, 0.6);
  color: #e2e8f0;
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.18);
}

.btn.social {
  font-size: 0.9rem;
}

.btn.social.fb {
  background: #0f172a;
  color: #f9fafb;
}

.btn.social.fb:hover {
  background: #020617;
}

.btn.social.ig {
  background: linear-gradient(45deg, #f97316, #db2777);
  color: #fff;
}

.btn.social.ig:hover {
  filter: brightness(1.1);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-accent {
  background: #ecfeff;
}

.section-contact {
  background: #0f172a;
  color: #e5e7eb;
}

.section-contact h3 {
  color: #fefce8;
}

.section h3 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.section p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #475569;
}

.section-contact p {
  color: #cbd5f5;
}

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

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: #0f172a;
}

.section-contact .icon-list li {
  color: #e5e7eb;
}

.image-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

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

.image-card .overlay-img {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  width: 48%;
  border-radius: 1rem;
  border: 4px solid #f9fafb;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0 1rem;
}

.tag-list span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f9731615;
  color: #9a3412;
}

.note {
  font-size: 0.8rem;
  color: #64748b;
}

/* Video */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
}

.video-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

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

/* Galería */

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

.gallery-item {
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 1rem;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox.is-visible {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(960px, 94%);
  max-height: 90vh;
}

.lightbox-content img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -2.3rem;
  right: 0;
  border: none;
  padding: 0;
  background: transparent;
  color: #e5e7eb;
  font-size: 2rem;
  cursor: pointer;
}

/* Ubicación */

.map-embed iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

/* Social */

.social-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contacto */

.contact-form {
  background: #020617;
  padding: 1.5rem;
  border-radius: 1.3rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.7);
}

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

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: #cbd5f5;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.85rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #f97316;
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  color: #0f172a;
  font-size: 1.6rem;
  z-index: 70;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0 2.2rem;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    max-height: 260px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .social-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 56px;
    right: 0;
    left: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(15, 23, 42, 0.97);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav a {
    color: #e5e7eb;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    color: #0f172a;
  }

  .header-inner {
    padding: 0.5rem 0;
  }
}

@media (max-width: 520px) {
  .hero-content {
    padding-block: 2.4rem;
  }

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

  .contact-form {
    padding: 1.1rem;
  }
}
