/* ============================================
   VITAL KINE — styles.css
   Identidad visual completa + animaciones
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Slab:wght@400;600;700;800&display=swap');

/* --- Variables de color --- */
:root {
  --dark:      #01031c;
  --mid:       #004d79;
  --teal:      #20acca;
  --teal-dark: #178faa;
  --accent:    #ffe0a6;
  --light-bg:  #f8f7fc;
  --white:     #ffffff;
  --text-muted:#a0b4c8;
  --card-bg:   #0a1a35;
  --gradient-hero: linear-gradient(135deg, #01031c 0%, #004d79 50%, #20acca 100%);
  --shadow-card: 0 8px 32px rgba(1,3,28,0.18);
  --shadow-hover: 0 16px 48px rgba(32,172,202,0.25);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Scroll reveal base --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(1,3,28,0.5);
  background: rgba(1,3,28,0.97);
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: transform var(--transition);
}
.header-logo img:hover { transform: scale(1.05); }

/* Desktop nav */
.desktop-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.desktop-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.desktop-nav a:hover { color: var(--teal); }
.desktop-nav a:hover::after { width: 100%; }

@media (max-width: 900px) {
  /* handled in the 900px block above */
}

.header-cta {
  background: var(--teal);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
}
.header-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32,172,202,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(1,3,28,0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px 0;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(32,172,202,0.2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 40px;
  width: 100%;
  text-align: center;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover { color: var(--teal); background: rgba(32,172,202,0.08); }

/* ============================================
   HERO SECTION
   ============================================ */
#Inicio {
  height: 85vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-img-left,
.hero-img-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 280px;
  overflow: hidden;
  display: flex;
}
.hero-img-left {
  left: 0;
}
.hero-img-right {
  right: 0;
}
.hero-img-left img,
.hero-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-left img  { object-position: 75% 0%; }
.hero-img-right img { object-position: 25% 0%; }
.hero-img-left img:hover,
.hero-img-right img:hover { transform: scale(1.03); }

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px 20px;
  gap: 20px;
  z-index: 1;
}

.hero-center h1 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  animation: fadeInDown 0.9s ease both;
}

.hero-center p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  animation: fadeInUp 0.9s 0.2s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
  animation: fadeInUp 0.9s 0.4s ease both;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(32,172,202,0.4);
}

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(32,172,202,0.4);
}

/* Badges strip */
.hero-badges {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: transparent;
  padding: 24px 40px 0;
  z-index: 1;
  animation: fadeInUp 0.9s 0.6s ease both;
}
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
}
.badge-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.badge-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

/* Scroll section — 15vh separado del hero */
.scroll-section {
  height: 15vh;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--mid);
  color: var(--mid);
  font-size: 1.1rem;
  transition: all var(--transition);
  cursor: pointer;
  animation: bounce 2s infinite;
}
.scroll-arrow:hover {
  background: var(--light-bg);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,77,121,0.15);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-title.light { color: var(--white); }
.section-title.light::after { background: var(--teal); }

/* ============================================
   AGENDA TU CITA
   ============================================ */
#AgendaTuCita {
  background: var(--light-bg);
  padding: 90px 40px;
}
.cal-embed-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cal-embed-container iframe {
  width: 100%;
  min-height: 700px;
  border: none;
}

/* ============================================
   SERVICIOS
   ============================================ */
#Servicios {
  background: var(--light-bg);
  padding: 90px 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card-body {
  background: var(--dark);
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card-body h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.service-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.service-price {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
  margin-top: 4px;
}
.service-price span {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
}
.service-card-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}
.service-card-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* ============================================
   SOBRE MI
   ============================================ */
#SobreMi {
  background: var(--white);
  padding: 90px 40px;
}
.sobre-mi-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
  box-shadow: var(--shadow-card);
}
.sobre-mi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 480px;
  display: block;
}
.sobre-mi-content {
  padding: 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.sobre-mi-content h3 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.sobre-mi-content .subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.3px;
}
.sobre-mi-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}
.sobre-mi-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sobre-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}
.sobre-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.sobre-badge span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 48px;
  border-top: 1px solid rgba(32,172,202,0.2);
}

/* Logo column */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform var(--transition);
}
.footer-logo img:hover { transform: scale(1.05); }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.social-icon:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-3px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* Contact column */
.footer-contact {
  text-align: center;
}
.footer-contact h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-contact p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  line-height: 1.5;
}
.footer-cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.footer-cta-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* Nav column */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 400;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  background: var(--dark);
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   SERVICE PAGE HERO
   ============================================ */
.service-hero {
  min-height: 55vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 60px;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(32,172,202,0.15) 0%, transparent 70%);
}
.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.service-hero-content h1 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}
.service-hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.service-hero-price {
  display: inline-block;
  background: rgba(1,3,28,0.6);
  border: 1px solid rgba(32,172,202,0.4);
  color: var(--teal);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* Service page content */
.service-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-detail-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-detail-img:hover img { transform: scale(1.03); }
.service-detail-text h2 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.25;
}
.service-detail-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #333;
}
.service-benefits li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Calendly section on service pages */
.service-calendly {
  background: var(--light-bg);
  padding: 80px 40px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--dark);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.breadcrumb a { color: var(--teal); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(32,172,202,0.4);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  #Inicio {
    grid-template-columns: 220px 1fr 220px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sobre-mi-inner {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
    height: 70px;
    justify-content: space-between;
  }
  .header-logo img { height: 44px; }
  .desktop-nav { display: none; }
  .header-cta {
    display: inline-block;
    font-size: 0.75rem;
    padding: 9px 16px;
  }

  .mobile-nav { display: none !important; }

  #Inicio {
    height: auto;
    min-height: 85vh;
    padding-top: 70px;
    padding-bottom: 20px;
  }
  .hero-img-left { display: none; }
  .hero-img-right { display: none; }
  .hero-center {
    padding: 40px 28px 20px;
  }
  .hero-center h1 {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem);
  }
  .hero-center h1 br { display: none; }
  .hero-center p {
    font-size: 1rem;
  }
  .btn-primary {
    font-size: 0.88rem;
    padding: 13px 28px;
    white-space: nowrap;
  }
  .hero-badges {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 16px 20px;
  }
  .badge-item {
    flex: 1;
    min-width: 0;
  }
  .badge-item img {
    width: 48px;
    height: 48px;
  }
  .badge-item span {
    font-size: 0.75rem;
  }
  .scroll-section { height: 15vh; min-height: 70px; }

  .sobre-mi-inner {
    grid-template-columns: 1fr;
  }
  .sobre-mi-img { min-height: 320px; max-height: 380px; }
  .sobre-mi-content { padding: 36px 28px; }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }
  .footer-logo { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-nav { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-nav-title { width: 100%; text-align: center; }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  #AgendaTuCita, #Servicios, #SobreMi { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .hero-badges { padding: 12px 16px 16px; gap: 20px; }
  .badge-item { min-width: 90px; }
  .badge-item img { width: 48px; height: 48px; }
  .badge-item span { font-size: 0.78rem; }
  .service-content { padding: 50px 20px; }
  .service-calendly { padding: 50px 20px; }
  .breadcrumb { padding: 12px 20px; }
}