/* ==========================================================================
   MediFlex Wellness Cyprus — Global Styles
   ========================================================================== */

:root {
  /* Color palette */
  --white: #ffffff;
  --beige: #f6f1e7;
  --beige-soft: #fbf8f1;
  --green-soft: #8fbf9f;
  --green-soft-light: #e4f0e6;
  --teal-deep: #1f4e4a;
  --teal-mid: #2f6f68;
  --gray-neutral: #6b7280;
  --gray-light: #e5e7eb;
  --gray-bg: #f4f5f4;
  --text-dark: #1c2b29;
  --text-muted: #51605d;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(31, 78, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 78, 74, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 78, 74, 0.14);

  --container: 1180px;
  --header-h: 72px;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background-color: var(--beige-soft);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--beige-soft);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  color: var(--teal-deep);
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; color: var(--text-muted); }

a {
  color: var(--teal-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--teal-deep); }

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

ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; color: var(--text-muted); }

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--green-soft);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal-deep);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}
.section-tight { padding: 3rem 0; }

.section-beige { background: var(--beige); }
.section-mint { background: var(--green-soft-light); }
.section-white { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--green-soft-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--teal-deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-secondary:hover {
  background: var(--teal-deep);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  background: var(--green-soft-light);
  color: var(--teal-deep);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--teal-deep); }
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--green-soft-light);
  color: var(--teal-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-deep);
  margin: 0 auto;
  transition: all 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, var(--green-soft-light), transparent 45%),
    linear-gradient(160deg, var(--beige-soft) 0%, var(--beige) 100%);
  padding: 4.5rem 0 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 { margin-bottom: 1rem; }
.hero-content .lead { margin-bottom: 1.5rem; max-width: 540px; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-card:nth-child(even) { transform: translateY(1.5rem); }
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hero-card .icon-circle { margin-bottom: 0.9rem; }
.hero-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.hero-card p { font-size: 0.9rem; margin: 0; }

/* Icon circle */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-soft-light);
  color: var(--teal-deep);
}
.icon-circle svg { width: 26px; height: 26px; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--teal-deep);
  color: var(--white);
  padding: 1.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.trust-item svg { width: 26px; height: 26px; color: var(--green-soft); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .icon-circle { margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Feature media block (CSS illustration) */
.media-block {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, var(--green-soft-light), transparent 55%),
    linear-gradient(150deg, var(--green-soft) 0%, var(--teal-mid) 100%);
  min-height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-block svg { width: 60%; height: auto; color: rgba(255,255,255,0.92); }
.media-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
}

/* List with check icons */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}
.check-list li svg {
  width: 22px;
  height: 22px;
  color: var(--green-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pillars (numbered) */
.pillar {
  position: relative;
  padding-left: 0;
}
.pillar .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

/* Audience list */
.audience-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.audience-item .icon-circle {
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.audience-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.audience-item p { font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Tips / educational
   ========================================================================== */
.tip {
  background: var(--white);
  border-left: 4px solid var(--green-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.tip h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.tip p { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--teal-deep);
  cursor: pointer;
  font-family: inherit;
}
.faq-question .chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  color: var(--teal-mid);
}
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.4rem;
}
.faq-answer-inner p { margin: 0; font-size: 0.97rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.field .req { color: #b3261e; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  background: var(--beige-soft);
  color: var(--text-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-soft);
  background: var(--white);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg {
  font-size: 0.82rem;
  color: #b3261e;
  min-height: 1rem;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.consent input {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--teal-deep);
}
.consent label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  background: var(--green-soft-light);
  border: 1.5px solid var(--green-soft);
  color: var(--teal-deep);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ==========================================================================
   Contact info block
   ========================================================================== */
.contact-info {
  background: var(--teal-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.contact-info h2, .contact-info h3 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.85); }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.contact-row svg {
  width: 22px; height: 22px;
  color: var(--green-soft);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-row a { color: var(--white); }
.contact-row a:hover { color: var(--green-soft-light); }
.contact-row .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-soft);
  margin-bottom: 2px;
}

/* ==========================================================================
   Legal / content pages
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(circle at 90% 10%, var(--green-soft-light), transparent 50%),
    var(--beige);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.page-hero .lead { max-width: 700px; }
.effective-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-mid);
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.legal-content {
  max-width: 820px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.25rem;
  padding-top: 1rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}
.legal-content p,
.legal-content li { font-size: 0.98rem; }

.toc {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.toc h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 0.5rem; }
.toc a { font-size: 0.9rem; color: var(--text-muted); }
.toc a:hover { color: var(--teal-deep); }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Disclaimer / notice box */
.notice {
  background: var(--green-soft-light);
  border: 1.5px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.notice strong { color: var(--teal-deep); }
.notice p:last-child { margin-bottom: 0; }
.notice-warn {
  background: #fdf3e7;
  border-color: #e0a96d;
}

/* Checklist (weekly) */
.checklist {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--text-dark);
}
.checklist li:last-child { border-bottom: none; }
.checklist li svg {
  width: 20px; height: 20px;
  color: var(--green-soft);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(150deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto 1.5rem; }
.cta-band .btn-group { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.site-footer a:hover { color: var(--green-soft); }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.72); margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.72); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 0.9rem;
}
.cookie-banner .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.cookie-actions { display: flex; gap: 0.6rem; }

.cookie-manage {
  display: none;
  flex-basis: 100%;
  border-top: 1px solid var(--gray-light);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: 0.88rem;
}
.cookie-manage.show { display: block; }
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.cookie-option input { margin-top: 0.2rem; accent-color: var(--teal-deep); }
.cookie-option label { font-size: 0.88rem; color: var(--text-muted); }

/* ==========================================================================
   Scroll to top
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 150;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--teal-mid); }
.scroll-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--beige-soft);
    border-bottom: 1px solid var(--gray-light);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .main-nav a { padding: 0.85rem 0.5rem; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }

  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.5rem; }
  .contact-info { padding: 1.75rem; }
}

@media (max-width: 560px) {
  .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card:nth-child(even) { transform: none; }
  .section { padding: 3rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
