/* =========================================
   JUDIT FELIPE – CSS Corporativo Bootstrap 5
   Colores: #C2814B (primario), #765033 (oscuro),
            #FCF8F4 (crema), #D6B693 (arena)
   ========================================= */

:root {
  --primary:       #c2814b;
  --primary-dark:  #765033;
  --primary-light: #FCF8F4;
  --sand:          #D6B693;
  --dark-bg:       #1c1c1c;
  --text-dark:     #2a2a2a;
  --section-alt:   #f7f3ef;
}

/* ── BASE ── */
body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Quattrocento', 'Georgia', serif;
  font-weight: 600;
  color: var(--text-dark);
}

/* ── NAVBAR ── */
.navbar-judit {
  /*background-color: var(--primary);*/
  background-color: rgba(201,169,131,1);
  padding: 0.6rem 1rem;
  transition: all 0.3s;
}
.navbar-judit .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.navbar-judit .brand-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.navbar-judit .brand-name {
  color: #fff;
  font-family: 'Quattrocento', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.navbar-judit .nav-link {
  color: rgba(255,255,255,1) !important;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.navbar-judit .nav-link:hover,
.navbar-judit .nav-link.active {
  color: var(--text-dark) !important;
  border-bottom-color: var(--text-dark);
}
.navbar-judit .btn-cita {
  background-color: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: 3px;
  padding: 0.45rem 1.1rem !important;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s;
}
.navbar-judit .btn-cita:hover {
  background-color: var(--primary-dark) !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  border: none;
}
.navbar-toggler-icon {
  filter: invert(1);
}

.form-floating > label{
  display: none;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label{
  display: block;
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}
/*.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}*/
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-content h1 {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.6rem;
}
.hero-content h2 {
  color: var(--dark-bg);
  font-weight: 400;
  font-size: 2.4rem;
}
.btn-hero {
  background-color: var(--primary);
  color: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 3px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition, all 0.3s);
}
.btn-hero:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

/* ── SECCIONES ── */
section {
  padding: 4.5rem 0;
}
.section-alt {
  background-color: var(--primary-light);
}
.section-cream {
  background-color: var(--primary-light);
}
.section-dark {
  background-color: var(--dark-bg);
  color: #fff;
}
.section-dark h2 {
  color: #fff;
}

/* ── TÍTULOS DE SECCIÓN ── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--primary);
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-top: 0.7rem;
}
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ── CITA DESTACADA ── */
.cita-section {
  background-color: var(--primary-light);
  padding: 3rem 0;
}
.cita-texto {
  font-family: 'Quattrocento', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--primary);
  text-align: center;
}

/* ── IMAGEN LATERAL ── */
.img-lateral {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 4px;
}
.img-col-cover {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 4px;
}

/* ── BOTONES ── */
.btn-primary-corp {
  background-color: var(--primary);
  color: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 3px;
  padding: 0.65rem 1.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-primary-corp:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--primary-light);
}
.btn-dark-corp {
  background-color: var(--primary-dark);
  color: var(--sand);
  border: 2px solid var(--primary-dark);
  border-radius: 3px;
  padding: 0.65rem 1.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-dark-corp:hover {
  background-color: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.btn-outline-corp {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 3px;
  padding: 0.55rem 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-outline-corp:hover {
  background-color: var(--primary);
  color: var(--primary-light);
}

/* ── TARJETAS DE SERVICIO ── */
.service-card {
  text-align: center;
  padding: 1.5rem;
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card img {
  width: 100%;
  max-width: 220px;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.service-card .btn-outline-corp {
  margin-top: auto;
}

/* ── TESTIMONIOS ── */
.testimonios-section h2 {
  color: var(--primary-light);
}
.testimonio-slide {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.testimonio-stars {
  color: orange;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.testimonio-nombre {
  font-family: 'Quattrocento', serif;
  font-size: 1.3rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.testimonio-texto {
  color: #000;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0);
  background-color: rgba(194,129,75,0.7);
  border-radius: 50%;
  padding: 20px;
}

/* ── SECCIÓN CONTACTO CTA (íconos) ── */
.icon-cta {
  font-size: 2.5rem;
  color: var(--primary);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}
.icon-cta:hover {
  color: var(--primary-dark);
  transform: scale(1.15);
}
.icon-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

/* ── FORMULARIO DE CONTACTO ── */
#contacto{
  background-color: #f2eae3;
}
.contact-inner {
  position: relative;
  z-index: 1;
}
.contact-section h2 {
  color: var(--primary-dark);
}
.contact-section .contact-info a {
  color: var(--sand);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-section .contact-info a:hover {
  color: #fff;
}
.contact-section .form-control,
.contact-section .form-select {
  background:  #fff;
  border: 1px solid var(--sand);
  color: #000;
  border-radius: 3px;
}
.contact-section .form-control::placeholder {
  color: #495057;
}
.contact-section .form-control:focus::placeholder{
  display: none;
}
.contact-section .form-control:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(194,129,75,0.25);
  color: #000;
}
.contact-section .form-floating label {
  color: rgba(0,0,0,0.6);
}
.contact-section .form-check-label {
  font-size: 0.875rem;
}
.contact-section .form-check-label a {
  color: var(--sand);
}
.contact-section .mandatory {
  font-size: 0.8rem;
}
.btn-submit {
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 0.75rem 2.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-submit:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* ── MAPA ── */
.map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ── FOOTER ── */
.footer-main {
  background-color: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1rem;
}
.footer-main a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-main a:hover {
  color: var(--sand);
}
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  justify-content: center;
}
.footer-legal-links li::before {
  content: none;
}
.footer-divider {
  border-color: rgba(255,255,255,0.1);
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ── KIT DIGITAL ── */
.kit-digital {
  background-color: #f0ece7;
  padding: 1.5rem 0;
  border-top: 1px solid #ddd;
}
.kit-digital .kit-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  text-align: center;
  padding: 0.5rem 0 1rem;
}
.kit-digital img {
  max-height: 60px;
  width: auto;
}

/* ── INSTAGRAM MÓVIL (junto al toggler) ── */
.social-nav-mobile {
  color: #d4c4b5;
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.social-nav-mobile:hover {
  color: var(--primary);
}

/* ── DROPDOWN MENÚ ── */
.dropdown-menu-corp {
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0.4rem 0;
  min-width: 220px;
  background: #1c1c1c;
}
.dropdown-menu-corp .dropdown-item {
  color: #d4c4b5;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu-corp .dropdown-item i {
  color: var(--primary);
  width: 1.2em;
}
.dropdown-menu-corp .dropdown-item:hover,
.dropdown-menu-corp .dropdown-item:focus {
  background: rgba(194,129,75,0.15);
  color: var(--primary);
}
.dropdown-menu-corp .dropdown-divider {
  border-color: rgba(255,255,255,0.1);
}
.dropdown-menu-corp .dropdown-item.fw-semibold {
  color: var(--sand);
}

/* Hover en desktop: abre el submenú sin clic */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu-corp {
    display: block;
    animation: dropFadeIn 0.18s ease;
  }
}

/* Móvil: submenú siempre visible dentro del menú colapsado */
@media (max-width: 991.98px) {
  .nav-item.dropdown > .dropdown-menu-corp {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .nav-item.dropdown > .dropdown-menu-corp .dropdown-item {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  .nav-item.dropdown > .dropdown-menu-corp .dropdown-item:hover {
    color: var(--primary);
    background: transparent;
  }
  .nav-item.dropdown > .dropdown-menu-corp .dropdown-divider {
    display: none;
  }
  .nav-item.dropdown > .dropdown-menu-corp .dropdown-item.fw-semibold {
    display: none;
  }
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO (páginas interiores) ── */
.page-hero {
  background-color: var(--sand);
  padding: 7rem 0 1.5rem;
  margin-top: 0;
  border-bottom: 3px solid var(--primary);
}
.page-hero h1,
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-dark);
}

/* ── PADDING SECCIONES ── */
.py-section {
  padding: 5rem 0;
}

/* ── CONTENIDO INTERIOR ── */
.content-section {
  padding: 4rem 0 3rem;
}
.content-section p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.content-section ul li {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.content-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Blockquote especial */
blockquote.cita-especial {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--primary-light);
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}
blockquote.cita-especial p,
blockquote.cita-especial h3 {
  margin: 0;
  font-style: italic;
  color: var(--primary-dark);
}

/* ── FORMACIÓN (lista) ── */
.formacion-list {
  list-style: none;
  padding: 0;
}
.formacion-list li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  line-height: 1.6;
}
.formacion-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── POLÍTICA / LEGAL ── */
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Nunito Sans', sans-serif;
}
.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

/* ── SOCIAL (footer e ícono nav) ── */
.social-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  padding: 0 0.4rem;
  transition: color 0.2s;
}
.social-nav a:hover {
  color: var(--sand);
}

#me-presento{
  background-color: var(--sand);
  color: #fff;
}
#me-presento h2{
  color: var(--primary-dark);
}
#testimonios,
#tratamientos,
.py-section{
  background-color: var(--primary-light);
}

/* ── RESPONSIVE AJUSTES ── */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
    padding-bottom: 3rem;
    align-items: flex-end;
  }
  .img-col-cover,
  .img-lateral {
    min-height: 280px;
    margin-top: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  .testimonio-slide {
    padding: 1.5rem;
  }
  .icon-cta {
    font-size: 2rem;
  }
  .hero-section{
    background-position: right -200px center;
  }
  .hero-section::before {
    content: '';
    inset: 0;
    position: absolute;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.6);
  }
  .navbar-judit .btn-cita{
    margin-bottom: 1rem;
  }
}
