:root {
  --dark: #010101;
  --gold: #d4af37;
  --wine: #511e26;
  --navy: #1a2640;
  --white: #f5f5f5;

  --font-title: 'Cormorant Garamond', 'Cinzel', serif;
  /* --font-body: 'Raleway', sans-serif; */
  --font-body: 'Cormorant Garamond', serif;
  --font-size-h1: clamp(2rem, 5vw, 4rem);
  --font-size-h2: clamp(1.5rem, 4vw, 2.5rem);
  --font-size-h3: clamp(1.25rem, 3vw, 2rem);
  --font-size-body: clamp(1rem, 2.5vw, 1.2rem);
  --font-size-small: clamp(0.85rem, 2vw, 1rem);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
  min-height: 100vh;
  font-size: var(--font-size-body);
  line-height: 1.6;
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
}

/* Navbar */
.navbar {
  background-color: var(--dark);
  color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.logo-navbar {
  height: 100px;
  margin-right: 0.5rem;
  filter: drop-shadow(0 0 5px var(--gold));
}

.studio-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: var(--font-size-body);
}

.nav-links a:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
}

/* Hero/Header */
.hero-header {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 4rem 1rem 2rem;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: start;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
}

.hero-content {
  z-index: 1;
  width: 100%;
}

.hero-logo {
  width: 160px;
  max-width: 80vw;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px var(--gold));
  animation: glow 4s infinite ease-in-out;
}

/* Títulos */
h1,
.hero-header h1 {
  font-family: var(--font-title);
  font-size: var(--font-size-h1);
  color: var(--gold);
  margin-bottom: 1rem;
}

h2,
section h2 {
  font-family: var(--font-title);
  font-size: var(--font-size-h2);
  color: var(--gold);
  margin: 1.5rem 0 1rem;
}

h3 {
  font-family: var(--font-title);
  font-size: var(--font-size-h3);
  color: var(--gold);
  margin: 1rem 0;
}

p.subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 800px;
}

/* CTA Botones */
.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: var(--font-size-body);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  width: 200px;
  height: 70px;
  text-align: center;
}

.cta a:hover {
  background-color: var(--wine);
  color: var(--white);
}

/* Galerías */
.galeria {
  padding: 20px;
  text-align: left;
  overflow: hidden;
}

.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.carousel-track img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 1rem;
  scroll-snap-align: start;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.carousel-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: rgba(26, 38, 64, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Necesario para que .carousel tenga posición relativa */
.carousel {
  position: relative;
}


/* Formulario promo */
.promo-form-absolute {
  position: absolute;
  top: 7rem;
  right: 2rem;
  background-color: rgba(26, 38, 64, 0.85);
  padding: 1.5rem 1.5rem 1rem;
  border-radius: 12px;
  color: var(--white);
  max-width: 320px;
  width: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.promo-message {
  font-size: var(--font-size-body);
  margin-bottom: 1rem;
}

.promo-form-absolute form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.promo-form-absolute input[type="tel"],
.promo-form-absolute input[type="text"],
.promo-form-absolute button[type="submit"],
#analyze-btn {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  outline: none;
}

.promo-form-absolute input[type="tel"],
.promo-form-absolute input[type="text"],
.promo-form-absolute input[type="number"],
.promo-form-absolute select {
  border: 3px solid var(--gold);
  background: transparent;
  color: var(--white);
  padding: 10px;
  border-radius: 5px;
  box-sizing: border-box;
}

.promo-form-absolute input::placeholder,
.promo-form-absolute select {
  color: var(--gold);
  opacity: 0.7;
}

.promo-form-absolute select option {
  color: black;
  /* para que el menú desplegable no tenga texto blanco sobre blanco */
}



.promo-form-absolute input::placeholder {
  color: #ccc;
}

.promo-form-absolute button[type="submit"] {
  background-color: var(--dark);
  color: var(--white);
  transition: background 0.3s ease;
}

.promo-form-absolute button[type="submit"]:hover {
  background-color: var(--wine);
}

.close-btn {
  position: absolute;
  top: 0.3rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: var(--font-size-small);
  color: #aaa;
}

/* Agenda sección */
section.agenda {
  border-radius: 16px;
  max-width: 100%;
  box-shadow: 0 0 25px rgba(1, 1, 1, 0.7);
}

section.agenda h2 {
  margin-left: 5%;
}

/* Splash solo móvil */
.intro-splash {
  display: none;
}

@media (max-width: 768px) {
  .intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 2.5s ease-out forwards;
    animation-delay: 1.5s;
  }

  .intro-splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @keyframes fadeOut {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }

  .promo-form-absolute {
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 90%;
  }

  .hero-header h1 {
    font-size: 2rem;
  }

  p.subtitle {
    font-size: 1rem;
  }

  .cta a {
    width: 100%;
    height: 50px;
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--dark);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
.servicios-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: var(--font-size-body);
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.servicios-toggle:hover {
  color: var(--gold);
}

/* Panel tipo dropdown */
.servicios-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--navy);
  z-index: 999;
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.servicios-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--white);
}

.servicios-dropdown li {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.mensaje-servicio {
  margin-top: 1rem;
  text-align: center;
  color: var(--gold);
  font-size: var(--font-size-small);
}

  .studio-name {
    font-size: 1.2rem;
  }
}

/* Glow efecto logo */
@keyframes glow {

  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--gold));
  }

  50% {
    filter: drop-shadow(0 0 16px var(--gold));
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group input,
.form-group select,
.form-group button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  /* Borde completo */
  border-radius: 5px;
  background-color: white;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #888;
}

.dimension-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dimension-inputs input {
  width: 100%;
}

.dimension-inputs span {
  font-weight: bold;
}
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
}

.modal-content:hover {
  transform: none;
  box-shadow: none;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
