/* === CSS RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #C8860A;
  --primary-dark: #A06B05;
  --secondary: #2C1A0E;
  --accent: #F5C842;
  --success: #059669;
  --dark: #1f2937;
  --text: #374151;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-lighter: #faf7f2;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 20px rgba(0,0,0,0.15);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0; padding: 0;
  background-color: #f9fafb;
  color: #333;
}

html { scroll-behavior: smooth; }

/* === HEADER === */
header {
  background-color: #ffffff;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0; z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .logo-container { display: flex; align-items: center; gap: 15px; }
header img { height: 50px; }
header .clinic-name {
  font-size: 1.1rem; font-weight: 700;
  color: #1f2937; text-transform: uppercase; letter-spacing: 1px;
}
.header-contact { display: flex; align-items: center; gap: 20px; }
.header-phone {
  color: #1f2937; text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; gap: 6px;
}
.header-phone i { color: #10b981; }
.header-phone:hover { color: var(--primary); }

@media (max-width: 768px) { .header-contact { display: none; } }

/* === BUTTONS === */
.contact-buttons {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; max-width: 520px; margin: 24px auto 0 auto;
}

.btn {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; padding: 14px 22px;
  border-radius: 12px; font-weight: 600;
  font-size: 1rem; color: white;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn i { font-size: 1.2rem; }
.btn.whatsapp { background-color: #25d366; }
.btn.whatsapp:hover { background-color: #1ebe5d; transform: translateY(-2px); }
.btn.sms { background-color: #6366f1; }
.btn.sms:hover { background-color: #4f46e5; transform: translateY(-2px); }
.btn.messenger { background-color: #0084ff; }
.btn.messenger:hover { background-color: #006fe0; transform: translateY(-2px); }
.btn.call { background-color: #10b981; }
.btn.call:hover { background-color: #059669; transform: translateY(-2px); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; padding: 14px 32px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: all 0.3s ease; margin-top: 15px; border: none;
  cursor: pointer; box-shadow: 0 4px 12px rgba(200,134,10,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #D4A82A);
  box-shadow: 0 6px 16px rgba(200,134,10,0.45); transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  background-color: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 50px 30px 30px 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 40px; max-width: 1100px; margin: 0 auto 40px auto;
}
.footer-col h4 {
  color: white; font-size: 1rem; font-weight: 700;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { font-size: 0.93rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px; text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
}

/* === CUSTOM STEPS SECTION === */
.custom-steps-section {
  background: var(--secondary);
  padding: 0 0 60px 0;
}
.custom-steps-video-wrap {
  width: 100%;
  line-height: 0;
}
.custom-steps-video-wrap video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.custom-steps-text {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 0 20px;
  text-align: center;
}
.custom-steps-text h2 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.custom-steps-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.btn-primary-gold {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary-gold:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .custom-steps-text h2 { font-size: 1.6rem; }
}

/* === MOBILE STICKY BOTTOM CTA BAR === */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.13);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: white;
  min-height: 50px;
  transition: opacity 0.2s;
}
.mobile-cta-bar a:active { opacity: 0.85; }
.mobile-cta-bar .mob-wa { background: #25D366; }
.mobile-cta-bar .mob-call { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.mobile-cta-bar i { font-size: 1.1rem; }

@media (max-width: 600px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ================================================
   INSTAGRAM-STYLE CAROUSELS
   ================================================ */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 768px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-grid { grid-template-columns: 1fr; gap: 12px; } }

.ig-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.ig-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 10px 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.ig-label i { margin-right: 5px; color: var(--accent); }
.ig-track { width: 100%; height: 100%; position: relative; }
.ig-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ig-slide.active { opacity: 1; }
.ig-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Arrows */
.ig-prev, .ig-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.85);
  border: none; border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s;
  padding: 0;
}
.ig-prev { left: 8px; }
.ig-next { right: 8px; }
.ig-prev:hover, .ig-next:hover { background: white; }
/* Dots */
.ig-dots {
  position: absolute; bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px; z-index: 10;
}
.ig-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s, transform 0.2s;
}
.ig-dot.active { background: white; transform: scale(1.3); }
/* Counter */
.ig-counter {
  position: absolute; bottom: 8px; right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: white; font-size: 0.72rem; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
}

/* ================================================
   VIDEO GRID SECTION
   ================================================ */
.video-grid-section {
  padding: 60px 20px;
  background: #111;
}
.video-grid-section h2 {
  text-align: center; color: white;
  font-size: 2rem; font-weight: 800; margin-bottom: 10px;
}
.video-grid-section .section-subtitle { color: rgba(255,255,255,0.6); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 36px auto 0;
}
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr 1fr; gap: 6px; } }
.vg-item {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 9/16;
  background: #222;
}
.vg-item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
