/* ══════════════════════════════════════════════
   DRA. ISABELLA — Premium Aesthetics Clinic Site
   Design System: Dark Luxe + Rose Gold Accents
   ══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666;
  --accent: #b76e79;
  --accent-light: #d4949c;
  --accent-dark: #8f4f58;
  --border: rgba(183, 110, 121, 0.15);
  --border-light: rgba(255, 255, 255, 0.06);
  --glass: rgba(22, 22, 22, 0.85);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════ PRELOADER ══════════ */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-line {
  width: 60px; height: 2px; background: var(--accent);
  margin: 0 auto 20px; animation: preloaderLine 1.5s ease-in-out infinite;
}
.preloader-text {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: 8px; color: var(--accent);
}
@keyframes preloaderLine {
  0%, 100% { width: 20px; opacity: 0.3; }
  50% { width: 80px; opacity: 1; }
}

/* ══════════ NAVIGATION ══════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 0; transition: var(--transition);
}
#navbar.scrolled {
  background: var(--glass); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 3px;
}
.logo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0; transition: var(--transition);
}
.logo-icon svg { width: 100%; height: 100%; }
.nav-logo:hover .logo-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(183, 110, 121, 0.4));
}
.logo-text { color: var(--text-primary); font-weight: 400; }
.logo-accent { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 400; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent); transition: var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important; border: 1px solid var(--accent) !important;
  border-radius: 4px; color: var(--accent) !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--bg-primary) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════ HERO ══════════ */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg-primary);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.78) 100%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--accent); border-radius: 50%;
  opacity: 0; animation: particleFloat 8s infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 900px; }
.hero-badge {
  display: inline-block; padding: 8px 24px; border: 1px solid var(--accent);
  border-radius: 2px; font-size: 0.75rem; letter-spacing: 4px;
  color: var(--accent); margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-accent { color: var(--accent); font-style: italic; font-weight: 600; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 40px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; border-radius: 4px;
  transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--bg-primary); }
.btn-primary:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(183, 110, 121, 0.3);
}
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-indicator span { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); }

/* ══════════ ANIMATIONS ══════════ */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ══════════ SECTION COMMON ══════════ */
.section-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  position: relative; padding-left: 40px;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 28px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 16px;
}
.section-title em { color: var(--accent); font-style: italic; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-tag { padding-left: 0; }
.section-header .section-tag::before { display: none; }
.section-desc { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-weight: 300; }

/* ══════════ STATS ══════════ */
#stats { padding: 60px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.stats-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--accent); display: inline; }
.stat-suffix { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ══════════ ABOUT ══════════ */
#about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-wrapper img { width: 100%; height: 500px; object-fit: cover; }
.about-img-border { position: absolute; inset: -8px; border: 1px solid var(--accent); border-radius: var(--radius); opacity: 0.3; pointer-events: none; }
.about-experience { position: absolute; bottom: -20px; right: -20px; background: var(--accent); color: var(--bg-primary); padding: 24px; border-radius: var(--radius-sm); text-align: center; box-shadow: var(--shadow-lg); }
.about-image { position: relative; }
.exp-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; display: block; line-height: 1; }
.exp-text { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.about-text { color: var(--text-secondary); margin-bottom: 16px; font-weight: 300; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { color: var(--accent); font-size: 1.2rem; margin-top: 2px; }
.about-feature strong { display: block; margin-bottom: 4px; }
.about-feature p { color: var(--text-secondary); font-size: 0.9rem; font-weight: 300; }

/* ══════════ SERVICES / TREATMENTS ══════════ */
#treatments { padding: 120px 0; background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 40px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-icon { color: var(--accent); margin-bottom: 24px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; font-weight: 500; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; font-weight: 300; line-height: 1.7; }

/* ══════════ RESULTS / BEFORE-AFTER ══════════ */
#results { padding: 120px 0; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ba-project {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border-light); transition: var(--transition);
}
.ba-project:hover { border-color: var(--border); box-shadow: var(--shadow); }
.project-name { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; }
.project-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 16px; font-weight: 300; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; cursor: col-resize; user-select: none; }
.ba-image { position: absolute; inset: 0; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-label { position: absolute; bottom: 12px; padding: 6px 14px; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); border-radius: 4px; font-size: 0.65rem; letter-spacing: 3px; font-weight: 600; }
.ba-before .ba-label { left: 12px; }
.ba-after .ba-label { right: 12px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 10; pointer-events: none; }
.ba-handle-line { flex: 1; width: 2px; background: var(--accent); }
.ba-handle-circle { width: 44px; height: 44px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 20px rgba(183, 110, 121, 0.5); }

/* ══════════ INSTAGRAM ══════════ */
#instagram { padding: 120px 0; background: var(--bg-secondary); }
.instagram-handle { color: var(--accent); font-size: 1.1rem; font-weight: 500; transition: var(--transition); }
.instagram-handle:hover { color: var(--accent-light); }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.insta-overlay { position: absolute; inset: 0; background: rgba(183, 110, 121, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.insta-item:hover img { transform: scale(1.1); }
.insta-item:hover .insta-overlay { opacity: 1; }

/* ══════════ TESTIMONIALS ══════════ */
#testimonials { padding: 120px 0; }
.testimonials-carousel { max-width: 900px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { min-width: 100%; padding: 48px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); text-align: center; }
.testimonial-stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 24px; }
.testimonial-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; line-height: 1.6; font-style: italic; color: var(--text-primary); margin-bottom: 32px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; justify-content: center; }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.testimonial-author strong { display: block; }
.testimonial-author span { font-size: 0.85rem; color: var(--accent); }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.testimonial-btn { width: 44px; height: 44px; border: 1px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: var(--transition); }
.testimonial-btn:hover { border-color: var(--accent); color: var(--accent); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); transition: var(--transition); cursor: pointer; }
.testimonial-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ══════════ CONTACT ══════════ */
#contact { padding: 120px 0; background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-text { color: var(--text-secondary); font-weight: 300; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-detail strong { display: block; margin-bottom: 2px; }
.contact-detail p { color: var(--text-secondary); font-size: 0.9rem; font-weight: 300; }
.contact-social { display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: var(--transition); }
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 18px; background: var(--bg-primary);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.9rem; transition: var(--transition); outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1); }
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: var(--bg-primary); }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ══════════ FOOTER ══════════ */
#footer { padding: 80px 0 40px; background: var(--bg-primary); border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-light); }
.footer-brand p { color: var(--text-secondary); font-weight: 300; margin-top: 16px; font-size: 0.9rem; }
.footer-links h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 20px; color: var(--text-primary); }
.footer-links a { display: block; color: var(--text-secondary); font-size: 0.85rem; padding: 6px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { padding-top: 32px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ══════════ WHATSAPP FLOAT ══════════ */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 8000;
  width: 60px; height: 60px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 0; transform: scale(1.3); } }
.whatsapp-float-label {
  position: absolute; right: 70px; white-space: nowrap;
  background: white; color: #333; padding: 8px 16px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 500; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(10px); transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translateX(0); }

/* ══════════ PROMO BANNER ══════════ */
.promo-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9500;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border-top: 1px solid var(--border);
  transition: var(--transition);
}
.promo-banner-minimized .promo-banner-expandable { display: none; }
.promo-banner-expanded .promo-mini-arrow { transform: rotate(180deg); }
.promo-minimize-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 10px; color: var(--text-secondary); font-size: 0.8rem;
  transition: var(--transition); cursor: pointer;
}
.promo-minimize-toggle:hover { color: var(--accent); }
.promo-mini-arrow { transition: transform var(--transition); font-size: 0.6rem; }
.promo-banner-content {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; gap: 24px; max-width: 1200px; margin: 0 auto;
}
.promo-badge-wrapper { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.promo-badge { font-size: 0.7rem; letter-spacing: 2px; color: var(--accent); font-weight: 600; }
.promo-badge-pulse { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.promo-text strong { display: block; font-size: 0.95rem; color: var(--text-primary); }
.promo-sub { font-size: 0.82rem; color: var(--text-secondary); }
.promo-price { color: var(--accent); font-weight: 600; font-size: 1rem; }
.promo-right { display: flex; align-items: center; gap: 20px; }
.promo-slots { font-size: 0.8rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.promo-cta {
  display: inline-flex; padding: 12px 28px; background: var(--accent); color: var(--bg-primary);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; border-radius: 4px;
  transition: var(--transition); white-space: nowrap;
}
.promo-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(183, 110, 121, 0.3); }

/* ══════════ CHATBOT WIDGET ══════════ */
#chatWidget { position: fixed; bottom: 24px; right: 24px; z-index: 9000; }
@media (max-width: 480px) { .chat-toggle { width: 48px; height: 48px; } }
.chat-toggle { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(183, 110, 121, 0.4); transition: var(--transition); position: relative; }
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(183, 110, 121, 0.5); }
.chat-toggle-close { display: none; }
.chat-toggle.active .chat-toggle-icon { display: none; }
.chat-toggle.active .chat-toggle-close { display: block; }
.chat-badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: #e74c3c; border-radius: 50%; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; animation: chatBadgePulse 2s ease-in-out infinite; }
@keyframes chatBadgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.chat-toggle.active .chat-badge { display: none; }
.chat-window { position: absolute; bottom: 72px; right: 0; width: 380px; height: 520px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: var(--transition); }
.chat-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header { padding: 16px 20px; background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: var(--bg-primary); }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 36px; height: 36px; background: rgba(0, 0, 0, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat-header strong { font-size: 0.9rem; display: block; }
.chat-status { font-size: 0.75rem; opacity: 0.8; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-message { display: flex; flex-direction: column; }
.chat-message.bot { align-items: flex-start; }
.chat-message.user { align-items: flex-end; }
.message-bubble { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.chat-message.bot .message-bubble { background: var(--bg-secondary); border-bottom-left-radius: 4px; }
.chat-message.user .message-bubble { background: var(--accent); color: var(--bg-primary); border-bottom-right-radius: 4px; }
.message-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }
.chat-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.chat-option-btn { padding: 10px 16px; background: rgba(183, 110, 121, 0.1); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--accent); font-size: 0.82rem; text-align: left; transition: var(--transition); cursor: pointer; }
.chat-option-btn:hover { background: rgba(183, 110, 121, 0.2); border-color: var(--accent); }
.chat-input-area { padding: 12px 16px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; background: var(--bg-secondary); }
.chat-input { flex: 1; padding: 10px 16px; background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: 20px; color: var(--text-primary); font-size: 0.85rem; outline: none; transition: var(--transition); }
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bg-primary); transition: var(--transition); flex-shrink: 0; }
.chat-send:hover { background: var(--accent-light); transform: scale(1.05); }
.typing-dots { display: flex; gap: 5px; padding: 4px 8px; align-items: center; }
.typing-dots span { width: 8px; height: 8px; background: var(--text-muted); border-radius: 50%; animation: typingBounce 1.4s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-input:disabled, .chat-send:disabled { opacity: 0.5; pointer-events: none; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 480px) {
  #hero { min-height: 100vh; min-height: 100dvh; }
  .hero-badge { padding: 6px 16px; font-size: 0.6rem; letter-spacing: 2px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 12px; }
  .hero-subtitle { font-size: 0.85rem; margin: 0 auto 20px; }
  .hero-ctas .btn { padding: 12px 20px; font-size: 0.75rem; width: 100%; justify-content: center; }
  .hero-content { padding: 0 16px; padding-bottom: 60px; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 80px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: var(--bg-secondary); flex-direction: column; justify-content: center;
    padding: 40px; gap: 20px; transition: var(--transition);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }

  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrapper img { height: 350px; }
  .about-experience { bottom: -10px; right: 10px; padding: 16px; }
  .exp-number { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-card { padding: 28px 20px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonial-card { padding: 32px 20px; }
  .testimonial-text { font-size: 1.1rem; }

  .promo-banner-content { flex-direction: column; text-align: center; gap: 12px; }
  .promo-right { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
