/*
Theme Name: Dr. Orlova
Theme URI: https://www.dr-orlova.de/
Author: Dr. med. Olena Orlova
Description: Schlankes klassisches WordPress-Theme fuer die privatärztliche Praxis Dr. Orlova.
Version: 1.0.0
Text Domain: dr-orlova
*/

@charset "UTF-8";

:root {
  --ink: #172724;
  --text: #344743;
  --muted: #687973;
  --forest: #153f38;
  --forest-deep: #0d302b;
  --teal: #1d6670;
  --copper: #b17b45;
  --canvas: #f7f9f7;
  --surface: #ffffff;
  --warm: #f1ece4;
  --mist: #e8f0ed;
  --line: #d7e0dc;
  --content: 75rem;
  --reading: 45rem;
  --radius: 6px;
  --header-height: 78px;
  --shadow: 0 18px 50px rgba(17, 39, 34, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

:focus-visible {
  outline: 3px solid rgba(29, 102, 112, 0.5);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(215, 224, 220, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--forest);
  font-family: Charter, Georgia, serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--ink);
  font-family: Charter, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  flex-wrap: nowrap;
}

.primary-navigation a {
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation .blog-navigation-link {
  color: var(--copper);
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--copper);
  content: "";
  transition: transform 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--forest);
}

.primary-navigation .blog-navigation-link:hover,
.primary-navigation .blog-navigation-link:focus-visible {
  color: var(--forest-deep);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-flex;
  min-width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.language-switchers {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.language-switcher:hover,
.language-switcher:focus-visible {
  border-color: var(--copper);
  color: var(--forest-deep);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-action,
.button-primary {
  background: var(--forest);
  color: #fff;
}

.header-action:hover,
.button-primary:hover {
  background: var(--forest-deep);
  color: #fff;
}

.header-action:active,
.button:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines span {
  display: block;
  width: 20px;
}

.menu-toggle-lines {
  position: relative;
  height: 14px;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  height: 2px;
  background: currentColor;
  transition: top 180ms ease, transform 180ms ease;
}

.menu-toggle-lines span:first-child {
  top: 3px;
}

.menu-toggle-lines span:last-child {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
  top: 7px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(620px, 78svh, 730px);
  overflow: hidden;
  background:
    linear-gradient(120deg, var(--forest-deep) 0%, var(--forest) 58%, #45655e 100%);
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, 0.055) 25%);
  content: "";
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  top: 0;
  right: clamp(2%, 7vw, 10%);
  width: min(43vw, 540px);
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.72) contrast(0.96);
  opacity: 0.88;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 48, 43, 1) 0%, rgba(13, 48, 43, 0.94) 43%, rgba(13, 48, 43, 0.38) 69%, rgba(13, 48, 43, 0.08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: clamp(620px, 78svh, 730px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  padding-block: clamp(70px, 9vw, 118px) 28px;
}

.hero-copy {
  min-width: 0;
  max-width: 780px;
  animation: hero-enter 700ms ease both;
}

.hero h1 {
  color: #fff;
}

.hero .eyebrow {
  color: #e2b77f;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button-quiet:hover {
  border-color: #fff;
  background: #fff;
  color: var(--forest-deep);
}

.hero-facts {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  animation: hero-enter 700ms 160ms ease both;
}

.hero-facts div {
  min-width: 0;
  padding: 20px 28px 0 0;
}

.hero-facts div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

@keyframes hero-enter {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Services */
.service-overview {
  background: var(--canvas);
}

.section-heading {
  max-width: var(--reading);
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-heading p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.manifest-section {
  background: var(--mist);
}

.manifest-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: start;
}

.manifest-layout .section-heading {
  margin-bottom: 0;
}

.manifest-copy {
  max-width: 42rem;
  padding-left: 30px;
  border-left: 3px solid var(--copper);
}

.manifest-copy p {
  margin-bottom: 1.2rem;
}

.manifest-copy p:last-child {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  min-height: 148px;
  padding: 28px 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease;
}

.service-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-item:hover,
.service-item:focus-visible {
  background: var(--surface);
  color: var(--forest);
}

.service-item strong,
.service-item small {
  display: block;
}

.service-item > span:first-child {
  min-width: 0;
}

.service-item > span:nth-child(2) {
  min-width: 0;
}

.service-item strong {
  margin-bottom: 8px;
  font-family: Charter, Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.2;
}

.service-item small {
  max-width: 29rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-arrow {
  color: var(--teal);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.service-item:hover .service-arrow {
  transform: translateX(5px);
}

/* Practice */
.practice-section {
  overflow: hidden;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.78);
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.practice-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.practice-section h2 {
  color: #fff;
}

.practice-intro > p:last-child {
  max-width: 33rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.practice-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.practice-points li {
  display: grid;
  min-height: 96px;
  padding: 24px 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.practice-points strong {
  color: #fff;
  font-family: Charter, Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
}

/* Check-up */
.feature-section {
  background: var(--warm);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(48px, 10vw, 150px);
}

.feature-layout h2 {
  margin-bottom: 0;
}

.feature-copy {
  padding-left: 30px;
  border-left: 3px solid var(--copper);
}

.feature-copy p {
  max-width: 38rem;
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Doctor */
.about-section {
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(54px, 10vw, 150px);
}

.doctor-portrait {
  position: relative;
  max-width: 440px;
  margin: 0;
}

.doctor-portrait::before {
  position: absolute;
  right: 22px;
  bottom: -22px;
  left: -22px;
  height: 72%;
  background: var(--mist);
  content: "";
}

.doctor-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82);
}

.about-copy {
  max-width: 42rem;
}

.about-copy h2 {
  margin-bottom: 8px;
}

.doctor-role {
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
}

.about-copy p:not(.eyebrow):not(.doctor-role) {
  margin-bottom: 20px;
}

.about-copy .text-link {
  margin-top: 12px;
}

/* Focus */
.focus-section {
  background: var(--canvas);
}

.section-heading-wide {
  max-width: 58rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-grid article {
  min-height: 300px;
  padding: 30px 24px;
}

.focus-grid article h3 {
  margin-top: 64px;
}

.focus-grid article + article {
  border-left: 1px solid var(--line);
}

.focus-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Reviews */
.reviews-section {
  background: var(--mist);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: end;
}

.reviews-layout h2,
.reviews-layout p {
  margin-bottom: 0;
}

.reviews-layout > div:last-child p {
  margin-bottom: 24px;
}

.button-secondary {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button-secondary:hover {
  background: var(--forest);
  color: #fff;
}

/* Contact */
.contact-section {
  padding-block: clamp(80px, 10vw, 140px);
  background:
    linear-gradient(115deg, var(--forest-deep), #183f3a 66%, #22544c);
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(60px, 11vw, 170px);
  align-items: end;
}

.contact-heading h2 {
  max-width: 11ch;
  color: #fff;
}

.contact-heading > p:not(.eyebrow) {
  margin-bottom: 30px;
}

.button-light {
  background: #fff;
  color: var(--forest-deep);
}

.button-light:hover {
  background: var(--warm);
  color: var(--forest-deep);
}

.contact-details {
  display: grid;
  margin: 0;
  font-style: normal;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details div {
  display: grid;
  padding: 22px 0;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Blog and imported content */
.content-page {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--canvas);
}

.content-header {
  max-width: 48rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.content-header h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.content-header > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
}

.post-card-image,
.post-card-image img {
  width: 100%;
}

.post-card-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.post-card-date,
.post-categories {
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.post-card h2 a {
  text-decoration: none;
}

.post-card-body > p:not(.post-card-date) {
  margin-bottom: 22px;
  color: var(--muted);
}

.post-card .text-link {
  margin-top: auto;
}

.reading-container {
  max-width: 51rem;
}

.post-entry .content-header {
  max-width: none;
}

.post-featured-image {
  max-width: 51rem;
  margin: 24px 0 0;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.65;
}

.post-content .article-note {
  margin-block: 30px 36px;
  padding: 22px 24px;
  border-left: 3px solid var(--copper);
  background: var(--mist);
}

.post-content .article-note p {
  margin: 0;
}

.post-content .article-note p + p {
  margin-top: 8px;
}

.post-content .article-note-label {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 1.55em;
  margin-bottom: 0.55em;
  line-height: 1.2;
}

.post-content h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.post-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.post-content h4 {
  font-size: 1.15rem;
}

.post-content img {
  height: auto;
  max-width: 100%;
  margin-block: 18px;
}

.post-content a {
  color: var(--teal);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.post-content ul,
.post-content ol {
  margin-block: 0.8em 1.2em;
  padding-left: 0;
  list-style: none;
}

.post-content li {
  margin-block: 0.35em;
}

.post-content p:empty {
  display: none;
}

.post-content br + br {
  display: none;
}

.post-categories {
  margin-top: 30px;
}

/* Prescription request page */
.rx-page .rx-header {
  max-width: 54rem;
}

.rx-page .rx-header > p:last-child {
  max-width: 42rem;
}

.rx-access-panel {
  max-width: 46rem;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  background: var(--surface);
}

.rx-access-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.rx-access-panel > p:not(.eyebrow):not(.rx-notice) {
  max-width: 38rem;
  color: var(--muted);
}

.rx-access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-top: 24px;
}

.rx-access-row label {
  grid-column: 1 / -1;
  margin-bottom: -6px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rx-form {
  max-width: 58rem;
}

.rx-fieldset {
  min-width: 0;
  margin: 0;
  padding: 28px 0 32px;
  border: 0;
  border-top: 1px solid var(--line);
}

.rx-fieldset legend {
  width: 100%;
  margin-bottom: 22px;
  color: var(--forest-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.rx-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 16px;
}

.rx-field {
  min-width: 0;
  grid-column: span 6;
}

.rx-field-half {
  grid-column: span 6;
}

.rx-field-quarter {
  grid-column: span 3;
}

.rx-field-three-quarter {
  grid-column: span 9;
}

.rx-field-full {
  grid-column: 1 / -1;
}

.rx-field label,
.rx-consent label {
  display: block;
  margin-bottom: 8px;
  color: var(--forest-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.rx-field label > span:not(.rx-optional),
.rx-required-note {
  color: var(--copper);
}

.rx-optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.rx-form input:not([type='checkbox']),
.rx-form select,
.rx-form textarea,
.rx-access-form input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.rx-form textarea {
  min-height: 110px;
  resize: vertical;
}

.rx-form input:focus,
.rx-form select:focus,
.rx-form textarea:focus,
.rx-access-form input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(39, 111, 111, 0.14);
}

.rx-form input:invalid:not(:placeholder-shown),
.rx-form select:invalid,
.rx-form textarea:invalid:not(:placeholder-shown) {
  border-color: #b34b3e;
}

.rx-consent {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.rx-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 48rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
  line-height: 1.5;
}

.rx-consent input[type='checkbox'] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.rx-consent a {
  color: var(--teal);
  font-weight: 700;
}

.rx-required-note {
  margin: 14px 0 20px;
  font-size: 0.85rem;
}

.rx-submit-row {
  display: flex;
  justify-content: flex-start;
}

.rx-notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.rx-notice-success {
  border-color: #b9d8c2;
  background: #eef8f0;
  color: #215b2c;
}

.rx-notice-success p {
  margin: 0;
}

.rx-notice-success .rx-notice-guidance {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #b9d8c2;
  font-weight: 700;
}

.rx-notice-error {
  border-color: #e5b9b2;
  background: #fff3f1;
  color: #8d2f25;
}

.rx-notice ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.rx-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .rx-access-panel {
    padding: 22px 20px;
  }

  .rx-access-row {
    grid-template-columns: 1fr;
  }

  .rx-field,
  .rx-field-half,
  .rx-field-quarter,
  .rx-field-three-quarter {
    grid-column: 1 / -1;
  }
}

/* Footer */
.site-footer {
  padding-block: 30px;
  background: #0b2521;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-inner strong {
  color: #fff;
  font-family: Charter, Georgia, serif;
  font-size: 0.96rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
    justify-self: end;
  }

  .primary-navigation {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .primary-navigation[data-open="true"] {
    max-height: calc(100svh - var(--header-height));
    padding-block: 12px 24px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .primary-navigation a {
    min-height: 52px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-navigation a::after {
    display: none;
  }

  .header-action {
    grid-column: 5;
  }

  .language-switchers {
    grid-column: 4;
  }

  .hero-portrait {
    right: 0;
    width: 48vw;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .focus-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .manifest-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 92px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 40px), var(--content));
  }

  .section {
    padding-block: 72px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span {
    font-size: 0.64rem;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .language-switcher {
    min-width: 36px;
    min-height: 34px;
  }

  .language-switchers {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

  .header-action {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-portrait {
    top: 0;
    right: 0;
    width: 78%;
    height: 56%;
    opacity: 0.78;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(13, 48, 43, 1) 0%, rgba(13, 48, 43, 0.98) 48%, rgba(13, 48, 43, 0.12) 88%);
  }

  .hero-inner {
    padding-top: 330px;
    padding-bottom: 22px;
  }

  .hero-copy {
    align-self: end;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .service-list,
  .post-grid,
  .practice-layout,
  .feature-layout,
  .about-layout,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-item {
    min-height: 132px;
    padding: 24px 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-item:nth-child(odd) {
    border-right: 0;
  }

  .practice-layout,
  .feature-layout,
  .about-layout,
  .reviews-layout,
  .contact-layout {
    gap: 48px;
  }

  .practice-intro {
    position: static;
  }

  .feature-copy {
    padding: 26px 0 0;
    border-top: 3px solid var(--copper);
    border-left: 0;
  }

  .doctor-portrait {
    width: min(86%, 380px);
    margin-inline: auto;
  }

  .focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-grid article {
    min-height: 0;
    padding: 26px 0;
  }

  .focus-grid article + article,
  .focus-grid article:nth-child(3),
  .focus-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .focus-grid article h3 {
    margin-top: 28px;
  }

  .contact-details div {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (max-width: 400px) {
  .brand-copy span {
    display: none;
  }

  .hero h1 {
    font-size: 9.5vw;
  }

  .service-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .service-item strong {
    font-size: 1.08rem;
  }

  .focus-section h2 {
    font-size: 1.9rem;
  }

  .hero,
  .hero-inner {
    min-height: 790px;
  }

  .hero-inner {
    padding-top: 310px;
  }

  .contact-details div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
