:root {
  --background: hsl(40, 33%, 96%);
  --foreground: hsl(20, 14%, 20%);
  --card: hsl(40, 33%, 98%);
  --muted: hsl(40, 20%, 90%);
  --muted-foreground: hsl(20, 10%, 40%);
  --border: hsl(40, 20%, 85%);
  --primary: hsl(288, 80%, 61%);
  --primary-hover: hsl(288, 80%, 54%);
  --secondary: hsl(350, 25%, 65%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(30, 40%, 90%);
  --accent-foreground: hsl(20, 14%, 20%);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px hsl(20 14% 20% / 0.06);
  --max: 1100px;
  --narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

.h4 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--primary);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  max-width: var(--narrow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsl(40 33% 96% / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.brand img {
  display: block;
  height: clamp(44px, 10vw, 52px);
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: hsl(288 80% 61% / 0.08);
}

.btn-ghost {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--muted);
}

.hero {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(
    165deg,
    var(--card) 0%,
    var(--background) 45%,
    var(--accent) 100%
  );
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

.hero-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
}

@media (min-width: 768px) {
  .hero-visual {
    justify-self: end;
    width: 100%;
    max-width: 440px;
  }
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--card);
  border-block: 1px solid var(--border);
}

.section-kicker {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.section > .container > .btn,
.section > .container > .btn-primary,
.section > .container > .btn-outline {
  margin-top: 1.5rem;
}

.btn-pill {
  border-radius: 9999px;
}

.section-pricing {
  padding-top: clamp(3.5rem, 8vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 8rem);
}

.pricing-services-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.75rem);
}

@media (min-width: 1024px) {
  .pricing-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 4vw, 5rem);
    align-items: start;
  }
}

.pricing-h-serif {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

.pricing-muted-lead {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(350 25% 65% / 0.05);
  border: 1px solid hsl(350 25% 65% / 0.1);
}

.pricing-row-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--secondary);
}

.pricing-row-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.pricing-row-meta {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-row-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.pricing-consulta-col > .btn {
  margin-top: 0;
}

.pricing-promos-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: hsl(288 80% 61% / 0.05);
  border: 1px solid hsl(288 80% 61% / 0.1);
}

.pricing-promos-deco {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2rem;
  opacity: 0.1;
  pointer-events: none;
}

.pricing-promos-deco svg {
  display: block;
  width: 8rem;
  height: 8rem;
  color: var(--primary);
}

.pricing-promos-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--foreground);
}

.pricing-promos-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-promo-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px hsl(20 14% 20% / 0.05);
}

.pricing-promo-card .promo-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
}

.pricing-promo-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.pricing-promo-meta {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-promo-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
}

.pricing-promos-panel > .pricing-promo-cta {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.pricing-promo-cta {
  width: 100%;
}

@media (min-width: 640px) {
  .pricing-promo-cta {
    width: auto;
  }
}

.pricing-therapy-box {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 2px hsl(20 14% 20% / 0.05);
}

@media (min-width: 640px) {
  .pricing-therapy-box {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }
}

.section-alt .pricing-therapy-box {
  background: var(--card);
}

.pricing-therapy-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.pricing-therapy-price {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
}

.pricing-therapy-note {
  margin: 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-foreground);
}

.pill-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 960px) {
  .pill-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
}

.pill-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0.85rem 1.1rem;
  background: var(--muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.35;
}

.pill-list li img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.pill-list li span {
  display: block;
  max-width: 16rem;
}

#terapia .pill-list {
  margin-bottom: 1.5rem;
}

.therapy-pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.therapy-pricing-cta .pricing-therapy-box {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 0;
}

.cards-2 {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

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

.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

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

.card-promo {
  border-color: hsl(288 80% 61% / 0.25);
}

.card-meta {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.promo-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.card-single {
  max-width: 420px;
  margin: 1.5rem 0;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: 0.5rem 0 0;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted-foreground);
}

.cedula {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary);
  background: var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.bullet-list {
  margin: 0 0 1.5rem 1.1rem;
  padding: 0;
}

.bullet-list li {
  margin-bottom: 0.5rem;
}

.features {
  display: grid;
  gap: 1rem;
}

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

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1.35rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  max-width: 18rem;
}

.consultorio-carousel {
  margin: 0 0 2.25rem;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  outline: none;
}

.carousel-viewport:focus-visible {
  box-shadow: var(--shadow), 0 0 0 3px hsl(288 80% 61% / 0.35);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot:hover {
  background: var(--muted-foreground);
}

.carousel-dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.locations {
  display: grid;
  gap: 1.25rem;
  margin-top: 0;
}

@media (min-width: 900px) {
  .locations {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.location-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.location-card h3 {
  margin-bottom: 0.75rem;
}

.location-card p {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.location-card p:last-child {
  margin-bottom: 0;
}

.cta-band {
  padding: clamp(3rem, 6vw, 4rem) 0;
  background: linear-gradient(
    135deg,
    hsl(288 50% 35%) 0%,
    hsl(288 80% 45%) 50%,
    hsl(20 30% 25%) 100%
  );
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

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

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: hsl(288, 80%, 40%);
}

.cta-band .btn-primary:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.cta-band .btn-ghost {
  background: hsl(0 0% 100% / 0.12);
  border-color: hsl(0 0% 100% / 0.35);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  background: hsl(0 0% 100% / 0.2);
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}
