/* Women in Cyber Moldova – public site. Values taken from the Mentori design. */

:root {
    --font-sans: 'Onest', Helvetica, sans-serif;
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-muted: #333333;
    --color-accent: #d4168b;
    --color-accent-dark: #b0126f;
    --color-accent-soft: #e9a4cf;
    --color-hero: #2a1d4c;
    --color-nav-active: #bdb8cc;
    --container: 1200px;
    --gutter: 20px; /* space between the content and the screen edges; doubled on mobile below */
}

html, body { margin: 0; padding: 0; }

.site {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.site a { color: var(--color-accent); text-decoration: none; }
.site a:hover { color: var(--color-accent-dark); }

/* Hero band */
.hero { position: relative; width: 100%; height: 350px; overflow: hidden; background: var(--color-hero); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: rgba(12, 6, 30, 0.35); }
.hero-body { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 40px; box-sizing: border-box; z-index: 1; }
.hero-title { margin: 0; max-width: var(--container); padding: 0 var(--gutter); box-sizing: border-box; font-size: 48px; line-height: 1.2; font-weight: 700; color: #ffffff; text-align: center; }

/* Header + navigation */
.site-header { position: absolute; top: 0; left: 0; right: 0; height: 110px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; box-sizing: border-box; z-index: 2; }
.site-logo { display: flex; align-items: center; color: #ffffff; font-weight: 700; }
.site-logo img { width: 262px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 48px; font-size: 17px; font-weight: 600; }
.site .site-nav-link { color: #ffffff; }
.site .site-nav-link:hover,
.site .site-nav-link.is-active { color: var(--color-nav-active); }
.site .site-nav-social { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #ffffff; color: #000000; }
.site .site-nav-social:hover { color: var(--color-accent); }
/* Wrapper is layout-neutral on desktop (icons stay in the nav's flex row); it becomes a row in the mobile overlay. */
.site-nav-socials { display: contents; }

/* Burger: only shown on mobile (see the 900px block at the bottom). */
.site-burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-burger-bar { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: #ffffff; transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease; }
.site-burger-bar:nth-child(1) { top: 15px; }
.site-burger-bar:nth-child(2) { top: 21px; }
.site-burger-bar:nth-child(3) { top: 27px; }
.site-header.is-menu-open .site-burger-bar { background: #111111; }
.site-header.is-menu-open .site-burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-menu-open .site-burger-bar:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .site-burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html.menu-open { overflow: hidden; }

/* Mentor grid */
.mentors { width: 100%; padding: 100px 0; }
.mentors-grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 70px 36px; }
.mentor { display: flex; flex-direction: column; }
.mentor-photo { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; display: block; filter: grayscale(100%); margin-bottom: 20px; }
.mentor-name { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--color-accent); }
.mentor-role { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 400; color: var(--color-muted); }

/* Events grid (listing) */
.events { width: 100%; padding: 100px 0; }
.events-grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 70px 36px; }
.event-card { display: flex; flex-direction: column; color: inherit; }
.event-card:hover .event-title { color: var(--color-accent-dark); }
.event-photo-wrap { position: relative; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; margin-bottom: 20px; }
.event-photo-wrap::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.1); pointer-events: none; }
.event-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-date { display: block; margin: 0 0 15px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-muted); opacity: 0.7; }
.event-title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--color-accent); }
.event-excerpt { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 400; color: var(--color-muted); }

/* Pagination */
.pagination { max-width: var(--container); margin: 60px auto 0; padding: 0 var(--gutter); box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 15px; font-weight: 600; }
.pagination-link { color: var(--color-accent); }
.pagination-link.is-disabled { color: var(--color-muted); opacity: 0.4; pointer-events: none; }
.pagination-status { color: var(--color-muted); }

/* Event detail */
.event-inner { max-width: var(--container); margin: 0 auto; padding: 60px var(--gutter) 100px; box-sizing: border-box; }
.event-back { display: inline-block; margin-bottom: 24px; font-size: 15px; font-weight: 600; }
.event-cover { display: block; width: 100%; height: auto; border-radius: 4px; margin-bottom: 40px; }
.event-content,
.page-content { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; color: #222222; }
.event-content p,
.page-content p { margin: 0 0 20px; }
.event-content p:last-child,
.page-content p:last-child { margin-bottom: 0; }
.event-content strong,
.page-content strong { font-weight: 700; }
.event-content ul,
.page-content ul { margin: 0 0 20px; padding-left: 20px; }
.event-content li,
.page-content li { margin-bottom: 8px; }

/* Generic page */
.page { width: 100%; }
.page-inner { max-width: var(--container); margin: 0 auto; padding: 60px var(--gutter) 100px; box-sizing: border-box; }

/* Module list page: the wrapper gets id="{slug}-content" from the Blade view
   (resources/views/site/page.blade.php), not from the editor. Only the page
   whose slug is "module" gets this numbered-timeline treatment; any other
   page just falls back to the plain .page-content prose above. */
#module-content { max-width: none; }
#module-content > p:first-child { margin: 0 0 40px; font-size: 22px; line-height: 1.65; font-weight: 300; color: #111111; }
#module-content ul { list-style: none; margin: 0; padding: 0; counter-reset: module-item; display: flex; flex-direction: column; gap: 60px; position: relative; }
#module-content ul::before { content: ""; position: absolute; left: 23px; top: 23px; bottom: 23px; width: 2px; background: #e2e2e2; }
#module-content li { position: relative; counter-increment: module-item; padding-left: 72px; margin-bottom: 0; }
#module-content li::before { content: counter(module-item); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: #1f1f1f; color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 20px; font-weight: 700; }
#module-content li p:first-child { margin: 0 0 10px; font-family: var(--font-sans); font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--color-accent); }
#module-content li p:not(:first-child) { margin: 0 0 14px; font-size: 15px; line-height: 1.6; font-weight: 300; color: #111111; }
#module-content li p:last-child { margin-bottom: 0; }
/* Homepage hero: full viewport height, YouTube video background */
.home-hero { position: relative; width: 100%; height: 100vh; min-height: 640px; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 45%, #1b2226 0%, #0b0e10 70%); }
.home-hero-video-wrap { position: absolute; inset: 0; overflow: hidden; }
.home-hero-video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    /* Oversize a 16:9 iframe so it always covers the container, like object-fit: cover for video. */
    width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%;
    border: 0; pointer-events: none;
}
.home-hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.home-hero .site-header { z-index: 2; }
.home-hero-body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #ffffff; padding: 110px var(--gutter) 40px; box-sizing: border-box; font-family: var(--font-sans); }
.home-hero-eyebrow { margin-bottom: 36px; font-size: 18px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.home-hero-heading { margin: 0 0 32px; font-size: 96px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.home-hero-subtitle { margin: 0; max-width: 480px; font-size: 24px; line-height: 1.55; font-weight: 400; }

/* Sticky nav: a second copy of the header, fixed, fades in once resources/js/app.js
   toggles .is-visible after scrolling past the hero. */
.site-header--sticky { position: fixed; height: 80px; padding: 0 40px; background: rgba(11, 14, 16, 0.96); box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); visibility: hidden; opacity: 0; transition: opacity 0.25s ease; z-index: 50; }
.site-header--sticky.is-visible { visibility: visible; opacity: 1; }
.site-header--sticky .site-logo img { width: 200px; }

/* Generic block: full-bleed <section>, .block-inner caps content width — the
   homepage's per-key rules below set each section's background/height on the
   outer element and its text layout on .block-inner (see
   resources/views/components/block.blade.php). */
.block { width: 100%; box-sizing: border-box; }
.block-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.block-heading { margin: 0; font-family: var(--font-sans); font-weight: 700; color: var(--color-accent); }
.block-content p { margin: 0 0 20px; }
.block-content p:last-child { margin-bottom: 0; }
.block-content ul { margin: 0 0 20px; padding-left: 20px; }
.block-content li { margin-bottom: 4px; }
.block.has-image { background-image: var(--block-image); background-size: cover; background-position: center; }

.block-home-despre { background: #ffffff; padding: 100px 0 80px; }
.block-home-despre .block-inner { max-width: 1000px; display: flex; flex-direction: column; gap: 56px; }
.block-home-despre .block-heading { text-align: center; font-size: 48px; line-height: 1.2; }
.block-home-despre .block-content { font-size: 22px; line-height: 1.4; color: #000000; }

.block-home-beneficii { background: #f4f4f4; padding: 64px 0 96px; }
.block-home-beneficii .block-inner { max-width: 1000px; }
.block-home-beneficii .block-content { font-family: var(--font-sans); font-size: 16px; line-height: 1.65; font-weight: 300; color: #222222; }
.block-home-beneficii .block-content p { margin-bottom: 10px; }
.block-home-beneficii .block-content ul { margin-bottom: 10px; padding-left: 20px; }
.block-home-beneficii .block-content li { margin-bottom: 4px; }

.block-home-continuare { background: #ffffff; padding: 100px 0; }
.block-home-continuare .block-inner { max-width: 1000px; display: flex; flex-direction: column; gap: 56px; }
.block-home-continuare .block-heading { text-align: center; font-size: 36px; line-height: 1.2; }
.block-home-continuare .block-content { font-size: 22px; line-height: 1.4; color: #000000; }
.block-home-continuare .block-content p { margin-bottom: 30px; }

.block-home-inregistrare { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.block-home-inregistrare .block-image { display: none; }
.block-home-inregistrare .block-inner { max-width: 1000px; text-align: center; color: #ffffff; }
.block-home-inregistrare .block-heading { font-size: 48px; line-height: 1.2; margin-bottom: 44px; color: #ffffff; }
.block-home-inregistrare .block-subheading { font-size: 28px; line-height: 1.6; font-weight: 400; color: #e6e2f2; font-family: var(--font-sans); margin: 0; }

/* Block button: generic so any block can use one, purple to read as a strong
   call to action against this section's dark purple background. */
.site a.block-button { display: inline-block; margin-top: 44px; padding: 18px 44px; border-radius: 999px; background: var(--color-accent); color: #ffffff; font-family: var(--font-sans); font-size: 18px; font-weight: 700; }
.site a.block-button:hover { background: var(--color-accent-dark); color: #ffffff; }

/* Homepage partners */
.partners { width: 100%; background: #ffffff; padding: 60px 0 100px; }
.partners-inner { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
.partners-title { margin: 0 0 44px; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--color-accent); }
.partners-intro { margin: 0 0 60px; max-width: 520px; font-size: 20px; line-height: 1.4; }
.partners-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 72px; margin-bottom: 60px; }
.partners-logo { max-width: 100%; height: auto; display: block; }
.partners-outro { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.65; font-weight: 300; color: #222222; }

/* Footer */
.site-footer { width: 100%; background: #f4f4f4; padding: 100px 0; box-sizing: border-box; }
.site-footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-footer-lead { margin: 0 0 54px; font-size: 18px; line-height: 1.4; }
.site-footer-contact { margin: 0 0 54px; font-family: var(--font-sans); font-size: 34px; line-height: 1.25; font-weight: 700; }
.site-footer-contact a { color: var(--color-accent); text-decoration: none; }
.site-footer-contact a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--color-accent-soft); }
.site-footer-divider { color: var(--color-accent); }
.site-footer-address { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.65; font-weight: 300; color: #222222; }

/* Despre page: founder letter (photo + quote-style letter, 2-column via grid
   placement so the block's normal heading/subheading/image/content order
   doesn't matter) */
.founder-letter { width: 100%; background: #f5f5f5; padding: 90px 0 60px; }
.founder-letter-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 254px; gap: 50px; align-items: start; }
.founder-letter-text { grid-column: 1; grid-row: 1; position: relative; display: flex; flex-direction: column; gap: 26px; font-family: 'PT Serif', Georgia, serif; font-size: 18px; line-height: 1.55; color: #111111; }
.founder-letter-text p { margin: 0; font-style: italic; }
.founder-letter-text p:first-child { font-weight: 700; }
.founder-letter-extra { max-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 26px; transition: max-height 0.3s ease; }
.founder-letter.is-expanded .founder-letter-extra { max-height: 3000px; }
.founder-letter-toggle { display: flex; justify-content: center; margin-top: 44px; }
.founder-letter.is-expanded .founder-letter-toggle { display: none; }
.founder-letter-toggle button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: #b5b5b5; cursor: pointer; }
.founder-letter-photo { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; }
.founder-letter-photo img { width: 254px; max-width: 100%; height: auto; display: block; margin-bottom: 22px; }
.founder-letter-name { margin: 0 0 8px; font-family: var(--font-sans); font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--color-accent); }
.founder-letter-role { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.5; color: #8a8a8a; }

/* Despre page: generic two-column section (Mission/Vision, Structure) — two
   Blocks placed side by side by this wrapper, each block keeps its own look. */
.despre-columns { width: 100%; }
.despre-columns-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.despre-columns .block-inner { max-width: none; padding: 0; }
.despre-columns .block-heading { text-align: left; font-size: 24px; margin-bottom: 20px; }
.despre-columns .block-content { font-family: var(--font-sans); font-size: 17px; color: #222222; }
.despre-columns .block-content p { margin-bottom: 22px; }

/* Context/Overview: intro + Mission/Vision are one continuous white section in
   the design (one <section style="padding: 110px 0 120px 0">) — kept as two
   wrappers here since they're two different components, so the 110px/120px
   padding is split between them instead of one shared section. */
.despre-intro { background: #ffffff; padding: 110px 0 0; }
.despre-intro .block-inner { max-width: var(--container); display: flex; flex-direction: column; }
.despre-intro .block-subheading { order: -1; margin: 0 0 44px; font-family: var(--font-sans); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: #6f6f6f; }
.despre-intro .block-heading { max-width: 900px; margin: 0 0 40px; text-align: left; font-size: 36px; }
.despre-intro .block-content { max-width: 930px; margin-bottom: 40px; font-family: var(--font-sans); font-size: 17px; color: #222222; }
.despre-intro .block-content p { margin-bottom: 22px; }
.despre-context-close { background: #ffffff; }
.despre-context-close .despre-columns-inner { padding-bottom: 120px; }

/* Despre page: Structure — its own gray-band section, with a centered
   heading + intro above the two-column grid (same shape as Objectives/Values). */
.despre-structure { width: 100%; background: #efefef; padding: 110px 0 120px; }
.despre-structure-intro { max-width: var(--container); margin: 0 auto 90px; padding: 0 var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
.despre-structure-title { margin: 0 0 40px; font-family: var(--font-sans); font-size: 36px; line-height: 1.3; font-weight: 700; color: var(--color-accent); }
.despre-structure-text { max-width: 560px; font-family: var(--font-sans); font-size: 20px; line-height: 1.5; font-weight: 300; color: #333333; }
.despre-structure-text p { margin: 0; }

.despre-open { width: 100%; background: #f5f5f5; padding: 70px 0 80px; }
.despre-open .block-inner { max-width: var(--container); }
.despre-open .block-content { font-family: var(--font-sans); font-size: 19px; line-height: 1.7; color: #222222; }

/* Despre page: Objectives collection — numbered grid with dividers, no photos */
.objectives { width: 100%; background: #efefef; padding: 110px 0 120px; }
.objectives-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
.objectives-title { margin: 0 0 40px; text-align: center; font-family: var(--font-sans); font-size: 36px; font-weight: 700; color: #111111; }
.objectives-intro { margin: 0 0 50px; max-width: 560px; text-align: center; font-family: var(--font-sans); font-size: 20px; font-weight: 300; color: #6f6f6f; }
.objectives-grid { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; }
.objective { flex: 0 0 33.3333%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 10px 28px 10px; border-left: 1px solid #d4d4d4; margin: 30px 0;}
.objective:nth-child(3n + 1) { border-left: 0; }
.objective-number { font-family: var(--font-sans); font-size: 26px; font-weight: 700; color: #b5b5b5; }
.objective-title { margin: 0; font-family: var(--font-sans); font-size: 20px; line-height: 1.35; font-weight: 700; color: #111111; }
.objective-text { margin: 0; font-family: var(--font-sans); font-size: 16px; color: #6f6f6f; }

/* Despre page: Values collection — vertical numbered list, light badges */
.values { width: 100%; background: #ffffff; padding: 110px 0 120px; }
.values-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
.values-title { margin: 0 0 40px; text-align: center; font-family: var(--font-sans); font-size: 36px; font-weight: 700; color: var(--color-accent); }
.values-intro { margin: 0 0 90px; max-width: 560px; text-align: center; font-family: var(--font-sans); font-size: 20px; font-weight: 300; color: #6f6f6f; }
.values-list { width: 100%; max-width: 940px; display: flex; flex-direction: column; gap: 40px; }
.value { display: flex; align-items: flex-start; gap: 20px; }
.value-number { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #ececec; color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 20px; font-weight: 700; }
.value-body { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.value-title { margin: 0; font-family: var(--font-sans); font-size: 22px; line-height: 1.3; font-weight: 700; color: #333333; }
.value-text { margin: 0; font-family: var(--font-sans); font-size: 17px; color: #444444; }

/* Despre page: institutional partners — two grouped Collections, each item a
   logo + heading + long content row */
.institutional-partners { width: 100%; background: #ffffff; padding: 130px 0 120px; }
.institutional-partners-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.institutional-partners-title { margin: 0 0 28px; text-align: center; font-family: var(--font-sans); font-size: 36px; font-weight: 700; color: var(--color-accent); }
.institutional-partners-intro { margin: 0 auto 70px; max-width: 960px; text-align: center; font-family: var(--font-sans); font-size: 18px; font-weight: 300; color: #222222; }
.partner-rows { display: flex; flex-direction: column; gap: 90px; }
.partner-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; }
.partner-row-logo { display: flex; align-items: center; justify-content: center; }
.partner-row-logo img { max-width: 100%; height: auto; display: block; }
.partner-row-title { margin: 0 0 18px; font-family: var(--font-sans); font-size: 22px; line-height: 1.3; font-weight: 700; color: #111111; }
.partner-row-content { font-family: var(--font-sans); font-size: 17px; color: #222222; }
.partner-row-content p { margin: 0 0 18px; }
.partner-row-content p:last-child { margin-bottom: 0; }
.partner-row-content ul { margin: 0; padding-left: 20px; }
.partner-row-content li { margin-bottom: 4px; }
.institutional-partners-divider { height: 1px; background: #d9d9d9; margin: 90px 0; }
.institutional-partners-subtitle { margin: 0 0 80px; text-align: center; font-family: var(--font-sans); font-size: 36px; font-weight: 700; color: #111111; }

/* Responsive */
@media (max-width: 1024px) {
    .mentors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 28px; }
    .events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 28px; }
}
/* Mobile menu: below 900px the inline nav no longer fits beside the logo, so a
   burger opens it as a white full-screen overlay with the links centered. */
@media (max-width: 900px) {
    .site-burger { display: block; }
    .site-nav { position: fixed; inset: 0; z-index: 1; box-sizing: border-box; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 100px 20px 40px; overflow-y: auto; background: #ffffff; font-size: 28px; text-align: center; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0.25s ease; }
    .site-header.is-menu-open { z-index: 100; }
    .site-header.is-menu-open .site-nav { visibility: visible; opacity: 1; }
    .site .site-nav-link { color: #111111; }
    .site .site-nav-link:hover,
    .site .site-nav-link.is-active { color: var(--color-accent); }
    .site-nav-socials { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
    .site .site-nav-social { width: 40px; height: 40px; background: #111111; color: #ffffff; }
    .site .site-nav-social:hover { background: var(--color-accent); color: #ffffff; }
}
@media (max-width: 768px) {
    :root { --gutter: 40px; }
    .site-header { padding: 0 var(--gutter); height: 90px; }
    .site-logo img { width: 180px; }
    .hero-title { font-size: 36px; }
    .mentors { padding: 60px 0; }
    .mentors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
    .events { padding: 60px 0; }
    .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
    .site-footer { padding: 60px 0; }
    .site-footer-contact { font-size: 26px; }
    .site-header--sticky { padding: 0 var(--gutter); }
    .site-header--sticky .site-logo img { width: 150px; }
    .home-hero-heading { font-size: 56px; }
    .home-hero-subtitle { font-size: 19px; }
    .block-home-despre,
    .block-home-continuare { padding: 60px 0; }
    .block-home-despre .block-heading { font-size: 34px; }
    .block-home-despre .block-content,
    .block-home-continuare .block-content { font-size: 18px; }
    .block-home-beneficii { padding: 40px 0 60px; }
    .block-home-inregistrare { height: auto; padding: 60px 0; }
    .block-home-inregistrare .block-heading { font-size: 34px; }
    .block-home-inregistrare .block-subheading { font-size: 20px; }
    .partners-logos { gap: 32px 40px; }
    .founder-letter-inner { grid-template-columns: 1fr; }
    .founder-letter-photo { grid-row: 1; grid-column: 1; }
    .founder-letter-text { grid-row: 2; grid-column: 1; }
    .despre-columns-inner { grid-template-columns: 1fr; gap: 50px; }
    .objective { flex-basis: 50%; }
    .objective:nth-child(3n + 1) { border-left: 1px solid #d4d4d4; }
    .objective:nth-child(2n + 1) { border-left: 0; }
    .partner-row { grid-template-columns: 1fr; }
    .partner-row-logo { justify-content: flex-start; padding-bottom: 10px; }
}
@media (max-width: 480px) {
    .mentors-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .home-hero-heading { font-size: 42px; }
    .objective { flex-basis: 100%; border-left: 0 !important; }
}
