@import url("../fonts/fonts.css");

:root {
  --radius: 0.75rem;
  
  /* OKLCH colors precisely extracted from original CSS */
  --background: oklch(0.985 0.012 85);
  --foreground: oklch(0.28 0.025 230);
  --card: oklch(0.995 0.008 85);
  --card-foreground: oklch(0.28 0.025 230);
  --popover: oklch(0.995 0.008 85);
  --popover-foreground: oklch(0.28 0.025 230);
  --primary: oklch(0.48 0.07 215);
  --primary-foreground: oklch(0.985 0.012 85);
  --secondary: oklch(0.94 0.018 80);
  --secondary-foreground: oklch(0.32 0.03 220);
  --muted: oklch(0.95 0.014 80);
  --muted-foreground: oklch(0.5 0.025 220);
  --accent: oklch(0.78 0.11 55);
  --accent-foreground: oklch(0.28 0.025 230);
  --destructive: oklch(0.6 0.2 27);
  --destructive-foreground: oklch(0.985 0.012 85);
  --border: oklch(0.9 0.018 80);
  --input: oklch(0.9 0.018 80);
  --ring: oklch(0.55 0.07 215);

  --sand: oklch(0.97 0.018 80);
  --sand-deep: oklch(0.91 0.03 75);
  --ocean: oklch(0.62 0.09 215);
  --ocean-deep: oklch(0.38 0.06 225);
  --sunset: oklch(0.78 0.13 50);

  --gradient-sunset: linear-gradient(135deg, oklch(0.85 0.11 55) 0%, oklch(0.78 0.13 25) 50%, oklch(0.55 0.1 280) 100%);
  --gradient-sand: linear-gradient(180deg, oklch(0.985 0.012 85) 0%, oklch(0.95 0.022 75) 100%);
  --shadow-soft: 0 12px 40px -16px oklch(0.4 0.05 220 / 0.18);
  --shadow-card: 0 1px 2px oklch(0.4 0.05 220 / 0.04), 0 8px 32px -12px oklch(0.4 0.05 220 / 0.12);

  --font-serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Karla", ui-sans-serif, system-ui, sans-serif;
}

/* Global Reset & Base styles */
* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utility Mapping Classes */
.text-primary {
  color: var(--primary) !important;
}
.text-muted-foreground {
  color: var(--muted-foreground) !important;
}
.bg-sand {
  background-color: var(--sand) !important;
}
.bg-sand-deep {
  background-color: var(--sand-deep) !important;
}
.bg-card {
  background-color: var(--card) !important;
}
.border-border {
  border-color: var(--border) !important;
}
.border-border-60 {
  border-color: rgba(220, 218, 214, 0.6) !important; /* soft custom border */
}

/* Glassmorphism Header */
header {
  transition: all 0.5s ease-in-out;
}
header.navbar-scrolled {
  background-color: rgba(251, 249, 245, 0.8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 218, 214, 0.6);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

header.navbar-scrolled .logo-icon {
  background-color: rgba(69, 131, 150, 0.15) !important; /* hover primary */
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(69, 131, 150, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
a:hover .logo-icon {
  transform: scale(1.1);
}

.nav-link-custom {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-link-custom:hover {
  color: var(--foreground);
}

/* Premium Buttons */
.btn-primary-custom {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
.btn-primary-custom:hover {
  background-color: var(--ocean-deep);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px oklch(0.4 0.05 220 / 0.25);
}

.btn-secondary-custom {
  background-color: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(44, 49, 58, 0.2);
  transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
  background-color: rgba(44, 49, 58, 0.05);
  color: var(--foreground);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-cover: cover;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay-vertical {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251, 249, 245, 0.4) 0%, rgba(251, 249, 245, 0.1) 40%, var(--background) 100%);
  z-index: 2;
}
.hero-overlay-horizontal {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(251, 249, 245, 0.6) 0%, transparent 100%);
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
}

.animate-float {
  animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-10px) translateX(-50%); }
}

.hero-scroll-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 10;
}
.hero-scroll-btn:hover {
  color: var(--foreground);
}

/* Services Cards */
.services-card {
  position: relative;
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(220, 218, 214, 0.6);
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.services-card:hover {
  border-color: rgba(69, 131, 150, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px -16px oklch(0.4 0.05 220 / 0.18);
}
.services-card-img-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.services-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.services-card:hover .services-card-img {
  transform: scale(1.05);
}
.services-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(251, 249, 245, 0.9) 0%, rgba(251, 249, 245, 0.1) 60%, transparent 100%);
  z-index: 2;
}
.services-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(44, 49, 58, 0.8);
  background-color: rgba(251, 249, 245, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 50rem;
  z-index: 3;
}
.services-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 4;
}

/* Approach Pillar Cards */
.pillar-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(220, 218, 214, 0.6);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pillar-card:hover {
  border-color: rgba(69, 131, 150, 0.3);
}
.pillar-icon-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(69, 131, 150, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid rgba(220, 218, 214, 0.6);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(69, 131, 150, 0.3);
}
.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  color: rgba(69, 131, 150, 0.15);
}
.stars-wrapper {
  display: flex;
  gap: 0.25rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* Video Section and Modal styling */
.video-section {
  position: relative;
  height: 70vh;
  height: 80svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-parallax-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  transform: scale(1.05);
  z-index: 1;
}
.video-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(57, 102, 117, 0.4) 0%, rgba(57, 102, 117, 0.3) 50%, rgba(57, 102, 117, 0.6) 100%);
  z-index: 2;
}
.video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 48rem;
  padding: 0 1.5rem;
}
.play-btn {
  position: relative;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}
.play-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.play-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.6;
}
.play-icon-svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: currentColor;
  margin-left: 0.25rem;
  transition: transform 0.3s;
}
.play-btn:hover .play-icon-svg {
  transform: scale(1.1);
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Custom Video Dialog Modal */
.modal-video-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  padding: 1rem;
}
.modal-video-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-video-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  cursor: pointer;
}
.modal-video-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.modal-video-container {
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}
.modal-video-overlay.show .modal-video-container {
  transform: scale(1);
}

/* Contact Grid */
.contact-section {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
}
.contact-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--sand) 0%, rgba(247, 245, 240, 0.95) 60%, transparent 100%);
  z-index: 2;
}
.contact-content {
  position: relative;
  z-index: 3;
}

/* Floating Utility Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1030;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}
.whatsapp-float-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.scroll-up-btn {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--foreground);
  color: var(--background);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1020;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}
.scroll-up-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-up-btn:hover {
  transform: scale(1.1);
}

/* AOS-style Reveal CSS Animation rules */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left {
  transform: translateX(-32px);
}
.reveal.reveal-right {
  transform: translateX(32px);
}
.reveal.reveal-zoom {
  transform: scale(0.96);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Custom Letter spacing and utilities */
.letter-spacing-custom {
  letter-spacing: 0.25em !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .contact-bg-img {
    width: 100%;
    opacity: 0.3;
  }
  .contact-overlay {
    background: linear-gradient(to bottom, var(--sand) 0%, rgba(247, 245, 240, 0.97) 100%);
  }
}

/* =========================================================
   Sitio 2026 — agregados propios (íconos SVG locales, PHP)
   ========================================================= */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; vertical-align: middle; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.star-filled { fill: currentColor; }
.play-icon-svg { color: #fff; fill: #fff; }

.nav-link-custom { text-decoration: none; }
.nav-link-custom.active { color: var(--primary); }

.dot { width: 8px; height: 8px; margin-top: 0.5rem; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.testimonial-card { display: flex; flex-direction: column; }

.motivos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
.motivos-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--foreground); }
.motivos-list .icon { margin-top: 0.3rem; }

.footer-link { color: var(--muted-foreground); text-decoration: none; transition: color .3s; }
.footer-link:hover { color: var(--primary); }

/* Utilidades de Tailwind que usaba el boceto (Lovable) y faltaban en el export */
.font-serif { font-family: var(--font-serif); }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.15; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -.015em; }
.tracking-widest { letter-spacing: .1em; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.shadow-soft { box-shadow: var(--shadow-soft); }
.bg-background { background-color: var(--background); }

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: var(--gradient-sand);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -10rem; top: -6rem;
  width: 32rem; height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.85 0.11 55 / 0.35), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 em { color: var(--primary); }
.max-w-3xl { max-width: 48rem; }

.page-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.page-crumbs a { color: var(--muted-foreground); text-decoration: none; }
.page-crumbs a:hover { color: var(--primary); }

.section { padding: 4.5rem 0; }
.section-sand { background: var(--sand); }

/* Texto largo (contenido cargado desde pdadmin) */
.prose { font-size: 1.075rem; line-height: 1.8; color: var(--foreground); max-width: 46rem; }
.prose p { margin-bottom: 1.25rem; }
.prose strong, .prose b { font-weight: 600; color: var(--foreground); }
.prose a { color: var(--primary); }

/* Listas con punto */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check-list.cols-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem 2rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: .55rem;
  border-radius: 50%; background: var(--primary);
}

/* Tarjeta suave genérica */
.soft-card {
  background: var(--card);
  border: 1px solid rgba(220, 218, 214, 0.6);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.soft-card h2, .soft-card h3 { font-family: var(--font-serif); }

/* Imágenes */
.img-rounded { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-soft); }
.img-rounded img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.img-rounded:hover img { transform: scale(1.03); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.photo-grid a { display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-card); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-grid a:hover img { transform: scale(1.05); }

/* Lightbox propio (sin librerías) */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 28, 34, .92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: .75rem; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1.25rem; right: 1.25rem; }
.lightbox .lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox .lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* Listado de terapias / publicaciones */
.list-row { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.list-row:last-child { border-bottom: 0; }
@media (min-width: 768px) { .list-row.has-img { grid-template-columns: 280px 1fr; align-items: center; gap: 2.5rem; } }
.list-row h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--foreground); margin-bottom: .75rem; transition: color .3s; }
.list-row:hover h2 { color: var(--primary); }
.list-row .more { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary); font-weight: 500; font-size: .9rem; margin-top: .5rem; }

/* Documentos para descargar */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.doc-list a {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem; border-radius: .75rem;
  background: var(--card); border: 1px solid var(--border);
  color: var(--foreground); text-decoration: none; font-size: .925rem;
  transition: border-color .3s, color .3s, transform .3s;
}
.doc-list a:hover { border-color: var(--primary); color: var(--primary); transform: translateX(3px); }
.doc-list .icon { color: var(--primary); }

/* Videos: miniatura que carga el iframe recién al hacer click (más rápido) */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.video-card h2 { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.3; margin-top: 1rem; color: var(--foreground); }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; background: var(--ocean-deep); box-shadow: var(--shadow-card); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.video-embed .video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .9; }
.video-embed .video-facade:hover img { transform: scale(1.04); opacity: 1; }
.video-embed .video-facade .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.5); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.video-embed .video-facade .play svg { fill: #fff; margin-left: 3px; }

/* Formularios */
.form-label-custom { font-size: .85rem; font-weight: 500; color: var(--foreground); margin-bottom: .4rem; display: block; }
.form-control-custom {
  width: 100%; border: 1px solid var(--border); border-radius: .75rem;
  padding: .8rem 1rem; background: var(--card); color: var(--foreground);
  font-size: 1rem; transition: border-color .3s, box-shadow .3s;
}
.form-control-custom:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(69, 131, 150, .12); }
textarea.form-control-custom { min-height: 9rem; resize: vertical; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-soft { border-radius: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border); background: var(--sand); }
.alert-soft.error { border-color: oklch(0.6 0.2 27 / .4); background: oklch(0.97 0.02 27); color: oklch(0.45 0.15 27); }

/* Datos de contacto / honorarios */
.info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: 0; }
.info-item .info-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(69,131,150,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item h3 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-foreground); margin-bottom: .25rem; }
.info-item p { margin: 0; }
.info-item a { color: var(--foreground); }
.info-item a:hover { color: var(--primary); }
.price { font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--foreground); }
.price small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted-foreground); }

/* Frase destacada */
.quote-block { font-family: var(--font-serif); font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.3; font-style: italic; color: var(--foreground); }
.quote-block em { color: var(--primary); }

/* Celular: tarjetas con menos padding (el reCAPTCHA mide 304px fijos y no entraba en 360px) */
@media (max-width: 575.98px) {
  .soft-card { padding: 1.25rem; }
}
@media (max-width: 349.98px) {
  .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}
/* Migas de pan: área de toque más alta */
.page-crumbs a { padding: .5rem 0; }
