/* ════════════════════════════════════════════
   VARIABLES
════════════════════════════════════════════ */
:root {
  --white:       #FFFFFF;
  --bg:          #f4f4f4;       /* fondo ligeramente cálido */
  --card-bg:     #F4F2EE;       /* fondo de las tarjetas de servicio */
  --dark:        #1A1A1A;       /* texto oscuro principal */
  --dark-2:      #2D2D2D;
  --mid:         #666666;       /* texto secundario */
  --light-border:#E0DDD8;       /* borde sutil */
  --black:       #111111;       /* footer */

  --font-logo:   'Dancing Script', cursive;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Raleway', sans-serif;

  --nav-h:       64px;
  --sidebar-w:   36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  margin: 0;
  padding: 0;
  padding-left: var(--sidebar-w);   /* espacio para tabs laterales */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* ════════════════════════════════════════════
   SIDEBAR TABS
════════════════════════════════════════════ */
.sidebar-tabs {
  position: fixed;
  left: 0;
  top: 40%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-decoration: none;
  padding: 1rem .55rem;
  transition: background .25s, color .25s;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.side-tab:hover {
  background: #333;
  color: var(--white);
}
.side-tab:last-child { border-bottom: none; }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#mainNav {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  min-height: var(--nav-h);
  transition: box-shadow .3s;
}
#mainNav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.nav-inicio {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--dark) !important;
  text-decoration: none;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark) !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-decoration: none;
}

.nav-logo-principal {
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
    text-decoration: none;
}

.logo-img {
    height: 48px;      /* Ajusta este valor */
    width: auto;
    display: block;
}

.navbar-toggler {
  border: 1px solid var(--dark);
  border-radius: 4px;
  padding: .2rem .5rem;
  color: var(--dark);
}
.navbar-toggler .bi { font-size: 1.3rem; }

.navbar-collapse .nav-link {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark) !important;
  padding: .4rem .8rem;
  transition: opacity .2s;
}
.navbar-collapse .nav-link:hover { opacity: .55; }

.btn-dark-outline {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 50px;
  padding: .38rem 1.1rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.btn-dark-outline:hover {
  background: var(--dark);
  color: var(--white);
}

@media (max-width: 991.98px) {
  .nav-logo { position: static; transform: none; }
  .navbar-collapse {
    background: var(--white);
    border-top: 1px solid var(--light-border);
    padding: 1rem;
    margin-top: .5rem;
  }
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero-section {
  background: var(--bg);
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - var(--nav-h));
}

.hero-text {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 4rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}

.btn-hero-outline {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 50px;
  padding: .45rem 1.4rem;
  text-decoration: none;
  display: inline-block;
  transition: background .25s, color .25s;
}
.btn-hero-outline:hover { background: var(--dark); color: var(--white); }

.btn-hero-ghost {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 1px;
  transition: opacity .2s;
  display: inline-flex;
  align-items: center;
}
.btn-hero-ghost:hover { opacity: .5; color: var(--dark); }

.hero-photo-col {
  flex: 0 0 58%;
  max-width: 58%;
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991.98px) {
  .hero-section { min-height: auto; }
  .hero-inner { flex-direction: column; min-height: auto; }
  .hero-text  { flex: none; max-width: 100%; padding: 3rem 1.5rem 2rem; text-align: center; }
  .hero-actions { align-items: center; }
  .hero-photo-col { flex: none; max-width: 100%; height: 90vw; min-height: 320px; max-height: 520px; }
}

/* ════════════════════════════════════════════
   INTRO / SOBRE MÍ
════════════════════════════════════════════ */
.intro-section {
  padding: 1rem 0;
  background: var(--bg);
}

.intro-photo {
  width: 100%;
  object-fit: cover;
  object-position: top;
  max-height: 540px;
}

.intro-text-col {
  padding: 2rem 2.5rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-icon-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
}
.intro-icon {
  width: 64px;
  opacity: .75;
}

.intro-body {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--dark-2);
  margin: 0 auto 1rem;
  max-width: 600px;
  text-align: center;
}

.link-mas-info {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-top: 1.5px solid var(--dark);
  padding-top: .8rem;
  margin-top: .5rem;
  display: inline-block;
  line-height: 1.5;
  transition: opacity .2s;
}
.link-mas-info:hover { opacity: .5; color: var(--dark); }

@media (max-width: 991.98px) {
  .intro-text-col { padding: 2rem 1.5rem; }
}

/* ════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════ */
.servicios-section {
  padding: 2rem 0 1rem;
  background: var(--bg);
}

.servicios-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .35rem;
  color: var(--dark);
}

.servicios-divider {
  width: 50px;
  height: 2px;
  background: var(--dark);
  margin: 0 auto 2.5rem;
}

/* Grid de tarjetas */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--light-border);
  padding: 2rem 2rem;
  transition: background .25s;
  cursor: default;
}
.service-card:hover { background: #EDEAE4; }

/* Separadores entre tarjetas */
.row .col-md-6:nth-child(odd) .service-card  { border-right: none; }
.row .col-md-6 .service-card                 { border-bottom: none; }
.row .col-md-6:last-child .service-card      { border-bottom: 1px solid var(--light-border); }
.row .col-12 .service-card                   { border-bottom: 1px solid var(--light-border); }

.service-card--center {
  text-align: center;
}

.service-name {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .75rem;
}

.service-desc {
  font-size: .85rem;
  line-height: 1.75;
  color: var(--mid);
  margin: 0;
}

.service-desc--narrow {
  max-width: 540px;
}

/* CTA debajo de servicios */
.servicios-cta {
  display: flex;
  align-items: center;
  justify-content: center; /* Cambiado */
  gap: 1rem;
  padding: 2.5rem 0 1rem;
  flex-wrap: wrap;
  text-align: center; /* Centra el texto */
}

.servicios-cta-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0;
  line-height: 1.5;
}

.btn-wa-cta {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 50px;
  padding: .5rem 1.4rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: background .25s, color .25s;
  flex-shrink: 0;
}
.btn-wa-cta:hover { background: var(--dark); color: var(--white); }

@media (max-width: 767.98px) {
  .servicios-cta { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════
   POR QUÉ ELEGIRME
════════════════════════════════════════════ */
.porq-section {
  padding: 2rem 0;
  background: var(--bg);
}

.porq-photo-wrap {
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
}

.porq-photo {
    width: 100%;
    object-fit: cover;
    object-position: top;
    max-height: 640px;
    display: block;
}

.agenda-label{
    position:absolute;
    left:50%;
    bottom:30px;

    transform:translateX(-50%);

    width:min(500px,90vw);
    height:0px;

    background:#fff;
    border-radius:40px;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:100;

    font-weight: bolder;
    font-size: 1.5em;
}

.btn-agenda-cita {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.btn-agenda-cita:hover { opacity: .5; color: var(--dark); }

.porq-text-col {
  padding: 0rem 2rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.porq-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.75rem;
  line-height: 1.25;
}

.porq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.porq-list li {
  font-size: .9rem;
  color: var(--dark-2);
  display: flex;
  align-items: baseline;
  gap: .6rem;
  line-height: 1.5;
}

.porq-list .bi-check-lg {
  color: var(--dark);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.cita-text-link {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--mid);
  text-decoration: none;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: 2px;
  transition: color .2s;
}
.cita-text-link:hover { color: var(--dark); }

@media (max-width: 991.98px) {
  .porq-text-col { padding: 2rem 1.5rem; }
}

/* ════════════════════════════════════════════
   CONTACTO / UBICACIÓN
════════════════════════════════════════════ */
.contacto-section {
  padding: 1rem 0 1rem;
  background: var(--bg);
}

.contacto {
background-color: #fff;
}

.contacto-photo {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.contacto-datos {
  list-style: none;
  padding: 0.2rem 1rem 0.2rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.contacto-datos li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .85rem;
  color: var(--dark);
}

.contacto-datos .bi {
  font-size: .9rem;
  color: var(--dark);
}

.contacto-datos a {
  color: var(--dark);
  text-decoration: none;
}
.contacto-datos a:hover { text-decoration: underline; }

/* Mapa */
.mapa-col {
  padding-left: 2rem;
}

.mapa-wrap {
  border: 1px solid var(--light-border);
}

.mapa-iframe {
  border: 0;
}

.mapa-label-top {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--mid);
  padding: .5rem .85rem;
  border-bottom: 1px solid var(--light-border);
  background: var(--bg);
}

.mapa-address {
  font-size: .8rem;
  color: var(--mid);
  margin: .6rem .85rem;
}

/* Formulario */
.form-block-q {
  margin-bottom: 1.75rem;
}

.form-question {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .85rem;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: .5rem;
}

.form-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--light-border);
  border-radius: 0;
  padding: .55rem .1rem;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--dark);
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus { border-color: var(--dark); }
.form-input::placeholder { color: #AEAAA5; }
.form-select-plain { cursor: pointer; }

.form-radio-label {
  font-size: .85rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.form-radio-label input[type="radio"] {
  accent-color: var(--dark);
  width: 14px;
  height: 14px;
}

.privacy-text {
  font-size: .75rem;
  color: var(--mid);
  margin: 1rem 0 .75rem;
  line-height: 1.6;
}
.privacy-link { color: var(--dark); font-weight: 600; }

.btn-enviar {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .55rem 2rem;
  cursor: pointer;
  transition: background .25s;
}
.btn-enviar:hover { background: #333; }

.form-success {
  font-size: .85rem;
  color: #2d7a2d;
  background: #f0fbf0;
  border: 1px solid #b3e6b3;
  border-radius: 6px;
  padding: .75rem 1rem;
}

/* Redes sociales */
.redes-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
}

.red-link {
  font-size: 1.5rem;
  color: var(--dark);
  text-decoration: none;
  transition: opacity .2s;
}
.red-link:hover { opacity: .45; color: var(--dark); }

.redes-caption {
  font-size: .7rem;
  color: var(--mid);
  margin: 0;
}

@media (max-width: 991.98px) {
  .mapa-col { padding-left: 0; margin-top: 2rem; }
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  padding: 2.25rem 0 1.5rem;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg);
}

.footer-logo-img{
    display: block;
    height: 42px;
    width: auto;
    filter: invert(1);
    margin: 0 auto;
}

.footer-sub {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: .15rem;
}

.footer-icon {
  color: rgba(255,255,255,.55);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-icon:hover { color: var(--white); }

.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin: 0;
}

/* ════════════════════════════════════════════
   RESPONSIVE GENERAL
════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  body { padding-left: 0; }
  .sidebar-tabs { display: none; }
  .row.g-0 .col-md-6 .service-card { border-right: 1px solid var(--light-border); }
}

/* AOS */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
