/* ==========================================================================
   Morocco Sun Tours — stylesheet
   Palette taken from the logo: sun orange, sky blue, Atlas ink.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --sun: #F29A26;
  --sun-deep: #D9780F;
  --sun-light: #FBD9A3;
  --sky: #7CC1E8;
  --sky-pale: #EAF5FB;
  --sand: #F4E7D7;
  --ink: #1F3B48;
  --ink-soft: #3E5866;
  --text: #2A3A43;
  --muted: #5D6F79;
  --line: #D7E3EA;
  --white: #FFFFFF;

  --font-display: "Marcellus", "Optima", "Candara", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Type scale (1.25) */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-hero: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space: clamp(3.5rem, 7vw, 6rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 59, 72, .06), 0 8px 24px -12px rgba(31, 59, 72, .25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sun-deep); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-xl); }
h2 { font-size: var(--fs-lg); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-deep); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link-arrow::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-.1em) rotate(45deg); }
.link-arrow:hover { color: var(--sun-deep); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #D5E4EC; font-size: var(--fs-sm); }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; padding-block: .5rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--sun-light); }
.topbar .icon { color: var(--sky); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { width: 196px; height: auto; }

.site-nav ul { display: flex; gap: .25rem; list-style: none; }
.site-nav a:not(.btn) {
  display: block; padding: .55rem .8rem;
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-radius: 999px;
}
.site-nav a:not(.btn):hover { background: var(--sky-pale); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--sky-pale); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 999px 999px 999px 999px; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--sky-pale); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(31,59,72,.3);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .site-nav a[aria-current="page"] { border-radius: var(--radius-sm); }
  .brand img { width: 168px; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,59,72,.05) 30%, rgba(31,59,72,.7) 100%);
}
.hero__inner { position: relative; padding-block: 6rem clamp(3rem, 8vw, 5.5rem); }
.hero__sun {
  position: absolute; z-index: -1;
  width: clamp(170px, 26vw, 330px); aspect-ratio: 1;
  left: clamp(-1rem, 34vw, 30rem); bottom: clamp(9rem, 22vw, 15rem);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #FCC25A, var(--sun) 60%, var(--sun-deep));
  box-shadow: 0 0 0 14px rgba(124,193,232,.0), 0 0 80px 10px rgba(242,154,38,.45);
  opacity: .92;
  animation: sunrise 1.6s cubic-bezier(.2,.7,.2,1) both .2s;
}
.hero__sun::after { /* the crescent from the logo, under the sun */
  content: ""; position: absolute; inset: -9%;
  border-radius: 50%;
  border: 10px solid transparent; border-bottom-color: var(--sky);
  transform: rotate(0deg);
}
@media (max-width: 760px) {
  .hero__inner { position: static; }
  .hero__sun { left: auto; right: -30px; bottom: auto; top: 12%; width: 150px; }
}
@keyframes sunrise { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: .92; } }
.hero__kicker { font-family: var(--font-display); font-size: var(--fs-md); color: var(--sun-light); margin-bottom: .4rem; }
.hero__title {
  font-size: var(--fs-hero); color: var(--white); max-width: 15ch; margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(31,59,72,.35);
}
.hero__lead { font-size: var(--fs-md); max-width: 40ch; color: #F1F7FA; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(260px, 38vw, 400px);
  display: flex; align-items: flex-end; color: var(--white);
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,59,72,.15), rgba(31,59,72,.78)); }
.page-hero__inner { padding-block: 4rem 2.5rem; }
.page-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: .4rem; }
.page-hero__lead { max-width: 52ch; font-size: var(--fs-md); color: #EEF5F9; margin: 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: 0; margin: 0 0 .9rem; font-size: var(--fs-sm); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.crumbs a { color: inherit; }
.page-hero .crumbs { color: #DCEAF2; }
.page-hero .crumbs a { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--sky { background: var(--sky-pale); }
.section--sand { background: var(--sand); }
.section-head { max-width: 60ch; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: var(--fs-md); margin: 0; }
.section-more { margin: 2rem 0 0; }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tour-card { position: relative; display: flex; flex-direction: column; }
.tour-card[hidden] { display: none; }
.tour-card__media { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sand); }
.tour-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-card:hover .tour-card__img { transform: scale(1.04); }
.tour-card__body { padding-top: 1rem; }
.tour-card__meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: .3rem; }
.tour-card__title { font-size: 1.35rem; margin-bottom: .45rem; }
.tour-card__title a { color: var(--ink); text-decoration: none; }
.tour-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.tour-card__title a:hover { color: var(--sun-deep); }
.tour-card__text { color: var(--muted); margin: 0; font-size: 1rem; }

/* Sun badge: the logo's sun carries the trip length */
.sun-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 50% 30%, #FCC25A, var(--sun) 65%);
  color: var(--ink); line-height: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 6px 14px -4px rgba(31,59,72,.4);
}
.sun-badge strong { font-family: var(--font-body); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.sun-badge small { font-size: .72rem; font-weight: 700; }

/* ---------- Cities + features ---------- */
.cities__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cities__grid { grid-template-columns: 1.1fr 1fr; } }
.cities__media { position: relative; }
.cities__img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; }
.cities__media::before { /* sky crescent behind the photo */
  content: ""; position: absolute; z-index: -1;
  width: 70%; aspect-ratio: 1; right: -6%; bottom: -10%;
  border-radius: 50%; border: 14px solid var(--sky); border-top-color: transparent; border-left-color: transparent;
  transform: rotate(10deg);
}
.cities { position: relative; isolation: isolate; overflow: hidden; }
.cities__lead { font-size: var(--fs-md); color: var(--ink-soft); }
.feature-list { list-style: none; display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 560px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.feature-list__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--sun-deep); box-shadow: inset 0 0 0 2px var(--sun-light);
}
.feature-list__icon .icon { width: 22px; height: 22px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 900px) {
  .reviews { grid-template-columns: repeat(6, 1fr); }
  .review { grid-column: span 2; }
  .review--lead { grid-column: span 3; }
  .reviews--two .review--lead { grid-column: span 3; }
}
.review { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; }
.review blockquote { margin: .75rem 0 1rem; flex: 1; }
.review blockquote p { margin: 0; }
.review--lead blockquote p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.review__stars { display: flex; gap: 2px; color: var(--sun); }
.review__stars .icon { width: 18px; height: 18px; }
.review figcaption { font-weight: 700; color: var(--ink); }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.post-card__media { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; margin-bottom: 1rem; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: .35rem; }
.post-card__title { font-size: 1.5rem; }
.post-card__title a { text-decoration: none; color: var(--ink); }
.post-card__title a:hover { color: var(--sun-deep); }
.post-card p:not(.post-card__meta) { color: var(--muted); }

/* ---------- Destinations mosaic ---------- */
.dest-mosaic { list-style: none; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dest-mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .dest-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
  .dest:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .dest:nth-child(2) { grid-column: span 3; }
  .dest:nth-child(3) { grid-column: span 3; }
  .dest:nth-child(4) { grid-column: span 3; }
  .dest:nth-child(5) { grid-column: span 3; }
}
.dest { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 220px; color: var(--white); isolation: isolate; }
.dest__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(31,59,72,.8)); }
.dest__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; }
.dest h3 { color: var(--white); margin: 0; font-size: 1.5rem; }
.dest p { margin: 0; color: #E6F0F5; font-size: 1rem; }

/* ---------- About ---------- */
.about { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.about__lead { font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.5; color: var(--ink); }
.about__aside { background: var(--sky-pale); border-radius: var(--radius); padding: 2rem; }
.about__logo { width: 180px; margin: 0 auto 1.5rem; }
.band-image { height: clamp(180px, 30vw, 360px); overflow: hidden; }
.band-image__img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; display: grid; gap: .65rem; padding: 0; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { color: var(--white); background: var(--sun); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .15rem; }

/* ---------- Prose (articles, long text) ---------- */
.prose { max-width: 68ch; }
.prose--narrow { margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose > :first-child { margin-top: 0; }
.prose ul:not(.check-list) { padding-left: 1.2rem; margin-bottom: 1em; }
.prose blockquote {
  margin: 2rem 0; padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--sun); background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
}
.prose blockquote p { margin: 0; }

/* ---------- Article ---------- */
.article { padding-bottom: var(--space); }
.article__head { padding-top: 2.5rem; max-width: 820px; }
.article__head .crumbs { color: var(--muted); }
.article__meta { color: var(--muted); font-size: var(--fs-sm); margin-bottom: .5rem; }
.article__head h1 { font-size: var(--fs-hero); max-width: 18ch; }
.article__lead { font-size: var(--fs-md); color: var(--ink-soft); max-width: 60ch; }
.article__figure { margin-block: 1.5rem 2.5rem; max-width: 1100px; }
.article__figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.article__body { font-size: 1.125rem; line-height: 1.7; }
.post-nav { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 3rem; max-width: 820px; }
.post-nav__link { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.post-nav__link small { display: block; font-family: var(--font-body); font-size: var(--fs-sm); color: var(--muted); }
.post-nav__link:hover { border-color: var(--sun); }
.post-nav__link--next { text-align: right; }

/* ---------- Trip detail ---------- */
.trip { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .trip { grid-template-columns: 1.4fr 1fr; align-items: start; } .trip__aside { position: sticky; top: 100px; } }
.trip__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; margin: 0 0 2.5rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trip__facts div { background: var(--white); padding: 1rem 1.1rem; }
.trip__facts dt { font-size: var(--fs-sm); color: var(--muted); }
.trip__facts dd { margin: 0; font-weight: 700; font-size: 1.15rem; color: var(--ink); }

.panel { background: var(--sky-pale); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.panel__title { font-size: 1.6rem; }

/* ---------- Tours filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font: 600 1rem var(--font-body); cursor: pointer;
}
.chip span { color: var(--muted); font-weight: 400; margin-left: .25rem; }
.chip:hover { border-color: var(--sky); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] span { color: var(--sky); }
.filters { display: none; }
.js .filters { display: flex; }

/* ---------- Forms ---------- */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field label { font-weight: 600; color: var(--ink); font-size: .975rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; color: var(--text);
  background: var(--white); border: 1px solid #BCD0DB; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(124,193,232,.45); }
.field [aria-invalid="true"] { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-msg--ok { background: #E3F4E8; color: #1D6B3A; }
.form-msg--error { background: #FBE7E4; color: #A12B1F; }
.form-note { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.contact-form button[disabled] { opacity: .65; cursor: progress; }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.contact__info > p { color: var(--muted); max-width: 46ch; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--sky-pale); color: var(--ink); }
.contact-list span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.contact-list a { font-weight: 600; }
.map iframe { width: 100%; height: 380px; border: 0; filter: saturate(.85); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--sky); color: var(--ink); }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-block: 3rem; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--ghost-light { border-color: var(--ink); color: var(--ink); }
.cta-band .btn--ghost-light:hover { background: var(--ink); color: var(--white); }

.site-footer { background: var(--ink); color: #C9DAE3; font-size: 1rem; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; } }
.site-footer__brand img { width: 130px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 32ch; }
.site-footer__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 .8rem; }
.site-footer__title + .site-footer__links, .site-footer__contact { margin-bottom: 1.75rem; }
.site-footer__links { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #E4EEF3; text-decoration: none; }
.site-footer a:hover { color: var(--sun-light); text-decoration: underline; }
.site-footer__contact { display: grid; gap: .55rem; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; gap: .55rem; align-items: center; }
.site-footer__contact .icon { color: var(--sky); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); }
.site-footer__bottom p { margin: 0; }
.site-footer__social { list-style: none; display: flex; gap: 1rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .map, .contact-form { display: none; }
}
