@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #6528f7;
  --purple-dark: #2b004f;
  --purple-hover: #5511f8;
  --heading: #0f172a;
  --text: #454f5e;
  --lavender: #f2f0fe;
  --lavender-strong: #d8d8f5;
  --footer: #454f5e;
  --white: #fff;
  --whatsapp: #25d366;
  --line: #d8dbe1;
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
  --container: 1200px;
  --header-height: 94px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Karla", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  color: var(--purple-hover);
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--heading);
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.15rem, 4vw, 2.82rem);
}

h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.24rem);
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.76rem);
}

h4 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1.4rem;
}

ul {
  margin: 0 0 1.5rem;
  padding-left: 1.3rem;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--purple-dark);
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e5e9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 280px;
  max-height: 60px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav > a,
.dropdown-toggle {
  color: #181a20;
  font-weight: 400;
  line-height: 1.2;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"],
.dropdown.active > .dropdown-toggle,
.dropdown-toggle:hover {
  color: var(--purple);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 2.25rem;
  color: var(--white) !important;
  background: var(--purple);
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-button:hover,
.button:hover {
  background: var(--purple-hover);
  box-shadow: 0 8px 20px rgba(101, 40, 247, 0.2);
  transform: translateY(-1px);
}

.button-icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon path:last-child {
  fill: currentColor;
  stroke: none;
}

.button.whatsapp-button {
  color: #063919 !important;
  background: var(--whatsapp);
  font-weight: 700;
}

.button.whatsapp-button:hover {
  background: #15be54;
  box-shadow: 0 9px 24px rgba(37, 211, 102, 0.28);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.dropdown-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown:hover .dropdown-toggle svg,
.dropdown:focus-within .dropdown-toggle svg,
.dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -1rem;
  min-width: 220px;
  padding: 0.55rem;
  visibility: hidden;
  opacity: 0;
  background: var(--white);
  border: 1px solid #e6e7ea;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dropdown-menu a {
  display: block;
  padding: 0.62rem 0.78rem;
  color: #252833;
  border-radius: 5px;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  color: var(--purple);
  background: var(--lavender);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--heading);
  background: transparent;
  border: 1px solid #d9dbe0;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.page-main {
  min-height: calc(100vh - var(--header-height) - 112px);
}

.page-shell {
  padding: 0.25rem 0 0;
}

.page-title {
  padding: 0 0 2.2rem;
}

.page-title::before,
.section-title::before {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 0 0 1.45rem;
  background: var(--heading);
}

.section {
  padding: 3.5rem 0;
}

.section.compact {
  padding: 2.3rem 0;
}

.section.tint {
  background: var(--lavender);
}

.service-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 3.4rem;
}

.service-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.7rem;
}

.round-image {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.round-image.secondary {
  max-width: 245px;
}

.service-copy p {
  margin-bottom: 2.2rem;
}

.service-copy .subheading {
  margin-top: 0.75rem;
  margin-bottom: 0.65rem;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 700;
}

.center-action {
  display: flex;
  justify-content: center;
  margin: 3.1rem 0 0;
}

.details-list > li {
  margin-bottom: 0.3rem;
}

.details-list ul {
  margin: 0.2rem 0 0.45rem;
}

.details-list strong {
  color: var(--text);
}

.home-hero {
  position: relative;
  min-height: 745px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: linear-gradient(rgba(13, 6, 20, 0.68), rgba(13, 6, 20, 0.68)), url("../images/hero.jpg");
  background-position: center;
  background-size: cover;
}

.home-hero-content {
  width: min(590px, calc(100% - 40px));
  padding-bottom: 3rem;
  text-align: center;
}

.home-hero h1 {
  margin-bottom: 2.5rem;
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 2.65rem);
  line-height: 1.3;
}

.hero-wave {
  position: absolute;
  right: -2%;
  bottom: -2px;
  left: -2%;
  width: 104%;
  height: 56px;
}

.home-profile {
  padding: 3.4rem 0 4.2rem;
  background: var(--lavender);
}

.profile-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
}

.profile-photo {
  width: 300px;
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading);
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.short-rule {
  width: 50px;
  height: 2px;
  margin: 1.25rem 0 1.8rem;
  background: var(--heading);
}

.home-services {
  position: relative;
  padding: 3.2rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(162deg, #f5f7f5 0%, #f5f7f5 65%, #fff 65.1%, #fff 100%);
}

.services-heading {
  width: min(650px, 100%);
  margin: 0 auto 3.3rem;
  text-align: center;
}

.services-heading .short-rule {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.service-card {
  color: var(--text);
  text-align: center;
}

.service-card:hover {
  color: var(--text);
}

.service-card img {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
}

.service-card p {
  max-width: 335px;
  margin: 0 auto;
}

.credentials-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 3.4rem;
  min-height: 365px;
}

.credentials-intro .profile-photo {
  width: 250px;
}

.academic-section h2,
.academic-section h3 {
  margin-bottom: 1rem;
}

.academic-section li {
  margin-bottom: 0.25rem;
}

.academic-section > ul > li {
  margin-bottom: 0.5rem;
}

.testimonials-section {
  padding: 0;
}

.testimonial-band {
  padding: 2.2rem 0 3.1rem;
}

.testimonial-band.tint {
  background: var(--lavender);
}

.testimonial-band h2,
.testimonial-band h3 {
  margin-bottom: 1.9rem;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
}

.testimonial-band.reverse .testimonial-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.testimonial-band.reverse .testimonial-picture {
  order: 2;
}

.testimonial-picture {
  width: 225px;
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
}

.carousel {
  position: relative;
  min-height: 260px;
  padding: 0 2.5rem 2.4rem;
}

.carousel-slide {
  display: none;
  animation: fade-in 260ms ease;
}

.carousel-slide.active {
  display: block;
}

.carousel blockquote {
  margin: 0 0 1.2rem;
  color: #30333a;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-name {
  display: block;
  color: #30333a;
  font-size: 1.1rem;
}

.testimonial-age {
  color: #7e838c;
  font-size: 0.9rem;
}

.carousel-control {
  position: absolute;
  top: 38%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #333842;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(101, 40, 247, 0.08);
}

.carousel-control.prev {
  left: -0.5rem;
}

.carousel-control.next {
  right: -0.5rem;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #c8c9cc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.active {
  background: #686b70;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.consultorio-layout {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
}

.gallery {
  position: relative;
}

.gallery-slide {
  display: none;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-slide.active {
  display: block;
}

.gallery-control {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #333842;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #45484e;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-control.prev { left: -15px; }
.gallery-control.next { right: -15px; }

.contact-section {
  padding: 5.4rem 0;
  background: var(--lavender);
}

.contact-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: stretch;
  gap: 3.6rem;
}

.contact-information {
  display: flex;
  flex-direction: column;
}

.contact-address {
  margin-top: auto;
}

.contact-form {
  padding: 2.6rem 3rem;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(40, 37, 70, 0.06);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  color: #343944;
  font-weight: 700;
}

.required {
  color: #b00020;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  color: #242934;
  background: #fff;
  border: 1px solid #cfd2d8;
  border-radius: 0;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(101, 40, 247, 0.18);
  border-color: var(--purple);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 1.6rem;
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.form-status.success { color: #117a38; }
.form-status.error { color: #a51c30; }

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.turnos-page {
  padding-bottom: 4rem;
  background: var(--lavender);
}

.turnos-copy > * + * {
  margin-top: 1.9rem;
}

.turnos-copy .center-action {
  margin: 1.8rem 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.45rem;
}

.site-footer {
  color: var(--white);
  background: var(--footer);
}

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-links a {
  color: var(--white);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white) !important;
  background: var(--whatsapp);
  border: 3px solid #fff;
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
}

.whatsapp-float svg {
  width: 37px;
  height: 37px;
  fill: currentColor;
}

.separator {
  width: 100px;
  height: 1px;
  margin: 2.1rem auto;
  background: #7b7d82;
}

/* Página de campaña: conserva su identidad visual diferenciada. */
.campaign-page {
  color: #2b2430;
  background: #fbf7f0;
  font-family: "Karla", Arial, sans-serif;
  line-height: 1.55;
}

.campaign-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 0, 79, 0.08);
}

.campaign-nav {
  max-width: 1120px;
  margin: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.campaign-logo {
  width: 280px;
  height: auto;
}

.campaign-hero {
  padding: 70px 22px 48px;
  background: radial-gradient(circle at 75% 15%, rgba(142, 120, 184, 0.32), transparent 34%), linear-gradient(135deg, #fff 0%, #fbf7f0 48%, #efe5f5 100%);
}

.campaign-wrap {
  max-width: 1120px;
  margin: auto;
}

.campaign-hero-grid,
.campaign-two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.campaign-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  margin-bottom: 20px;
  color: #2b004f;
  background: #fff;
  border: 1px solid rgba(43, 0, 79, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.campaign-page h1 {
  margin: 0 0 20px;
  color: #2b004f;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.campaign-page h2 {
  margin: 0 0 18px;
  color: #2b004f;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
}

.campaign-lead {
  max-width: 650px;
  margin: 0 0 28px;
  color: #45384d;
  font-size: 21px;
}

.campaign-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 28px 0 24px;
}

.campaign-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  color: #2b004f !important;
  background: #fff;
  border: 2px solid rgba(43, 0, 79, 0.18);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.campaign-button.primary {
  color: #082712 !important;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28);
}

.campaign-button.purple {
  color: #fff !important;
  background: #2b004f;
  border-color: #2b004f;
}

.campaign-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #6f6574;
  font-size: 15px;
}

.campaign-trust span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(43, 0, 79, 0.08);
  border-radius: 999px;
}

.campaign-hero-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 18px 45px rgba(43, 0, 79, 0.14);
}

.campaign-doctor-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 26px;
}

.campaign-mini-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.campaign-mini-card strong {
  display: block;
  color: #2b004f;
  font-size: 18px;
}

.campaign-section {
  padding: 76px 22px;
}

.campaign-section.white { background: #fff; }
.campaign-section.violet { color: #fff; background: #2b004f; }
.campaign-section.violet h2 { color: #fff; }

.campaign-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: #6f6574;
  font-size: 19px;
}

.pain-grid,
.campaign-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pain-item {
  padding: 18px;
  color: #2b004f;
  background: #fbf7f0;
  border: 1px solid rgba(43, 0, 79, 0.08);
  border-radius: 20px;
  font-weight: 700;
}

.pain-item::before {
  content: "✓";
  margin-right: 8px;
}

.campaign-logo-round {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(43, 0, 79, 0.14);
}

.campaign-highlight {
  padding: 34px;
  background: #fbf7f0;
  border: 1px solid rgba(43, 0, 79, 0.08);
  border-radius: 28px;
}

.campaign-step,
.campaign-quote,
.faq-item {
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(43, 0, 79, 0.08);
}

.campaign-number {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  background: #2b004f;
  border-radius: 50%;
  font-weight: 900;
}

.campaign-step h3,
.faq-item h3 {
  color: #2b004f;
}

.campaign-benefits,
.campaign-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.campaign-benefit {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
}

.campaign-note {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.82;
}

.campaign-quote strong { color: #2b004f; }

.campaign-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(43, 0, 79, 0.08);
  border-radius: 20px;
  box-shadow: none;
}

.campaign-final {
  padding: 50px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #2b004f, #4b1a73);
  border-radius: 36px;
  box-shadow: 0 18px 45px rgba(43, 0, 79, 0.14);
}

.campaign-final h2 { color: #fff; }
.campaign-final p {
  max-width: 680px;
  margin: 0 auto 26px;
  color: #f5eefc;
  font-size: 19px;
}

.campaign-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  padding: 14px 18px;
  color: #0d3218 !important;
  background: var(--whatsapp);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

@media (max-width: 921px) {
  :root { --header-height: 82px; }

  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .brand img { width: 230px; }

  .menu-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    overflow-y: auto;
    background: #fff;
  }

  .primary-nav.open { display: flex; }

  .primary-nav > a,
  .dropdown-toggle {
    width: 100%;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid #eceef2;
    text-align: left;
  }

  .dropdown-toggle { justify-content: space-between; }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0.25rem 0 0.4rem 1rem;
    visibility: visible;
    opacity: 1;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .dropdown.open .dropdown-menu { display: block; }

  .nav-button {
    width: 100%;
    margin-top: 1.1rem;
  }

  .home-hero {
    min-height: 620px;
    background-position: 60% center;
  }

  .service-layout,
  .profile-layout,
  .credentials-intro,
  .testimonial-layout,
  .testimonial-band.reverse .testimonial-layout,
  .consultorio-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout,
  .credentials-intro,
  .consultorio-layout,
  .contact-layout {
    gap: 2.3rem;
  }

  .service-layout { gap: 2rem; }
  .service-visuals { gap: 1.7rem; }
  .round-image { max-width: 260px; }
  .round-image.secondary { max-width: 210px; }

  .services-grid { gap: 1.5rem; }

  .testimonial-band.reverse .testimonial-picture { order: 0; }
  .testimonial-layout { gap: 1.3rem; }
  .carousel { min-height: 270px; }

  .contact-information { min-height: 210px; }
  .contact-form { padding: 2rem; }

  .campaign-hero-grid,
  .campaign-two-col {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .campaign-steps,
  .campaign-benefits,
  .campaign-quotes,
  .campaign-faq {
    grid-template-columns: 1fr;
  }

  .campaign-doctor-img { height: 360px; }
}

@media (max-width: 680px) {
  html { font-size: 16px; }

  .container { width: min(var(--container), calc(100% - 28px)); }

  .brand img { width: 205px; }

  .page-title { padding-bottom: 1.2rem; }
  .section { padding: 2.5rem 0; }

  .home-hero {
    min-height: 570px;
    background-position: 63% center;
  }

  .home-hero-content { padding-bottom: 1rem; }
  .home-hero h1 { margin-bottom: 2rem; }
  .hero-wave { height: 34px; }

  .home-profile { padding: 2.5rem 0 3rem; }
  .profile-photo { width: 225px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 0.7rem 0; }

  .service-layout { text-align: left; }
  .service-copy p { margin-bottom: 1.35rem; }

  .testimonial-band { padding: 2rem 0; }
  .testimonial-picture { width: 190px; }
  .carousel {
    min-height: 315px;
    padding: 0 1.9rem 2.2rem;
  }
  .carousel-control.prev { left: -0.65rem; }
  .carousel-control.next { right: -0.65rem; }

  .gallery { width: calc(100% - 10px); margin: auto; }
  .gallery-control.prev { left: -10px; }
  .gallery-control.next { right: -10px; }

  .contact-section { padding: 3rem 0; }
  .contact-form { padding: 1.35rem; }
  .contact-information { min-height: 0; }
  .contact-address { margin-top: 1.5rem; }

  .footer-inner {
    min-height: 145px;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
  }

  .campaign-logo { width: 205px; }
  .campaign-nav { padding-inline: 14px; }
  .campaign-nav .campaign-button { padding: 11px 15px; font-size: 14px; }
  .campaign-hero { padding-top: 44px; }
  .campaign-hero-card { border-radius: 25px; }
  .campaign-doctor-img { height: 340px; }
  .campaign-mini-card { right: 24px; bottom: 24px; left: 24px; }
  .campaign-section { padding: 54px 18px; }
  .campaign-final { padding: 34px 20px; border-radius: 28px; }
  .campaign-floating {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
