:root {
  --primary: #1d7a84;
  --primary-dark: #14636d;
  --secondary: #7ab8c2;
  --accent: #dfaeb4;
  --accent-soft: #f5dfe1;
  --bg: #fff8f6;
  --white: #ffffff;
  --text: #24303a;
  --muted: #637179;
  --success: #3a8f5c;
  --line: rgba(29, 122, 132, 0.16);
  --shadow: 0 24px 70px rgba(36, 48, 58, 0.13);
  --shadow-soft: 0 16px 44px rgba(36, 48, 58, 0.08);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

address {
  font-style: normal;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.skip-link {
  background: var(--primary);
  color: var(--white);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  z-index: 100;
}

.site-header::after {
  background: linear-gradient(180deg, rgba(255,248,246,0.72), rgba(255,248,246,0));
  content: "";
  inset: 0 0 auto;
  height: 110px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(29, 122, 132, 0.1);
  box-shadow: 0 16px 42px rgba(36, 48, 58, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}

.brand img {
  height: 54px;
  object-fit: contain;
  width: 116px;
}

.desktop-nav {
  align-items: center;
  display: none;
  gap: 24px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--primary);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.language-switch {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 5px;
  padding: 6px 9px;
}

.lang-btn {
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 28px;
  padding: 0 8px;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(29, 122, 132, 0.24);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-whatsapp {
  background: rgba(58, 143, 92, 0.1);
  border-color: rgba(58, 143, 92, 0.22);
  color: var(--success);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--primary);
}

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

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.header-cta {
  display: none;
}

.menu-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  height: 44px;
  justify-items: center;
  padding: 0;
  width: 44px;
}

.menu-toggle span {
  background: var(--primary);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 180ms ease;
  width: 18px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-panel {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 220ms ease;
}

.site-header.menu-open .mobile-panel {
  grid-template-rows: 1fr;
}

.mobile-nav {
  display: grid;
  gap: 4px;
  overflow: hidden;
  padding: 0 16px;
}

.site-header.menu-open .mobile-nav {
  padding-bottom: 18px;
}

.mobile-nav a {
  border-radius: 16px;
  padding: 12px 8px;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  padding: 118px 0 70px;
  position: relative;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255,248,246,0.96), rgba(255,248,246,0.72)),
    url("assets/images/pattern-blue.jpg") center/640px auto;
  inset: 0;
  opacity: 0.22;
  position: absolute;
}

.hero::after {
  background: radial-gradient(circle, rgba(223, 174, 180, 0.34), rgba(223, 174, 180, 0) 68%);
  content: "";
  height: 580px;
  position: absolute;
  right: -220px;
  top: 110px;
  width: 580px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  min-height: calc(100svh - 188px);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: clamp(48px, 10vw, 78px);
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  font-size: clamp(36px, 8vw, 64px);
  max-width: 850px;
}

h3 {
  font-size: 20px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: clamp(17px, 4vw, 21px);
  margin: 22px 0 26px;
  max-width: 690px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.badges span {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  min-height: 38px;
  padding: 0 13px;
}

.badges i {
  background: var(--success);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
}

.portrait-card {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 38px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  padding: 10px;
  position: relative;
}

.portrait-card img {
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  height: auto;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.presentation-card {
  padding: 18px;
}

.presentation-card img {
  justify-self: center;
  max-width: 330px;
}

.presentation-copy {
  padding: 4px 4px 8px;
}

.presentation-copy h2 {
  font-size: clamp(30px, 5vw, 44px);
  max-width: 520px;
}

.presentation-copy p:not(.section-kicker) {
  color: var(--muted);
  margin-top: 14px;
}

.glass {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(36, 48, 58, 0.1);
}

.portrait-note {
  border-radius: 22px;
  bottom: 20px;
  left: 20px;
  max-width: calc(100% - 40px);
  padding: 16px;
  position: absolute;
}

.portrait-note strong,
.hero-mini-card strong {
  color: var(--primary);
  display: block;
}

.portrait-note span,
.hero-mini-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.hero-mini-card {
  border-radius: 22px;
  display: none;
  padding: 18px;
  position: absolute;
  right: -14px;
  top: 52px;
  width: 190px;
}

.section {
  padding: 76px 0;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 780px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.section-kicker),
.about-copy p,
.clinic-text p,
.agenda-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.soft-card,
.service-item,
.timeline-item,
.faq-item,
.contact-form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.soft-card {
  min-height: 244px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.soft-card::after {
  background: var(--accent-soft);
  border-radius: 999px;
  content: "";
  height: 116px;
  position: absolute;
  right: -42px;
  top: -42px;
  width: 116px;
}

.soft-card:hover,
.service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.icon-box {
  align-items: center;
  background: rgba(122, 184, 194, 0.16);
  border-radius: 19px;
  color: var(--primary);
  display: grid;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  width: 52px;
}

.icon-box svg {
  height: 27px;
  width: 27px;
}

.soft-card p,
.service-item p,
.timeline-item p,
.faq-answer p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 9px;
}

.services-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(122, 184, 194, 0.1));
}

.services-layout {
  display: grid;
  gap: 26px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: 54px 1fr;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-item > span,
.timeline-item > span {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: var(--white);
  display: grid;
  font-weight: 900;
  height: 44px;
  place-items: center;
  width: 44px;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(255,248,246,0.88), rgba(255,248,246,0.96)),
    url("assets/images/pattern-pink.jpg") center/760px auto;
}

.about-grid,
.clinic-grid,
.contact-grid,
.location-grid {
  display: grid;
  gap: 30px;
}

.about-media {
  border-radius: 36px;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.about-media > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-logo {
  display: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 22px;
}

.timeline-item span {
  margin-bottom: 18px;
}

.clinic-card {
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.clinic-card img {
  aspect-ratio: 5 / 4;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.clinic-text {
  align-self: center;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(223, 174, 180, 0.12));
}

.gallery-slider {
  margin-inline: auto;
  max-width: 980px;
  position: relative;
}

.gallery-track {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.gallery-slide {
  display: none;
}

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

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

.gallery-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  cursor: pointer;
  display: grid;
  height: 46px;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
  width: 46px;
  z-index: 2;
}

.gallery-control:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.gallery-control svg {
  height: 22px;
  width: 22px;
}

.gallery-control.prev {
  left: 14px;
}

.gallery-control.next {
  right: 14px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.gallery-dot {
  background: rgba(29, 122, 132, 0.2);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  transition: background 180ms ease, width 180ms ease;
  width: 9px;
}

.gallery-dot.active {
  background: var(--primary);
  width: 28px;
}

.testimonials-section {
  background: var(--white);
}

.testimonial-carousel {
  margin-inline: auto;
  max-width: 840px;
}

.testimonial-placeholder {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  display: grid;
  min-height: 260px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  text-align: center;
}

.testimonial-placeholder img {
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  position: absolute;
  width: 100%;
}

.testimonial-placeholder p {
  color: var(--primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  position: relative;
  z-index: 1;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-inline: auto;
  max-width: 920px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  font-weight: 900;
  gap: 18px;
  justify-content: space-between;
  padding: 20px;
  text-align: left;
  width: 100%;
}

.faq-question i {
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 30px;
}

.faq-question i::before,
.faq-question i::after {
  background: var(--primary);
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-question i::before {
  height: 2px;
  width: 12px;
}

.faq-question i::after {
  height: 12px;
  transition: transform 180ms ease;
  width: 2px;
}

.faq-item.active .faq-question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 20px;
}

.agenda-panel {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(29, 122, 132, 0.94), rgba(29, 122, 132, 0.74)),
    url("assets/images/clinic-3.jpg") center/cover;
  border-radius: 38px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 24px;
  padding: clamp(30px, 7vw, 64px);
}

.agenda-panel h2,
.agenda-panel .section-kicker,
.agenda-panel p {
  color: var(--white);
}

.agenda-panel p {
  opacity: 0.78;
}

.location-section {
  background: linear-gradient(180deg, rgba(122, 184, 194, 0.1), rgba(255, 255, 255, 0));
}

.location-copy address,
.hours {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  margin-top: 16px;
  padding: 20px;
}

.location-copy address strong,
.hours strong {
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.location-copy address span,
.hours p {
  color: var(--muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 430px;
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  height: 100%;
  min-height: 430px;
  width: 100%;
}

.contact-copy {
  align-self: center;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a {
  color: var(--primary);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 248, 246, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  min-height: 50px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(122, 184, 194, 0.18);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  background: var(--text);
  color: var(--white);
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: auto;
  max-width: 190px;
}

.footer-phrase {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
  max-width: 460px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 14px;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-top: 8px;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer .social-icon {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: grid;
  height: 44px;
  margin-top: 0;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  width: 44px;
}

.site-footer .social-icon svg {
  fill: currentColor;
  height: 21px;
  stroke: none;
  width: 21px;
}

.site-footer .social-icon.instagram {
  color: #e4405f;
}

.site-footer .social-icon.facebook {
  color: #1877f2;
}

.site-footer .social-icon.tiktok {
  color: #ffffff;
}

.site-footer .social-icon.linkedin {
  color: #0a66c2;
}

.site-footer .social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  text-align: center;
}

.floating-whatsapp,
.back-top {
  align-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(36, 48, 58, 0.2);
  cursor: pointer;
  display: grid;
  height: 54px;
  place-items: center;
  position: fixed;
  right: 18px;
  width: 54px;
  z-index: 90;
}

.floating-whatsapp {
  background: var(--success);
  bottom: 88px;
  color: var(--white);
}

.back-top {
  background: var(--white);
  bottom: 22px;
  color: var(--primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-whatsapp svg,
.back-top svg {
  height: 25px;
  width: 25px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 620px) {
  .container {
    width: min(calc(100% - 56px), var(--max));
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }
}

@media (min-width: 900px) {
  .brand img {
    height: 62px;
    width: 136px;
  }

  .desktop-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-panel {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.82fr;
  }

  .hero-mini-card {
    display: none;
  }

  .section {
    padding: 98px 0;
  }

  .services-layout,
  .about-grid,
  .clinic-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about-grid,
  .location-grid {
    align-items: center;
  }

  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .timeline-item {
    min-height: 260px;
  }

  .agenda-panel {
    grid-template-columns: 1fr auto;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1120px) {
  .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 104px;
  }

  .language-switch {
    gap: 3px;
    padding: 5px 7px;
  }

  .lang-btn {
    font-size: 11px;
    min-height: 26px;
    padding: 0 7px;
  }

  .hero {
    padding-top: 94px;
  }

  .hero-copy,
  .presentation-copy,
  .about-copy,
  .clinic-text,
  .location-copy,
  .contact-copy,
  .section-heading {
    text-align: center;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .hero-actions,
  .badges,
  .trust-list,
  .location-actions,
  .social-links {
    justify-content: center;
  }

  .section-heading h2,
  .section-heading p,
  .about-copy h2,
  .about-copy p,
  .clinic-text h2,
  .clinic-text p,
  .contact-copy h2,
  .contact-copy p,
  .location-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-grid {
    gap: 24px;
  }

  h1 {
    font-size: clamp(43px, 11.4vw, 52px);
  }

  .hero-subtitle {
    margin: 18px 0 22px;
  }

  .badges {
    margin-bottom: 24px;
  }

  .hero-actions .btn,
  .location-actions .btn {
    width: 100%;
  }

  .badges span {
    min-height: 34px;
    padding-inline: 11px;
  }

  .portrait-card img {
    max-width: 250px;
  }

  .presentation-card {
    border-radius: 30px;
    padding: 14px;
  }

  .presentation-card img {
    border-radius: 24px;
  }

  .gallery-control {
    height: 40px;
    width: 40px;
  }

  .gallery-control.prev {
    left: 10px;
  }

  .gallery-control.next {
    right: 10px;
  }

  .gallery-slide img {
    aspect-ratio: 4 / 5;
  }

  .section {
    padding: 62px 0;
  }

  .soft-card {
    min-height: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
