/* ============================================
   OdontoPrime - Premium Dental Clinic Website
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-white: #ffffff;
  --color-bg: #fafafa;
  --color-bg-alt: #f1f5f9;
  --color-border: #e2e8f0;
  --color-dark: #0f172a;
  --color-dark-secondary: #1e293b;
  --color-blue: #2563eb;
  --color-blue-hover: #1d4ed8;
  --color-blue-light: rgba(37, 99, 235, 0.08);
  --color-blue-glow: rgba(37, 99, 235, 0.2);
  --color-gold: #c9a96e;
  --color-gold-light: rgba(201, 169, 110, 0.15);
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;
  --color-green: #25d366;
  --color-green-hover: #1da853;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --max-width: 1200px;
  --navbar-height: 72px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section {
  padding: 80px 0;
  scroll-margin-top: var(--navbar-height);
}

[id] {
  scroll-margin-top: var(--navbar-height);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-blue);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 16px var(--color-blue-glow);
}

.btn-primary:hover {
  background: var(--color-blue-hover);
  box-shadow: 0 6px 24px var(--color-blue-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-whatsapp {
  background: var(--color-green);
  color: var(--color-white);
  padding: 18px 48px;
  font-size: 1.125rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  gap: 12px;
}

.btn-whatsapp i {
  font-size: 1.5rem;
}

.btn-whatsapp:hover {
  background: var(--color-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover i {
  transform: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1001;
}

.nav-logo-primary {
  color: var(--color-dark);
}
.nav-logo-secondary {
  color: var(--color-blue);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240, 248, 255, 0.9);
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding-top: var(--navbar-height);
  padding-bottom: 40px;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 540px;
  padding: 60px 0;
}

.hero-logo {
  margin-bottom: 32px;
}

.hero-logo img {
  height: 84px;
  width: auto;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: transparent;
  background: linear-gradient(135deg, var(--color-blue), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.hero .btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

/* Hero Image */
.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding: 40px 0 0;
}

.hero-image-frame {
  padding: 10px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 480px;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-sm) - 2px);
}

/* ============================================
   LEAD FORM
   ============================================ */
.lead-form {
    background: var(--color-bg);
    position: relative;
}

.lead-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-form-text .section-tag { text-align: left; }
.lead-form-text .section-tag::after { margin: 12px 0 0; }

.lead-form-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.lead-form-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.lead-form-box {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px var(--color-blue-light);
    background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-lighter);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group-full {
    margin-bottom: 20px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    text-align: center;
}

/* ============================================
   DIFFERENTIALS
   ============================================ */
.differentials {
    background: var(--color-white);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
}

.diff-card:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.diff-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.25rem;
  color: var(--color-blue);
  transition: var(--transition);
}

.diff-card:hover .diff-icon {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 8px 24px var(--color-blue-glow);
}

.diff-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   ABOUT / IMPLANTS EDUCATION
   ============================================ */
.about {
  background: var(--color-white);
}

.about .section-header {
  margin-bottom: 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-block {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.about-block:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-block-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.about-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-block:hover .about-block-image img {
  transform: scale(1.05);
}

.about-block-body {
  padding: 32px 32px 36px;
}

.about-block-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.about-block h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.about-block p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================
   IMPLANTS
   ============================================ */
.implants {
  background: var(--color-white);
}

.implants-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.implant-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.implant-card:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.implant-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-blue-light),
    rgba(37, 99, 235, 0.02)
  );
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 20px;
  transition: var(--transition);
}

.implant-card:hover .implant-card-icon {
  background: linear-gradient(135deg, var(--color-blue), #3b82f6);
  color: var(--color-white);
  box-shadow: 0 8px 32px var(--color-blue-glow);
  transform: scale(1.1);
}

.implant-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  transition: var(--transition);
}

.implant-card:hover h3 {
  color: var(--color-blue);
}

.implant-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.implant-card-footer {
  width: 100%;
  margin-top: auto;
}

.implant-card-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.beforeafter {
  background: var(--color-bg);
}

.slider-container {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.slider-images {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  overflow: hidden;
}

.slider-before,
.slider-after {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-before {
  left: 0;
}
.slider-after {
  right: 0;
}

.slider-before img,
.slider-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-after {
  width: 50%;
  border-right: 3px solid var(--color-white);
}

.slider-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  pointer-events: none;
}

.slider-label-before {
  left: 16px;
}
.slider-label-after {
  right: 16px;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--color-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  touch-action: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

.slider-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-dark);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.slider-handle:hover .slider-handle-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-handle.dragging .slider-handle-circle {
  transform: translate(-50%, -50%) scale(1.15);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--color-white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--color-blue-light);
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 28px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  text-align: left;
  gap: 16px;
}

.faq-question i {
  font-size: 0.875rem;
  color: var(--color-text-lighter);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--color-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--color-bg);
  overflow: hidden;
}

.testimonials-carousel {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 calc(100% / 3);
  padding: 0 14px;
  box-sizing: border-box;
}

.testimonial-card-inner {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card-inner:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9375rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
  flex-shrink: 0;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  border-radius: 50%;
  color: var(--color-blue);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.testimonial-author span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.testimonials-dots .dot.active {
  background: var(--color-blue);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.75rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
  }
}

.video_implante {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 5px;

  video {
    height: 700px;
    width: auto;
    border-radius: 5px;

    @media screen and (max-width:575px){
            width: 100%;
    }

  }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(37, 99, 235, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(201, 169, 110, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-dark-secondary);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer .nav-logo-primary {
  color: var(--color-white);
}

.footer .nav-logo-img {
  height: 52px;
}

.footer-grid {
  display: flex;
  width: 100%;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  @media screen and (max-width: 575px) {
    flex-direction: column;
    align-items: center;
  }
}

.footer-brand {
  width: 35%;

  @media screen and (max-width: 575px) {
    width: 100%;

    .footer-logo {
      display: flex;
      justify-content: center;
    }
  }
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-hours ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-blue);
  padding-left: 4px;
}

.footer-hours li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-hours li span {
  color: rgba(255, 255, 255, 0.3);
}

.footer-hours-emergency {
  color: var(--color-gold) !important;
  font-weight: 500;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-hours-emergency i {
  font-size: 0.8125rem;
}

.footer-contact li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact li i {
  color: var(--color-blue);
  font-size: 0.875rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-map {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .implants-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  /* Navbar */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 80px 40px 40px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
    z-index: 1001;
  }

  .nav-toggle {
    z-index: 1002;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.25rem;
    color: var(--color-dark);
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }

  .hero-content {
    text-align: center;
    padding: 40px 0 24px;
    max-width: 100%;
  }

  .hero-logo {
    display: flex;
    justify-content: center;
  }

  .hero-logo img {
    height: 52px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    padding: 0 20px 40px;
  }

  .hero-image-frame {
    max-width: 360px;
    margin: 0 auto;
  }

    /* Lead Form */
    .lead-form-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lead-form-grid {
        grid-template-columns: 1fr;
    }

    .lead-form-box {
        padding: 28px 24px;
    }

    /* Differentials */
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-block-image {
    height: 220px;
  }

  .about-block-body {
    padding: 24px 24px 28px;
  }

  /* Implants */
  .implants-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 50%;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 20px;
    font-size: 0.9375rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  /* CTA */
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-frame {
    max-width: 280px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .slider-handle-circle {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}

/* ============================================
   RESPONSIVE OVERRIDES FOR NAVBAR CTA
   ============================================ */
@media (max-width: 768px) {
  .nav-menu .nav-cta {
    display: inline-flex;
    margin-top: 24px;
    justify-content: center;
  }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  background: var(--color-bg);
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-dark);
}

.video-wrapper video {
  width: 100%;
  height: 900px;
  display: block;
  object-fit: cover;
}

@media (max-width: 590px) {
  .video-wrapper video {
    height: 550px;
  }
}

/* ============================================
   SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
