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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f5f5f7;
  line-height: 1.6;
}

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

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

.section {
  padding: 5rem 1.5rem;
}

.section-light {
  background: #ffffff;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(10px);
  color: #f9fafb;
}

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

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

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #fbbf24, #dc2626);
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #f9fafb;
}

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

.brand-name {
  font-weight: 600;
  font-size: 1rem;
}

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

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

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

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

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

.btn-llamar-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 999px;
  background: #f97316;
  color: #111827;
  font-weight: 500;
  border: none;
}

.btn-llamar-header i {
  font-size: 0.9rem;
}

/* Hero */

.hero {
  position: relative;
  color: #f9fafb;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.5));
  z-index: -1;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #fde68a;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text {
  font-size: 0.98rem;
  max-width: 580px;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #f97316;
  color: #111827;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.4);
}

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

.btn-secondary {
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(249, 250, 251, 0.25);
  color: #f9fafb;
}

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

.btn-ghost {
  background: #111827;
  color: #f9fafb;
  padding-inline: 1rem;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  background: #020617;
}

.btn-full {
  width: 100%;
}

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.hero-locations i {
  margin-right: 0.3rem;
}

/* Sections */

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

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.9rem;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

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

.text-block h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.text-block p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.pill i {
  margin-right: 0.35rem;
  color: #f97316;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #ea580c;
}

.text-link:hover {
  text-decoration: underline;
}

.image-stack {
  position: relative;
}

.image-stack .stack-main {
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.image-stack .stack-secondary {
  position: absolute;
  width: 55%;
  bottom: -12%;
  right: -8%;
  border-radius: 1.25rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  border: 3px solid #ffffff;
}

/* Gallery */

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

.gallery-item {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Video */

.video-section {
  align-items: flex-start;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.3);
}

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

/* Socials / location */

.socials-section {
  gap: 2rem;
}

.socials-section > div {
  min-width: 0;
}

.socials-section h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.embed-card {
  background: #111827;
  color: #f9fafb;
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem;
  font-size: 0.9rem;
}

.embed-card p {
  margin: 0 0 0.9rem;
}

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

/* Contact */

.contact-section {
  align-items: flex-start;
}

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

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

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

.form-card {
  background: #ffffff;
  border-radius: 1.3rem;
  padding: 1.75rem 1.8rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.form-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

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

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

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f97316;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.3rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #22c55e;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(21, 128, 61, 0.7);
  z-index: 30;
}

.whatsapp-float i {
  font-size: 1.7rem;
}

/* Scroll top */

.scroll-top {
  position: fixed;
  bottom: 1.6rem;
  right: 4.9rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 25;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Footer */

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

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

.footer-main {
  margin: 0;
}

.footer-secondary {
  margin: 0;
}

.footer-secondary a {
  color: #e5e7eb;
}

/* Animations on scroll */

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 880px) {
  .main-nav {
    display: none;
  }

  .nav-container {
    padding-inline: 1rem;
  }

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

  .image-stack .stack-secondary {
    position: static;
    width: 70%;
    margin: 1.25rem auto 0;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.25rem;
  }

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

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

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

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

  .scroll-top {
    right: 1.3rem;
    bottom: 4.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
