:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --paper: rgba(255, 255, 255, 0.92);
  --text: #14344c;
  --text-soft: #4a6478;
  --navy: #1b4767;
  --navy-deep: #12344d;
  --red: #a22f3b;
  --line-blue: rgba(44, 98, 136, 0.72);
  --line-red: rgba(165, 44, 60, 0.7);
  --border: rgba(27, 71, 103, 0.16);
  --shadow: 0 26px 64px rgba(25, 63, 92, 0.1);
  --radius: 20px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 16%, rgba(28, 80, 116, 0.08), transparent 42%),
    radial-gradient(circle at 84% 18%, rgba(164, 47, 59, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 50%, #f7fbff 100%);
}

.vascular-lines {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.65;
}

.vein {
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 16;
  animation: flow 16s linear infinite, breathe 7s ease-in-out infinite alternate;
}

.vein.navy {
  stroke: var(--line-blue);
}

.vein.red {
  stroke: var(--line-red);
}

.v2,
.v4,
.v6,
.v8,
.v10 {
  animation-duration: 18s, 8s;
  animation-direction: reverse, alternate;
}

.v3,
.v7,
.v9 {
  animation-duration: 20s, 9s;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5.3rem 0;
  position: relative;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: "Cinzel", serif;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.lead {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(24, 70, 103, 0.12);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: min(520px, 58vw);
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.89rem;
  color: #274f6d;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #245b80, #a22f3b);
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.26s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform-origin: left;
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1px;
  width: 24px;
  background: var(--navy-deep);
  margin: 7px auto;
}

.btn {
  border: 0;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(125deg, #1d4f73, #2f6f9f);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(29, 79, 115, 0.24);
}

.btn-secondary {
  background: #ffffff;
  color: var(--red);
  border: 1px solid rgba(162, 47, 59, 0.35);
}

.nav-cta {
  font-size: 0.6rem;
  padding: 0.4rem 0.7rem;
  white-space: nowrap;
}

.hero {
  padding-top: 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.8rem;
}

.hero-copy h1 span {
  display: block;
  color: var(--red);
}

.hero-logo-banner {
  margin: 0 0 1rem;
  padding: 0.5rem 0.2rem;
}

.hero-logo-banner img {
  width: min(100%, 700px);
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-badges {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 0.78rem;
}

.hero-badges article {
  padding: 1rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-badges strong {
  font-size: 1.35rem;
  display: block;
  color: var(--navy-deep);
}

.hero-badges span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.hero-card,
.timeline article,
.card,
.guide-card,
.steps li,
.faq-list details,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem;
}

.doctor-figure {
  width: 100%;
  min-height: 210px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(27, 71, 103, 0.12);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(25, 63, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.doctor-figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(29, 79, 115, 0.03) 0%, rgba(162, 47, 59, 0.02) 100%),
    radial-gradient(circle at 30% 20%, rgba(29, 79, 115, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(162, 47, 59, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.doctor-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.hero-card {
  border-radius: calc(var(--radius) + 8px);
  padding: 1.8rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(27, 71, 103, 0.08);
  box-shadow:
    0 20px 64px rgba(25, 63, 92, 0.06),
    0 8px 24px rgba(25, 63, 92, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 100%);
  border-radius: 16px 16px 0 0;
}

.hero-card h2 {
  margin: 1.2rem 0 1rem;
  color: var(--navy-deep);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.hero-card ul li {
  line-height: 1.5;
  position: relative;
}

.hero-card ul li::marker {
  color: var(--navy);
  font-weight: bold;
}

.card-chips {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}


.card-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-chips span,
.tag-cloud span {
  font-size: 0.76rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(23, 72, 106, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #265372;
}

.symptoms-bar {
  margin-top: 3.1rem;
  border-top: 1px solid rgba(27, 71, 103, 0.15);
  border-bottom: 1px solid rgba(27, 71, 103, 0.15);
  padding: 0.75rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.symptoms-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

.symptoms-track span {
  position: relative;
  font-size: 0.92rem;
  color: #27516f;
}

.symptoms-track span::before {
  content: "";
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  margin-right: 0.58rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline p,
.timeline small,
.card p,
.guide-card p,
.steps p,
.contact-list,
.faq-list p {
  color: var(--text-soft);
}

.section-head {
  max-width: 760px;
}

.cards-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.card,
.guide-card,
.steps li,
.faq-list details,
.timeline article {
  border-radius: 15px;
  padding: 1rem;
}

.procedure-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.procedure-card:hover {
  border-color: rgba(37, 92, 131, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(25, 63, 92, 0.15);
}

.card-image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.procedure-card:hover .card-image img {
  transform: scale(1.1);
}

.procedure-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.procedure-card h3 {
  margin-top: 0.5rem;
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.procedure-card p {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  flex-grow: 1;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 41, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 28px;
  max-width: 700px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  scrollbar-width: thin;
}

.modal-overlay[aria-hidden="false"] .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy-deep);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  padding: 0;
  display: block;
  position: relative;
  border-bottom: none;
}

.modal-icon {
  width: 100%;
  height: 280px;
  border-radius: 0;
  background: var(--bg-soft);
  display: block;
  box-shadow: none;
  margin: 0;
  overflow: hidden;
}

.modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #ffffff;
}

.modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body {
  padding: 2rem 2.5rem;
  display: grid;
  gap: 2rem;
}

.modal-description h3,
.modal-details h3,
.modal-benefits h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-description h3::before { content: "📋"; }
.modal-details h3::before { content: "🔍"; }
.modal-benefits h3::before { content: "✨"; }

.modal-description p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.modal-details div {
  background: var(--bg-soft);
  padding: 1.25rem;
  border-radius: 16px;
  border-left: 4px solid var(--navy);
  line-height: 1.7;
  color: var(--text-soft);
}

.modal-benefits ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  padding: 0;
}

.modal-benefits li {
  background: rgba(16, 185, 129, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.1);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.modal-benefits li:hover {
  transform: translateX(4px);
  background: rgba(16, 185, 129, 0.08);
}

.modal-benefits li::before {
  margin-right: 0.8rem;
}

.modal-footer {
  padding: 1.5rem 2.5rem 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .modal-icon { height: 200px; }
  .modal-header-text { padding: 1.5rem; }
  .modal-header h2 { font-size: 1.4rem; }
  .modal-body { padding: 1.5rem; gap: 1.5rem; }
  .modal-footer { padding: 1.5rem; flex-direction: column; }
  .modal-benefits ul { grid-template-columns: 1fr; }
}

.card:hover,
.guide-card:hover,
.timeline article:hover {
  border-color: rgba(37, 92, 131, 0.32);
  transform: translateY(-3px);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.guides-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 1rem;
}

.guide-card {
  position: relative;
  overflow: hidden;
}

.guide-card::after {
  content: "";
  position: absolute;
  inset: auto -14% -40% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 106, 144, 0.1), transparent 65%);
}

.doctoralia-section .section-head {
  margin-bottom: 1.2rem;
}

.doctoralia-gallery {
  width: 100%;
  display: grid;
  gap: 0.9rem;
}

.opinion-batch {
  border: 1px solid rgba(27, 71, 103, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 26px rgba(21, 58, 86, 0.08);
  padding: 0.9rem;
}

.opinion-batch-title {
  margin: 0 0 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f5579;
  font-weight: 700;
}

.opinion-batch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.opinion-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(27, 71, 103, 0.15);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 28px rgba(21, 58, 86, 0.08);
}

.opinion-link {
  display: block;
  line-height: 0;
  aspect-ratio: 9 / 16;
  background: #ffffff;
}

.opinion-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.34s ease, filter 0.34s ease;
}

.opinion-card:hover img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.doctoralia-actions {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.doctoralia-actions small {
  color: var(--text-soft);
  font-weight: 600;
}

.process .steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 0.85rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  border-radius: 24px;
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
}

.contact-list {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
}

.contact-list a {
  color: var(--navy-deep);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.91rem;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 67, 100, 0.23);
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(162, 47, 59, 0.6);
  outline-offset: 1px;
}

.contact-map {
  margin-top: 1rem;
  border: 1px solid rgba(20, 67, 100, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #1a4a6b;
}

.footer {
  padding: 3rem 0 0;
  border-top: 2px solid rgba(26, 74, 107, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  color: var(--text-soft);
}

.footer-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.footer-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(162, 47, 59, 0.2);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
}

.footer-list li strong {
  color: var(--text);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(26, 74, 107, 0.1);
  background: rgba(26, 74, 107, 0.05);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0;
}

.attribution {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0;
}

.attribution-link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.attribution-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@keyframes flow {
  to {
    stroke-dashoffset: -300;
  }
}

@keyframes breathe {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.85;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1060px) {
  .nav-cta {
    display: none;
  }

  .process .steps {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

@media (max-width: 880px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 88px;
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .guides-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .opinion-batch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 0;
    margin-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

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

  .footer-section-title {
    margin-bottom: 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .copyright,
  .attribution {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.2rem 0;
  }

  .brand {
    width: min(72vw, 360px);
  }

  .brand-logo {
    max-height: 52px;
  }

  .hero-badges,
  .process .steps,
  .guides-grid {
    grid-template-columns: 1fr;
  }

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

  .doctoralia-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .vascular-lines {
    opacity: 0.42;
  }
}

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