@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=Fraunces:ital,opsz,wght@0,9..144,500..800;1,9..144,500..800&display=swap");

:root {
  --background: 40 32% 96%;
  --foreground: 28 32% 16%;
  --card: 42 38% 99%;
  --card-foreground: 28 32% 16%;
  --primary: 40 72% 44%;
  --primary-foreground: 45 45% 99%;
  --secondary: 36 42% 78%;
  --secondary-foreground: 28 32% 18%;
  --muted: 38 26% 91%;
  --muted-foreground: 28 18% 38%;
  --accent: 32 48% 36%;
  --accent-foreground: 45 45% 99%;
  --destructive: 0 62% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 36 22% 86%;
  --input: 36 22% 86%;
  --ring: 40 72% 44%;
  --radius: 0.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.5rem;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", Georgia, serif;
}

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

/* Solo imágenes “de contenido”; header/footer/hero del logo tienen sus propias reglas */
img:not(.nav-logo-img):not(.footer-logo-img):not(.hero-brand-img) {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.gradient-primary {
  background: linear-gradient(
    135deg,
    hsl(40 68% 48%) 0%,
    hsl(32 52% 34%) 100%
  );
}

.gradient-text {
  background: linear-gradient(
    135deg,
    hsl(40 72% 42%) 0%,
    hsl(28 45% 32%) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: hsl(42 45% 99% / 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(38 35% 88% / 0.9);
}

.nav--scrolled {
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.05);
}

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

.float-animation--delay {
  animation-delay: 2s;
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

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

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsl(40 65% 50% / 0.35);
  }
  50% {
    box-shadow: 0 0 20px 8px hsl(40 55% 55% / 0.2);
  }
}

@keyframes animateIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDot {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-x] {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal-x].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-reveal-x-right] {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

[data-reveal-x-right].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.svg-icon {
  display: block;
  flex-shrink: 0;
}

/* ——— Nav ——— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.site-nav.nav--scrolled {
  background: hsl(42 40% 98% / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(36 28% 88% / 0.95);
  box-shadow: 0 10px 15px -3px hsl(40 40% 40% / 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 1024px) {
  .nav-inner {
    height: 5rem;
    padding: 0 2rem;
  }
}

.nav-brand {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

/*
  Barra compacta otra vez (4rem / 5rem).
  El logo se dibuja más grande con scale() sin subir la altura del header.
*/
img.nav-logo-img {
  display: block;
  height: 3.75rem !important;
  width: auto !important;
  max-width: min(98vw, 980px) !important;
  object-fit: contain !important;
  object-position: left center;
  transform: scale(2.72);
  transform-origin: left center;
}

@media (min-width: 1024px) {
  img.nav-logo-img {
    height: 4.55rem !important;
    max-width: min(92vw, 1380px) !important;
    transform: scale(2.82);
  }
}

/* Footer: logo pequeño y fijo (no usar solo .footer-logo-img: pierde vs img:not(...)) */
img.footer-logo-img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block;
}

img.hero-brand-img {
  width: auto;
  max-width: 11rem;
  max-height: 10rem;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 20px hsl(40 50% 20% / 0.15));
}

.surface-warm {
  background: linear-gradient(
    165deg,
    hsl(42 46% 98%) 0%,
    hsl(36 30% 91%) 100%
  );
  border: 1px solid hsl(36 26% 84%);
  box-shadow: 0 25px 50px -12px hsl(35 30% 40% / 0.1);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links button {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  background: none;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}

.nav-links button:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.8);
}

.nav-actions {
  display: none;
  margin-left: 0.75rem;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-end {
    gap: 0.5rem;
    margin-left: 0.5rem;
  }
}

.nav-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: hsl(28 28% 20%);
  background-color: hsl(42 46% 97%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a6230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  border: 1px solid hsl(36 26% 82%);
  border-radius: 9999px;
  padding: 0.42rem 2.15rem 0.42rem 0.85rem;
  cursor: pointer;
  min-width: 7.25rem;
  box-shadow: 0 1px 2px hsl(35 30% 40% / 0.07);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.nav-lang-select:hover {
  background-color: hsl(42 52% 99%);
  border-color: hsl(38 38% 74%);
}

.nav-lang-select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.32);
}

.site-nav.nav--scrolled .nav-lang-select {
  background-color: hsl(42 40% 99%);
}

.nav-toggle {
  display: flex;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle:hover {
  background: hsl(var(--muted) / 0.8);
}

.nav-mobile {
  display: none;
  margin: 0 1rem 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(42 45% 99% / 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(36 28% 88% / 0.9);
  box-shadow: 0 20px 25px -5px hsl(30 25% 20% / 0.08);
}

.nav-mobile.is-open {
  display: block;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.nav-mobile button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 0;
  background: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-family: inherit;
}

.nav-mobile button:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

.nav-mobile-actions {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.25rem 2rem;
  font-size: 1rem;
  border-radius: 1rem;
}

.btn-primary {
  color: hsl(var(--primary-foreground));
  background: linear-gradient(
    135deg,
    hsl(40 68% 46%) 0%,
    hsl(30 48% 32%) 100%
  );
  border: 0;
  box-shadow: 0 10px 15px -3px hsl(38 45% 35% / 0.22);
}

.btn-primary:hover {
  box-shadow: 0 10px 15px -3px hsl(38 45% 30% / 0.32);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline--primary {
  border-color: hsl(38 42% 72%);
  color: hsl(32 48% 32%);
}

.btn-outline--primary:hover {
  background: hsl(40 45% 94%);
}

.btn-block {
  width: 100%;
}

.btn-icon-only {
  width: 2.75rem;
  padding-left: 0;
  padding-right: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-blob--1 {
  top: 5rem;
  right: -8rem;
  width: 31rem;
  height: 31rem;
  background: hsl(40 55% 70% / 0.22);
}

.hero-blob--2 {
  bottom: 5rem;
  left: -8rem;
  width: 25rem;
  height: 25rem;
  background: hsl(32 40% 58% / 0.14);
}

.hero-blob--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50rem;
  height: 50rem;
  background: hsl(42 35% 85% / 0.35);
}

.hero-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  /* Bajo el nav fijo + hueco mínimo por el logo con scale() */
  padding: 7rem 1rem 4rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 9.25rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: hsl(40 28% 92% / 0.95);
  border: 1px solid hsl(36 22% 82% / 0.9);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(28 28% 18%);
}

.hero-badge-dot {
  position: relative;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
}

.hero-badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: hsl(152 62% 38%);
  animation: hero-badge-ping 1.25s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.55;
}

.hero-badge-dot span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: hsl(152 64% 34%);
  box-shadow: 0 0 0 1px hsl(152 50% 22% / 0.2);
  animation: hero-badge-blink 1.6s ease-in-out infinite;
}

@keyframes hero-badge-ping {
  75%,
  100% {
    transform: scale(2.25);
    opacity: 0;
  }
}

@keyframes hero-badge-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  line-height: 1.6;
  margin: 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.animate-in {
  animation: animateIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

.hero-visual {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
  }
}

.hero-card-main {
  width: 26rem;
  height: 32rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px hsl(35 35% 35% / 0.12);
  background: linear-gradient(
    165deg,
    hsl(42 48% 99%) 0%,
    hsl(38 32% 93%) 45%,
    hsl(36 38% 88%) 100%
  );
  border: 1px solid hsl(36 28% 82%);
}

.hero-card-inner {
  text-align: center;
  padding: 2rem;
  color: hsl(var(--foreground));
}

.hero-card-float {
  position: absolute;
  border-radius: 1rem;
  padding: 1rem;
  background: hsla(0, 0%, 100%, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.hero-card-float--tl {
  top: -1rem;
  left: -3rem;
}

.hero-card-float--br {
  bottom: -1.5rem;
  right: -2rem;
}

/* ——— Sections generic ——— */
.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section--card {
  background: hsl(var(--card));
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-kicker--primary {
  color: hsl(var(--primary));
}

.section-kicker--accent {
  color: hsl(var(--accent));
}

.section h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.section-lead {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-card {
  border-radius: 1rem;
  padding: 1.25rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.5);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.trust-card:hover {
  border-color: hsl(40 50% 45% / 0.18);
  box-shadow: 0 10px 15px -3px hsl(38 40% 40% / 0.06);
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}

.trust-card:hover .trust-icon {
  transform: scale(1.1);
}

.trust-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.125rem;
}

.trust-card p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.insurance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.insurance-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
  text-align: center;
}

@media (min-width: 640px) {
  .insurance-label {
    width: auto;
    margin-right: 0.5rem;
  }
}

.insurance-pill {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  background: hsl(var(--muted));
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  transition: background 0.2s, color 0.2s;
}

.insurance-pill:hover {
  background: hsl(38 40% 40% / 0.06);
  color: hsl(var(--primary));
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.5s;
  cursor: pointer;
}

.service-card:hover {
  border-color: hsl(40 50% 45% / 0.18);
  box-shadow: 0 20px 25px -5px hsl(38 40% 40% / 0.06);
  transform: translateY(-4px);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

.service-arrow {
  color: hsl(var(--muted-foreground) / 0.4);
  transition: color 0.3s, transform 0.3s;
}

.service-card:hover .service-arrow {
  color: hsl(var(--primary));
  transform: translate(2px, -2px);
}

/* Pain */
.pain-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom right,
    hsl(var(--primary) / 0.03),
    hsl(var(--background)),
    hsl(var(--accent) / 0.03)
  );
}

.pain-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.5s;
}

.pain-item:hover {
  border-color: hsl(var(--secondary) / 0.3);
  box-shadow: 0 10px 15px -3px hsla(160, 84%, 39%, 0.05);
  transform: translateY(-2px);
}

.pain-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--secondary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  color: hsl(var(--secondary));
}

.pain-item span {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
}

.pain-cta {
  text-align: center;
}

/* How */
.how-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-line {
  display: none;
}

@media (min-width: 768px) {
  .how-line {
    display: block;
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(
      to right,
      hsl(var(--primary) / 0.2),
      hsl(var(--secondary) / 0.2),
      hsl(var(--accent) / 0.2)
    );
    border-radius: 9999px;
  }
}

.how-step {
  text-align: center;
  position: relative;
}

.how-icon-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

.how-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  transform: rotate(6deg);
  opacity: 0.2;
}

.how-icon-main {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
}

.how-badge-num {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.how-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.how-step p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  max-width: 17.5rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Doctor */
.doctor-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .doctor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.doctor-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-float {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  border-radius: 1rem;
  padding: 1rem;
  background: hsla(0, 0%, 100%, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.doctor-quote {
  position: relative;
  background: hsl(var(--muted) / 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
}

.doctor-quote svg {
  position: absolute;
  top: 1rem;
  left: 1rem;
  opacity: 0.1;
  color: hsl(var(--primary));
}

.doctor-quote p {
  margin: 0;
  padding-left: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.doctor-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doctor-fact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doctor-fact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  transition: transform 0.3s;
}

.doctor-fact:hover .doctor-fact-icon {
  transform: scale(1.1);
}

.doctor-fact span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Appointment */
.appt-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    hsl(var(--primary) / 0.03),
    hsl(var(--accent) / 0.02),
    hsl(var(--background))
  );
}

.form-card {
  background: hsl(var(--card));
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--border) / 0.5);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--muted) / 0.5);
  font-family: inherit;
  transition: background 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 0;
  background: hsl(var(--card));
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

/* Location */
.loc-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .loc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.loc-info {
  background: hsl(var(--background));
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.3s;
}

.loc-info:hover {
  box-shadow: 0 20px 25px -5px hsl(var(--primary) / 0.05);
}

.loc-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.loc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
  transition: transform 0.3s;
}

.loc-info:hover .loc-icon {
  transform: scale(1.1);
}

.loc-row h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.loc-row p,
.loc-row a {
  margin: 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.loc-row a {
  color: hsl(var(--primary));
  font-weight: 500;
}

.loc-row a:hover {
  text-decoration: underline;
}

.loc-map {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
  min-height: 400px;
  background: hsl(var(--muted));
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  background: hsl(26 35% 12%);
  color: hsl(40 28% 92% / 0.88);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    hsl(42 55% 72%) 0%,
    hsl(40 72% 48%) 50%,
    hsl(32 48% 36%) 100%
  );
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(40 25% 78% / 0.75);
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-logo-text {
  color: hsl(42 40% 97%);
}

.footer-logo-sub {
  color: hsl(38 22% 72% / 0.75);
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(42 38% 95%);
  margin: 0 0 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.75rem;
}

.footer a {
  font-size: 0.875rem;
  color: hsl(40 22% 78% / 0.75);
  transition: color 0.2s;
}

.footer a:hover {
  color: hsl(45 45% 98%);
}

.footer-bottom {
  border-top: 1px solid hsl(35 25% 26% / 0.85);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(38 18% 62% / 0.85);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: hsl(42 42% 98% / 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid hsl(36 26% 86%);
  box-shadow: 0 -10px 25px hsl(30 20% 20% / 0.06);
}

@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta .btn-primary {
  flex: 1;
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsl(142, 70%, 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px hsla(142, 70%, 45%, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  color: hsl(var(--primary-foreground));
}

@media (min-width: 1024px) {
  .whatsapp-btn {
    bottom: 1.5rem;
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: hsl(142, 70%, 40%);
  box-shadow: 0 10px 15px -3px hsla(142, 70%, 45%, 0.5);
}

.whatsapp-btn .dot {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: hsl(var(--destructive));
  border: 2px solid hsl(var(--card));
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

/* Chatbot */
.chat-toggle {
  position: fixed;
  bottom: 6rem;
  right: 5.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  background: linear-gradient(
    135deg,
    hsl(40 68% 46%) 0%,
    hsl(30 48% 32%) 100%
  );
  box-shadow: 0 10px 15px -3px hsl(38 45% 30% / 0.28);
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 1024px) {
  .chat-toggle {
    bottom: 1.5rem;
    right: 6rem;
  }
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px hsl(38 45% 28% / 0.4);
}

.chat-toggle .dot {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: hsl(var(--accent));
  border: 2px solid hsl(var(--card));
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.chat-panel {
  position: fixed;
  bottom: 10rem;
  right: 1rem;
  z-index: 50;
  width: 360px;
  max-width: calc(100vw - 2rem);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--card));
  animation: slideUp 0.4s ease-out;
}

@media (min-width: 1024px) {
  .chat-panel {
    bottom: 6rem;
  }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: hsl(var(--primary-foreground));
  background: linear-gradient(
    135deg,
    hsl(40 68% 46%) 0%,
    hsl(30 48% 32%) 100%
  );
}

.chat-messages {
  height: 320px;
  overflow-y: auto;
  padding: 1rem;
  background: hsl(var(--muted) / 0.3);
}

.chat-row {
  display: flex;
  margin-bottom: 1rem;
}

.chat-row--user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat-bubble--user {
  background: linear-gradient(
    135deg,
    hsl(40 68% 46%) 0%,
    hsl(30 48% 32%) 100%
  );
  color: hsl(var(--primary-foreground));
  border-bottom-right-radius: 0.375rem;
}

.chat-bubble--assistant {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-bottom-left-radius: 0.375rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.chat-bubble--assistant a {
  color: hsl(var(--primary));
  font-weight: 500;
}

.chat-bubble--assistant ul,
.chat-bubble--assistant ol {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

.chat-bubble--assistant p {
  margin: 0 0 0.5rem;
}

.chat-bubble--assistant p:last-child {
  margin-bottom: 0;
}

.chat-typing {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

.chat-typing span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.4);
  animation: bounceDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-quick {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
  background: hsl(var(--card));
}

.chat-quick button {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 0;
  background: hsl(40 45% 92%);
  color: hsl(30 42% 30%);
  cursor: pointer;
  font-family: inherit;
}

.chat-quick button:hover {
  background: hsl(38 38% 86%);
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--card));
}

.chat-form input {
  flex: 1;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--muted) / 0.5);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
}

.chat-form input:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 0;
}

/* Toasts */
#toast-host {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  width: min(24rem, calc(100vw - 2rem));
}

@media (min-width: 1024px) {
  #toast-host {
    bottom: 1.5rem;
  }
}

.toast {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: auto;
}

.toast--show {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: linear-gradient(
    135deg,
    hsl(40 55% 42%) 0%,
    hsl(32 45% 30%) 100%
  );
  color: hsl(45 45% 99%);
}

.toast--error {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.toast--info {
  background: hsl(28 32% 18%);
  color: hsl(42 35% 96%);
}

/* Group hover for hero CTA arrow */
.btn-group-arrow:hover .arr {
  transform: translateX(4px);
}

.arr {
  transition: transform 0.2s;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trust-icon--review {
  background: hsl(43 96% 56% / 0.1);
  color: hsl(32 95% 44%);
}

.trust-icon--cert {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.trust-icon--years {
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.trust-icon--visit {
  background: hsl(var(--secondary) / 0.1);
  color: hsl(var(--secondary));
}

.svc-icon-1 {
  background: linear-gradient(
    to bottom right,
    hsl(var(--primary) / 0.1),
    hsl(var(--primary) / 0.05)
  );
  color: hsl(var(--foreground) / 0.7);
}

.svc-icon-2 {
  background: linear-gradient(
    to bottom right,
    hsl(var(--secondary) / 0.1),
    hsl(var(--secondary) / 0.05)
  );
  color: hsl(var(--foreground) / 0.7);
}

.svc-icon-3 {
  background: linear-gradient(
    to bottom right,
    hsl(350 42% 88% / 0.95),
    hsl(30 35% 88% / 0.9)
  );
  color: hsl(var(--foreground) / 0.75);
}

.svc-icon-4 {
  background: linear-gradient(
    to bottom right,
    hsl(var(--accent) / 0.1),
    hsl(var(--accent) / 0.05)
  );
  color: hsl(var(--foreground) / 0.7);
}

.svc-icon-5 {
  background: linear-gradient(
    to bottom right,
    hsl(38 92% 50% / 0.1),
    hsl(38 92% 50% / 0.05)
  );
  color: hsl(var(--foreground) / 0.7);
}

.svc-icon-6 {
  background: linear-gradient(
    to bottom right,
    hsl(173 58% 39% / 0.1),
    hsl(173 58% 39% / 0.05)
  );
  color: hsl(var(--foreground) / 0.7);
}

.how-rot-primary {
  background: linear-gradient(
    to bottom right,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.85)
  );
}

.how-rot-secondary {
  background: linear-gradient(
    to bottom right,
    hsl(var(--secondary)),
    hsl(var(--secondary) / 0.85)
  );
}

.how-rot-accent {
  background: linear-gradient(
    to bottom right,
    hsl(var(--accent)),
    hsl(var(--accent) / 0.85)
  );
}

.how-bg-primary {
  background: linear-gradient(
    to bottom right,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.8)
  );
}

.how-bg-secondary {
  background: linear-gradient(
    to bottom right,
    hsl(var(--secondary)),
    hsl(var(--secondary) / 0.8)
  );
}

.how-bg-accent {
  background: linear-gradient(
    to bottom right,
    hsl(var(--accent)),
    hsl(var(--accent) / 0.8)
  );
}
