/* ===================================================
   SAFTIVAR.FR — Feuille de style principale
   Charte SAFTI officielle v02-2025 — Mobile First
   Refonte immobilier — Juin 2026
   =================================================== */

/* @import DOIT être en premier (spec CSS) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* --- Fonts locales Garet --- */
@font-face {
  font-family: 'Garet';
  src: url('../fonts/garet-black.otf') format('opentype');
  font-weight: 900;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/garet-medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/garet-regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/garet-book.otf') format('opentype');
  font-weight: 300;
}

/* --- Variables charte SAFTI --- */
:root {
  --orange:      #EC6525;
  --orange-dark: #B2391A;
  --petrol:      #06464B;
  --outremer:    #0C727A;
  --bondi:       #38AEB6;
  --sable:       #D0A880;
  --gris:        #494343;
  --night:       #1D1B1B;
  --cream:       #F9F5F3;
  --border:      #DACABE;

  --radius-sm:   16px;
  --radius-md:   24px;
  --radius-lg:   32px;

  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover:0 8px 32px rgba(0,0,0,0.16);

  --nav-height:  68px;
}

/* ===================================================
   RESET & BASE
   =================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--night);
  min-height: 100vh;
}

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

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

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: var(--nav-height);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--petrol);
  line-height: 1.2;
  margin-left: 10px;
}
.nav-logo-text span {
  display: block;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 500;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--petrol);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 8999;
}

.nav-menu.open {
  display: flex;
}

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--night);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--cream);
  color: var(--orange);
}

/* Séparateur dans le menu */
.nav-menu-sep {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ===================================================
   MAIN (offset nav)
   =================================================== */
.page-content {
  padding-top: var(--nav-height);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vw;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,70,75,0.10) 0%,
    rgba(6,70,75,0.55) 60%,
    rgba(6,70,75,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: #fff;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Garet', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bondi);
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #fff;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* ===================================================
   SECTIONS GÉNÉRIQUES
   =================================================== */
.section {
  padding: 48px 20px;
}

.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--petrol { background: var(--petrol); color: #fff; }
.section--dark  { background: var(--night); color: #fff; }

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Garet', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.section--petrol .section-eyebrow,
.section--dark .section-eyebrow {
  color: var(--bondi);
}

.section-title {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--petrol);
  margin-bottom: 8px;
}

.section--petrol .section-title,
.section--dark .section-title {
  color: #fff;
}

.section-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.section--petrol .section-lead,
.section--dark .section-lead {
  color: rgba(255,255,255,0.75);
}

/* ===================================================
   TEAM CARDS (index)
   =================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
}

.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  background: var(--night);
}

.team-card-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--outremer) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
}

.team-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card-name {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 2px;
}

.team-card-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--petrol);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.team-card-zones {
  font-size: 0.82rem;
  color: var(--gris);
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}

.team-card-zones strong {
  color: var(--outremer);
  font-weight: 600;
}

.team-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--petrol);
  background: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn--ghost:hover {
  background: var(--orange);
  color: #fff;
}

.btn--annonces {
  background: var(--petrol);
  color: #fff;
  border: 2px solid var(--petrol);
}
.btn--annonces:hover {
  background: var(--outremer);
  border-color: var(--outremer);
}

/* ===================================================
   SERVICES GRID
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.service-title {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--petrol);
  line-height: 1.3;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--gris);
  line-height: 1.5;
}

/* ===================================================
   CDM BANNER
   =================================================== */
.cdm-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cdm-banner-trophy {
  font-size: 2.4rem;
}

.cdm-banner-title {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.2;
}

.cdm-banner-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.9;
}

.cdm-banner .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--orange-dark);
}
.cdm-banner .btn:hover {
  background: var(--cream);
}

/* ===================================================
   MAGAZINE PREVIEW
   =================================================== */
.mag-preview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.mag-cover {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 1/1.414;
  background: linear-gradient(135deg, var(--petrol), var(--outremer));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mag-cover img,
.mag-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  display: block;
  transition: transform 0.2s;
}
.mag-cover a:hover .mag-cover-img {
  transform: scale(1.03);
}

.mag-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  text-align: center;
  padding: 8px;
}

.mag-cover-placeholder span {
  font-size: 2.2rem;
}

.mag-info {
  flex: 1;
}

.mag-issue {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bondi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.mag-title {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.mag-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ===================================================
   SOCIAL
   =================================================== */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  color: #fff;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.social-card--fb  { background: #1877F2; }
.social-card--ig  { background: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #FD1D1D, #F77737); }

.social-card svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.social-card-name {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
}

.social-card-handle {
  font-size: 0.72rem;
  opacity: 0.85;
  text-align: center;
}

/* ===================================================
   CONTACT STRIP
   =================================================== */
.contact-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px 20px;
}

.contact-item-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-item-info {
  flex: 1;
}

.contact-item-name {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 2px;
}

.contact-item-tel a {
  color: var(--bondi);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.contact-item-tel a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.contact-item-email {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
  word-break: break-all;
}

/* ===================================================
   LOCAL / COWORKING BLOCK
   =================================================== */
.local-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.local-photo {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.local-photo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--petrol), var(--outremer));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}

.local-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.local-name {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--petrol);
}

.local-desc {
  font-size: 0.86rem;
  color: var(--gris);
  line-height: 1.6;
}
.local-concept {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  background: rgba(236,101,37,0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.86rem;
  color: var(--petrol);
  line-height: 1.6;
  font-style: italic;
}

.local-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--outremer);
  background: rgba(12,114,122,0.1);
  border-radius: 999px;
  padding: 6px 12px;
  align-self: flex-start;
}

/* ===================================================
   ADVISOR PAGE — HERO
   =================================================== */
.advisor-hero {
  background: linear-gradient(135deg, var(--petrol) 0%, var(--outremer) 100%);
  padding: 40px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.advisor-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--orange);
  overflow: hidden;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--sable);
  flex-shrink: 0;
}

.advisor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.advisor-name {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.1;
}

.advisor-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bondi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.advisor-zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.zone-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
}

.advisor-tel a {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--orange);
  text-decoration: none;
}

.advisor-tel a:hover { color: #fff; }

.advisor-email {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ===================================================
   ADVISOR BIO SECTION
   =================================================== */
.bio-text {
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.7;
}

/* ===================================================
   SPEC LIST (adviser specialities)
   =================================================== */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.spec-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.spec-label {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--petrol);
  margin-bottom: 2px;
}

.spec-desc {
  font-size: 0.78rem;
  color: var(--gris);
  line-height: 1.45;
}

/* ===================================================
   SAFTI.FR CTA BLOCK
   =================================================== */
.safti-cta-block {
  background: var(--cream);
  border: 2px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.safti-cta-logo {
  height: 36px;
  width: auto;
}

.safti-cta-text {
  font-size: 0.86rem;
  color: var(--gris);
  line-height: 1.55;
}

/* ===================================================
   MAGAZINE PAGE
   =================================================== */
.mag-reader-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--night);
}

.mag-reader-wrap iframe {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: block;
  border: none;
}

.mag-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
}

.mag-fallback span { font-size: 3rem; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.archive-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.archive-item:hover .archive-cover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.archive-cover {
  width: 100%;
  aspect-ratio: 1/1.414;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  background: linear-gradient(135deg, var(--petrol), var(--outremer));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.archive-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  text-align: center;
  padding: 10px;
}
.archive-cover-placeholder span { font-size: 2rem; }

.archive-label {
  font-family: 'Garet', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  color: var(--petrol);
}

.archive-date {
  font-size: 0.72rem;
  color: var(--gris);
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--night);
  color: rgba(255,255,255,0.45);
  padding: 36px 20px;
  font-size: 0.68rem;
  line-height: 1.7;
  text-align: center;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.footer-legal p + p {
  margin-top: 6px;
}

.footer-copy {
  font-size: 0.64rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
  margin-top: 6px;
}

/* ===================================================
   BACK BUTTON
   =================================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
}
.back-link:hover { color: var(--orange-dark); }

/* ===================================================
   DESKTOP (≥ 640px)
   =================================================== */
@media (min-width: 640px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    gap: 4px;
  }

  .nav-menu-sep { display: none; }

  .nav-menu a {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .hero {
    min-height: 420px;
    max-height: 620px;
  }

  .hero-title { font-size: 2.6rem; }

  .hero-content {
    padding: 40px 48px;
    max-width: 600px;
  }

  .section { padding: 64px 40px; }

  .section-title { font-size: 1.8rem; }

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

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

  .cdm-banner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .cdm-banner-text { flex: 1; }

  .local-block {
    flex-direction: row;
    align-items: flex-start;
  }

  .local-photo, .local-photo-placeholder {
    width: 50%;
    flex-shrink: 0;
    aspect-ratio: 4/3;
  }

  .contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .social-grid {
    max-width: 400px;
  }

  .advisor-hero {
    padding: 56px 40px 64px;
  }

  .advisor-photo-wrap {
    width: 150px;
    height: 150px;
  }

  .advisor-name { font-size: 2rem; }

  .mag-reader-wrap iframe {
    height: 80vh;
    min-height: 600px;
  }

  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
