/* =========================================================
   0) VARIABLES / RESET / BASE
========================================================= */
:root{
  --bg:#fff5f9;
  --card:#ffffff;
  --primary:#e91e63;
  --primary-soft:#f8bbd0;
  --accent:#d81b60;
  --text:#4a4a4a;
  --muted:#a06a7c;
  --line:#f3c1d3;

  /* Reutilizables */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Tamaños globales (ajusta aquí y se refleja en todo) */
  --fs-body: 16px;
  --fs-logo: 1.8rem;
  --fs-menu: 1.05rem;
  --fs-footer-title: 1.3rem;
  --fs-footer-text: 1.05rem;

  /* Header */
  --header-pad-y: 18px;
  --topbar-fs: .75rem;

  /* Botones */
  --btn-pad-y: 10px;
  --btn-pad-x: 16px;

  /* Carrito pill */
  --cart-pad-y: 16px;
  --cart-pad-x: 28px;
  --cart-fs: 1.15rem;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height:100%; }

body{
  font-family:'Segoe UI', system-ui, sans-serif;
  font-size: var(--fs-body);
  background: var(--bg);
  color: var(--text);

  /* Sticky footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* util */
.muted{ color: var(--muted); }

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}

/* Para que el contenido empuje al footer abajo */
.section{ 
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* Links básicos */
a{ color: inherit; }
header a{ text-decoration:none; }


/* =========================================================
   1) COMPONENTES: BOTONES / INPUTS / TARJETAS / GRIDS
========================================================= */
.btn{
  background:var(--primary);
  color:white;
  padding: 8px 14px;
  border:none;
  border-radius:22px;
  font-weight:900;
  font-size:0.85rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(233,30,99,.25);
  transition:.2s ease;
}

.btn:hover{ background: var(--accent); }

.btn-ghost{
  background:transparent;
  color:var(--primary);
  border:1px solid var(--primary);
}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  padding:14px;
  box-shadow:0 4px 15px rgba(233,30,99,0.08);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

input, textarea{
  width:100%;
  padding:8px;
  border-radius: var(--radius-md);
  border:1px solid var(--line);
  margin-bottom:10px;
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--primary);
}

/* Imágenes producto */
.prod-img, .prod-img-lg{
  width:100%;
  border-radius:14px;
  background: var(--primary-soft);
  padding:8px;
}

.prod-img-lg{
  max-width:650px;
  margin:0 auto;
  display:block;
}

/* Badges */
.pill{
  background: var(--primary-soft);
  color: var(--accent);
  padding:6px 12px;
  border-radius:999px;
  font-size:.85rem;
}


/* =========================================================
   5) SOBRE MI
========================================================= */
.sobre-grid{
  display:grid;
  grid-template-columns: 1fr 1.3fr;
  gap:50px;
  align-items:center;
}

.sobre-img img{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 15px 35px rgba(0,0,0,.12);
  background:#fff;
}

.sobre-content h2{
  margin-bottom:18px;
  color:#e91e63;
}

.sobre-content p{
  margin-bottom:14px;
  line-height:1.7;
  color:#555;
}

.badge-soft{
  display:inline-block;
  background:#fde6ef;
  color:#d63384;
  padding:6px 14px;
  border-radius:30px;
  font-size:.8rem;
  margin-right:8px;
  margin-top:8px;
}

.appointment-cta{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid #f2b8cd;
  border-left:5px solid #e91e63;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 30px rgba(105,42,67,.10);
}

.appointment-cta-wide{
  margin-top:20px;
}

.appointment-label{
  display:inline-flex;
  align-items:center;
  margin-bottom:8px;
  color:#d81b60;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.appointment-cta h3{
  margin:0 0 6px;
  color:#3f3f3f;
  font-size:1.2rem;
}

.appointment-cta p{
  margin:0;
  color:#7d5b68;
  line-height:1.5;
}

.appointment-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 22px;
  border-radius:999px;
  background:#e91e63;
  color:#fff;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(233,30,99,.22);
  transition:.2s ease;
}

.appointment-btn:hover{
  background:#c91854;
  transform:translateY(-1px);
}

.sobre-actions{
  margin-top:16px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

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

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

  .appointment-btn{
    width:100%;
  }
}

/* =========================================================
   RESPONSIVE SOBRE / CONTACTO
========================================================= */
.sobre-grid{
  grid-template-columns:minmax(280px, .9fr) minmax(0, 1.1fr);
  gap:clamp(24px, 5vw, 50px);
}

.sobre-img img{
  max-height:520px;
  object-fit:cover;
}

.sobre-content h2{
  font-size:clamp(1.75rem, 3.2vw, 2.35rem);
}

.sobre-content p{
  font-size:clamp(.98rem, 1.45vw, 1.08rem);
}

.sobre-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.badge-soft{
  margin:0;
}

.appointment-cta{
  width:100%;
}

@media (max-width: 900px){
  .sobre-grid{
    grid-template-columns:1fr;
    max-width:760px;
  }

  .sobre-img{
    display:flex;
    justify-content:center;
  }

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

@media (max-width: 560px){
  .sobre-img img{
    max-height:none;
  }

  .appointment-cta{
    padding:16px;
  }

  .sobre-actions .btn{
    width:100%;
  }
}

/* =========================================================
   SOBRE: LAYOUT COMPACTO
========================================================= */
#sobre.section{
  padding-top:clamp(24px, 4vw, 44px);
}

#sobre .sobre-grid{
  grid-template-columns:minmax(320px, 470px) minmax(0, 1fr);
  align-items:start;
  gap:clamp(28px, 5vw, 58px);
}

#sobre .sobre-img{
  position:sticky;
  top:112px;
}

#sobre .sobre-img img{
  width:100%;
  max-height:min(62vh, 560px);
  object-fit:cover;
  object-position:center top;
}

.sobre-lead{
  margin:0 0 16px;
  font-size:1.05rem;
  line-height:1.62;
  color:#4f3f46;
}

.sobre-info-list{
  display:grid;
  gap:12px;
  margin:16px 0 18px;
}

.sobre-info-item{
  padding:13px 15px;
  border:1px solid #f2c3d4;
  border-radius:12px;
  background:rgba(255,255,255,.64);
}

.sobre-info-item h3{
  margin:0 0 5px;
  color:#d81b60;
  font-size:.95rem;
}

.sobre-info-item p{
  margin:0;
  line-height:1.5;
}

.map-link{
  display:inline-flex;
  margin-top:10px;
  color:#d81b60;
  font-weight:800;
  text-decoration:none;
}

.map-link:hover{
  text-decoration:underline;
}

@media (max-width: 900px){
  #sobre .sobre-grid{
    grid-template-columns:1fr;
    max-width:760px;
  }

  #sobre .sobre-img{
    position:static;
  }

  #sobre .sobre-img img{
    max-width:520px;
    max-height:none;
  }
}
