/* =========================
   BASE + LAYOUT (max 1440)
========================= */
:root{
  --maxw: 1440px;
  --bg-dark: #151515;
  --text: #ffffff;
  --muted: rgba(255,255,255,.78);
  --accent: #ffd400; /* amarillo estilo rotugrafic */
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: #0f0f0f;
  color: var(--text);
}

/* Contenedor máximo (NO se estira en pantallas grandes) */
.container-max{
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

/* =========================
   NAV
========================= */
.site-header{ height: 0; } /* nav es fixed-top */

.nav-glass{
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  transition: background .2s ease;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-glass.is-solid{
  background: rgba(0,0,0,.75);
}

.brand-logo{
  height: 44px;
  width: auto;
  display: block;
}

/* =========================
   HERO
========================= */
.hero-section{
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding-top: 84px; /* espacio por navbar fixed */
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%);
}

.hero-content{
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-title{
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.hero-highlight{
  color: var(--accent);
}

.hero-text{
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* =========================
   SECTIONS
========================= */
.section{
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-dark{
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.06), transparent 40%),
              radial-gradient(circle at 80% 30%, rgba(255,255,255,.05), transparent 45%),
              #0f0f0f;
}

.section-title{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.section-title-accent{
  color: var(--accent);
}

/* =========================
   SERVICES SLIDER
========================= */
.services-slider{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.slider-viewport{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  transition: height .45s ease;
}

.service-slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  padding: 1.25rem;
  text-align: center;
}

.service-slide.is-active{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.service-media{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}

.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-media video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-title{
  margin: 1rem 0 .5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-desc{
  color: var(--muted);
  margin: 0 auto;
  max-width: 70ch;
}

.slider-btn{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.slider-btn:hover{
  background: rgba(0,0,0,.55);
}

/* Mobile: flechas más compactas */
@media (max-width: 576px){
  .services-slider{
    grid-template-columns: 44px 1fr 44px;
    gap: .5rem;
  }
  .slider-btn{
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }
}

/* =========================
   SERVICE CARDS
========================= */
.service-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  height: 100%;
  padding: 1rem;
}

.service-card-media{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  aspect-ratio: 16 / 10;
}

.service-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card-media video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card-title{
  margin: 1rem 0 .5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card-desc{
  color: var(--muted);
  margin: 0;
}

/* =========================
   CONTACT
========================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(0,0,0,.25);
}

.contact-item{
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-divider{
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.18);
}

.contact-icon{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.contact-label{
  color: var(--muted);
  font-size: .95rem;
}

.contact-link{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.contact-link:hover{ text-decoration: underline; }
.contact-text{
  color: #fff;
  font-weight: 700;
}
.contact-link--mobile{ display: none; }
.contact-text--desktop{ display: inline; }

@media (max-width: 768px){
  .contact-grid{
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .contact-divider{ display: none; }
  .contact-link--mobile{ display: inline; }
  .contact-text--desktop{ display: none; }
}

/* =========================
   ABOUT
========================= */
.about-box{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(0,0,0,.25);
  color: var(--muted);
}

/* =========================
   LOCATION
========================= */
.location-address{
  color: var(--muted);
  margin: 0;
}

.location-photos{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.location-photos img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 768px){
  .location-photos{
    grid-template-columns: 1fr;
  }
  .location-photos img{
    height: 260px;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 1.25rem 0;
  background: #0b0b0b;
  color: rgba(255,255,255,.75);
}


.map-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* altura estética */
  border-radius: 10px;
  overflow: hidden;
}

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