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

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

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

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

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(5, 3, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
}

.logo-text p {
  font-size: 0.75rem;
  opacity: 0.8;
}

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

.main-nav a {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #f7f7f7;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  overflow: hidden;
}

.hero-bg{position:absolute;inset:0;background:url('img/portada.jpg') center/cover no-repeat;filter:brightness(0.65) contrast(1.25)}
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 240, 200, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), #05030b);
}

.hero-content {
  position: relative;
  max-width: 700px;
  text-align: center;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #ffe082;
  margin-bottom: 0.75rem;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 0.98rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb300, #ff6f00);
  color: #05030b;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  filter: brightness(1.05);
}

.btn-primary.full-width {
  width: 100%;
}

.section {
  padding: 3.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.experience {
  background: radial-gradient(circle at top, rgba(255, 193, 7, 0.1), transparent 60%),
    linear-gradient(180deg, #05030b, #020108);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.experience-item {
  background: rgba(15, 10, 25, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.experience-item h3 {
  margin-bottom: 0.5rem;
  color: #ffe082;
}

.experience-item p {
  font-size: 0.92rem;
  opacity: 0.9;
}

.video-wrapper h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.video-wrapper p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

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

.gallery {
  background: linear-gradient(180deg, #020108, #05030b);
}

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

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.75);
}

.redes {
  background: radial-gradient(circle at top, rgba(0, 230, 118, 0.08), transparent 60%),
    linear-gradient(180deg, #05030b, #020108);
}

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

.social-card {
  background: rgba(18, 12, 32, 0.95);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.social-card h3 {
  margin-bottom: 0.5rem;
}

.social-text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.social-link {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
  background: #f5f5f5;
  color: #05030b;
  transform: translateY(-1px);
}

.social-iframe-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
}

.social-iframe-wrapper iframe {
  display: block;
  width: 100%;
}

.contact {
  background: linear-gradient(180deg, #020108, #05030b);
}

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

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

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.contact-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.75rem;
}

.contact-form {
  background: rgba(16, 10, 26, 0.95);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
}

.form-row input,
.form-row textarea {
  background: rgba(4, 2, 10, 0.9);
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 0.7rem;
  color: #f7f7f7;
  font-size: 0.9rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #ffb300;
  box-shadow: 0 0 0 1px rgba(255, 179, 0, 0.4);
}

.main-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  background: #020108;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer a {
  color: #ffe082;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  background: #25d366;
  color: #05030b;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-button {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(15, 10, 25, 0.96);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 60;
}

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

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 0.75rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 800px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }

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

  .whatsapp-float,
  .phone-button {
    bottom: 0.85rem;
  }

  .whatsapp-float {
    right: 0.75rem;
  }

  .phone-button {
    left: 0.75rem;
  }
}

@media (max-width: 500px) {
  .section {
    padding-inline: 1.1rem;
  }

  .main-header {
    padding-inline: 1.1rem;
  }

  .hero {
    padding-inline: 1.1rem;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }
}
