/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 160px;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  z-index: -2;
  pointer-events: none;
}
.orb1 {
  width: 420px;
  height: 420px;
  background: var(--pink);
  top: 8%;
  left: -8%;
}
.orb2 {
  width: 380px;
  height: 380px;
  background: var(--violet);
  bottom: 5%;
  right: -6%;
}
.orb3 {
  width: 260px;
  height: 260px;
  background: var(--cyan);
  top: 45%;
  right: 18%;
  opacity: .3;
}
.hero-bg {
  position: absolute;
  /* inset: 0; */
  z-index: -3;
  opacity: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(7, 6, 10, .35), rgba(7, 6, 10, .85) 70%),
    linear-gradient(180deg, rgba(7, 6, 10, .55) 0%, rgba(7, 6, 10, .55) 30%, #07060a 92%);
}
.hero-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.eyebrow {
  display: inline-flex; 
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded',sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold); 
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.hero-title-h {
  font-size: 8vw;
  font-weight: 800;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  width: 100%;
}
.hero-title-h .line {
  display: flex;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}
.hero-title-h .word {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}
.hero-title-h .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}
.hero-tagline {
  max-width: 460px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.marquee {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  will-change: transform;
}
.marquee-track span {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span i {
  color: var(--gold);
  font-style: normal;
}

/* ABOUT */
#nosotros {
  background: linear-gradient(180deg,#07060a, #0c0a12 40%, #07060a);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  isolation: isolate;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 40%, rgba(7,6,10,.85));
}
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10,9,15,.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line); 
  border-radius: 14px; 
  padding: 18px 20px;
  font-family: 'Unbounded',sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
}
.about-badge b {
  display: block;
  font-size: 26px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.about-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 600;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap:18px;margin-top: 36px;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: left;
  background: rgba(255,255,255,.02);
}
.pillar .num {
  font-family: 'Unbounded', sans-serif;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 10px;
}
.pillar h3 {
  font-size: 15px;
  text-transform: none;
  font-family: 'Inter';
  font-weight: 600;
  margin-bottom: 6px;
}
.pillar p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.quote-block {
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.quote-block p {
  font-family: 'Unbounded',sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 400;
  text-transform: none;
}
.quote-block span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* SERVICES */
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head h4 {
  font-size: clamp(34px,5vw,58px);
  font-weight: 700;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 20px;
  line-height: 1.7;
  max-width: 600px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.service-card {
  background: var(--bg); 
  padding: 44px 34px; 
  position: relative; 
  overflow: hidden;
  transition: background .4s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(160deg, rgba(41,175,216,.14), rgba(139,92,246,.08) 60%, transparent);
  transition: opacity .4s ease;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  background: #0c0a13;
}
.s-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04); 
  border: 1px solid var(--line); 
  margin-bottom: 26px; 
  position: relative;
  z-index: 1;
  font-size: 22px;
}
.service-card h5 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-transform: none;
  font-family: 'Unbounded';
}
.service-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.s-index {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: 'Unbounded';
  font-size: 13px;
  color: rgba(255,255,255,.25);
}

/* STATS */
#stats {
  padding: 100px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: 'Unbounded';
  font-size: clamp(38px,5vw,64px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.g-item:hover img {
  transform: scale(1.1);
}
.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.85));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .4s ease;
}
.g-item:hover .g-overlay {
  opacity: 1;
}
.g-overlay span {
  font-family: 'Unbounded';
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.g-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* PHILOSOPHY / QUOTE STRIP */
#filosofia {
  background: #07060a; 
  text-align: center; 
  overflow: hidden;
}
.big-quote {
  font-family: 'Unbounded'; 
  font-size: clamp(28px,5.2vw,64px); 
  font-weight: 600; 
  line-height: 1.15;
  max-width: 1080px;
  margin: 0 auto; 
  text-transform: none;
}
.big-quote .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CONTACT */
#contacto {
  background: linear-gradient(180deg,#07060a,#0c0a12);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-info .item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item:first-child {
  padding-top: 0;
}
.contact-info .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info h6 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: 'Unbounded';
  font-weight: 500;
}
.contact-info p, .contact-info a {
  font-size: 16px;
}
.contact-info a:hover {
  color: var(--gold);
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
input, textarea {
  background:rgba(255,255,255,.03); 
  border:1px solid var(--line); 
  border-radius:12px;
  padding:16px 18px; 
  color:var(--text); 
  font-family:'Inter'; 
  font-size:14px; 
  width:100%;
  transition:border-color .3s ease, background .3s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255,255,255,.05);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
::placeholder {
  color: #6b6777;
}
.form-note {
  font-size: 12px;
  color: #6b6777;
  margin-top: -4px;
}
.form-status {
  min-height: 1.5em;
  font-size: 14px;
  line-height: 1.5;
}
.form-status[data-state="success"] {
  color: #8fdbac;
}
.form-status[data-state="error"] {
  color: #ff9b9b;
}
#contactForm button:disabled {
  cursor: wait;
  opacity: .8;
}
#contactForm button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* VENUES */
.section-venues {
  margin-bottom: 64px;
}
.section-venues h4 {
  font-size: clamp(30px,4vw,46px);
  font-weight: 700;
}
.section-venues p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 20px;
  line-height: 1.7;
  max-width: 1140px;
}
.cards-venues {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 36px;
}
.venues {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: left;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.venues:hover {
  border-color: rgba(255,255,255,.28);
  transform: translateY(-4px);
}
.venues.active {
  border-color: var(--gold);
  background: rgba(255,255,255,.05);
}
.venues h3 {
  font-size: 15px;
  text-transform: none;
  font-family: 'Inter';
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gold);
}
.venues p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.venue-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 100px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.venue-directions::before {
  content: "↗";
  font-size: 13px;
}
.venue-directions:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.map-wrap {
  position: relative;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  height: clamp(320px, 43.75vw, 540px);
}
#venuesMap {
  width: 100%;
  height: 100%;
  background: var(--panel);
}
#venuesMap .leaflet-tile-pane {
  filter: grayscale(.4) invert(.92) contrast(.85) brightness(.9);
}
#venuesMap .leaflet-popup-content-wrapper,
#venuesMap .leaflet-popup-tip {
  background: var(--panel);
  color: var(--muted);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
#venuesMap .leaflet-popup-content {
  font-family: 'Inter';
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 14px;
}
#venuesMap .leaflet-popup-content b {
  color: var(--gold);
  font-size: 15px;
}
.venue-marker-icon {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
  transition: transform .2s ease;
}
.venue-marker-icon:hover {
  transform: scale(1.06);
}
.map-status {
  position: absolute;
  inset: 0;
  z-index: 800;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: var(--text);
  background: var(--panel);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.map-status[hidden] {
  display: none;
}

/* RESPONSIVE */
@media(max-width:980px) {
  .hero {
    min-height: auto;
  }
  .hero-title-h {
    font-size: 7vw;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;gap:50px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid { 
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .g-item.big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cards-venues {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    height: 420px;
  }
}
@media(max-width:560px) {
  .hero {
    padding-top: 130px;
  }
  .hero-title-h {
    font-size: 7vw;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 100px 0;
  }
  .map-wrap {
    height: 320px;
  }
}
