@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  /* Warm Clinical Colors (Rosalinda Vibe) */
  --cream: #FAF7F2;
  --cream-dk: #F3EDE4;
  --white: #ffffff;
  
  /* Denti Brand Colors */
  --brand-primary: #89307D; 
  --brand-light: #F4E8F2; /* Soft purple */
  --brand-dark: #5a1d52;
  --gold: #C8860A;
  --gold-bg: #FEF7E7;
  
  --ink: #1E1C1A;
  --ink-muted: #6B6760;
  --border: rgba(30, 28, 26, 0.10);
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Nunito', sans-serif;
  
  --max-width: 1200px;
  --r: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ═══════════════ INTEGRATED META TAGS ═══════════════ */
.demo-ribbon {
  background: var(--brand-primary);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.75rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.demo-ribbon strong {
  background: var(--white);
  color: var(--brand-primary);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.inline-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #cffafe; /* Cyan pastel que resalta */
  color: #0e7490; /* Cyan fuerte legible */
  padding: 6px 14px;
  border: 1px solid #22d3ee;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

/* ═══════════════ NAVBAR ═══════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(90, 29, 82, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.site-header .logo img {
  height: 70px;
  width: auto;
  max-width: 123px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.desktop-nav a { color: var(--white); }
.desktop-nav a:hover { color: #f6dff2; }
.site-header .btn-outline { border-color: rgba(255,255,255,.72); color: var(--white); }
.site-header .btn-outline:hover { color: var(--brand-dark); border-color: var(--white); background: var(--white); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--brand-primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(137,48,125,0.2);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: var(--transition);
}
.btn-outline:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ═══════════════ FINANCE ATELIER STYLE HERO ═══════════════ */
.hero {
  min-height: 100vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: var(--white);
  border-bottom-left-radius: 100px;
  z-index: -1;
}

.editorial-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(200, 134, 10, 0.2);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-title em {
  color: var(--brand-primary);
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

/* Hero Visual (CSS Mockup Card instead of raw image) */
.hero-visual {
  position: relative;
  padding: 20px;
}
.hero-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  border: 8px solid var(--white);
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(137,48,125,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.badge-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  color: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.badge-text span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════ TRUST STRIP ═══════════════ */
.trust-strip {
  background: var(--brand-primary);
  padding: 24px 5vw;
  display: flex;
  justify-content: center;
  gap: 40px;
  color: var(--white);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
  padding: 100px 5vw;
}

.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--brand-primary);
}

/* Services Grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.svc-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--brand-light);
}
.svc-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.svc-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ═══════════════ ABOUT SPLIT ═══════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--brand-primary);
  line-height: 1.4;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 3px solid var(--brand-primary);
}
.about-split img {
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
  background: var(--white);
  padding: 80px 5vw 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer .logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 20px;
}
.site-footer p {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-footer p:last-of-type {
  margin-top: 40px;
  color: var(--ink-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.site-footer p:last-of-type a {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-footer p:last-of-type a { font-weight: 400; }
.site-footer p:last-of-type a strong { font-weight: 900; }

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════ REVIEWS ═══════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.review-card {
  background: var(--cream-dk);
  padding: 35px 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.review-card .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.review-card p {
  font-style: italic;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.review-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.google-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.google-badge::before {
  content: 'G';
  font-family: var(--font-sans);
  background: #fff;
  color: #4285F4;
  font-weight: 900;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ═══════════════ FAQ & EXTRAS ═══════════════ */
.faq-grid {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 30px;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--brand-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.faq-item h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  box-shadow: 0px 8px 25px rgba(37,211,102,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.wa-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0px 12px 30px rgba(37,211,102,0.5);
  color: #FFF;
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ═══════════════ PITCH SECTION (DEMO) ═══════════════ */
.pitch-section {
  background: var(--cream-dk);
  border-top: 1px dashed var(--brand-primary);
  padding: 80px 20px;
}
.pitch-inner {
  max-width: 900px;
  margin: 0 auto;
}
.pitch-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--brand-dark);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}
.pitch-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--r);
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.pitch-card h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.pitch-card p {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════ CONVENIOS / CAROUSEL ═══════════════ */
.partnership-carousel { margin-top: 24px; }
.partnership-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 20px; overflow-x: auto; scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.partnership-track::-webkit-scrollbar { display: none; }
.partnership-card {
  background: var(--white); border: 1px solid var(--border);
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 250px; scroll-snap-align: start; border-radius: var(--r);
  overflow: hidden;
}
.partner-logo-box {
  background: var(--cream); border-right: 1px solid var(--border);
  padding: 24px; display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.partner-logo-box img { max-width: 80%; max-height: 120px; object-fit: contain; }
.partner-details {
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.partner-badge {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brand-primary);
  background: var(--brand-soft); padding: 4px 10px; width: fit-content; margin-bottom: 12px; border-radius: 4px;
}
.partner-details h3 {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-dark); margin-bottom: 8px;
}
.partner-details p { color: var(--ink); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .hero, .about-split { grid-template-columns: 1fr; gap: 40px; }
  .partnership-card { grid-template-columns: 1fr; }
  .partner-logo-box { border-right: none; border-bottom: 1px solid var(--border); min-height: 150px; }
  .hero::before { display: none; }
  .hero-visual { padding: 0; margin-top: 40px; }
  .floating-badge { left: 20px; right: 20px; bottom: -20px; justify-content: center; }
  .trust-strip { flex-direction: column; gap: 16px; text-align: center; }
  
  .demo-ribbon { position: static; padding: 10px; font-size: 0.8rem; }
  .site-header { position: static; flex-direction: column; height: auto; padding: 8px 15px 10px; }
  .desktop-nav { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%; 
    margin-top: 8px; 
    gap: 12px; 
  }
}

/* ═══════════════ AUTO FADER (NO JS SLIDER) ═══════════════ */
.auto-fader {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border: 4px solid var(--white);
}
.auto-fader img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: crossfade 12s infinite;
}
.auto-fader img:nth-child(1) { animation-delay: 0s; }
.auto-fader img:nth-child(2) { animation-delay: 4s; }
.auto-fader img:nth-child(3) { animation-delay: 8s; }

@keyframes crossfade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: 36px; padding-bottom: 56px; }
  .hero-visual { margin-top: 28px; }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .section {
    padding: 50px 16px;
  }
  .hero-title, .section-title, .pitch-title {
    font-size: 1.8rem;
    word-break: break-word;
  }
  .inline-tag {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.65rem;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.4;
  }
  .auto-fader {
    height: 280px;
  }
  .pitch-card {
    padding: 20px 16px;
  }
  .demo-ribbon {
    font-size: 0.68rem;
    padding: 6px 12px;
    word-break: break-word;
  }
}

/* --------------- HERO SLIDER (INDEX) --------------- */
.hero-slider {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}
.hero-bg-fader {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(137,48,125,0.9) 0%, rgba(8,145,178,0.7) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}
.hero-slider .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero-slider .hero-title em {
  color: var(--gold);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
