:root {
  --paper: #f7f8fb;
  --sand: #edf3f5;
  --sage: #8fbfc2;
  --forest: #7d6aa6;
  --accent-turquoise: #78bcc0;
  --accent-turquoise-deep: #5ea9ae;
  --accent-lilac: #9170bb;
  --accent-lilac-deep: #75579f;
  --forest-deep: #181b22;
  --ink: #323744;
  --line: rgba(112, 176, 176, 0.18);
  --line-strong: rgba(125, 106, 166, 0.18);
  --shadow-soft: 0 24px 60px rgba(24, 27, 34, 0.12);
  --shadow-card: 0 18px 38px rgba(24, 27, 34, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(112, 176, 176, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(160, 128, 192, 0.12), transparent 22%),
    var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 1rem;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--forest-deep);
  color: var(--paper);
  z-index: 20;
  border-radius: var(--radius-sm);
}

.page-aura {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  filter: blur(24px);
  opacity: 0.45;
  pointer-events: none;
}

.page-aura-left {
  top: 8rem;
  left: -8rem;
  background: rgba(112, 176, 176, 0.28);
}

.page-aura-right {
  top: 40rem;
  right: -8rem;
  background: rgba(160, 128, 192, 0.2);
}

.site-header,
.section,
.intro-strip,
.closing-cta,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

[data-shared-header] {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  padding-top: 0.75rem;
}

[data-shared-header] .site-header {
  position: relative;
  top: 0;
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.2rem;
  margin-top: 1rem;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(112, 176, 176, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(24, 27, 34, 0.08);
}

.brand-lockup {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(3.4rem, 6vw, 4.8rem);
  object-fit: contain;
}

.brand-title {
  color: var(--forest-deep);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.6rem, 1.85vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: var(--forest-deep);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(112, 176, 176, 0.18);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.23rem auto;
  border-radius: 999px;
  background: var(--forest-deep);
  transition: transform var(--transition), opacity var(--transition);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent-turquoise);
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(94, 169, 174, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 36px rgba(94, 169, 174, 0.28);
}

.button-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.26);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #1fb85a;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
}

.button-whatsapp svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.button-secondary {
  background: linear-gradient(135deg, rgba(120, 188, 192, 0.18), rgba(145, 112, 187, 0.14));
  border-color: rgba(120, 188, 192, 0.34);
  color: var(--forest-deep);
}

.header-cta {
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.language-switch-mobile {
  display: none;
}

.language-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 27, 34, 0.1);
  background: rgba(255, 255, 255, 0.72);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.language-switch-link:hover,
.language-switch-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(94, 169, 174, 0.55);
  box-shadow: 0 8px 18px rgba(24, 27, 34, 0.14);
}

.language-switch-link[aria-current="page"] {
  border-color: rgba(94, 169, 174, 0.7);
  box-shadow: 0 8px 18px rgba(94, 169, 174, 0.24);
}

.language-switch-link img {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  filter: brightness(1.14) saturate(0.9);
}

.header-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  overflow: visible;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity 0.2s ease;
}

.header-whatsapp:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.34);
}

.header-whatsapp span {
  display: none;
}

.header-whatsapp svg {
  width: 1.55rem;
  height: 1.55rem;
}

.header-whatsapp::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 27, 34, 0.95);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(24, 27, 34, 0.18);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.header-whatsapp:hover::after,
.header-whatsapp:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.header-whatsapp:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

.section {
  padding: 4.25rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: auto;
  padding-top: 2.5rem;
  padding-bottom: 0.9rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  font-size: 1.12rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--forest-deep);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.3rem, 5.05vw, 4.25rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.72rem, 2.8vw, 2.75rem);
  max-width: 12ch;
}

.team .section-heading h2,
.story-card-soft h2,
.services .section-heading h2,
.online-content h2,
.contact .section-heading h2 {
  max-width: none;
}

h3 {
  font-size: clamp(1.55rem, 1.7vw, 2.05rem);
}

h4 {
  font-size: 1.3rem;
}

.lead,
.section-heading p,
.team-content p,
.service-content p,
.online-content p,
.story-card p,
.closing-cta p,
.detail-card p {
  font-size: 1.12rem;
}

.lead {
  max-width: 33rem;
  margin: 1.3rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 0;
}

.hero-facts a {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 9.25rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 245, 0.82));
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(24, 27, 34, 0.05);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.hero-facts a:hover,
.hero-facts a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(120, 188, 192, 0.4);
  box-shadow: 0 18px 32px rgba(24, 27, 34, 0.1);
}

.hero-facts strong {
  display: block;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
}

.hero-facts p {
  margin: 0;
  color: rgba(50, 55, 68, 0.78);
  font-size: 0.88rem;
  line-height: 1.35;
}

.service-card,
.online {
  scroll-margin-top: 7rem;
}

.hero-visual {
  position: relative;
  padding-bottom: 4.5rem;
}

.hero-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero-frame-main {
  aspect-ratio: 0.88;
  background: var(--sand);
}

.hero-frame-main img,
.team-media img,
.service-card img,
.online-media img {
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  right: -1.5rem;
  bottom: 0;
  width: min(20rem, 82%);
  padding: 1.4rem;
  background: rgba(250, 250, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(24, 27, 34, 0.12);
}

.card-label {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.hero-floating-card h2 {
  font-size: 2rem;
  max-width: none;
}

.hero-floating-card p:last-child {
  margin-bottom: 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  padding: 1rem 0 0;
}

.story-card {
  min-height: 100%;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
}

.story-card-soft {
  background: linear-gradient(160deg, rgba(237, 243, 245, 0.94), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow-card);
}

.story-card-visual {
  display: grid;
  align-content: end;
  padding: 1.2rem;
  min-height: 21rem;
  overflow: hidden;
  position: relative;
}

.story-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 24, 34, 0.08), rgba(20, 24, 34, 0.38));
}

.story-carousel {
  position: absolute;
  inset: 0;
}

.story-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 450ms ease;
}

.story-carousel-image.is-active {
  opacity: 1;
}

.story-carousel-dots {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
}

.story-carousel-dot {
  width: 0.78rem;
  height: 0.78rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 250, 248, 0.48);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition);
}

.story-carousel-dot.is-active {
  background: rgba(250, 250, 248, 0.96);
  transform: scale(1.08);
}

.story-card-visual .service-pill-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  width: 100%;
}

.story-card-visual .service-pill-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.76rem;
  line-height: 1.25;
  text-align: center;
}

.service-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-pill-grid span,
.benefits-grid span,
.tag-list li {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--forest-deep);
  font-weight: 700;
}

.service-pill-grid span {
  background: rgba(250, 250, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.benefits-grid span,
.tag-list li {
  background: rgba(236, 240, 243, 0.96);
  border: 1px solid rgba(219, 228, 232, 0.98);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.team .section-heading,
.services .section-heading,
.contact .section-heading {
  max-width: none;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.team-card-offset {
  margin-top: 0;
}

.team-media {
  min-height: 100%;
}

.team-content {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
}

.profile-actions-lorena {
  grid-template-columns: 1fr;
}

.profile-actions .button,
.profile-actions a {
  width: 100%;
}

.profile-actions .button-whatsapp {
  font-size: 0.95rem;
}

.profile-actions .button-whatsapp span {
  white-space: nowrap;
}

.profile-actions-lorena .button {
  width: 100%;
}

.profile-actions-lorena .doctoralia-calendar {
  width: 100%;
}

.profile-actions-lorena .button-whatsapp {
  font-size: 0.95rem;
}

.profile-actions-lorena .button-whatsapp span {
  white-space: nowrap;
}

.doctoralia-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(120, 188, 192, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(120, 188, 192, 0.18), rgba(145, 112, 187, 0.14));
  color: var(--forest-deep);
  box-shadow: 0 14px 30px rgba(94, 169, 174, 0.18);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.doctoralia-calendar:hover,
.doctoralia-calendar:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(94, 169, 174, 0.28);
}

.doctoralia-calendar svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.doctoralia-calendar:focus-visible {
  outline: 3px solid rgba(120, 188, 192, 0.34);
  outline-offset: 4px;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.25rem 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sage);
}

.values-panel {
  margin-top: 2.6rem;
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 243, 245, 0.88));
  box-shadow: var(--shadow-card);
}

.values-heading {
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(250, 250, 248, 0.82);
  border: 1px solid rgba(112, 176, 176, 0.14);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(112, 176, 176, 0.18);
  color: var(--forest-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
}

.service-card img {
  height: 19rem;
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.8rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  list-style: none;
}

.online {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: center;
  padding-bottom: 1.5rem;
}

.online-media,
.map-frame,
.contact-form,
.detail-card,
.closing-cta {
  box-shadow: var(--shadow-card);
}

.online-media,
.map-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.online-media img {
  aspect-ratio: 1.08;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.online-note {
  margin-bottom: 1.7rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-card {
  position: relative;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid transparent;
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.detail-card.is-active {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(120, 188, 192, 0.42);
}

.detail-card[data-location-trigger] {
  cursor: pointer;
}

.detail-card-link {
  display: block;
  color: inherit;
}

.detail-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.detail-tags {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  max-width: calc(100% - 1.6rem);
}

.detail-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(145, 112, 187, 0.12);
  border: 1px solid rgba(145, 112, 187, 0.28);
  color: var(--forest-deep);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(112, 176, 176, 0.15);
  color: var(--forest-deep);
}

.detail-card p {
  margin: 0;
}

.detail-card a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.detail-card.is-active .detail-icon {
  background: rgba(120, 188, 192, 0.26);
  color: var(--accent-turquoise-deep);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  border: 0;
}

.map-frame {
  flex: 1;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto minmax(12rem, 1fr) auto;
  gap: 1rem;
  height: 100%;
  min-height: 100%;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
}

.form-field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.form-field-full,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-field-full {
  align-self: stretch;
}

.form-field-message {
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.form-field label {
  color: var(--forest-deep);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(112, 176, 176, 0.2);
  border-radius: 1rem;
  background: rgba(250, 250, 248, 0.9);
  color: var(--ink);
}

.form-field textarea {
  resize: none;
}

.form-field-full textarea {
  height: 100%;
  min-height: 100%;
}

.contact-form button {
  grid-column: 1 / -1;
  align-self: end;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--forest);
  font-weight: 600;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact-places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-place-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(112, 176, 176, 0.14);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.contact-place-card:hover,
.contact-place-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(120, 188, 192, 0.34);
  box-shadow: 0 18px 38px rgba(24, 27, 34, 0.12);
}

.contact-place-card h3 {
  max-width: none;
  font-size: 1.45rem;
}

.contact-place-card-online {
  background: linear-gradient(135deg, rgba(120, 188, 192, 0.12), rgba(145, 112, 187, 0.1));
}

.contact-place-card p {
  margin: 0;
}

.contact-place-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.contact.section {
  padding-top: 1.5rem;
}

.closing-cta {
  padding: 3rem;
  margin-bottom: 2.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(247, 248, 251, 0.92), rgba(237, 243, 245, 0.9));
  text-align: center;
}

.closing-cta h2 {
  max-width: none;
}

.closing-cta p {
  max-width: 40rem;
  margin: 1rem auto 1.7rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "endorsed endorsed"
    "claim contact"
    "meta contact";
  column-gap: 1.5rem;
  row-gap: 0.45rem;
  align-items: end;
  margin-top: 1.4rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid rgba(94, 169, 174, 0.35);
  color: rgba(67, 67, 67, 0.82);
}

.site-footer p {
  margin: 0;
}

.footer-endorsed,
.site-footer .footer-claim,
.site-footer .footer-meta {
  grid-column: 1;
}

.footer-endorsed {
  grid-area: endorsed;
}

.site-footer .footer-claim {
  grid-area: claim;
}

.site-footer .footer-meta {
  grid-area: meta;
}

.site-footer .footer-contact-links {
  grid-area: contact;
  justify-self: end;
  align-self: end;
  text-align: right;
}

.footer-endorsed {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}

.footer-endorsement-link {
  display: inline-flex;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.footer-endorsement-link:focus-visible {
  outline: 2px solid rgba(94, 169, 174, 0.85);
  outline-offset: 2px;
}

.footer-endorsed img {
  width: auto;
  height: clamp(5.1rem, 6.9vw, 6.6rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.55rem;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.site-footer p.footer-contact-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  align-items: flex-end !important;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.site-footer p.footer-contact-links .footer-contact-item {
  display: inline-flex !important;
}

.footer-contact-item-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.privacy-page {
  padding-top: 2.2rem;
}

.privacy-section {
  padding-top: 5.2rem;
  padding-bottom: 2.2rem;
}

.privacy-card {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112, 176, 176, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.privacy-card h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: none;
}

.privacy-card h2 {
  max-width: none;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.privacy-card p,
.privacy-card li {
  color: rgba(50, 55, 68, 0.92);
}

.privacy-card ul {
  margin: 0.6rem 0 1.2rem;
  padding-left: 1.2rem;
}

.privacy-meta {
  margin-top: 0;
  color: rgba(50, 55, 68, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(125, 106, 166, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto auto;
  }

  .brand-lockup {
    grid-column: 1;
  }

  .nav-toggle {
    grid-column: 5;
    display: inline-block;
    justify-self: end;
    order: 2;
  }

  .language-switch-desktop {
    display: none;
    grid-column: 4;
    justify-self: end;
    order: 1;
  }

  .language-switch-mobile {
    display: none;
  }

  .site-nav .language-switch-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(94, 169, 174, 0.2);
    justify-content: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(250, 250, 248, 0.96);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-card);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-cta {
    display: none;
  }

  .hero,
  .intro-strip,
  .online,
  .contact-layout,
  .team-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .detail-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-places {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card-offset {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .intro-strip,
  .closing-cta,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-header {
    top: 0;
    padding: 0.85rem 1rem;
    gap: 0.7rem;
  }

  [data-shared-header] {
    padding-top: 0.5rem;
  }

  .language-switch {
    gap: 0.35rem;
  }

  .language-switch-link {
    width: 2rem;
    height: 2rem;
  }

  .language-switch-link img {
    width: 1.45rem;
    height: 1.45rem;
  }

  .brand-logo {
    height: 3.2rem;
  }

  .brand-title {
    font-size: 1.5rem;
  }

  h1 {
    font-size: clamp(2.1rem, 9.3vw, 3.45rem);
  }

  h2 {
    max-width: 14ch;
  }

  .section {
    padding: 4.6rem 0;
  }

  .online.section {
    padding-bottom: 1.5rem;
  }

  .contact.section {
    padding-top: 1.5rem;
  }

  .hero-facts,
  .detail-grid,
  .values-grid,
  .contact-form,
  .team-card {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-rows: none;
    height: auto;
    min-height: 0;
  }

  .hero-facts {
    display: none;
  }

  .hero-floating-card {
    position: relative;
    right: auto;
    width: 100%;
    margin-top: -3rem;
  }

  .story-card,
  .team-content,
  .service-content,
  .contact-place-card,
  .contact-highlight-card,
  .values-panel,
  .closing-cta {
    padding: 1.5rem;
  }

  .service-card img,
  .online-media img,
  .hero-frame-main {
    aspect-ratio: 0.95;
  }

  .service-card img {
    height: auto;
  }

  .map-frame iframe {
    min-height: 24rem;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-bottom: 1.6rem;
  }

  .site-footer .footer-contact-links {
    align-self: flex-start;
    text-align: left;
  }

  .footer-contact-links {
    align-items: flex-start;
  }

  .site-footer p.footer-contact-links {
    align-items: flex-start !important;
  }

  .footer-endorsed {
    gap: 0.55rem;
    justify-content: center;
    align-self: center;
    width: 100%;
  }

  .footer-endorsement-link {
    justify-content: center;
  }

  .footer-endorsed img {
    height: 4.7rem;
  }

  .privacy-section {
    padding-top: 4.2rem;
  }

  .privacy-card {
    padding: 1.5rem;
  }
}

@media (max-width: 991px) {
  .hero .hero-facts,
  .hero-facts.reveal,
  ul.hero-facts {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}