/* ==========================================================================
   IC2S 2027 — Main stylesheet
   Palette inspired by SUPMTI Rabat / EPT Thiès (academic navy) and the
   flags of Morocco (red, green) and Senegal (green, gold, red).
   All colours live in the variables below so they are easy to adjust.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0a1f3c;
  --navy-800: #0f2d52;
  --navy-700: #16406f;
  --green: #00853f;        /* Senegal green, close to Morocco green #006233 */
  --green-dark: #006233;   /* Morocco green */
  --red: #c1272d;          /* Morocco red */
  --gold: #f2b705;         /* Softened Senegal yellow */
  --sand: #f6efe3;         /* Rabat sandstone */
  --sand-dark: #e9dcc4;

  /* Neutrals */
  --ink: #1c2533;
  --muted: #5b6676;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;

  /* Type & layout */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 31, 60, .08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 60, .16);
  --container: 1180px;
  --container-header: 1300px;
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: .5rem 1rem; z-index: 1000; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* Accent ribbon: the two colours shared by the Moroccan and Senegalese flags */
.flag-ribbon { height: 4px; background: linear-gradient(90deg, var(--green) 0 50%, var(--red) 50% 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #ffc928; color: var(--navy-900); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.2rem; }
.topbar a { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
/* Header: logo on the left with its text underneath, menu on the right */
/* Topbar and header share a wider container so the logo lines up under the dates */
.topbar .container, .site-header .container { width: min(100% - 2.5rem, var(--container-header)); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; color: var(--navy-900); flex: none; }
.brand img { height: 42px; width: auto; }
@media (min-width: 1281px) { .main-nav { flex: 1; } .main-nav > ul { justify-content: center; } }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1; }
.brand-text small { display: block; margin-top: .15rem; color: var(--muted); font-size: .68rem; letter-spacing: .04em; white-space: nowrap; }

.main-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; white-space: nowrap; padding: .5rem .6rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { color: var(--green); background: rgba(0,133,63,.07); }
.main-nav .btn { margin-left: .6rem; padding: .6rem 1.2rem; color: #fff; }
.main-nav .btn:hover { color: #fff; background: var(--green-dark); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .35rem; opacity: .6; }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .4rem; display: none !important; flex-direction: column; align-items: stretch !important; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: flex !important; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy-900); content: ""; transition: .3s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider (soft crossfade + slow zoom) ---------- */
.hero { position: relative; height: min(88vh, 760px); min-height: 560px; overflow: hidden; color: #fff; background: var(--navy-900); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2.2s ease-in-out, transform 9s ease-out;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
/* Fallback pattern under every slide (shown until photos are available) */
.hero-slides::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("../img/pattern-zellige.svg") center / 140px repeat,
    linear-gradient(135deg, var(--navy-900), var(--navy-700) 55%, var(--green-dark));
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,31,60,.35) 0%, rgba(10,31,60,.15) 35%, rgba(10,31,60,.75) 100%),
    linear-gradient(90deg, rgba(10,31,60,.65) 0%, rgba(10,31,60,0) 65%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.hero-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; max-width: 820px; margin-bottom: .3em; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 680px; color: rgba(255,255,255,.9); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.6rem 0 2rem; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 20px; height: 20px; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-caption { position: absolute; right: 1.5rem; bottom: 6.2rem; z-index: 3; font-size: .8rem; color: rgba(255,255,255,.75); letter-spacing: .05em; transition: opacity .8s; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 5.4rem; transform: translateX(-50%); display: flex; gap: .6rem; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; overflow: hidden; position: relative; }
.hero-dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: dotfill var(--slide-ms, 7000ms) linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Countdown strip overlapping the hero */
.countdown-wrap { position: relative; z-index: 5; margin-top: -4.2rem; }
.countdown {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); align-items: center; overflow: hidden;
}
.countdown-label { background: var(--navy-800); color: #fff; padding: 1.4rem 1.6rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.countdown-label strong { font-family: var(--font-head); font-size: 1.25rem; }
.countdown-label small { color: var(--gold); }
.countdown-item { text-align: center; padding: 1.2rem .5rem; border-left: 1px solid var(--line); }
.countdown-item b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy-900); line-height: 1; }
.countdown-item span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .6rem; }
.section-dark .kicker { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-dark .lead { color: rgba(255,255,255,.75); }

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .3s, box-shadow .3s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.card-icon svg { width: 28px; height: 28px; }
.icon-green { background: rgba(0,133,63,.1); color: var(--green); }
.icon-red { background: rgba(193,39,45,.1); color: var(--red); }
.icon-gold { background: rgba(242,183,5,.16); color: #b58600; }
.icon-navy { background: rgba(22,64,111,.1); color: var(--navy-700); }
.card ul { padding-left: 1.1rem; margin: .8rem 0 0; color: var(--muted); }
.card ul li { margin-bottom: .3rem; }
.card .example { margin-top: 1rem; padding: .9rem 1rem; background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 6px; font-size: .92rem; color: var(--muted); }

/* Track cards (with coloured top border) */
.track-card { border-top: 4px solid var(--green); }
.track-card.red { border-top-color: var(--red); }
.track-card.gold { border-top-color: var(--navy-700); }
.track-card.navy { border-top-color: var(--navy-700); }

/* About image block */
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-lg); background: var(--navy-800) center / cover; }
.about-visual .badge { position: absolute; left: 1.2rem; bottom: 1.2rem; background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.about-visual .badge b { font-family: var(--font-head); font-size: 1.8rem; color: var(--green); display: block; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: .8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Timeline (important dates) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--green), var(--red)); }
.timeline-item { position: relative; text-align: center; padding-top: 0; }
.timeline-dot { width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 50%; background: #fff; border: 3px solid var(--green); display: grid; place-items: center; position: relative; z-index: 1; color: var(--green); font-weight: 700; }
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--green); color: var(--green); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--red); color: var(--red); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--navy-700); color: #fff; background: var(--navy-700); }
.timeline-item h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: .3rem; }
.timeline-item .date { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy-900); }
.tba { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(242,183,5,.2); color: #8a6700; padding: .15rem .55rem; border-radius: 999px; }
.section-dark .timeline-dot { background: var(--navy-900); }
.section-dark .timeline-item h4 { color: rgba(255,255,255,.75); }
.section-dark .timeline-item .date { color: #fff; }

/* Format / feature strip */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card-icon { flex: none; margin: 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); margin: 0; }
.section-dark .feature p { color: rgba(255,255,255,.7); }

/* People / committee */
.person { text-align: center; }
.avatar { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--green)); }
.person:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--red), #e0673a); }
.person:nth-child(3n) .avatar { background: linear-gradient(135deg, #c49a06, var(--gold)); }
.person h4 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: .2rem; }
.person .role { color: var(--green); font-weight: 600; font-size: .85rem; }
.person .affil { color: var(--muted); font-size: .9rem; }
.person .country { display: inline-block; margin-top: .4rem; font-size: .75rem; padding: .1rem .6rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.chair-card { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; text-align: left; }
.chair-card .avatar { width: 130px; height: 130px; font-size: 2.6rem; margin: 0; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; align-items: center; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 2.2rem; display: flex; align-items: center; gap: 1rem; min-width: 300px; box-shadow: var(--shadow); }
.partner img { height: 64px; width: auto; }
.partner strong { display: block; color: var(--navy-900); }
.partner small { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green) 45%, var(--navy-700)); color: #fff; border-radius: var(--radius); padding: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-zellige.svg") center / 120px repeat; opacity: .12; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-soft); }

/* Accordion (FAQ / guidelines) */
.accordion details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .8rem; }
.accordion summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green); transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Notice */
.notice { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(242,183,5,.12); border: 1px solid rgba(242,183,5,.4); color: #6b5200; font-size: .95rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy-900); }
input, select, textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,133,63,.15); }
textarea { min-height: 140px; resize: vertical; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 5rem 0 4rem; color: #fff; background: var(--navy-900) center / cover; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-zellige.svg") center / 130px repeat, linear-gradient(120deg, rgba(10,31,60,.96), rgba(22,64,111,.88) 60%, rgba(0,98,51,.85)); }
.page-hero.has-photo::before { background: linear-gradient(120deg, rgba(10,31,60,.92), rgba(22,64,111,.72) 60%, rgba(0,98,51,.6)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: var(--gold); }

/* Map */
.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 4rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; z-index: 90; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: #fff; background: var(--green-dark); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .nav-open .main-nav { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem 1.25rem; }
  .main-nav .btn { margin: .6rem 0 0; justify-content: center; }
  .sub-menu { position: static; display: flex !important; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
}
@media (max-width: 860px) {
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(4, 1fr); }
  .countdown-label { grid-column: 1 / -1; text-align: center; }
  .countdown-item:nth-child(2) { border-left: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .chair-card { grid-template-columns: 1fr; text-align: center; }
  .chair-card .avatar { margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .hero-caption { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .countdown-item b { font-size: 1.6rem; }
  .brand-text small { display: none; }
  .cta-band { padding: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity 1s linear; transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-dots button.is-active::after { animation: none; transform: scaleX(1); }
}

/* Contact form feedback (Laravel) */
.form-status { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 6px; background: rgba(0,133,63,.1); color: var(--green-dark); font-weight: 500; }
.form-errors { margin: 0 0 1rem; padding: .8rem 1rem .8rem 2rem; border-radius: 6px; background: rgba(193,39,45,.08); color: var(--red); }
