:root {
  --lila: #8a84ad;
  --lila-oscuro: #615b86;
  --verde: #a8ca64;
  --verde-oscuro: #6f8f2c;
  --rosa: #f3b6d1;
  --fondo: #f7f5fb;
  --texto: #55516b;
  --gris: #777;
  --blanco: #ffffff;
  --sombra: 0 18px 45px rgba(94, 88, 130, 0.14);
  --borde: rgba(138, 132, 173, 0.18);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--texto);
  background: linear-gradient(135deg, #fff 0%, #fbf9fd 45%, #f4f8ec 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--lila-oscuro);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  margin: 0 0 18px;
}
h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  text-align: center;
  margin: 0 0 16px;
}
h3 {
  font-size: 1.45rem;
  margin: 0 0 10px;
}
p {
  margin: 0 0 16px;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--lila);
  white-space: nowrap;
}

.brand img {
  width: min(260px, 42vw);
  height: auto;
  display: block;
}

.brand span {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  color: #67627a;
}

.menu a:hover {
  color: var(--verde-oscuro);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--verde);
  color: #fff;
}
.btn-secondary {
  background: linear-gradient(90deg, var(--lila), var(--rosa));
  color: #fff;
}
.btn-outline {
  border: 1px solid var(--borde);
  background: #fff;
  color: var(--lila-oscuro);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(97, 91, 134, 0.15);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.8rem;
  color: var(--lila);
}

section {
  padding: 86px 0;
  position: relative;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.54) 38%,
      rgba(255, 255, 255, 0.18) 64%,
      rgba(255, 255, 255, 0.36) 100%
    ),
    url("../img/bg-home-acuarela.png") center center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 45%,
      rgba(255, 255, 255, 0.48),
      rgba(255, 255, 255, 0) 34%
    ),
    radial-gradient(
      circle at 16% 20%,
      rgba(168, 202, 100, 0.12),
      rgba(255, 255, 255, 0) 30%
    ),
    radial-gradient(
      circle at 82% 12%,
      rgba(138, 132, 173, 0.1),
      rgba(255, 255, 255, 0) 28%
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 2;
}

.hero h1 span {
  color: var(--verde-oscuro);
  display: block;
  font-style: italic;
  font-size: 0.62em;
  margin-top: 8px;
}
.hero-text {
  max-width: 660px;
  padding-top: 20px;
  position: relative;
}
.hero-logo {
  width: 220px;
  height: auto;
  display: block;
  position: absolute;
  top: -52px;
  left: 120px;
  opacity: 0.16;
  filter: drop-shadow(0 10px 18px rgba(97, 91, 134, 0.08));
  pointer-events: none;
}

.hero-text h1,
.hero-text .hero-sub,
.hero-feature-img {
  position: relative;
  z-index: 2;
}
.hero-sub {
  font-size: 1.18rem;
  max-width: 590px;
  color: #37304b;
  margin-top: 22px;
}
.hero-line {
  width: 76px;
  height: 3px;
  background: linear-gradient(90deg, var(--lila), var(--verde));
  border-radius: 20px;
  margin: 28px 0;
}
.hero-points {
  display: grid;
  gap: 18px;
  margin: 26px 0 8px;
  max-width: 560px;
}
.hero-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
}
.hero-point .circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(138, 132, 173, 0.22);
  box-shadow: 0 10px 25px rgba(94, 88, 130, 0.08);
  color: var(--lila-oscuro);
}
.hero-point svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.hero-point strong {
  display: block;
  color: var(--lila-oscuro);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}
.hero-point span {
  color: #5f5a70;
  font-size: 0.98rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-side {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 660px;
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: start;
  min-height: 390px;
  width: 100%;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: min(470px, 100%);
  height: min(470px, 72vw);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.18) 46%,
    rgba(255, 255, 255, 0) 72%
  );
  border-radius: 50%;
  bottom: -8px;
  z-index: 0;
  filter: blur(4px);
}

.hero-card img {
  width: min(380px, 88%);
  align-self: end;
  position: relative;
  margin-bottom: -15px;
  z-index: 1;
  filter: drop-shadow(0 22px 30px rgba(78, 72, 110, 0.18));
}

.hero-side-content {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(138, 132, 173, 0.14);
  border-radius: 28px;
  padding: 22px;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 16px 38px rgba(94, 88, 130, 0.08);
}

.hero-feature-img {
  width: min(520px, 100%);
  border-radius: 24px;
  margin: 8px 0 22px;
  box-shadow: var(--sombra);
  display: block;
}

.hero-sub h3 {
  font-size: 1.35rem;
  color: var(--lila-oscuro);
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-list li {
  position: relative;
  padding-left: 26px;
  color: #5e5970;
  line-height: 1.6;
  font-size: 1rem;
}

.hero-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde), var(--lila));
  position: absolute;
  left: 0;
  top: 9px;
}

.intro-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lila);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.intro-line::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--verde);
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
  color: #6f6a82;
  font-size: 1.06rem;
}

.section-header {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header .intro-line {
  justify-content: center;
  margin-bottom: 14px;
}

.section-header .intro-line::after {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--verde);
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: #6f6a82;
  font-size: 1.06rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.turnos-box,
.contact-box {
  padding: 40px;
}

.turnos-content,
.contact-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-data {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: flex-start;
  color: var(--texto);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(168, 202, 100, 0.22),
    rgba(138, 132, 173, 0.14)
  );
  color: var(--lila-oscuro);
  border: 1px solid var(--borde);
}

.contact-icon svg,
.icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row strong {
  display: block;
  color: var(--lila-oscuro);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.08rem;
}

.contact-row span {
  color: #6f6a82;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--borde);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--sombra);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.mini-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  transition: 0.3s;
  cursor: zoom-in;
}

.mini-card-img:hover {
  transform: scale(1.02);
}

.image-modal-box {
  width: min(900px, 96vw);
  padding: 18px;
}

.image-modal-img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}

.pacientes-link {
  font-size: 0.86rem;
  color: var(--lila);
  opacity: 0.78;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.pacientes-link:hover {
  color: var(--verde-oscuro);
  border-color: var(--verde);
  opacity: 1;
}

.back-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(120, 110, 160, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: var(--lila-oscuro);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;
  transition: all 0.25s ease;
}

.back-top:hover {
  transform: translateY(-3px);
  background: var(--lila);
  color: #fff;
  border-color: var(--lila);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(168, 202, 100, 0.18),
    rgba(138, 132, 173, 0.14)
  );
  color: var(--lila-oscuro);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.about-grid,
.turnos-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.about-img img,
.consultorio-img img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--sombra);
  display: block;
}

.soft-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(247, 245, 251, 0.92)
  );
  border: 1px solid var(--borde);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--sombra);
}

.list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 28px;
  position: relative;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde-oscuro);
  font-weight: 700;
}

.quote {
  background: linear-gradient(
    135deg,
    rgba(138, 132, 173, 0.1),
    rgba(168, 202, 100, 0.12)
  );
  border-left: 4px solid var(--verde);
  padding: 28px;
  border-radius: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--lila-oscuro);
  margin-top: 24px;
}

.specialties {
  background: rgba(255, 255, 255, 0.55);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(94, 88, 130, 0.08);
}

.patients {
  background:
    url("img/fondo-hojas-integrativa.jpg") center / cover no-repeat,
    radial-gradient(
      circle at 10% 10%,
      rgba(243, 182, 209, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(168, 202, 100, 0.14),
      transparent 28%
    );
}

.integrative-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
  margin-top: 18px;
}

.integrative-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--sombra);
  display: block;
}

.mini-divider {
  width: 90px;
  height: 1px;
  background: rgba(130, 120, 170, 0.25);
  margin: 34px 0 26px;
}

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--texto);
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-success {
  background: rgba(168, 202, 100, 0.15);
  border: 1px solid rgba(111, 143, 44, 0.25);
  color: #4d6820;
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.form-error {
  background: rgba(255, 120, 120, 0.12);
  border: 1px solid rgba(180, 70, 70, 0.2);
  color: #8a3030;
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--sombra);
}

.contact-info {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-info a,
.contact-info div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--borde);
  display: grid;
  place-items: center;
  color: var(--lila-oscuro);
  transition: 0.2s ease;
}

.socials a:hover {
  background: var(--lila);
  color: #fff;
  transform: translateY(-2px);
}

.socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.contact-photo,
.map-card {
  min-height: 100%;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--sombra);
  display: block;
}

.map-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.map-head {
  padding: 24px 26px;
  background: linear-gradient(
    135deg,
    rgba(168, 202, 100, 0.14),
    rgba(138, 132, 173, 0.1)
  );
}

.map-head h3 {
  margin: 0 0 6px;
}
.map-head p {
  margin: 0;
  color: #6f6a82;
}

.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 26px 26px;
}

#pacientes .card {
  padding: 24px 24px;
  min-height: 220px;
}

#pacientes .card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

#pacientes .card-head h3 {
  margin: 0;
}

#pacientes .card .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 1.2rem;
}

#pacientes .card h3 {
  font-size: 1.26rem;
}

#pacientes .card p {
  font-size: 0.94rem;
  line-height: 1.48;
}

.testimonial-slider {
  position: relative;
  min-height: 100px;
  overflow: hidden;
  margin-top: 4px;
}

.testimonial-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.testimonial-meta strong {
  color: var(--lila-oscuro);
  font-size: 0.98rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.stars {
  color: #d6a84f;
  font-size: 0.86rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.testimonial-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.42;
  font-style: italic;
  color: #615c73;
}

.tips-slider {
  position: relative;
  min-height: 110px;
  overflow: hidden;
  margin-top: 4px;
}

.tip-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.tip-item.active {
  opacity: 1;
  transform: translateX(0);
}

.tip-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.42;
  color: #615c73;
}

.footer-legal-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.footer-legal-links a {
  color: var(--lila-oscuro);
  opacity: 0.86;
  border-bottom: 1px solid rgba(97, 91, 134, 0.25);
  cursor: pointer;
}

.footer-legal-links a:hover {
  color: var(--verde-oscuro);
  border-color: var(--verde);
}

.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(44, 39, 62, 0.42);
  backdrop-filter: blur(6px);
  z-index: 80;
}

.legal-modal.active {
  display: flex;
}

.legal-modal-box {
  width: min(760px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--borde);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(44, 39, 62, 0.24);
  padding: 34px;
  position: relative;
}

.legal-modal-box h3 {
  margin-right: 42px;
  margin-bottom: 18px;
}

.legal-modal-box p {
  color: #615c73;
  font-size: 0.96rem;
  line-height: 1.62;
}

.legal-modal-box h4 {
  margin: 22px 0 8px;
  color: var(--lila-oscuro);
  font-size: 1rem;
}

.legal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--borde);
  background: #fff;
  color: var(--lila-oscuro);
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.legal-close:hover {
  background: var(--lila);
  color: #fff;
}

.legal-content {
  display: none;
}

.legal-content.active {
  display: block;
}

.footer {
  background: #fff;
  border-top: 1px solid var(--borde);
  padding: 18px 0;
  color: #77728a;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-left: 30px;
  padding-right: 30px;
}

.inline-link {
  color: var(--lila-oscuro);
  border-bottom: 1px solid rgba(97, 91, 134, 0.25);
  transition: all 0.25s ease;
}

.inline-link:hover {
  color: var(--verde-oscuro);
  border-color: var(--verde);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 30;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: #25d366;
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--borde);
  color: var(--lila-oscuro);
  transition: 0.2s ease;
}

.footer-socials a:hover {
  background: var(--lila);
  color: #fff;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
@media (min-width: 981px) {
  .hero h1 span {
    font-size: 0.45em !important;
  }
}
@media (max-width: 980px) {
  .integrative-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-side {
    min-height: auto;
    gap: 18px;
  }
  .hero-card {
    min-height: auto;
    order: -1;
    margin-top: 0;
  }
  .hero-card img {
    width: min(300px, 78%);
  }
  .hero-side-content {
    width: 100%;
  }
  .about-content,
  .turnos-content,
  .contact-content,
  .contact-location-grid {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: block;
  }
  .menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid var(--borde);
    display: none;
  }
  .menu.active {
    display: flex;
  }
  .hero-grid,
  .about-grid,
  .turnos-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 70px 0;
  }
  section {
    padding: 68px 0;
  }
}

@media (max-width: 620px) {
  .hero-logo {
    width: 180px;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.14;
  }
  .hero-card {
    min-height: auto;
    margin-top: 0;
  }
  .hero-card img {
    width: min(280px, 76%);
  }
  .hero-feature-img {
    margin-bottom: 18px;
  }
  .hero-side-content {
    padding: 20px;
  }
  .container {
    width: min(100% - 26px, 1160px);
  }
  .brand span {
    font-size: 1.15rem;
  }
  .brand img {
    width: min(210px, 62vw);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .soft-box,
  .card,
  .mini-card {
    padding: 24px;
  }
}
