/* Art direction: editorial beauty studio → arquitectónico, sobrio y cálido
   Palette: warm neutral + sage accent
   Typography: Cormorant Garamond + Inter
   Density: spacious */
:root,
[data-theme="light"] {
  --color-bg:#faf8f5;
  --color-surface:#ffffff;
  --color-surface-2:#f6f1eb;
  --color-surface-3:#efe7de;
  --color-text:#2b2622;
  --color-text-muted:#6f675f;
  --color-text-faint:#9d948b;
  --color-border:rgba(43,38,34,.12);
  --color-divider:rgba(43,38,34,.08);
  --color-primary:#7a8b7b;
  --color-primary-deep:#667666;
  --color-secondary:#e6d5c3;
  --color-inverse:#fdfbf8;
  --shadow-sm:0 1px 2px rgba(34,28,24,.05),0 6px 24px rgba(34,28,24,.04);
  --shadow-md:0 4px 16px rgba(34,28,24,.06),0 20px 44px rgba(34,28,24,.08);
  --radius-sm:.5rem;
  --radius-md:.9rem;
  --radius-lg:1.25rem;
  --radius-xl:1.75rem;
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-5:1.25rem; --space-6:1.5rem; --space-8:2rem; --space-10:2.5rem; --space-12:3rem; --space-16:4rem; --space-20:5rem;
  --text-xs:clamp(.75rem,.72rem + .2vw,.875rem);
  --text-sm:clamp(.875rem,.84rem + .2vw,1rem);
  --text-base:clamp(1rem,.97rem + .2vw,1.125rem);
  --text-lg:clamp(1.125rem,1.02rem + .5vw,1.5rem);
  --text-xl:clamp(1.6rem,1.25rem + 1vw,2.25rem);
  --text-2xl:clamp(2.3rem,1.8rem + 2vw,4rem);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:'Inter', Arial, sans-serif;
  --content:1180px;
}
[data-theme="dark"] {
  --color-bg:#171513;
  --color-surface:#1d1a18;
  --color-surface-2:#24211e;
  --color-surface-3:#2b2723;
  --color-text:#efe7df;
  --color-text-muted:#c0b6ac;
  --color-text-faint:#93897f;
  --color-border:rgba(239,231,223,.12);
  --color-divider:rgba(239,231,223,.08);
  --color-primary:#98aa99;
  --color-primary-deep:#b1c0b2;
  --color-secondary:#5b4f43;
  --color-inverse:#161311;
  --shadow-sm:0 1px 2px rgba(0,0,0,.22),0 8px 24px rgba(0,0,0,.14);
  --shadow-md:0 4px 16px rgba(0,0,0,.28),0 22px 50px rgba(0,0,0,.2);
}
*,:before,:after{box-sizing:border-box}
html{-webkit-text-size-adjust:none;text-size-adjust:none;scroll-behavior:smooth}
body{margin:0;min-height:100dvh;font-family:var(--font-body);font-size:var(--text-base);line-height:1.65;background:var(--color-bg);color:var(--color-text);text-rendering:optimizeLegibility;color:var(--color-text);text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img,svg,iframe{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
button{cursor:pointer;border:0;background:none}
:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
.skip-link{position:absolute;left:var(--space-4);top:-60px;background:var(--color-text);color:var(--color-inverse);padding:.75rem 1rem;border-radius:999px;z-index:1000}.skip-link:focus{top:var(--space-4)}
.site-shell{position:relative;overflow:hidden;isolation:isolate}
.site-shell::before,.site-shell::after{content:"";position:absolute;top:0;bottom:0;width:340px;pointer-events:none;z-index:0;background-image:url("../img/image.png");background-repeat:space repeat;background-size:250px auto;opacity:.62;filter:saturate(1.03) contrast(1.01)}
.site-shell::before{left:0;background-position:left 34px top 18px}
.site-shell::after{right:0;background-position:right 34px top 146px;transform:scaleX(-1);transform-origin:center}
[data-theme="dark"] .site-shell::before,[data-theme="dark"] .site-shell::after{opacity:.52;filter:saturate(.92) contrast(.98)}
[data-theme="light"] .site-shell::before,[data-theme="light"] .site-shell::after{opacity:.68;filter:saturate(1.05) brightness(1.01) contrast(1.02)}
@media (max-width: 1024px){.site-shell::before,.site-shell::after{width:250px;background-size:180px auto;opacity:.58}[data-theme="light"] .site-shell::before,[data-theme="light"] .site-shell::after{opacity:.62}}
@media (max-width: 720px){.site-shell::before,.site-shell::after{width:180px;background-size:132px auto;opacity:.5;background-repeat:repeat-y}.site-shell::before{background-position:left 12px top 44px}.site-shell::after{display:block;background-position:right 12px top 118px}[data-theme="light"] .site-shell::before,[data-theme="light"] .site-shell::after{opacity:.54}}
@media (max-width: 560px){.site-shell::before,.site-shell::after{width:146px;background-size:104px auto;opacity:.46;background-repeat:repeat-y}.site-shell::before{background-position:left 10px top 68px}.site-shell::after{display:block;background-position:right 10px top 126px}[data-theme="light"] .site-shell::before,[data-theme="light"] .site-shell::after{opacity:.48}}
.site-shell > *{position:relative;z-index:1}
.topbar{background:var(--color-primary);color:#fff;padding:.65rem 1rem;font-size:var(--text-sm);text-align:center}
.container{width:min(calc(100% - 2rem),var(--content));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:100;background:color-mix(in srgb, var(--color-bg) 84%, transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--color-divider)}
.header-inner{position:relative;display:grid;gap:.7rem;padding:.9rem 0 1rem}
.header-mobile-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem}
.brand{display:flex;align-items:center;gap:.75rem;min-width:0;font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:.76rem;line-height:1.15}
.brand-name{display:block;min-width:0;white-space:normal;word-break:break-word}
.brand-mark{width:56px;height:56px;padding:0;border:1px solid var(--color-border);border-radius:1rem;background:var(--color-surface);flex-shrink:0;overflow:hidden}
.brand-mark img,.brand-mark svg{width:100%;height:100%;display:block;object-fit:cover}
.nav-toggle,.theme-toggle{width:44px;height:44px;border-radius:50%;border:1px solid var(--color-border);background:var(--color-surface);display:grid;place-items:center;color:var(--color-text);flex-shrink:0}
.header-mobile-cta{display:flex;justify-content:center}
.mobile-cta{width:min(100%,260px)}
.desktop-cluster{display:none}
.mobile-nav-panel{position:absolute;top:calc(100% + .45rem);left:0;right:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--space-4);display:none}
.mobile-nav-panel.open{display:block}
.mobile-nav-panel ul,.desktop-nav ul{list-style:none;margin:0;padding:0}
.mobile-nav-panel ul{display:grid;gap:.35rem}
.mobile-nav-panel a,.desktop-nav a{display:block;padding:.85rem 1rem;border-radius:.8rem;font-size:var(--text-sm)}
.mobile-nav-panel a:hover,.mobile-nav-panel a[aria-current="page"],.desktop-nav a:hover,.desktop-nav a[aria-current="page"]{background:var(--color-surface-2)}
.section{padding:clamp(4rem,8vw,7rem) 0}.section-tight{padding:clamp(3rem,6vw,5rem) 0}
.eyebrow{display:inline-block;padding:.4rem .8rem;border:1px solid var(--color-border);border-radius:999px;font-size:var(--text-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted);background:var(--color-surface)}
.hero{padding:clamp(4.5rem,10vw,8rem) 0 clamp(4rem,8vw,7rem)}
.hero-grid{display:grid;gap:var(--space-8);align-items:end}
.hero-copy h1,.page-hero h1{font-family:var(--font-display);font-size:var(--text-2xl);line-height:.95;font-weight:600;letter-spacing:-.03em;margin:.9rem 0 1rem}
.lead{font-size:clamp(1.02rem,.98rem + .25vw,1.18rem);max-width:62ch;color:var(--color-text-muted)}
.hero-actions,.stack-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.8rem}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.95rem 1.35rem;border-radius:999px;font-size:var(--text-sm);border:1px solid transparent}
.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:hover{background:var(--color-primary-deep);transform:translateY(-1px)}
.btn-secondary{background:transparent;border-color:var(--color-border)}.btn-secondary:hover{background:var(--color-surface)}
.hero-visual,.editorial-panel,.service-card,.detail-card,.gallery-card,.map-card,.schedule-card,.social-card,.cta-panel{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-sm)}
.hero-visual{border-radius:var(--radius-xl);padding:var(--space-4);min-height:420px;position:relative;overflow:hidden}
.hero-art{height:100%;border-radius:calc(var(--radius-xl) - .5rem);background:linear-gradient(180deg, color-mix(in srgb, var(--color-secondary) 65%, #fff 35%), var(--color-surface-2));display:grid;place-items:center;padding:var(--space-8)}
.hero-art-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:1rem;width:100%;height:100%}
.hero-art-main,.hero-art-side{border-radius:1.35rem;background:rgba(255,255,255,.42);border:1px solid rgba(255,255,255,.45);position:relative;overflow:hidden}
.hero-art-main:before,.hero-art-side:before,.gallery-placeholder:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg, rgba(255,255,255,.55), transparent 60%)}
.hero-art-main:after{content:"Ivy Beauty Studio";position:absolute;left:1.25rem;bottom:1.25rem;font-family:var(--font-display);font-size:1.6rem;color:rgba(43,38,34,.75)}
.hero-art-side{display:grid;grid-template-rows:1fr 1fr;gap:1rem;background:transparent;border:none}.hero-art-side span,.gallery-placeholder span{display:block;border-radius:1.2rem;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.42)}
.grid-2,.grid-3{display:grid;gap:1.25rem}.editorial-panel{border-radius:var(--radius-xl);padding:clamp(1.5rem,3vw,2.5rem)}
.section-title{font-family:var(--font-display);font-size:var(--text-xl);margin-bottom:.9rem;font-weight:600;letter-spacing:-.02em}
.section-intro{color:var(--color-text-muted);max-width:64ch;margin-bottom:2rem}
.service-card,.detail-card,.gallery-card,.map-card,.schedule-card,.social-card{border-radius:var(--radius-lg);padding:1.5rem}
.service-card h3,.detail-card h3,.gallery-card h3,.social-card h3{font-family:var(--font-display);font-size:1.7rem;font-weight:600;margin:0 0 .75rem}
.service-meta{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0 1.2rem}
.meta-chip{padding:.45rem .75rem;border-radius:999px;background:var(--color-surface-2);border:1px solid var(--color-border);font-size:var(--text-xs);color:var(--color-text-muted)}
.detail-card p,.service-card p,.gallery-card p,.social-card p,.schedule-card p,.map-card p{color:var(--color-text-muted)}
.gallery-grid{display:grid;gap:1rem}.gallery-placeholder{aspect-ratio:4/5;border-radius:1.2rem;background:linear-gradient(145deg, var(--color-surface-2), var(--color-surface-3));border:1px solid var(--color-border);position:relative;overflow:hidden;display:grid;place-items:center}
.gallery-placeholder em{font-style:normal;font-size:var(--text-sm);letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-faint)}
.map-embed{border:0;width:100%;height:100%;min-height:360px;border-radius:1.2rem;filter:grayscale(.08) saturate(.88) contrast(1.02)}
.schedule-list{display:grid;gap:.8rem;margin-top:1.25rem}.schedule-item{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--color-divider)}.schedule-item:last-child{border-bottom:0;padding-bottom:0}.schedule-item span:last-child{color:var(--color-text-muted);text-align:right}
.cta-panel{border-radius:var(--radius-xl);padding:clamp(1.75rem,3vw,2.75rem);display:grid;gap:1rem}
.footer{padding:2.5rem 0;border-top:1px solid var(--color-divider)}.footer-grid{display:grid;gap:1.5rem}.footer small,.footer p,.footer a{color:var(--color-text-muted)}
.social-links{display:flex;flex-wrap:wrap;gap:.85rem}.social-links a{padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface)}
.whatsapp-float{position:fixed;right:1rem;bottom:1rem;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;box-shadow:0 12px 30px rgba(37,211,102,.28);z-index:95}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}.reveal.is-visible{opacity:1;transform:none}
.page-hero{padding:4.5rem 0 2.5rem}.page-hero p{max-width:64ch;color:var(--color-text-muted)}
.note-strip{padding:1rem 1.1rem;border-left:2px solid var(--color-primary);background:var(--color-surface-2);border-radius:.75rem}
@media (min-width: 860px){
  .header-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:.9rem 0;min-height:74px}
  .header-mobile-top,.header-mobile-cta,.header-mobile-theme,.mobile-nav-panel{display:none !important}
  .desktop-cluster{display:flex;align-items:center;justify-content:flex-end;gap:.85rem;flex:1}
  .desktop-nav{display:block}
  .desktop-nav ul{display:flex;align-items:center;gap:.25rem}
  .desktop-cta{display:inline-flex}
  .desktop-theme{display:grid}
  .hero-grid,.grid-2{grid-template-columns:1.1fr .9fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .gallery-grid{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1.4fr .8fr .8fr;align-items:start}
}
@media (max-width: 430px){
  .brand{font-size:.7rem;letter-spacing:.05em}
  .brand-mark{width:46px;height:46px;padding:0}
  .mobile-cta{width:100%}
  .hero-art-grid{grid-template-columns:1fr}
  .hero-art-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}}

[data-theme="dark"] .site-shell::before,[data-theme="dark"] .site-shell::after{opacity:.08;filter:saturate(.68) contrast(.9)}


.brand-shared{display:flex;align-items:center;gap:.85rem;min-width:0}
.header-mobile-actions{display:flex;align-items:center;gap:.75rem}
.mobile-theme,.nav-toggle{flex:0 0 auto}
.desktop-cluster{display:none}
@media (max-width: 767px){
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "cta cta" "nav nav";align-items:center;gap:var(--space-4)}
  .brand-shared{grid-area:brand}
  .header-mobile-actions{grid-area:actions;justify-self:end}
  .header-mobile-cta{grid-area:cta}
  .mobile-nav-panel{grid-area:nav}
  .desktop-brand,.desktop-nav,.desktop-theme,.desktop-cta{display:none!important}
  .header-mobile-cta{display:block}
  .header-mobile-cta .mobile-cta{width:100%;justify-content:center}
  .mobile-nav-panel{display:none;margin-top:0}
  .mobile-nav-panel.is-open{display:block}
}
@media (min-width: 768px){
  .brand-shared,.header-mobile-actions,.header-mobile-cta,.mobile-nav-panel{display:none!important}
  .desktop-cluster{display:flex;align-items:center;justify-content:space-between;gap:var(--space-6);width:100%}
}

.links-social-wrap {
  margin-top: 1.2rem;
}

.links-social-wrap .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.links-social-wrap .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #7A8B7B; /* Verde corporativo de Ivy Beauty */
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

/* Efecto al pasar el cursor */
.links-social-wrap .social-links a:hover {
  transform: translateY(-3px);
  background-color: #5F6E60; /* Un tono de verde más oscuro */
}