* {
  font-family: 'Outfit', sans-serif;
}

/* INICIO NAVBAR */
.navbar-custom {
  background-color: #B19D8D;
  padding: 0.25rem 0;

  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-custom .container {
  padding-left: 0px;
}

/* LOGO */
.logo-navbar {
  height: 120px;
  width: auto;
  display: block;
}

/* BRAND */
.navbar-brand {
  margin-left: 1rem;
  padding: 0;
}

/* LINKS */
.navbar-custom .nav-link {
  color: #1f1f1f;
  font-weight: 400;
}

.navbar-custom .nav-link:hover {
  opacity: 0.7;
}

/* BOTÓN CONTACTO */
.btn-contacto {
  background-color: #ffffff;
  color: #1f1f1f;
  border-radius: 20px;
  padding: 6px 18px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25); /* similar a la pastilla de la captura */
}

.btn-contacto:hover {
  background-color: #1f1f1f;
  color: #ffffff;
}

/* FIN NAVBAR */


/* HERO SECTION  */
.hero-section {
  background-color: #B19D8D; 
  padding: 3.5rem 0;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;

  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-areas:
    "image heading"
    "image body";
  column-gap: 4rem;
  row-gap: 1rem;
  align-items: center;
}

.hero-image { grid-area: image; }
.hero-heading { grid-area: heading; }
.hero-body { grid-area: body; }

.hero-image img {
  width: 330px;
  object-fit: cover;
  border-radius: 25px;
  display: block;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tipografías */
.hero-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  margin-bottom: 0.1rem; 
}

.hero-text {
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1.7;
  margin: 1.4rem 0 1.8rem 0;
  margin-top: 0 !important;
  margin-bottom: 2rem;
}

/* MÓVIL: título+subtítulo, luego imagen, luego texto */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "body";
    text-align: center;
    justify-items: center;
    row-gap: 1.5rem;
  }

  .hero-image img {
    width: 320px;
  }

  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 18px; }
  .hero-text { font-size: 1rem; }
}


/* Responsive Hero */
@media (max-width: 991px) {
  /* NAVBAR */
  .navbar-custom {
    padding: 0.75rem 0;
  }
  
  .logo-navbar {
    height: 95px !important; 
  }
  
  .navbar-brand {
    margin-left: 0.5rem;
  }
  
  /* HERO */
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    text-align: center !important;
    padding: 0 1.5rem !important;
  }
  
  .hero-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    order: 2; /* quita movimiento en móvil */
  }
  
  
  .hero-title {
    font-size: 24px !important; /* responsive títulos */
  }
  
  .hero-subtitle {
    font-size: 18px !important;
  }
  
  .hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .logo-navbar {
    height: 85px !important;
  }
  .hero-image img {
     width: 220px !important;  
  }
}

/* FIN HERO SECTION  */

.button-personalizado {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1rem;
  background-color:#B19D8D;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FAF7F3 ;
  gap: 10px;
  font-weight: bold;
  text-decoration: none;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button-personalizado:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button-personalizado:hover .icon {
  transform: translate(4px);
}

.button-personalizado:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button-personalizado::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}
@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

/* Especialidades SECTION  */
.especialidades-section{
  background: #DAD1CA; 
  padding: 4rem 0;
}

.especialidades-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.especialidades-title{
  text-align: center;
  letter-spacing: 2px;
  font-weight: 500;
  color: #625143;
  margin-bottom: 5rem;
  font-size: 1.9rem;
}

.especialidades-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem 4rem; 
  align-items: start;
}

.especialidades-grid .esp-card:nth-child(1){ grid-column: 1 / span 2; }
.especialidades-grid .esp-card:nth-child(2){ grid-column: 3 / span 2; }
.especialidades-grid .esp-card:nth-child(3){ grid-column: 5 / span 2; }
.especialidades-grid .esp-card:nth-child(4){ grid-column: 2 / span 2; } 
.especialidades-grid .esp-card:nth-child(5){ grid-column: 4 / span 2; } 

.esp-card{
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.esp-card h3{
  font-size: 1.7rem;
  font-weight: 600;
  color: #625143;
  margin-bottom: 0.8rem;
}

.esp-card p{
  font-size: 1.3rem;
  line-height: 1.7;
  color: #625143;
  margin: 0;
}


@media (max-width: 991px){
  .especialidades-section{ padding: 3rem 0; }

  .especialidades-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .especialidades-grid .esp-card:nth-child(n){
    grid-column: auto;
  }

  .esp-card{ max-width: 520px; }
}

/* section sobre mi */
.sobre-section{
  background: linear-gradient(180deg, #DAD1CA 0%, #B19D8D 70%);
  padding: 5rem 0;
}

.sobre-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-img img{
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  border-radius: 0; /* en tu mock es cuadrada */
}

.sobre-title{
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  text-align: center;
  color: #625143;
}

.sobre-text{
  font-size: 1.35rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.55);
  margin: 0;
}

/* Móvil */
@media (max-width: 991px){
  .sobre-section{ padding: 3.5rem 0; }

  .sobre-wrap{
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    justify-items: center;
  }

  .sobre-img img{
    max-width: 280px;
  }

  .sobre-text{
    font-size: 1.1rem;
  }
}


/* Mod-atencion */

/* ATENCION */
.atencion-section{
  background: #ffffff;
  padding: 5rem 0;
}

.atencion-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.atencion-title{
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 3rem 0;
}

.atencion-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.atencion-card{
  background: #7E6B59; /* marrón de las cards */
  border-radius: 18px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.atencion-card-title{
  color: #FAF7F3;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 0 2rem 0;
}

.atencion-card-text{
  color: rgba(250,247,243,0.9);
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0 0 2.2rem 0;
}


.button-personalizado.button-sm{
  font-size: 16px;          
  padding-block: 0.35rem;   
  padding-inline: 0.9rem;   
  border-width: 2px;        
  gap: 6px;
  display: inline-flex;    
}

/* Mobile */
@media (max-width: 991px){
  .atencion-section{ padding: 3.5rem 0; }

  .atencion-grid{
    grid-template-columns: 1fr;
  }

  .atencion-card{
    padding: 2.5rem 1.6rem;
  }
}

/* EXPERIENCIA */
.exp-section{
  background: #ffffff;
  padding: 5rem 0;
}

.exp-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.exp-title{
  font-size: 2.6rem;
  font-weight: 600;
  margin: 0;
}

.exp-subtitle{
  margin: 0.5rem 0 1.8rem 0;
  font-size: 1.1rem;
  color: rgba(0,0,0,0.6);
}

.exp-text{
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.15rem;
  color: rgba(0,0,0,0.75);
}

.exp-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  justify-items: center;
}

.exp-card{
  width: min(420px, 100%);
  background: #7E6B59;
  border-radius: 16px;
  padding: 3rem 2rem;
}

.exp-number{
  font-size: 4rem;
  line-height: 1;
  color: #FAF7F3;
  margin-bottom: 1.5rem;
}

.exp-label{
  font-size: 1.8rem;
  color: #FAF7F3;
}

/* Mobile */
@media (max-width: 991px){
  .exp-section{ padding: 3.5rem 0; }
  .exp-cards{ grid-template-columns: 1fr; gap: 1.8rem; }
  .exp-label{ font-size: 1.6rem; }
}

.footer-contacto{
  background: linear-gradient(90deg, #7fd3ea 0%, #cfeff6 100%);
  padding: 3.5rem 0 2rem 0;
  text-align: center;
}

.footer-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-title{
  font-size: 2.4rem;
  margin: 0;
}

.footer-subtitle{
  font-size: 1.4rem;
  margin: 0.3rem 0 0.8rem 0;
  font-weight: 600;
}

.footer-text{
  margin: 0 0 2.2rem 0;
  color: rgba(0,0,0,0.7);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-item p{
  margin: 0.6rem 0 0 0;
}

.footer-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: rgba(255,255,255,0.55);
  font-weight: 700;
}

.footer-mn{
  margin: 0;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.7);
}


.footer-link{
  text-decoration: none;
  color: inherit;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}
.footer-link:hover{ opacity: 0.85; }



@media (max-width: 991px){
  .footer-grid{ grid-template-columns: 1fr; }
}


/* Efecto oculto para el scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}


@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; transform: none; opacity: 1; }
}


:root { --nav-offset: 130px; } /* probá 130–160 según cómo se vea */

section[id], footer[id]{
  scroll-margin-top: var(--nav-offset);
}

@media (max-width: 991px){
  :root { --nav-offset: 110px; }
}

