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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a2634;
  background-color: #f4f6fb;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 36, 77, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.75rem;
  opacity: 0.8;
}

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

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

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b58b, #2ed0ff);
  transition: width 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #00b58b 0, transparent 55%),
              radial-gradient(circle at bottom right, #163a7b 0, #041123 60%);
  color: #ffffff;
}

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

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

.hero p {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0.5rem;
}

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

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: rgba(4, 17, 35, 0.85);
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 22px 50px rgba(0,0,0,0.45);
  overflow: hidden;
}

.hero-card img {
  border-radius: 16px;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00b58b, #2ed0ff);
  color: #041123;
  box-shadow: 0 10px 25px rgba(0, 181, 139, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 181, 139, 0.45);
}

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

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

.full-width {
  width: 100%;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: #0e2345;
}

.section-header p {
  color: #5c6a80;
  max-width: 34rem;
  margin: 0 auto;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(14, 35, 69, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #0e2345;
}

.card-body p {
  font-size: 0.92rem;
  color: #5c6a80;
}

/* Beneficios */
.benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.benefits-list {
  list-style: none;
  margin: 1rem 0 1.75rem;
}

.benefits-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: #405066;
  font-size: 0.95rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00b58b;
  font-weight: 700;
}

.benefits-media img {
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(14, 35, 69, 0.25);
}

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

/* Redes */
.social-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.fb-container {
  background: #f4f6fb;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(14, 35, 69, 0.06);
}

.social-text h3 {
  margin-bottom: 0.4rem;
  color: #0e2345;
}

.social-text p {
  color: #5c6a80;
  margin-bottom: 0.75rem;
}

.contact-list {
  list-style: none;
  font-size: 0.92rem;
  color: #405066;
}

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

.contact-list a {
  color: #0055ff;
}

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

.gallery-item {
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 22px rgba(14, 35, 69, 0.15);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(14, 35, 69, 0.25);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 35, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.lightbox-img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

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

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(14, 35, 69, 0.16);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #31425a;
  margin-bottom: 0.25rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00b58b;
  box-shadow: 0 0 0 1px rgba(0, 181, 139, 0.2);
  background: #ffffff;
}

.contact-info-card {
  background: linear-gradient(145deg, #0e2345, #102d5b);
  color: #ffffff;
  padding: 1.6rem;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(4, 17, 35, 0.5);
}

.contact-info-card h3 {
  margin-bottom: 0.75rem;
}

.contact-info-card .contact-list li {
  color: #e2ebff;
}

.contact-info-card .contact-list a {
  color: #2ed0ff;
}

.small {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.8rem;
}

/* Footer */
.site-footer {
  background: #041123;
  color: #a5b4d6;
  padding: 1.75rem 0;
}

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

.footer-brand {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.footer-made-by {
  font-size: 0.8rem;
}

.footer-made-by a {
  color: #d0e2ff;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #c3d1f0;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px rgba(0,0,0,0.4);
  z-index: 150;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .benefits-grid,
  .social-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-media {
    order: -1;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 56px;
    right: 0;
    flex-direction: column;
    background: #041123;
    padding: 0.75rem 1.25rem 1rem;
    border-radius: 0 0 0 14px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    display: none;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

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

  .contact-form,
  .contact-info-card {
    padding: 1.25rem;
  }
}
