:root {
  --bg: #f4efe6;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdf9;
  --text: #201a14;
  --text-muted: #645746;
  --line: rgba(98, 76, 44, 0.14);
  --gold: #b8954f;
  --gold-deep: #8e6d35;
  --shadow-soft: 0 18px 40px rgba(68, 48, 18, 0.08);
  --shadow-strong: 0 28px 80px rgba(55, 39, 15, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 149, 79, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(122, 97, 58, 0.08), transparent 22%),
    linear-gradient(180deg, #f8f3ea 0%, #f3ede4 48%, #f8f4ec 100%);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, rgba(184, 149, 79, 0.08) 0%, var(--gold) 35%, var(--gold-deep) 100%);
  box-shadow: 0 10px 24px rgba(142, 109, 53, 0.22);
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(92%, 1180px);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(248, 243, 234, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(98, 76, 44, 0.08);
  transition: padding 0.32s ease, background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

header.is-scrolled {
  padding: 12px 0;
  background: rgba(248, 243, 234, 0.66);
  border-bottom-color: rgba(98, 76, 44, 0.04);
  box-shadow: 0 18px 40px rgba(57, 40, 14, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(84, 62, 28, 0.06);
  transition: padding 0.32s ease, background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}

header.is-scrolled .header-container {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 44px rgba(84, 62, 28, 0.1);
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 auto;
}

.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
}

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  position: relative;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

nav a::before {
  content: "";
  position: absolute;
  inset: auto 14px 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(184, 149, 79, 0.14), rgba(184, 149, 79, 0.02));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease;
}

nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(142, 109, 53, 0.08);
}

nav a:hover::before,
nav a:hover::after,
nav a.is-active::before,
nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(142, 109, 53, 0.1);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(184, 149, 79, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(84, 62, 28, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(184, 149, 79, 0.16);
}

.lang-button {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lang-button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-button.is-active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(142, 109, 53, 0.18);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fffaf1;
  overflow: hidden;
  padding: 120px 0 96px;
  contain: layout paint;
}

.hero picture {
  display: block;
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 13, 9, 0.28) 0%, rgba(18, 13, 9, 0.52) 100%),
    radial-gradient(circle at center, rgba(184, 149, 79, 0.12), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 52px 44px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 13, 9, 0.22);
  box-shadow: var(--shadow-strong);
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 245, 224, 0.84);
}

.hero h1 {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 247, 232, 0.86);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 36px rgba(142, 109, 53, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(142, 109, 53, 0.34);
  filter: brightness(1.03);
}

.btn-contact {
  margin-top: 0;
  margin-bottom: 16px;
  min-width: 180px;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #2fd06f 0%, #179b4d 100%);
  box-shadow: 0 16px 34px rgba(23, 155, 77, 0.28);
}

.btn-contact:hover {
  box-shadow: 0 20px 40px rgba(23, 155, 77, 0.34);
  filter: brightness(1.04);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 34px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.section {
  position: relative;
  padding: 108px 0;
  border-top: 1px solid rgba(98, 76, 44, 0.06);
  scroll-margin-top: 132px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 960px;
}

.section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.18);
}

.section:nth-of-type(even) {
  background: rgba(255, 249, 240, 0.56);
}

.section.light {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.8) 0%, rgba(247, 239, 226, 0.82) 100%);
}

.section-kicker {
  color: rgba(142, 109, 53, 0.92);
  text-align: center;
}

.section h2 {
  margin: 0 0 36px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  text-align: center;
  color: var(--text);
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: auto 18px -18px 18px;
  height: 85%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(184, 149, 79, 0.16), rgba(184, 149, 79, 0.04));
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-strong);
}

.about-content {
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.about-content h2 {
  margin-top: 0;
  margin-bottom: 22px;
  text-align: left;
  font-size: clamp(32px, 4vw, 48px);
}

.about-content p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.about-content ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--text-muted);
}

.about-content li + li {
  margin-top: 8px;
}

#clinica {
  background:
    radial-gradient(circle at top, rgba(184, 149, 79, 0.14), transparent 38%),
    linear-gradient(180deg, #faf7f1 0%, #f4ecde 100%);
}

.clinica-shell {
  max-width: 980px;
}

.clinica-showcase {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 38px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 149, 79, 0.22);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
}

.clinica-intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
}

.clinica-image {
  margin: 30px auto 24px;
  max-width: 320px;
}

.clinica-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 20px 40px rgba(74, 56, 22, 0.14),
    0 8px 18px rgba(255, 255, 255, 0.55) inset;
}

.clinica-link {
  margin: 0;
}

.clinica-link a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(154, 125, 66, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clinica-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(154, 125, 66, 0.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  padding: 34px 30px;
  text-align: left;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 248, 241, 0.92) 100%);
  border: 1px solid rgba(184, 149, 79, 0.14);
  box-shadow: 0 18px 38px rgba(68, 48, 18, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 149, 79, 0.26);
  box-shadow: 0 24px 48px rgba(68, 48, 18, 0.1);
}

.card h3 {
  margin: 18px 0 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 10px 22px rgba(142, 109, 53, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(142, 109, 53, 0.28);
}

.testimonials-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.testimonial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 36px 38px;
  color: #3a2d21;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(184, 149, 79, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.74), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(247, 238, 224, 0.88));
  border: 1px solid rgba(184, 149, 79, 0.18);
  box-shadow:
    0 18px 42px rgba(84, 59, 24, 0.08),
    0 28px 72px rgba(73, 50, 15, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.56);
  pointer-events: none;
}

.testimonial::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(184, 149, 79, 0.08), rgba(184, 149, 79, 0.86), rgba(142, 109, 53, 0.18));
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 149, 79, 0.26);
  box-shadow:
    0 22px 52px rgba(84, 59, 24, 0.12),
    0 34px 90px rgba(73, 50, 15, 0.1);
}

.testimonial p,
.testimonial h3 {
  margin: 0;
}

.testimonial-review {
  text-align: left;
}

.testimonial-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-right: 54px;
}

.testimonial-review-header::after {
  content: "”";
  position: absolute;
  top: 20px;
  right: 26px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(184, 149, 79, 0.2);
  pointer-events: none;
}

.testimonial-review-author {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d2218;
}

.testimonial-review-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(58, 45, 33, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.testimonial-review-separator {
  color: rgba(184, 149, 79, 0.8);
}

.testimonial-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(184, 149, 79, 0.22), rgba(184, 149, 79, 0.08));
  color: #6c5227;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(184, 149, 79, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.testimonial-review-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 0 4px rgba(184, 149, 79, 0.14);
}

.testimonial-review-title {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #241b12;
}

.testimonial-review-body {
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(58, 45, 33, 0.92);
}

.testimonial-review-body + .testimonial-review-body {
  margin-top: 16px;
}

.testimonial-review-body:last-child {
  color: #2a1f14;
  font-weight: 700;
}

#testimonios .container {
  position: relative;
}

#testimonios .container::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 8px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 79, 0.12), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}

.testimonials-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.testimonials-more-link {
  margin-top: 0;
  min-width: 220px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(184, 149, 79, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 247, 239, 0.9) 100%);
  border: 1px solid rgba(184, 149, 79, 0.14);
  box-shadow: 0 26px 60px rgba(70, 49, 18, 0.1);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-chip {
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(184, 149, 79, 0.14);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(184, 149, 79, 0.12);
  box-shadow: 0 12px 26px rgba(92, 65, 23, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 149, 79, 0.22);
  box-shadow: 0 16px 30px rgba(92, 65, 23, 0.08);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 30px rgba(142, 109, 53, 0.2);
}

.contact-info-copy {
  min-width: 0;
}

.contact-info-label {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-copy a,
.contact-address {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  text-decoration: none;
  word-break: break-word;
}

.contact-info-copy a:hover {
  color: var(--gold-deep);
}

.map-container {
  position: relative;
  padding: 14px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(248, 240, 227, 0.84) 100%);
  border: 1px solid rgba(184, 149, 79, 0.14);
  box-shadow: 0 26px 60px rgba(70, 49, 18, 0.1);
}

.map-frame {
  position: relative;
  height: 100%;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

footer {
  padding: 44px 0 54px;
  background: #17120d;
  color: rgba(255, 244, 226, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer p {
  margin: 0;
  text-align: center;
}

footer .social-icons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: rgba(255, 244, 226, 0.86);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

footer .social-icons a:hover {
  color: #ffffff;
  background: rgba(184, 149, 79, 0.18);
  transform: translateY(-2px);
}

footer .social-icons svg {
  width: 20px;
  height: 20px;
}

.fade-in {
  opacity: 1;
}

.fade-up {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 440px;
    margin: 0 auto;
  }

  .about-content h2 {
    text-align: center;
  }
}

@media (max-width: 760px) {
  header {
    padding: 14px 0;
  }

  .header-container {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
    gap: 14px;
  }

  .logo-img {
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-panel {
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 0 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.25s ease;
  }

  .is-menu-open .header-panel {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 8px;
  }

  nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(184, 149, 79, 0.12);
  }

  nav a::before {
    inset: auto 24px 8px;
  }

  .language-switcher {
    align-self: center;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 72px;
  }

  .hero-content {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .section {
    padding: 84px 0;
  }

  .about-content,
  .clinica-showcase,
  .testimonial,
  .contact-card,
  .map-container {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    backdrop-filter: blur(10px);
  }

  .testimonial:hover {
    transform: none;
  }

  .testimonial-review-header {
    margin-bottom: 18px;
    padding-right: 34px;
  }

  .testimonial-review-header::after {
    top: 16px;
    right: 18px;
    font-size: 3.5rem;
  }

  .testimonial-review-author {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .testimonial-review-meta {
    font-size: 0.82rem;
  }

  .testimonial-review-title {
    margin-bottom: 14px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .testimonial-review-body {
    line-height: 1.74;
  }

  #testimonios .container::before {
    width: 110px;
    height: 110px;
    top: 58px;
    right: -4px;
  }

  .contact-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info-item {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
    border-radius: 18px;
  }

  .contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .map-frame {
    border-radius: 18px;
  }

  .card {
    padding: 28px 24px;
  }

  .card h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(94%, 1180px);
  }

  .logo-img {
    height: 44px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  nav a {
    font-size: 13px;
  }

  .hero-content {
    padding: 28px 18px;
  }

  .hero-kicker,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hero-lead,
  .clinica-intro,
  .about-content p,
  .about-content li,
  .contact-card p {
    font-size: 15px;
  }

  .clinica-image {
    max-width: 240px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card h3 {
    font-size: 20px;
  }

  .map-frame iframe {
    min-height: 320px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}
