/*
Minimal modern portfolio for makeup artist
- Theme: warm neutrals on near-black
- Typography: Inter + Playfair Display
- Layout: responsive grid, generous whitespace
*/

:root{
  /* Enhanced baby blue theme with modern touches */
  --bg:#0e121a;           /* deep blue-black */
  --bg-alt:#111827;       /* cool dark alt */
  --bg-gradient: linear-gradient(135deg, #0e121a 0%, #1a2533 50%, #0f1724 100%);
  --text:#f5f7fa;         /* near-white text */
  --text-soft:#e2e8f0;    /* softer white */
  --muted:#c7d2e0;        /* cool gray */
  --accent:#b3d9ff;       /* baby blue */
  --accent-light:#cfeeff; /* lighter baby blue */
  --accent-soft:#e6f7ff;  /* very light baby blue */
  --accent-2:#7bb8f5;     /* supporting blue */
  --line:#1f2a3a;         /* cool divider */
  --card:#0f1724;         /* dark card */
  --card-hover:#1e293b;   /* card hover state */
  --ok:#2ecc71;
  --danger:#ff6b6b;
  --radius:14px;
  --radius-lg:18px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --shadow-soft:0 8px 25px rgba(0,0,0,.2);
  --shadow-glow:0 0 30px rgba(179, 217, 255, 0.15);
  --glass-bg: rgba(15, 23, 36, 0.8);
  --glass-border: rgba(199, 210, 224, 0.1);
}

*{box-sizing:border-box}
html{scroll-behavior: smooth}
html,body{height:100%; -webkit-text-size-adjust:100%}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 70% -10%, #1a2533 0%, var(--bg) 60%), var(--bg);
  color:var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

img{max-width:100%;display:block}

.container{width:min(1120px, 92vw); margin:0 auto}
.row{display:flex;gap:18px}
.between{justify-content:space-between}
.center{align-items:center}
.grid{display:grid; gap:36px}
.grid.two{grid-template-columns: 1.1fr .9fr; align-items:center}
.grid.three{grid-template-columns: repeat(3,1fr)}
@media (max-width: 900px){.grid.two,.grid.three{grid-template-columns:1fr}}

/* Enhanced Header with glassmorphism */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(20px);
  background: var(--glass-bg);
  border-bottom:1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 15, 26, 0.95);
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.site-header .container{min-height:72px}
.site-header .container{display:flex; align-items:center; justify-content:space-between}
.brand{
  font-family: "Playfair Display", Georgia, serif;
  font-weight:700; letter-spacing:.3px;
  font-size: clamp(18px, 2.6vw, 24px);
  color:var(--text); text-decoration:none;
  transition: all 0.3s ease;
}
.brand:hover {
  color: var(--accent);
  transform: scale(1.02);
}
.nav__toggle{display:none}
.nav__list{display:flex; gap:8px; list-style:none; padding:0; margin:0}
.nav__list a{
  color:var(--muted); 
  text-decoration:none; 
  padding:14px 16px; 
  border-radius:12px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.nav__list a::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.nav__list a:hover{
  color:var(--bg); 
  transform: translateY(-1px);
}
.nav__list a:hover::before {
  opacity: 1;
}
@media (min-width: 761px){
  .nav__list a.is-active{
    color:var(--text); 
    background: var(--card);
  }
}
@media (max-width: 760px){
  .nav__toggle{
    display:inline-flex; 
    background:var(--card); 
    border:1px solid var(--line); 
    color:var(--text); 
    padding:12px 16px; 
    border-radius:12px;
    transition: all 0.3s ease;
  }
  .nav__toggle:hover {
    background: var(--card-hover);
    border-color: var(--accent);
  }
  .nav__list{
    position:absolute; 
    right:12px; 
    top:72px; 
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border:1px solid var(--glass-border); 
    border-radius:16px; 
    padding:12px; 
    display:none; 
    flex-direction:column; 
    box-shadow:var(--shadow); 
    width: calc(100vw - 24px);
    animation: fadeInUp 0.3s ease;
  }
  .nav__list a{padding:16px 14px}
  .nav__list.is-open{display:flex}
}

/* Utils */
.skip{position:absolute; left:-999px}
.skip:focus{left:12px; top:12px; background:var(--accent); color:#111; padding:8px 12px; border-radius:10px}
.section{padding:72px 0}
.section.alt{
  background:linear-gradient(180deg, var(--bg-alt), transparent);
}
.section__head{
  display:grid; 
  gap:8px; 
  margin-bottom:28px;
}
.section__head h2{
  font:600 24px/1.2 Inter; 
  letter-spacing:.2px;
}
section[id]{scroll-margin-top: 84px}
@media (max-width:560px){
  .section{padding:56px 0}
  .section__head h2{font-size:22px}
}

/* Enhanced Buttons with modern effects */
.btn{
  display:inline-flex; 
  align-items:center; 
  gap:12px; 
  padding:18px 24px; 
  border-radius:16px; 
  text-decoration:none; 
  cursor:pointer; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 16px;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn--primary{
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.btn--ghost{
  border:2px solid var(--line); 
  color:var(--text);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover{
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--accent);
}

/* Hero */
.hero{
  padding:88px 0 52px; 
  border-bottom:1px solid var(--line);
  background: radial-gradient(ellipse at top left, rgba(179, 217, 255, 0.08) 0%, transparent 50%);
  position: relative;
}
.hero h1{
  font: 700 clamp(28px, 4.6vw, 46px)/1.1 "Playfair Display", Georgia, serif; 
  margin:0 0 10px;
}
.accent{
  color:var(--accent);
}
.hero p{
  color:var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.actions{
  display:flex; 
  gap:12px; 
  margin:18px 0 12px; 
  flex-wrap:wrap;
}
.trust{
  display:flex; 
  gap:18px; 
  padding:0; 
  margin:12px 0 0; 
  list-style: none; 
  color:var(--muted);
}
.hero__visual{
  position:relative; 
  min-height:320px;
}
/* Card containers that hold the hero images */
.hero__visual .card{
  position:absolute; 
  inset:auto 0 0 auto;
  width:min(380px, 85%); 
  height:68%;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #84c5ff, #cfeeff);
  transition: all 0.3s ease;
}
.hero__visual .card img{
  width:100%; 
  height:100%; 
  object-fit:cover; 
  display:block;
}
.hero__visual .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.hero__visual .before{
  right:22%; 
  bottom:16%; 
  filter:grayscale(.3) contrast(1.05); 
  opacity:.8; 
  z-index:0;
}
.hero__visual .after{
  right:0; 
  z-index:1;
}
@media (max-width: 760px){
  .hero{padding-top:72px}
  .hero__visual{order:-1; min-height:220px}
  .hero__visual .card{width: 84%; height: 62%}
  .trust{flex-wrap:wrap}
}

/* Portfolio */
.filters{
  display:flex; 
  gap:10px; 
  flex-wrap:wrap; 
  margin-top:6px;
}
.chip{
  background: var(--card);
  color:var(--muted); 
  border:1px solid var(--line); 
  border-radius:999px; 
  padding:10px 14px; 
  cursor:pointer;
  transition: all 0.3s ease;
}
.chip.is-active,.chip:hover{
  color:var(--text); 
  border-color:color-mix(in srgb, var(--accent), var(--line) 30%);
  background: var(--card-hover);
}
.gallery{
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap:14px;
  min-height: 400px;
}
@media (max-width: 900px){.gallery{grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 520px){.gallery{grid-template-columns: 1fr}}

.gallery.loading {
  opacity: 0.7;
  pointer-events: none;
}

.item{
  margin:0;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.item:nth-child(1) { animation-delay: 0.1s; }
.item:nth-child(2) { animation-delay: 0.2s; }
.item:nth-child(3) { animation-delay: 0.3s; }
.item:nth-child(4) { animation-delay: 0.4s; }
.item:nth-child(5) { animation-delay: 0.5s; }
.item:nth-child(6) { animation-delay: 0.6s; }
.item:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skeleton-item {
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
  aspect-ratio: 3/4;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.thumb{
  width:100%; 
  height:auto; 
  aspect-ratio: 3/4; 
  object-fit: cover; 
  border-radius: 16px; 
  background: #222; 
  border:1px solid var(--line); 
  cursor:zoom-in;
  transition: all 0.3s ease;
  opacity: 0;
}

.thumb.loaded {
  opacity: 1;
}
.thumb:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.item figcaption{
  color:var(--muted); 
  font-size:14px; 
  margin-top:8px;
}

.lightbox{
  border:none; 
  border-radius:16px; 
  padding:0; 
  background:transparent;
}
.lightbox::backdrop{
  background: rgba(0,0,0,.6); 
  backdrop-filter: blur(2px);
}
.lightbox__stage{
  width:min(960px, 88vw); 
  height:min(80vh, 800px); 
  background:#000; 
  border-radius:16px; 
  overflow:hidden;
}
.lightbox__close{
  position:fixed; 
  right:8vw; 
  top:8vh; 
  background:#000; 
  color:#fff; 
  border:1px solid #333; 
  border-radius:10px; 
  padding:8px 12px; 
  cursor:pointer;
}
@media (max-width:560px){
  .lightbox__stage{height: 64vh}
}

/* Services */
.cards{display:grid; gap:16px}
.cards.three{
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); 
  justify-content:center;
}
.card--service{
  background: var(--card);
  border:1px solid var(--line); 
  border-radius:16px; 
  padding:18px; 
  display:flex; 
  flex-direction:column;
  transition: all 0.3s ease;
}
.card--service:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.card--service h3{
  margin:0 0 6px;
  font-size: 20px;
  font-weight: 600;
}
.price{
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}
.card--service .btn{
  align-self:center;
  margin-top: auto;
}
.list{
  padding-left:18px; 
  color:var(--muted);
}
.list.cols{columns:2; gap:24px}
@media (max-width:560px){
  .list.cols{columns:1}
}

/* Testimonials */
.carousel{display:grid; gap:14px; grid-template-columns: repeat(3, 1fr)}
.carousel .quote{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px}
.carousel .who{color:var(--muted); font-size:14px}
@media (max-width: 900px){.carousel{grid-template-columns: 1fr 1fr}}
@media (max-width: 560px){.carousel{grid-template-columns: 1fr}}

/* About */
.about__visual{
  min-height:320px; 
  border-radius:16px; 
  background: radial-gradient(460px 280px at 70% 20%, #1f3a5f, var(--bg)); 
  border:1px solid var(--line);
  transition: all 0.3s ease;
}
.about__visual:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.about__visual img{
  width:100%; 
  height:100%; 
  object-fit:cover; 
  border-radius:inherit; 
  display:block;
}
@media (max-width:560px){
  .about__visual{min-height:220px}
}

/* Contact */
.form{display:grid; gap:12px}
.field{display:grid; gap:6px}
input, select{
  background:var(--bg); 
  border:1px solid var(--line); 
  color:var(--text); 
  border-radius:12px; 
  padding:14px;
  transition: all 0.3s ease;
}
input:focus, select:focus{
  outline:2px solid color-mix(in srgb, var(--accent), transparent 40%);
  border-color: var(--accent);
}
.legal{color:var(--muted); font-size:13px}
.map iframe{
  width:100%; 
  height:320px; 
  border:1px solid var(--line); 
  border-radius:16px;
}
@media (max-width:560px){
  .map iframe{height:240px}
}

/* Schedule/Agenda Section */
.calendar-wrapper {
  margin: 2rem auto;
  max-width: 100%;
}

.calendar-container {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--accent);
  background: #ffffff;
  position: relative;
}

.calendar-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(179, 217, 255, 0.1) 0%, rgba(123, 184, 245, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.calendar-container iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  position: relative;
  z-index: 2;
}

.calendar-info {
  max-width: 800px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-card strong {
  color: var(--accent);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .calendar-container {
    border-radius: var(--radius);
    border-width: 1px;
  }
  
  .calendar-container iframe {
    min-height: 600px;
  }
  
  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1.5rem;
  }
  
  .info-icon {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .calendar-container iframe {
    min-height: 500px;
  }
  
  .calendar-info {
    margin-top: 1.5rem;
  }
}

/* Legacy schedule grid (mantido caso precise) */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.schedule-day {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.schedule-day::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.schedule-day.available {
  border-color: var(--accent);
}

.schedule-day.unavailable {
  border-color: var(--line);
  opacity: 0.6;
}

.schedule-day:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.schedule-day.available:hover::before {
  transform: scaleX(1);
}

.day-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.day-status {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-day.available .day-status {
  color: var(--accent);
}

.schedule-day.unavailable .day-status {
  color: var(--muted);
}

.day-hours {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .schedule-day {
    padding: 1.2rem 0.8rem;
  }
  
  .day-name {
    font-size: 1rem;
  }
  
  .day-status {
    font-size: 0.85rem;
  }
  
  .day-hours {
    font-size: 0.9rem;
  }
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line); 
  padding:36px 0; 
  color:var(--muted);
}
.site-footer strong {
  color: var(--accent);
  font-size: 18px;
}
.site-footer p {
  color: var(--accent);
}
.footnav{
  list-style:none; 
  padding:0; 
  margin:0; 
  display:grid; 
  gap:8px;
}
.footnav a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footnav a:hover {
  color: var(--text);
}

/* Floating WhatsApp Button */
.fab{
  position:fixed; 
  right: clamp(12px, 4vw, 22px); 
  bottom: calc(clamp(12px, 4vw, 22px) + env(safe-area-inset-bottom, 0)); 
  z-index:60; 
  height:56px; 
  border-radius:999px; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  text-decoration:none; 
  box-shadow:var(--shadow); 
  border:1px solid var(--line); 
  padding:0 16px; 
  gap:10px;
  transition: all 0.3s ease;
}
.fab--wa{
  background: var(--accent); 
  color:#0b1018; 
  font-size:22px;
}
.fab--wa:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.fab__label{font-weight:600}
@media (max-width: 760px){ 
  .fab{height:52px; padding:0 14px; font-size:16px} 
}

/* Motion prefs */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important}
}

/* Simple focus outline for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
