
:root {
  --color-primary: #00b9ff;
  --color-primary-dark: #0084b8;
  --color-secondary: #ffb347;
  --color-bg: #f5fbff;
  --color-text: #103047;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.25s ease;
  --max-width: 1120px;
  --header-height: 72px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

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

.logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

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

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

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f172a;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover {
  background: rgba(0, 185, 255, 0.12);
  color: var(--color-primary-dark);
}

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

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: stretch;
  color: white;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 27, 63, 0.85), rgba(0, 185, 255, 0.7));
  z-index: -1;
}

.hero-content {
  padding: 4rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-width);
}

.hero-content h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 36rem;
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.btn.primary {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 0.25);
}

.btn-full {
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
  width: fit-content;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: white;
}

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

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

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  color: #64748b;
}

/* Cards */

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

.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card-body p {
  margin: 0;
  color: #64748b;
}

/* Gallery */

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

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.gallery-item img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.gallery-item::after {
  content: "Ver foto";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: white;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

/* Redes */

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.social-title {
  margin: 0;
  font-weight: 600;
}

.social-handle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.social-logo img {
  max-width: 260px;
  margin-inline: auto;
}

/* Contact */

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

.contact-form {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  outline: none;
  transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(0, 185, 255, 0.28);
  background: #f8feff;
}

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

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.contact-info li {
  margin-bottom: 0.4rem;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

/* Footer */

.site-footer {
  padding: 1.75rem 0 2rem;
  background: #020617;
  color: #e2e8f0;
  font-size: 0.85rem;
  margin-top: 2.5rem;
}

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

.site-footer a {
  color: #38bdf8;
}

/* WhatsApp Float */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 60;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.5rem;
}

.lightbox img {
  max-width: min(900px, 100%);
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner {
    gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    background: rgba(15, 23, 42, 0.97);
    flex-direction: column;
    padding: 1rem 1.5rem 1.3rem;
    transform: translateY(-120%);
    transition: transform var(--transition-fast);
  }

  .main-nav a {
    color: #e2e8f0;
    padding: 0.55rem 0.8rem;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .hero {
    min-height: 75vh;
  }

  .redes-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-logo img {
    max-width: 200px;
  }

  .hero-content {
    padding-top: 3rem;
  }
}

@media (max-width: 600px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

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

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
