/* Aureos Aesthetic Clinic - Secuencia Gráfica estándar */
:root{
  --bg:#f6f0e5;
  --paper:#fffaf2;
  --text:#162221;
  --muted:#4c5b5a;
  --brand:#1f5d5a;
  --brand-2:#c9a24a;
  --shadow: 0 18px 45px rgba(0,0,0,.12);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(31,93,90,.10), transparent 55%),
              radial-gradient(900px 600px at 85% 10%, rgba(201,162,74,.14), transparent 55%),
              var(--bg);
  line-height:1.5;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{color:var(--brand)}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{left:18px; top:14px; width:auto; height:auto; background:#fff; padding:10px 12px; border-radius:12px; box-shadow:var(--shadow); z-index:10000}

.header{
  position:sticky; top:0; z-index:999;
  background: rgba(246,240,229,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22,34,33,.10);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:14px}

.brand{display:flex; align-items:center; gap:10px; min-width: 200px}
.brand__mark{border-radius:12px; background:#fff; padding:6px; border:1px solid rgba(22,34,33,.10)}
.brand__name{font-weight:800; letter-spacing:.14em; font-size:14px}
.brand__sub{display:block; color:var(--muted); font-size:12px}

.nav{display:flex; align-items:center; gap:12px}
.nav__menu{display:flex; align-items:center; gap:14px}
.nav__menu a{padding:10px 10px; border-radius:12px; color:rgba(22,34,33,.86)}
.nav__menu a:hover{background:rgba(31,93,90,.10)}
.nav__toggle{display:none; width:44px; height:44px; border-radius:14px; border:1px solid rgba(22,34,33,.12); background:#fff; box-shadow: 0 10px 24px rgba(0,0,0,.06); cursor:pointer}
.nav__toggle span{display:block; height:2px; width:18px; background:var(--text); margin:4px auto; border-radius:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background: linear-gradient(135deg, var(--brand), #2c7a76);
  color:#fff; padding:12px 16px; border-radius:16px;
  box-shadow: 0 16px 34px rgba(31,93,90,.22);
  border:1px solid rgba(255,255,255,.14);
  font-weight:700;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.02)}
.btn--ghost{
  background: rgba(255,255,255,.68);
  color:var(--text);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border:1px solid rgba(22,34,33,.14);
}
.btn--small{padding:10px 12px; border-radius:14px; font-weight:800; font-size:14px}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  border-radius:999px;
  padding:7px 12px;
  border:1px solid rgba(22,34,33,.12);
  background: rgba(255,255,255,.72);
  color: rgba(22,34,33,.78);
  font-weight:700;
  font-size:13px;
  width:fit-content;
}

.hero{position:relative; min-height: 78vh; display:flex; align-items:center; overflow:hidden}
.hero__bg{position:absolute; inset:0; z-index:-2}
.hero__bg img{width:100%; height:100%; object-fit:cover; filter: contrast(1.02) saturate(1.02) brightness(.98)}
.hero__fade{position:absolute; inset:0; z-index:-1;
  background: linear-gradient(90deg, rgba(246,240,229,.96) 0%, rgba(246,240,229,.82) 42%, rgba(246,240,229,.26) 70%, rgba(246,240,229,.10) 100%);
}
.hero__content{padding:72px 0}
.hero__card{
  max-width: 610px;
  background: rgba(255,250,242,.84);
  border: 1px solid rgba(22,34,33,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
}
.hero h1{margin:10px 0 8px; font-size: clamp(30px, 4.2vw, 46px); line-height:1.08}
.lead{color:rgba(22,34,33,.82); font-size: 16px; margin: 0 0 14px}
.hero__actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.hero__contact{display:grid; gap:6px; margin-top:14px; color:var(--muted); font-size:14px}
.hero__contact span{display:inline-block; width:80px; color:rgba(22,34,33,.70)}

.section{padding:66px 0}
.section--alt{background: rgba(255,255,255,.55); border-top:1px solid rgba(22,34,33,.08); border-bottom:1px solid rgba(22,34,33,.08)}
.section__head{display:grid; gap:8px; margin-bottom:18px}
.section__head h2{margin:0; font-size: clamp(24px, 3vw, 34px)}
.section__head p{margin:0; color:var(--muted)}

.grid{display:grid; gap:14px}
.cards{grid-template-columns: repeat(3, minmax(0, 1fr))}
.card{
  background: rgba(255,250,242,.82);
  border:1px solid rgba(22,34,33,.12);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  display:flex; flex-direction:column;
}
.card img{aspect-ratio: 16/10; object-fit:cover}
.card__body{padding:14px}
.card__body h3{margin:0 0 8px; font-size:18px}
.card__body ul{margin:0; padding-left:18px; color:rgba(22,34,33,.82)}
.card__body li{margin:4px 0}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.card__cta{display:flex; gap:10px; margin-top:10px; flex-wrap:wrap}

.note{
  display:flex; gap:12px; align-items:flex-start;
  margin-top:16px;
  padding:14px;
  border-radius: var(--radius);
  background: rgba(31,93,90,.10);
  border: 1px solid rgba(31,93,90,.18);
}
.note__icon{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(22,34,33,.12);
  font-weight:900; letter-spacing:.06em;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}
.gallery__item{
  border:0; padding:0; background: transparent;
  border-radius: 18px; overflow:hidden; cursor:pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  border:1px solid rgba(22,34,33,.10);
  transition: transform .16s ease, box-shadow .16s ease;
}
.gallery__item:hover{transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0,0,0,.10)}
.gallery__item img{width:100%; height:100%; object-fit:cover; aspect-ratio: 1/1}

.lightbox{position:fixed; inset:0; display:none; z-index:2000}
.lightbox.is-open{display:block}
.lightbox__backdrop{position:absolute; inset:0; background: rgba(0,0,0,.62)}
.lightbox__content{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  padding:18px;
}
.lightbox__content img{
  max-width:min(980px, 92vw);
  max-height: 82vh;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  background:#000;
}
.lightbox__close{
  position:absolute; top:16px; right:16px;
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.32);
  color:#fff; font-size:28px; line-height:1;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:46px; height:46px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.28);
  color:#fff; font-size:34px; line-height:1;
  cursor:pointer;
}
.lightbox__nav--prev{left:16px}
.lightbox__nav--next{right:16px}

.video{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(22,34,33,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  background: #000;
}
.video iframe{width:100%; aspect-ratio: 16/9; border:0}

.contact{display:grid; gap:14px; grid-template-columns: 1.1fr .9fr}
.contact__cards{display:grid; gap:14px}
.contact__card{
  background: rgba(255,250,242,.82);
  border:1px solid rgba(22,34,33,.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  padding:16px;
}
.contact__card h3{margin:0 0 6px}
.contact__actions{display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 8px}
.mini{display:grid; gap:6px; color:rgba(22,34,33,.82); font-size:14px}

.chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(22,34,33,.14);
  background: rgba(255,255,255,.72);
  font-weight:800;
}
.embed iframe{width:100%; height:520px; border-radius: 18px; border:1px solid rgba(22,34,33,.10)}
.form{
  background: rgba(255,250,242,.82);
  border:1px solid rgba(22,34,33,.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  padding:16px;
  margin-bottom:14px;
}
.form h3{margin:0 0 6px}
label{display:grid; gap:6px; margin-top:10px; font-weight:700; font-size:14px}
input, textarea{
  border-radius: 16px;
  border:1px solid rgba(22,34,33,.16);
  padding:12px 12px;
  font: inherit;
  background: rgba(255,255,255,.78);
  outline:none;
}
textarea{min-height: 120px; resize: vertical}
input:focus, textarea:focus{border-color: rgba(31,93,90,.55); box-shadow: 0 0 0 4px rgba(31,93,90,.12)}

.map{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(22,34,33,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.map iframe{width:100%; height:360px; border:0}

.footer{padding:26px 0; background: rgba(22,34,33,.92); color: rgba(255,255,255,.92)}
.footer__inner{display:grid; gap:12px}
.footer__brand{display:flex; gap:10px; align-items:center}
.footer__brand img{border-radius:12px; background:#fff; padding:6px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap}
.footer__links a{color: rgba(255,255,255,.88); padding:8px 10px; border-radius: 12px}
.footer__links a:hover{background: rgba(255,255,255,.10); color:#fff}
.footer__note p{margin:6px 0}
.footer__note a{color:#fff; text-decoration: underline}

.whatsapp-float{
  position:fixed;
  right:16px;
  bottom:16px;
  width:56px; height:56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #25d366, #1ea955);
  display:grid; place-items:center;
  box-shadow: 0 18px 45px rgba(0,0,0,.20);
  z-index:1200;
  border:1px solid rgba(255,255,255,.18);
}
.whatsapp-float svg{width:28px; height:28px; fill:#fff}

.reveal{opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease}
.reveal.is-visible{opacity:1; transform:none}

@media (max-width: 980px){
  .cards{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .gallery{grid-template-columns: repeat(3, minmax(0, 1fr))}
  .contact{grid-template-columns: 1fr}
  .hero__fade{background: linear-gradient(180deg, rgba(246,240,229,.92) 0%, rgba(246,240,229,.76) 55%, rgba(246,240,229,.24) 100%)}
}
@media (max-width: 720px){
  .nav__toggle{display:block}
  .nav__menu{
    position:absolute; right:18px; top:64px;
    background: rgba(255,250,242,.96);
    border:1px solid rgba(22,34,33,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding:10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width: 220px;
  }
  .nav__menu.is-open{display:flex}
  .nav__menu a{padding:12px 12px}
  .gallery{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .hero__content{padding:64px 0}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{transition:none}
  .btn{transition:none}
  .gallery__item{transition:none}
}

.wa-icon{font-weight:900; letter-spacing:.06em; color:#fff; font-size:16px}
