
/* Tipografía institucional */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Header */
.header {
  background-color: #6A3A81; /* violeta institucional */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  text-decoration: none; /* quitar subrayado */
  display: inline-block;
}

.whatsapp-btn {
  background-color: white;
  color: #6A3A81;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #b18eca; /* tono claro */
  color: white;
}

/* Hero section */
.hero-text-carousel h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Sobre Nosotras */
.about h2 {
  font-size: 2rem;
  color: #6A3A81;
  margin-bottom: 1rem;
}

.person h4 {
  color: #6A3A81;
  font-weight: 600;
}

.about-text p {
  font-size: 1.1rem;
}

.btn {
  background-color: #6A3A81;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #b18eca;
}

/* Áreas de práctica */
.practice h2 {
  color: #6A3A81;
  margin-bottom: 1rem;
}

.card {
  border: 1px solid #e0d4ea;
  border-radius: 12px;
  padding: 1rem;
  background-color: #f9f6fb;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h3 {
  color: #6A3A81;
}


/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #0b1c3f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  position: fixed;
}

.header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, #0b1c3f 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.whatsapp-btn {
  background-color: #25d366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

/* Hero con video de fondo */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-text-carousel {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.hero-text-carousel h1 {
  font-size: 2.5rem;
  font-weight: bold;
  animation: fadein 1s ease;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Curvas reutilizables para otras secciones */
.section-curve-bottom,
.section-curve-top {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.section-curve-top svg {
  transform: rotate(180deg);
  display: block;
  width: 100%;
}

.section-curve-bottom svg {
  display: block;
  width: 100%;
}

/* Secciones generales */
section {
  min-height: 100vh;
  padding: 100px 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Hero antiguo (por si queda) */
.hero {
  background-color: #f5f5f5;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Sobre Nosotras */
.about {
  background-color: #ffffff;
}

.about .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about .team img {
  width: 300px;
  border-radius: 1rem;
}

.about .team .btn {
  margin-top: 1rem;
  background-color: #0b1c3f;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
}

/* Áreas de práctica */
.practice {
  background-color: #f8f9fc;
}

.practice .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background-color: #eaeaea;
  padding: 1.5rem;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* Instagram - diseño responsivo para embeds */
.instagram {
  background-color: #ffffff;
  padding: 100px 2rem;
  text-align: center;
}




/* Contacto */
.contact {
  min-height: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #f1f3f6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  width: 100%;
  margin: auto;
  padding: 0 1rem;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
  font-size: 1rem;
}

form button {
  background-color: #0b1c3f;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

/* Mapa */
.location {
  padding: 3rem 2rem;
  min-height: auto;
  text-align: center;
}

.location h2 {
  margin-bottom: 1rem;
}

.location iframe {
  max-width: 100%;
  height: 300px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  background-color: #0b1c3f;
  color: white;
}

/* Responsive */
@media (min-width: 768px) {
  .about .team {
    flex-direction: row;
    text-align: left;
  }

  .instagram .reels {
    flex-direction: row;
    flex-wrap: wrap;
  }


}

@media (min-width: 1200px) {
  form {
    max-width: 800px;
  }
}



.about .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.person {
  text-align: center;
}

.person img {
  width: 280px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.about-text {
  margin-top: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .about .team {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #0b1c3f;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: #09225a;
  transform: translateY(-2px);
}

.about-text {
  margin-top: 3rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.instagram .instagram-media {
  all: unset;
  display: block;
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}

.instagram-widget {
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin-top: 80px;
  border: 1px solid black;
}

.instagram-header-bar {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}

.ig-logo {
  width: 48px;
  height: 48px;
}

.ig-title {
  font-size: 1.4rem;
  text-align: center;
  flex-grow: 1;
}

.ig-button {
  background-color: #e1306c;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}


.ig-button:hover {
  background-color: #c7205c;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 1080px;
  flex-grow: 1;
}

.ig-item {
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.ig-item:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .instagram-widget {
    width: 90%;
    max-width: 420px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .instagram-header-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
  }

  .ig-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
  }

  .ig-title {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
  }

  .ig-button {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
  }

  .instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    margin-top: 1rem;
    height: auto;
  }

  .ig-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 0;
  }
}


@media (min-width: 769px) {
  .instagram-widget {
    max-width: 960px;
    margin: 80px auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }

  .instagram-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 1rem;
    border-bottom: 1px solid #eee;
  }

  .ig-logo {
    width: 40px;
    height: 40px;
  }

  .ig-title {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .ig-button {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }

  .instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    margin-top: 1rem;
  }

  .ig-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 0;
  }
}








/* Header sticky */
.header {
  position: sticky;
  top: 0;
}

/* Hero subtext and button */
.hero-subtext {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: #f1e9f7;
}

.hero-btn {
  margin-top: 1.5rem;
}

/* Mini bios */
.bio {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: #0b1c3f;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer a {
  color: #f2e5fa;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-socials {
  margin-top: 1rem;
}

#hero-message {
  transition: opacity 0.4s ease-in-out;
}

.booking {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.booking-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.booking-info {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.why-book ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 1rem auto 0;
}

.why-book li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.booking-form {
  padding: 5rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.booking-form h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0b1c3f;
}

.booking-form p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 100%;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form button {
  background-color: #0b1c3f;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.booking-form button:hover {
  background-color: #132d6e;
}

#respuesta {
  font-size: 1rem;
  background-color: #e5fce7;
  padding: 1rem;
  border-left: 4px solid #33a041;
  border-radius: 8px;
  color: #245c2a;
}

.thank-you {
  padding: 6rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.thank-you h1 {
  font-size: 2.2rem;
  color: #0b1c3f;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #333;
}

.practice .card ul {
  text-align: left;
  padding-left: 1.2rem;
  margin-top: 1rem;
  line-height: 1.5;
  list-style-type: disc;
  color: #333;
  font-size: 0.95rem;
}

.practice .card ul li {
  margin-bottom: 0.5rem;
}

.booking-info.urgent {
  background-color: #fff3f3;
  border-left: 6px solid #c0392b;
  color: #c0392b;
}

.booking-info.urgent h3 {
  color: #c0392b;
}

.penal-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background-color: #c0392b;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.penal-btn:hover {
  background-color: #a93226;
}

/* Grilla para ordenar las consultas horizontalmente en desktop */
.booking-details.grid-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .booking-details.grid-layout {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }

  .booking-details .booking-info {
    flex: 1;
  }
}

.booking-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: left;
}


.step-card {
  background-color: #ffffff;
  border-left: 6px solid #6A3A81;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-card .emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.step-card p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}


@media (min-width: 768px) {
  .booking-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.booking-title {
  text-align: center;
  font-size: 1.8rem;
  color: #6A3A81;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.booking h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #6A3A81;
  margin: 0.5rem auto 0;
  border-radius: 4px;
}

.inicio-btn {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: white;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border: 1px solid white;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.inicio-btn:hover {
  background-color: white;
  color: #0b1c3f;
}


