:root {
  --primary: #8757b2;
  --primary-dark: #6f4795;
  --accent: #5a2d82;
  --bg: #f7f3fb;
  --text: #322149;
  --white: #ffffff;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand {
  font-family: Montserrat, Inter, sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.top-strip {
  background: var(--accent);
  color: #ddebff;
  font-size: 0.9rem;
}

.top-strip-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.top-strip-wrap a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.top-strip-wrap p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dce7f1;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  color: var(--accent);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-toggle span {
  font-size: 0.85rem;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  background: #3c2057;
  border-radius: 10px;
  border: 1px solid #522e75;
  padding: 0.3rem;
  display: none;
  flex-direction: column;
  z-index: 80;
}

.nav-submenu a {
  color: #f4eefe;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
}

.nav-submenu a:hover {
  background: #a885c7;
  color: #2a153f;
}

.nav-dropdown.open .nav-submenu {
  display: flex;
}

@media (min-width: 901px) {
  .nav-dropdown:hover .nav-submenu {
    display: flex;
  }
}

.certifications {
  background: #a885c7;
  padding: 2.5rem 0;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.cert-column h3 {
  color: #4b285a;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: center;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cert-logo {
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.cert-logo:hover {
  transform: scale(1.05);
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

.hero {
  padding: 4.2rem 0 4rem;
  background: #f0f0f2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero-title-logo {
  display: block;
  width: min(100%, 500px);
  max-height: 190px;
  height: auto;
  object-fit: contain;
}

.hero-copy {
  max-width: 800px;
}

.hero-copy p {
  font-size: clamp(1.05rem, 1.3vw, 1.45rem);
  color: #1e3150;
  margin: 0 0 1.4rem;
  max-width: 980px;
  line-height: 1.7;
}

.hero-copy em {
  font-style: italic;
}

.about-us {
  background: #f2f2f4;
  padding: 0 0 3.2rem;
}

.about-hero {
  position: relative;
  min-height: 520px;
}

.about-hero-image {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.about-overlay {
  position: absolute;
  left: clamp(0.8rem, 2vw, 1.5rem);
  top: 64%;
  transform: translateY(-50%);
  width: min(62vw, 760px);
  background: rgba(211, 194, 216, 0.87);
  padding: 2.1rem 2.2rem;
}

.about-overlay h2 {
  color: #7a4b93;
  font-size: clamp(1.9rem, 3.1vw, 3.6rem);
  margin-bottom: 1rem;
  line-height: 1.06;
  white-space: nowrap;
}

.about-overlay p {
  margin: 0;
  color: #603d76;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.45;
  font-weight: 700;
}

.about-list-wrap {
  margin-top: 2.6rem;
}

.about-list-wrap h2 {
  color: #4b285a;
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin-bottom: 0.8rem;
}

.about-intro {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  color: #314154;
  font-style: italic;
}

.about-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  margin: 0.45rem 0;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.6;
  color: #24344a;
}

.about-list li::before {
  content: "* ";
  color: #4b285a;
  font-weight: 700;
}

.mvv-section {
  background: #f2f2f4;
  padding-top: 2.4rem;
}

.mvv-quote {
  background: #cfc2d6;
  border-radius: 8px;
  padding: 2.3rem 1.5rem;
  text-align: center;
  margin-bottom: 2.2rem;
}

.mvv-quote p {
  margin: 0;
  color: #69488c;
  font-size: clamp(1.2rem, 2.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.mvv-grid h2 {
  color: #4b285a;
  font-size: clamp(2.4rem, 5vw, 5rem);
  margin-bottom: 0.9rem;
}

.mvv-grid p {
  color: #24344a;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  margin: 0;
}

.mvv-values {
  text-align: center;
  margin-top: 4.2rem;
}

.mvv-values h2 {
  color: #4b285a;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 0.8rem;
}

.mvv-values-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.mvv-values-list li {
  color: #182c44;
  font-size: clamp(1.1rem, 1.9vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.25px;
  padding: 0.2rem 0.5rem;
}

.policy-hero {
  background: #f2f2f4;
  padding-top: 0.8rem;
}

.policy-hero-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  display: block;
}

.policy-section {
  background: #f2f2f4;
  padding-top: 2rem;
}

.policy-wrap {
  max-width: 960px;
}

.policy-wrap h1 {
  color: #4b285a;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 0.3rem;
}

.policy-wrap h3 {
  color: #6f4d88;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin: 0 0 1.4rem;
  letter-spacing: 0.3px;
}

.policy-wrap p {
  color: #24344a;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  margin: 0 0 1.05rem;
}

.policy-highlight {
  background: #cfc2d6;
  color: #5f3f78;
  font-weight: 700;
  padding: 1rem 1.15rem;
  border-radius: 8px;
}

.policy-list {
  margin: 0.75rem 0 1.3rem;
  padding-left: 1.15rem;
}

.policy-list li {
  color: #24344a;
  margin: 0.5rem 0;
  line-height: 1.65;
}

.policy-sign {
  color: #4b285a;
  font-weight: 700;
  margin-top: 1.2rem;
}

.cert-page {
  background: #f2f2f4;
  padding-top: 2rem;
}

.cert-page-wrap {
  text-align: center;
}

.cert-page-wrap h1 {
  color: #4b285a;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 0.8rem;
}

.cert-page-wrap p {
  color: #24344a;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  margin: 0 auto 1.6rem;
  max-width: 820px;
}

.cert-page-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cert-page-logos .cert-logo {
  height: clamp(120px, 17vw, 210px);
}

.insurance-page {
  background: #f2f2f4;
  padding-top: 2rem;
}

.insurance-wrap {
  text-align: center;
}

.insurance-wrap h1 {
  color: #4b285a;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.insurance-wrap p {
  color: #24344a;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 1.8rem;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 2rem 3.2rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.insurance-logo {
  max-width: 100%;
  height: clamp(70px, 9vw, 120px);
  object-fit: contain;
}

.consultorio-page {
  background: #f2f2f4;
  padding-top: 1.9rem;
}

.consultorio-wrap {
  max-width: 980px;
}

.consultorio-top {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1rem 2.3rem;
  align-items: start;
}

.consultorio-photo {
  width: 100%;
  max-width: 230px;
  height: auto;
  object-fit: cover;
}

.consultorio-headline h1 {
  color: #4b285a;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  margin: 0 0 0.5rem;
}

.consultorio-headline p {
  color: #24344a;
  max-width: 620px;
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.consultorio-list {
  margin: 1rem 0 1rem 14.5rem;
  padding-left: 1rem;
  color: #1f2f45;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
}

.consultorio-info {
  text-align: center;
  color: #24344a;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 0.55rem;
}

.consultorio-info p {
  margin: 0.3rem 0;
}

.contact-page {
  background: #c8bed0;
}

.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(360px, 1fr);
  min-height: 640px;
}

.contact-form-panel {
  padding: 3.2rem 2.4rem;
}

.contact-form-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.contact-form-wrap h1 {
  color: #331c4f;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.contact-form-wrap p {
  margin: 0 0 1rem;
  color: #2a1f43;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  color: #2f2348;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: none;
  padding: 0.58rem 0.62rem;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.92rem;
  color: #24344a;
  background: #efeff2;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input[type="file"] {
  background: transparent;
  padding: 0;
}

.contact-file-note {
  margin: -0.1rem 0 0.25rem;
  font-size: 0.82rem;
  color: #47345f;
}

.contact-form button {
  justify-self: start;
  margin-top: 0.35rem;
}

.contact-image-panel {
  min-height: 640px;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media {
  width: clamp(260px, 28vw, 410px);
  height: clamp(260px, 28vw, 410px);
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #d8c5df;
  justify-self: center;
  align-self: center;
  background: #e9e9ee;
  box-shadow: 0 8px 24px rgba(91, 45, 130, 0.12);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: transparent;
}

.btn-outline.light {
  border-color: #8cc9ff;
  color: #dbefff;
}

.placeholder {
  min-height: 240px;
  border: 2px dashed #9ac3df;
  background: #eef6fb;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #5a7b97;
  font-weight: 600;
}

.hero-media,
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8f2fb;
  border: 1px solid #d8e5f0;
}

.cover-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.servicios-image {
  width: min(100%, 460px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius);
}

.servicios-media {
  align-self: start;
  justify-self: center;
  background: transparent;
  border: 0;
}

.section {
  padding: 4rem 0;
}

.activity-block {
  margin-top: 2.2rem;
}

.activity-block h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.activity-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d8e5f0;
  background: #ffffff;
}

.activity-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5f5f5;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-links li {
  display: inline;
}

.social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
}

.social-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.social-links a span {
  color: #4b285a;
  font-weight: 600;
  font-size: 0.95rem;
}

.social-links a:hover .social-icon {
  transform: scale(1.12);
}

.section-alt {
  background: #eaf3fa;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.promo-carousel {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.promo-viewport {
  overflow: hidden;
}

.promotions-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  transition: transform 0.35s ease;
}

.promo-card {
  background: var(--white);
  border: 1px solid #d8e5f0;
  border-radius: var(--radius);
  overflow: hidden;
}

.promo-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d8e5f0;
  background: var(--white);
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.promo-nav:hover {
  background: #f3eafd;
}

.promo-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.card {
  background: var(--white);
  border: 1px solid #d8e5f0;
  border-radius: var(--radius);
  padding: 1.2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.check-list {
  padding-left: 1.2rem;
}

.cta-block {
  background: #ececef;
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}

.domicilio-image {
  width: 100%;
  max-width: 390px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.domicilio-copy h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #4b285a;
  margin: 0.2rem 0 0.5rem;
  line-height: 1.1;
}

.domicilio-copy p {
  margin: 0.5rem 0;
  color: #314154;
  font-size: 1.1rem;
  line-height: 1.55;
}

.domicilio-lead {
  font-size: 0.95rem;
  margin: 0;
}

.branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.branches article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid #d8e5f0;
}

.branches h3 {
  color: #4b285a;
  margin-bottom: 0.7rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}

.branch-name-inline {
  color: #4b285a;
  font-weight: 700;
  display: inline;
}

.branches p {
  margin: 0.45rem 0;
  font-size: 0.96rem;
}

.branch-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.footer-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.site-footer {
  background: #a885c7;
  color: #321149;
  padding: 2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.footer-contact h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-search {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
}

.btn-search {
  padding: 0.7rem 1.5rem;
  background: #6f4795;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-search:hover {
  background: #5a2d82;
}

.footer-logo-section {
  text-align: right;
}

.footer-logo-section p {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.copy {
  text-align: center;
  margin-top: 1.3rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  #promociones .promo-carousel {
    display: block !important;
  }

  #promociones .promo-viewport {
    width: 100% !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
  }

  #promociones .promotions-track {
    display: flex !important;
    gap: 0.7rem;
  }

  #promociones .promo-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
  }

  #promociones .promo-nav {
    display: none !important;
  }

  #promociones .promo-image {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    background: #fff;
  }

  .container {
    width: min(1120px, 94%);
  }

  .hero {
    padding: 1.9rem 0 1.6rem;
  }

  .hero-grid {
    gap: 1.1rem;
  }

  .hero h1 {
    margin-bottom: 0.7rem;
  }

  .hero-copy p {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .section {
    padding: 2rem 0;
  }

  .social-links {
    margin: 0.7rem 0 0;
    gap: 1rem;
  }

  .social-icon {
    width: 62px;
    height: 62px;
  }

  .cards,
  .branches {
    gap: 0.8rem;
  }

  .promo-carousel {
    margin-top: 0.8rem;
    display: block;
  }

  .promo-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .promotions-track {
    display: flex;
    gap: 0.7rem;
  }

  .promo-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }

  .promo-image {
    aspect-ratio: auto;
    max-height: 440px;
    object-fit: contain;
    background: #ffffff;
  }

  .promo-nav {
    display: none;
  }

  .site-footer {
    padding: 1.1rem 0 0.8rem;
  }

  .footer-grid {
    gap: 0.85rem;
  }

  .footer-contact p {
    margin: 0.18rem 0;
  }

  .footer-logo-section {
    text-align: center;
  }

  .footer-logo {
    width: 195px;
    height: 195px;
    margin: 0 auto 0.3rem;
  }

  .footer-logo-section p {
    margin-top: 0.2rem;
  }

  .copy {
    margin-top: 0.7rem;
  }

  .hero-grid,
  .cards,
  .two-col,
  .branches,
  .footer-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    justify-self: center;
    margin-top: 1.2rem;
    width: clamp(240px, 60vw, 340px);
    height: clamp(240px, 60vw, 340px);
  }

  .hero-title-logo {
    width: min(100%, 360px);
    max-height: 150px;
  }

  .menu-btn {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: #fff;
    border: 1px solid #d8e5f0;
    border-radius: 12px;
    padding: 0.9rem;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
  }

  .main-nav > a {
    padding: 0.35rem 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.3rem;
    border-radius: 8px;
  }

  .nav-submenu a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 0.75rem;
  }

  .nav-submenu a:last-child {
    border-bottom: none;
  }

  .main-nav.open {
    display: flex;
  }

  .cta-block {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }

  .domicilio-image {
    max-width: 100%;
  }

  .domicilio-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .domicilio-copy p,
  .domicilio-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .top-strip-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-hero {
    min-height: 0;
  }

  .about-hero-image {
    min-height: 320px;
  }

  .about-overlay {
    position: static;
    transform: none;
    max-width: 100%;
    margin: 0 1rem 1rem;
    padding: 1.25rem;
  }

  .about-overlay p {
    font-weight: 600;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mvv-quote {
    padding: 1.4rem 1rem;
  }

  .mvv-values {
    margin-top: 2.4rem;
  }

  .mvv-values-list {
    line-height: 1.4;
  }

  .about-overlay h2 {
    white-space: normal;
  }

  .policy-section {
    padding-top: 1.4rem;
  }

  .policy-hero {
    padding-top: 0;
  }

  .policy-hero-image {
    max-height: 170px;
  }

  .policy-highlight {
    padding: 0.9rem 0.9rem;
  }

  .policy-list {
    padding-left: 1rem;
  }

  .cert-page {
    padding-top: 1.4rem;
  }

  .cert-page-logos {
    gap: 1.2rem;
  }

  .cert-page-logos .cert-logo {
    height: clamp(105px, 30vw, 170px);
  }

  .insurance-page {
    padding-top: 1.4rem;
  }

  .insurance-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .insurance-logo {
    height: clamp(68px, 20vw, 104px);
  }

  .consultorio-page {
    padding-top: 1.3rem;
  }

  .consultorio-top {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .consultorio-photo {
    max-width: 260px;
  }

  .consultorio-list {
    margin: 0.9rem 0 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-form-panel {
    padding: 1.5rem 1rem;
  }

  .contact-form-wrap {
    max-width: 100%;
  }

  .contact-image-panel {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, 95%);
  }

  .hero {
    padding: 1.45rem 0 1.2rem;
  }

  .section {
    padding: 1.55rem 0;
  }

  .social-links {
    margin-top: 0.55rem;
    gap: 0.7rem;
  }

  .social-icon {
    width: 54px;
    height: 54px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .promo-image {
    max-height: 340px;
  }

  .footer-logo {
    width: 170px;
    height: 170px;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.62rem 0.95rem;
  }

  .top-strip {
    font-size: 0.82rem;
  }

  .brand {
    gap: 0.4rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .cover-image {
    min-height: 200px;
  }

  .servicios-image {
    width: min(100%, 330px);
    height: auto;
    min-height: 0;
  }
}