:root {
  --bg-body: #f8fafc; /* Lighter, cleaner background */
  --bg-surface: #ffffff;
  --border-subtle: #e2e8f0;

  --primary: #0284c7;   /* Modern bright blue */
  --primary-strong: #0369a1;
  --primary-soft: #e0f2fe;
  --accent: #38bdf8;   /* Sky blue accent */
  --accent-soft: #f0f9ff;

  --text-main: #0f172a;
  --text-muted: #64748b;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

html, body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

@media (max-width: 768px) {
  .page-shell {
    padding-inline: 1.2rem;
  }
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-text-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-text-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.2s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.lang-switcher button {
  border: none;
  background: transparent;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.2s;
}

.lang-switcher button.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.lang-switcher button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--text-main);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-pill span.icon {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

@media (max-width: 900px) {
  .nav-bar {
    padding-inline: 1.2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1000;
  }

  .nav-main.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }
  
  .nav-links a {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero / accueil */

.hero {
  margin-top: 1.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-left-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(2, 132, 199, 0.1);
}

.hero-left {
  max-width: 640px;
}

.hero-left-kicker-tag {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.hero-left-kicker-note {
  font-weight: 500;
  opacity: 0.8;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(to right, var(--text-main), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin-top: 0.8rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-text {
  margin-top: 1rem;
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 35rem;
  line-height: 1.6;
}

.hero-extra-text {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  background: var(--primary-strong);
}

.btn-outline {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--bg-body);
  border-color: var(--text-muted);
}

.hero-meta {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: start;
  gap: 0.6rem;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Photo bloc */

.hero-media {
  position: relative;
  padding: 0.35rem;
  max-width: 360px;
  margin-inline: auto;
}

.hero-photo-modern {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 58px rgba(12, 74, 110, 0.22);
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.25), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(8, 47, 73, 0) 35%, rgba(8, 47, 73, 0.8));
  max-width: 360px;
  margin-inline: auto;
}

.hero-photo-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0) 30%, rgba(8, 47, 73, 0.8) 95%);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-photo-glow {
  position: absolute;
  inset: auto 0 -18% 0;
  height: 34%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.42), rgba(14, 165, 233, 0));
  filter: blur(36px);
  z-index: 0;
}

.hero-photo-img {
  position: relative;
  width: 92%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.hero-badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(15, 96, 196, 0.92);
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(15, 96, 196, 0.45);
  z-index: 2;
}

.hero-floating {
  position: absolute;
  right: 0.35rem;
  bottom: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 0.8rem;
  max-width: 230px;
  z-index: 2;
}

.hero-floating-title {
  font-weight: 650;
  color: var(--primary);
  margin-bottom: 0.28rem;
}

.hero-floating-text {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  margin-top: 3rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.section-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.section-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.4rem 1.2rem;
  }

  .hero::before {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    order: -1;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text,
  .hero-extra-text {
    font-size: 0.93rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile Hero Photo Layout */
  .hero-photo-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-photo-img {
    width: 100%; /* Full width in the flex container */
  }

  .hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    align-self: flex-start;
    margin-top: -3.5rem; /* Pull up to overlap image */
    margin-left: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .hero-floating {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    width: calc(100% - 2.4rem);
    margin: 0 1.2rem 1.5rem 1.2rem;
  }
}

/* Cards / grids */

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .cards-2,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-list {
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --- News Grid & Cards --- */
#news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.news-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.news-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0;
  line-height: 1.3;
}

.news-desc {
  font-style: italic;
  color: var(--text-main);
  opacity: 0.9;
}

.news-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Timeline */

.timeline {
  margin-top: 0.7rem;
  border-left: 2px solid rgba(148, 163, 184, 0.5);
  padding-left: 0.9rem;
}

.timeline-item {
  margin-bottom: 0.9rem;
}

.timeline-year {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 650;
  text-transform: uppercase;
}

.timeline-item-title {
  font-size: 0.94rem;
  font-weight: 650;
  margin: 0.12rem 0;
}

.timeline-item-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Positions */

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .positions-grid {
    grid-template-columns: 1fr;
  }
}

.position-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.position-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.position-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.position-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 96, 196, 0.15);
  border-color: var(--primary-soft);
}

.position-card.open {
  border-color: rgba(15, 96, 196, 0.55);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.position-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.position-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.position-card:hover .position-pill {
  background: var(--primary);
  color: white;
}

.position-pill:focus-visible {
  outline: 3px solid rgba(15, 96, 196, 0.25);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.pill-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.position-card.open .pill-arrow {
  transform: rotate(180deg);
}

.position-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  opacity: 0;
  margin-top: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.position-card.open .position-detail {
  max-height: 1000px;
  opacity: 1;
  margin-top: 1rem;
  display: block;
  visibility: visible;
  padding-bottom: 1rem; /* Add some padding at the bottom when open */
}

.position-detail h3 {
  font-size: 1.2rem;
  color: var(--primary-strong);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.position-media {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.position-detail ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.position-detail li {
  margin-bottom: 0.5rem;
}

/* Soutenir */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.donate-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.1rem;
}

.donate-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.donate-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.donate-highlight {
  margin-top: 0.9rem;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  background: var(--accent-soft);
  font-size: 0.9rem;
  color: var(--primary-strong);
  border: 1px solid rgba(10, 160, 230, 0.25);
}

.donate-iban {
  margin-top: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
}

.support-extra {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.support-extra .card {
  height: 100%;
}

@media (max-width: 960px) {
  .support-extra {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Médias */

.media-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.28rem;
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 650;
  margin-top: 0.3rem;
  text-decoration: none;
}

/* Contact */

.contact-page {
  background: radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.08), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 30%),
    var(--bg-default);
}

.contact-hero {
  position: relative;
  z-index: 1;
}

.contact-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 66, 170, 0.08), rgba(14, 66, 170, 0.02)), #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.6rem;
  align-items: center;
}

.contact-hero-left {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 82, 160, 0.16);
  color: #0a2d73;
  font-weight: 760;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-hero-title {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.contact-hero-text {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  max-width: 44ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 82, 160, 0.12);
  color: #0a2d73;
  font-weight: 700;
  font-size: 0.88rem;
}


.contact-highlight {
  background: linear-gradient(135deg, #eef5ff, #dbeafe);
  color: #0a2d73;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
  align-content: center;
  border: 1px solid rgba(15, 96, 196, 0.22);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.contact-highlight-label {
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  text-transform: uppercase;
  opacity: 0.82;
  font-weight: 750;
}

.contact-highlight-name {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 700;
}

.contact-highlight-email {
  color: #0a2d73;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  word-break: break-word;
}

.contact-highlight-email:hover {
  text-decoration: underline;
}

.contact-highlight-note {
  opacity: 0.92;
  font-size: 0.94rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.45fr);
  gap: 1.35rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-details {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details-item {
  margin-bottom: 0.7rem;
}

.contact-details-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .contact-hero-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Form */

.form-card {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.15rem 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(14, 82, 160, 0.35);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-honeypot {
  display: none;
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.82rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.2rem 1.6rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3rem;
  background: #f7faff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.85rem;
}

/* --- Footer Socials --- */
.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-link {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-socials {
    justify-content: flex-start;
  }
}

/* --- Hero Gradient Style --- */
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(2, 132, 199, 0.2), rgba(13, 148, 136, 0.2));
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

.hero-photo-card img {
  position: relative;
  z-index: 0;
}

