:root {
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    font-family: "Cormorant Garamond", serif;
    background: #fafbfa;
    color: #222222;
    font-optical-sizing: auto;
    font-style: normal;
}

.logo{
    width: 50px;
    height: 50px;
}
.imgPortada{
    height: 650px;
    width: 500px;
}

a {
    color: #5c7f67;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #3e5c46;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.content-nav{
    display: flex;
    justify-content:space-between;
    align-items: center;
    background-color:white
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    font-size: 1.1rem;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    color: #222222;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.nav-links li a:hover {
    color: #5c7f67;
}

.hero-section {
    background: #f7f8f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 50px;
    padding: 10px;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    padding: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3em;
    color: #222;
}
.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1em;
    color: #5c7f67;
    letter-spacing: 2px;
}
.lema {
    font-size: 1.2rem;
    margin-bottom: 2em;
    color: #444;
    font-style: italic;
}
.cta-btn {
    background: #5c7f67;
    color: #fff;
    padding: 0.8em 2em;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(92,127,103,0.08);
    transition: background 0.2s;
}
.cta-btn:hover {
    background: #3e5c46;
}


.home{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*Sobre Mi */
.sobreMi{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 30px;
}
.photo-sobremi{
    width:300px;
    height: 400px;
}

.textCentral{
    padding: 10px 20px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: #f7f8f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3em;
    color: #222;
}
.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1em;
    color: #5c7f67;
    letter-spacing: 2px;
}
.lema {
    font-size: 1.2rem;
    margin-bottom: 2em;
    color: #444;
    font-style: italic;
}
.cta-btn {
    background: #5c7f67;
    color: #fff;
    padding: 0.8em 2em;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(92,127,103,0.08);
    transition: background 0.2s;
}
.cta-btn:hover {
    background: #3e5c46;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.hero-image img {
    width: 350px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 6px 32px rgba(92,127,103,0.09);
}

/* ===== Responsive ===== */
/* En tablets, la imagen ocupa un poco menos y el degradado es más suave */
@media (max-width: 1023px){
  :root{
    --media-width: 48vw;
  }
  .hero-overlay{
    background:
      linear-gradient(
        to right,
        rgba(46,58,44,.95) 0%,
        rgba(46,58,44,.85) 50%,
        rgba(46,58,44,.25) 85%,
        rgba(46,58,44,.05) 100%
      );
  }
}

/* En móviles, usamos la imagen como fondo completo y centramos el texto */
@media (max-width: 768px){
  .hero-media{
    width: 100%;
    left: 0;
    background-position: center 30%;
    filter: saturate(90%) contrast(95%) brightness(75%);
  }
  .hero-overlay{
    background:
      linear-gradient(
        to bottom,
        rgba(46,58,44,.88) 0%,
        rgba(46,58,44,.78) 35%,
        rgba(46,58,44,.35) 100%
      );
  }
  .hero-split .columns{
    justify-content: center;
  }
  .hero-split .column{
    text-align: left; /* puedes poner center si lo prefieres */
  }
  .logo-m{ font-size: 1.6rem; }
  .logo-sub{ font-size: .8rem; }
}

.photo-sobremi{
  width:300px;
  height: 400px;
  position: relative;
  max-width: 320px;
  border-radius: 1rem;
  object-fit: cover;
}
.doctor-card {
  background-color: #fdfdf9;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: #5c7f67;
  color: #f9f8f7;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
  font-weight: bold;
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.doctor-info {
  flex: 1;
}

.features {
  margin-top: 1rem;
}

.features .icon-text {
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.btn-gradient {
  background: linear-gradient(90deg, #6b8e23, #d4c27f);
  border: none;
  color: white;
  font-weight: 600;
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .doctor-card {
    flex-direction: column;
    text-align: center;
  }

  .doctor-photo {
    margin-bottom: 1.5rem;
  }

  .highlight-box {
    left: 50%;
    transform: translateX(-50%);
  }
}



/*Tratamientos*/

.tratamientos{
    padding: 20px;
}

.container-tratamientos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 0 auto;
    padding: 40px;
    max-width: 900px;
}

.treatment-card {
    display: flex;
    flex: 1;

    border-radius: 10px;
    overflow: hidden;
}

.treatment-card img {
    object-fit: cover;
}

/* Tratamiento Facial */
.container-esteticaFacial{
    padding: 20px;
    color: #444;
} 

.container-esteticaFacial h1{
    text-align: center;
    font-size: 30px;
}

 .faciales{
    border-top:1px solid #5c7f67;
    border-bottom: 1px solid #5c7f67;
    padding: 20px;
    display: flex;
    justify-content: space-between;  
}

/* Estilo de todas las listas UL */
.faciales {
  list-style: none;       
  margin: 0 0 1rem 0;
  padding-left: 0;
}

.faciales ul li {
  position: relative;
  padding-left: 1.5rem;   
  margin: 0.5rem 0;
}

.faciales ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d4c06a; 
}



.container-esteticaFacial h2{
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
} */

/*Tratamiento Corporal */
.container-esteticaCorporal{
    padding: 20px;
    color: #444;
} 

.container-esteticaCorporal h1{
    text-align: center;
    font-size: 30px;
}

.container-esteticaCorporal h2{
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}

.corporal{
    border-top:1px solid #5c7f67;
    border-bottom: 1px solid #5c7f67;
    padding: 20px;
    display: flex;
    justify-content: space-between;
} 

/*Tratamiento Capilar*/
.container-esteticaCapilar{
    padding: 20px;
    color: #444;
}

.container-esteticaCapilar h1{
    text-align: center;
    font-size: 30px;
}

.container-esteticaCapilar h2{
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}

.capilar{
    border-top:1px solid #5c7f67;
    border-bottom: 1px solid #5c7f67;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

 .tratamientos-section {
  background: #efebe4; /* tono marfil/gris cálido como en la captura */
}

/* Titulares */
.tratamientos-title {
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.tratamientos-subtitle {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 10px;
}

/* Tarjeta */
.t-card {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: relative;
  overflow: visible;
}

.t-badge-ring {
  position: absolute;
}

.t-badge-img {
  position: relative;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Botón “fantasma” con borde suave */
.t-ghost-btn {
  background: #f4f1ea;
  border: 1px solid #e6e0d4 !important;
  color: #2f3a2f !important;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
}
.t-ghost-btn:hover {
  filter: brightness(0.97);
}

/* Ajustes de espacios dentro de la card */
.t-card .card-content {
  padding-top: 2.75rem; /* espacio para la insignia */
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .tratamientos-subtitle {
    padding: 0 1rem;
  }
}


/*Modal*/
/* Tratamientos: Cards Circulares */
.tratamientos-section {
    background: #fafbfa;
    padding: 3em 0;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 2em;
    font-weight: 700;
}
.tratamientos-cards {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
}
.tratamiento-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(92,127,103,0.07);
    padding: 2em 1.5em 1.5em 1.5em;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    min-width: 220px;
}
.tratamiento-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(92,127,103,0.13);
}
.tratamiento-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1em;
    border: 4px solid #e7ebe7;
    box-shadow: 0 2px 12px rgba(92,127,103,0.08);
}
.tratamiento-card h3 {
    font-size: 1.15rem;
    color: #5c7f67;
    margin-bottom: 0.5em;
}
.tratamiento-card p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1em;
}
.tratamiento-card .ver-mas {
    display: inline-block;
    color: #3e5c46;
    font-size: 0.98rem;
    font-weight: 700;
    margin-top: 0.3em;
    text-decoration: underline;
    cursor: pointer;
}

/* Modal Tratamiento */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(34,34,34,0.35);
    justify-content: center;
    align-items: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(92,127,103,0.23);
    max-width: 800px;
    width: 95vw;
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding: 2.5em 2em;
    position: relative;
    animation: modalFadeIn 0.25s;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96);}
    to { opacity: 1; transform: scale(1);}
}
.close-modal {
    position: absolute;
    top: 1.1em;
    right: 1.3em;
    font-size: 2rem;
    color: #5c7f67;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s;
    z-index: 2;
}
.close-modal:hover {
    color: #3e5c46;
}
.modal-img {
    flex: 0 0 210px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.modal-img img {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 2px 16px rgba(92,127,103,0.12);
}
.modal-info {
    flex: 1;
}
.modal-info h3 {
    color: #5c7f67;
    margin-top: 0;
}
.modal-info h4 {
    margin-bottom: 0.2em;
    margin-top: 1.2em;
    color: #222;
}
.modal-list {
    list-style: none;
    padding: 0;
    margin: 1em 0 0.5em 0;
}
.modal-list li {
    margin-bottom: 0.4em;
    color: #444;
    font-size: 1.05rem;
}
.modal-list strong {
    color: #222;
}



/* Magazine */
.magazine-section {
    background: #f5f4ef;
    padding: 3em 0;
}
.magazine-section .section-title {
    letter-spacing: 0.2em;
    font-size: 2.7rem;
    margin-bottom: 1.5em;
}
.magazine-cards {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
}
.magazine-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(34,34,34,0.07);
    overflow: hidden;
    max-width: 320px;
    min-width: 260px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
    transition: transform 0.18s, box-shadow 0.18s;
}
.magazine-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(92,127,103,0.13);
}
.magazine-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.magazine-info {
    padding: 1.1em 1.2em 1em 1.2em;
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}
.magazine-date {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 0.2em;
}
.magazine-category {
    font-size: 0.92rem;
    color: #5c7f67;
    font-weight: 700;
    margin-bottom: 0.2em;
}
.magazine-info h3 {
    font-size: 1.15rem;
    color: #222;
    margin: 0.2em 0 0.4em 0;
}
.magazine-info p {
    color: #444;
    font-size: 1.01rem;
    margin: 0;
}

/* Footer */
.footer-section {
    background: #f7f8f7;
    padding: 2em 0 1em 0;
    border-top: 1px solid #e5e5e5;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}
.footer-contacto {
    text-align: center;
}
.footer-contacto h3 {
    color: #5c7f67;
    margin-bottom: 0.6em;
}
.footer-contacto p {
    margin: 0.2em 0;
    color: #444;
}
.footer-social {
    margin-top: 1em;
}
.footer-social a img {
    width: 28px;
    height: 28px;
    margin: 0 0.5em;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.footer-social a img:hover {
    opacity: 1;
}
.footer-copy {
    font-size: 0.95rem;
    color: #888;
    margin-top: 1em;
}



html {
    scroll-behavior: smooth;
}


/* ====== Hero ====== */
.gb-hero{padding-top:4rem}
.gb-hero-img{
  border-radius:18px; overflow:hidden; box-shadow:var(--shadow);
}

/* ====== Timeline ====== */
.gb-timeline{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
@media (max-width: 900px){
  .gb-timeline{grid-template-columns:1fr}
}
.gb-ti{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 18px 18px 22px;
  box-shadow:var(--shadow);
}
.gb-ti:before{
  content:attr(data-step);
  position:absolute; right:10px; top:10px;
  width:26px; height:26px; display:grid; place-items:center;
  background:var(--sage); color:#142; font-weight:700;
  border-radius:9px; font-size:13px;
}

/* ====== Strip verde suave ====== */
.gb-strip{
  background:linear-gradient(180deg,
    color-mix(in srgb, var(--sage) 36%, #fff 64%),
    color-mix(in srgb, var(--sage-300) 26%, #fff 74%)
  );
  border-block:1px solid var(--line);
}

/* ====== Skill pill ====== */
.gb-skill{
  display:flex; gap:12px; align-items:flex-start;
  border:1px solid var(--line); border-radius:14px;
}
.gb-skill > span{font-size:22px; line-height:1}

/* ====== Idiomas panel ====== */
.gb-panel{
  background: radial-gradient(1200px 500px at 70% -10%, #dfe7d8 0, transparent 60%);
  border:1px solid var(--line); border-radius:16px;
}
.gb-badges{display:grid; gap:10px}
.gb-badge{
  display:grid; grid-template-columns:52px 1fr; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden
}
.gb-badge .num{
  background:var(--sage); color:#132; font-weight:700;
  display:grid; place-items:center; padding:12px
}
.gb-badge .txt{padding:10px 12px}

/* ====== Helpers ====== */
.box{border-radius:18px}
.card, .box{box-shadow:var(--shadow)}

/* #7F886D;