@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Lemon Milk';
    src: url('./fonte/lemon_milk/LEMONMILK-Regular.otf') format('opentype');
    font-display: swap;
}

:root {
    --font-heading: 'Lemon Milk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --blue-950: #08172d;
    --blue-900: #0a1f3c;
    --blue-800: #0d2d5a;
    --blue-700: #12417d;
    --blue-600: #0a52a8;
    --blue-500: #0071e3;
    --blue-400: #2d90f5;
    --blue-300: #78bfff;
    --blue-200: #b8dcff;
    --blue-100: #dcedff;
    --blue-050: #eef6ff;
    --sky: #e8f3ff;
    --white: #ffffff;
    --ink: #0c1626;
    --text: #4f5c72;
    --muted: #8491a7;
    --line: rgba(8, 23, 45, 0.08);
    --line-soft: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 10px 26px rgba(10, 31, 60, 0.08);
    --shadow-md: 0 20px 48px rgba(10, 31, 60, 0.12);
    --shadow-lg: 0 30px 80px rgba(10, 31, 60, 0.18);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --shell: 1200px;
    --nav-height: 78px;
    --section-space: 84px;
    --section-space-mobile: 68px;
    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 31, 60, 0.06);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.header-dark {
    background: rgba(8, 23, 45, 0.94);
    border-bottom-color: var(--line-soft);
}

.site-header.scrolled {
    box-shadow: 0 8px 26px rgba(8, 23, 45, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.015em;
}

.brand-text {
    color: var(--blue-900);
}

.brand-text em {
    font-style: normal;
    color: var(--blue-500);
}

.header-dark .brand-text {
    color: var(--white);
}

.header-dark .brand-text em {
    color: var(--blue-300);
}

.brand-mark,
.info-icon,
.mini-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.brand-mark {
    overflow: hidden;
    background: transparent;
    border-radius: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.info-icon,
.mini-icon {
    background: var(--blue-500);
    color: var(--white);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--blue-100);
    color: var(--blue-700);
}

.header-dark .site-nav a {
    color: rgba(255, 255, 255, 0.72);
}

.header-dark .site-nav a:hover,
.header-dark .site-nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.site-nav .nav-cta {
    background: var(--blue-500);
    color: var(--white);
    margin-left: 6px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
    background: var(--blue-400);
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.header-dark .menu-toggle {
    color: var(--white);
}

.section,
.cta-band,
.site-footer {
    position: relative;
}

.section {
    padding: var(--section-space) 0;
}

.section-soft {
    background: var(--sky);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head.compact {
    margin-bottom: 32px;
}

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-500);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.92;
}

.eyebrow-light {
    color: var(--blue-300);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    line-height: 1.08;
    color: var(--blue-900);
    text-wrap: balance;
}

h1 em,
h2 em {
    color: var(--blue-400);
    font-style: normal;
}

.section-head h2,
.section-title {
    font-size: clamp(1.85rem, 3.6vw, 2.7rem);
    margin-bottom: 16px;
}

.section-title.left {
    text-align: left;
}

.section-title.small {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.section-head p,
.section-text,
.page-hero p,
.cta-band p,
.hero-copy p,
.project-body p,
.activity-body p,
.branch-copy p,
.contact-card p,
.footer-text,
.timeline-item p,
.panel-note {
    color: var(--text);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.82;
    letter-spacing: 0.015em;
}

.section-text+.section-text {
    margin-top: 14px;
}

.button-row,
.chip-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-row {
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.015em;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(180deg, #2b86ee 0%, var(--blue-500) 100%);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.18);
}

.btn-primary:hover {
    background: var(--blue-400);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline {
    background: transparent;
    color: var(--blue-700);
    border: 2px solid var(--blue-200);
}

.btn-outline:hover {
    background: var(--blue-050);
    border-color: var(--blue-400);
}

.btn-white {
    background: var(--white);
    color: var(--blue-700);
    box-shadow: var(--shadow-sm);
}

.btn-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.9rem;
}

.hero-home {
    background:
        radial-gradient(circle at top right, rgba(120, 191, 255, 0.12), transparent 26%),
        linear-gradient(180deg, #071326 0%, #0a1f3c 58%, #0d2648 100%);
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 38px 38px;
}



.hero-layout,
.page-hero-grid,
.two-col,
.contact-grid,
.cta-layout {
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero-layout,
.page-hero-grid,
.two-col,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-col.reverse> :first-child {
    order: 2;
}

.two-col.reverse> :last-child {
    order: 1;
}

.hero-layout {
    position: relative;
    z-index: 1;
    padding: 96px 0 60px;
}

.hero-copy h1 {
    max-width: 7.8ch;
    font-size: clamp(2.7rem, 4.8vw, 4.4rem);
    letter-spacing: -0.012em;
    line-height: 1.02;
    color: var(--white);
    margin-bottom: 22px;
}

.hero-copy p {
    max-width: 46ch;
    font-size: 0.98rem;
    line-height: 1.82;
    letter-spacing: 0.015em;
    color: rgba(255, 255, 255, 0.78);
}

.hero-motto {
    margin-top: 18px;
    color: rgba(184, 220, 255, 0.9);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
}

.hero-media {
    position: relative;
}

.hero-photo-frame,
.media-card,
.project-image,
.activity-image,
.branch-main,
.branch-thumb,
.gallery-item,
.map-card,
.panel,
.contact-form-panel,
.contact-card,
.activity-card,
.project-card,
.info-card,
.mini-card,
.bento-card,
.bento-extra {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.hero-photo-frame,
.media-card {
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card {
    position: absolute;
    border-radius: 24px;
    padding: 18px 22px;
    box-shadow: 0 18px 44px rgba(8, 23, 45, 0.18);
}

.floating-light {
    top: -16px;
    right: -16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(8, 23, 45, 0.06);
}

.floating-light strong {
    display: block;
    font-size: 1.65rem;
    letter-spacing: 0.01em;
    color: var(--blue-600);
}

.floating-light span,
.floating-blue span {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.5;
}

.floating-blue {
    right: -12px;
    bottom: 24px;
    background: var(--blue-500);
    color: var(--white);
    max-width: 180px;
    text-align: center;
}

.floating-blue i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 0 40px;
}

.hero-stats div {
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    min-width: 0;
}

.hero-stats strong {
    display: block;
    color: var(--white);
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    letter-spacing: -0.004em;
}

.hero-stats span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: none;
    line-height: 1.45;
}

.media-card,
.elevated {
    aspect-ratio: 4 / 3;
    background: var(--blue-100);
}

.chip-row {
    margin: 22px 0 28px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 0.88rem;
    font-weight: 700;
}

.text-link,
.mini-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.text-link {
    color: var(--blue-600);
    margin-top: auto;
}

.mini-link-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 0.88rem;
}

.home-overview-grid,
.home-showcase-grid,
.home-support-grid {
    display: grid;
    gap: 22px;
}

.home-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.home-overview-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.home-overview-card h3 {
    font-size: 1.24rem;
}

.home-overview-card p {
    margin: 0;
    color: var(--text);
}

.home-overview-feature {
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(237, 245, 255, 0.98));
}

.home-showcase-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.72fr);
    align-items: start;
}

.home-side-stack {
    display: grid;
    gap: 18px;
}

.home-resource-card {
    gap: 22px;
}

.home-support-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
    align-items: start;
}

.home-faq-list {
    margin: 0;
    max-width: none;
}

.home-bento-grid {
    margin-top: 28px;
}

.home-support-intro {
    margin-bottom: 28px;
    max-width: 56ch;
}

.branch-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.mini-card {
    padding: 22px 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    border: 2px solid transparent;
}

.mini-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-200);
}

.mini-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    background: var(--blue-050);
    color: var(--blue-500);
}

.mini-card strong {
    font-size: 1rem;
}

/* ── Links Agrupados (Sublinks) ────────────────────────────── */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.link-group-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: left;
}

.link-group-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.link-group-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-050);
    color: var(--blue-500);
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.link-group-head h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--blue-900);
    letter-spacing: 0.02em;
}

.link-group-head p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
    text-transform: uppercase;
    opacity: 0.9;
}

.link-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--blue-050);
    color: var(--blue-900);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.link-item:hover {
    background: var(--blue-100);
    color: var(--blue-700);
}

.link-item i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 14px;
}

.bento-card,
.bento-extra {
    position: relative;
    background: var(--blue-900);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 23, 45, 0.78), transparent 60%);
}

.bento-tall {
    grid-row: span 2;
}

.bento-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    color: var(--white);
}

.bento-copy strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 1.08rem;
}

.bento-copy p {
    color: rgba(255, 255, 255, 0.74);
    margin-top: 6px;
}

.bento-extra {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 24px;
    color: var(--white);
}

.bento-extra i {
    font-size: 1.9rem;
    color: var(--blue-300);
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
}

.panel,
.contact-form-panel,
.contact-card,
.activity-card,
.project-card,
.info-card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.panel {
    padding: 28px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.calendar-header h3,
.panel-title {
    font-size: 1.16rem;
}

.calendar-nav {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: var(--blue-050);
    color: var(--blue-600);
    cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.calendar-grid {
    gap: 4px;
}

.calendar-day {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f7f9fd;
    border: 1px solid transparent;
    position: relative;
    color: var(--text);
}

.calendar-day.empty {
    background: transparent;
}

.calendar-day.saturday {
    background: var(--blue-050);
    color: var(--blue-700);
}

.calendar-day.today {
    border-color: var(--blue-500);
    color: var(--blue-700);
    font-weight: 800;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
}

.calendar-day.has-commemorative::after {
    background: #f59e0b;
}

.calendar-day.has-regional::after {
    background: #10b981;
}

.calendar-day.has-holiday::after {
    background: #ef4444;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text);
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-saturday {
    background: rgba(0, 113, 227, 0.35);
}

.dot-group {
    background: var(--blue-500);
}

.dot-regional {
    background: #10b981;
}

.dot-commemorative {
    background: #f59e0b;
}

.dot-holiday {
    background: #ef4444;
}

.event-list {
    list-style: none;
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 20px 0 0;
    max-height: 540px;
    overflow: auto;
    padding-right: 6px;
}

.event-list li {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #f8fbff;
}

.event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.72rem;
    color: var(--muted);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tag.grupo {
    background: rgba(0, 113, 227, 0.1);
    color: var(--blue-700);
}

.tag.comemorativo {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.tag.regional {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.tag.feriado {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.tag.nacional {
    background: rgba(0, 113, 227, 0.1);
    color: var(--blue-700);
}

.event-title {
    color: var(--blue-900);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
}

.event-list .empty {
    color: var(--muted);
    background: transparent;
    border-style: dashed;
}

.event-list::-webkit-scrollbar {
    width: 8px;
}

.event-list::-webkit-scrollbar-thumb {
    background: rgba(10, 82, 168, 0.22);
    border-radius: 999px;
}

.cta-band {
    padding: var(--section-space) 0;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.cta-layout {
    grid-template-columns: 1fr auto;
    position: relative;
    z-index: 1;
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.cta-band p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.72);
}

.page-hero {
    padding: var(--section-space) 0;
}

.page-hero-dark {
    background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.page-hero-light {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 16px;
}

.page-hero-dark h1,
.page-hero-dark p {
    color: var(--white);
}

.page-hero-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.centered {
    text-align: center;
}

.narrow {
    max-width: 760px;
}

.timeline {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.timeline-item {
    display: flex;
    gap: 14px;
}

.timeline-item span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.12);
    margin-top: 8px;
    flex-shrink: 0;
}

.timeline-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-grid,
.activity-grid,
.project-grid,
.docs-grid {
    display: grid;
    gap: 20px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
    padding: 26px;
}

.info-card .info-icon {
    margin-bottom: 16px;
    background: var(--blue-050);
    color: var(--blue-500);
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-card,
.project-card {
    display: flex;
    flex-direction: column;
}

.activity-image,
.project-image {
    aspect-ratio: 16 / 10;
}

.activity-body,
.project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.activity-body .info-icon,
.project-head .info-icon,
.contact-card .info-icon {
    background: var(--blue-050);
    color: var(--blue-500);
}

.activity-body h3,
.project-head h3,
.branch-copy h2 {
    font-size: 1.34rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), opacity var(--transition);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(8, 23, 45, 0.12);
    background: var(--white);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}

.branch-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
}

.stack-large {
    display: grid;
    gap: 64px;
}

.branch-row.reverse .branch-media {
    order: 2;
}

.branch-row.reverse .branch-copy {
    order: 1;
}

.branch-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    position: relative;
}

.branch-main {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
}

.branch-badge {
    position: absolute;
    right: 12px;
    bottom: 88px;
    width: 78px;
    height: 78px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.branch-thumb {
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.branch-copy p {
    margin-top: 12px;
}

.branch-copy ul {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
}

.branch-copy li,
.footer-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.branch-copy li i,
.footer-info i,
.project-meta i {
    color: var(--blue-500);
    margin-top: 4px;
    flex-shrink: 0;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.resource-grid.compact-grid {
    grid-template-columns: 1fr;
}

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.resource-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.resource-head .info-icon {
    background: var(--blue-050);
    color: var(--blue-500);
}

.resource-head h3 {
    font-size: 1.14rem;
    margin-bottom: 6px;
}

.resource-head p {
    margin: 0;
    color: var(--text);
}

.resource-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.resource-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--blue-050);
    color: var(--blue-800);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.resource-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 121, 231, 0.25);
    background: rgba(30, 121, 231, 0.12);
}

.resource-list a i:last-child {
    color: var(--blue-500);
    flex-shrink: 0;
}

.doc-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.doc-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.doc-card-head .info-icon {
    background: var(--blue-050);
    color: var(--blue-500);
}

.doc-card-head h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.doc-card-head p {
    margin: 0;
    color: var(--text);
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.doc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--blue-050);
    color: var(--blue-600);
    font-size: 0.72rem;
    font-weight: 800;
}

.doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.docs-note {
    margin-top: 28px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.docs-note h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.docs-note p {
    margin: 0 0 12px;
    color: var(--text);
}

.docs-note ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text);
}

.docs-note code {
    font-family: Consolas, monospace;
    color: var(--blue-700);
}

button,
input,
textarea {
    font-family: inherit;
}

.project-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e2efff;
    color: var(--blue-800);
    border: 1px solid rgba(10, 82, 168, 0.16);
    font-size: 0.72rem;
    font-weight: 800;
}

.project-body h4 {
    font-size: 1rem;
    color: var(--blue-700);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--blue-700);
    font-size: 0.86rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 10px;
}

.project-toggle {
    min-height: 44px;
    border: 1px solid rgba(10, 82, 168, 0.16);
    border-radius: 14px;
    background: #edf5ff;
    color: var(--blue-700);
    font-weight: 800;
    cursor: pointer;
    margin-top: 6px;
}

.project-toggle:hover {
    background: #e2efff;
}

.project-details {
    display: none;
    border-top: 1px dashed rgba(8, 23, 45, 0.12);
    padding-top: 16px;
}

.project-card.is-open .project-details {
    display: block;
}

.project-details h5 {
    font-size: 0.94rem;
    margin-bottom: 8px;
}

.project-details ol {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
}

.project-cta {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f5faff 0%, #e7f1ff 100%);
    border: 1px solid rgba(10, 82, 168, 0.12);
    box-shadow: var(--shadow-sm);
}

.contact-grid {
    align-items: start;
}

.contact-card-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.contact-card h3 {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-form-panel {
    padding: 28px;
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--blue-800);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1.5px solid rgba(8, 23, 45, 0.12);
    border-radius: 14px;
    background: #f8fbff;
    padding: 14px 16px;
    color: var(--ink);
    resize: vertical;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-submit {
    width: 100%;
}

.form-feedback {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--blue-700);
    font-weight: 700;
}

.contact-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.contact-draft {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.contact-draft label {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--blue-800);
}

.contact-draft textarea {
    width: 100%;
    border: 1.5px dashed rgba(8, 23, 45, 0.12);
    border-radius: 16px;
    background: #f8fbff;
    padding: 14px 16px;
    color: var(--ink);
    resize: vertical;
}

.map-card {
    margin-top: 28px;
    height: 320px;
    box-shadow: var(--shadow-md);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.site-footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-family: var(--font-site);
    letter-spacing: -0.02em;
}

.footer-brand span:last-child {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.44);
}

.footer-text {
    max-width: 380px;
}

.site-footer h4 {
    color: var(--blue-300);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.64);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.76);
}

.social-links a:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.36);
}

.section-cta-inline {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.notice-grid,
.journey-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.notice-card,
.journey-card,
.team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.notice-card h3,
.journey-card h3,
.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.notice-card p,
.journey-card p,
.team-card p {
    color: var(--text);
    margin: 0;
}

.notice-tag,
.team-role {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-step {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    margin-bottom: 14px;
    background: var(--blue-500);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0 24px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-weight: 700;
    color: var(--blue-900);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    color: var(--text);
    margin: 0 0 22px;
}

.check-list {
    display: grid;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
}

.check-list i {
    color: var(--blue-500);
    margin-top: 4px;
}

.single-column {
    grid-template-columns: 1fr;
}

@media (max-width: 1080px) {

    .home-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-overview-feature {
        grid-column: span 2;
    }

    .home-showcase-grid,
    .home-support-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .activity-grid,
    .project-grid,
    .resource-grid,
    .docs-grid,
    .notice-grid,
    .journey-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .branch-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .bento-tall {
        grid-row: auto;
        min-height: 380px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        top: var(--nav-height);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }

    .header-dark .site-nav {
        background: rgba(8, 23, 45, 0.98);
        border-color: var(--line-soft);
    }

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

    .site-nav .nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .hero-layout,
    .page-hero-grid,
    .two-col,
    .home-showcase-grid,
    .home-support-grid,
    .contact-grid,
    .cta-layout,
    .calendar-layout,
    .branch-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        padding-top: 64px;
        gap: 28px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p,
    .cta-band p {
        max-width: none;
    }

    .button-row {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .hero-stats div {
        text-align: center;
    }

    .branch-row.reverse .branch-media,
    .branch-row.reverse .branch-copy {
        order: initial;
    }

    .gallery-grid,
    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-cta {
        grid-template-columns: 1fr;
    }

    .doc-actions {
        justify-content: stretch;
    }

    .media-card,
    .hero-photo-frame {
        aspect-ratio: 4 / 3;
    }

    .contact-card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .brand-text {
        display: none;
    }

    .section,
    .page-hero,
    .cta-band {
        padding: var(--section-space-mobile) 0;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: 2.2rem;
        line-height: 1.06;
    }

    .hero-copy p {
        font-size: 0.92rem;
        line-height: 1.76;
    }

    .hero-stats,
    .branch-strip,
    .home-overview-grid,
    .feature-grid,
    .activity-grid,
    .project-grid,
    .resource-grid,
    .gallery-grid,
    .docs-grid,
    .notice-grid,
    .journey-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .home-overview-feature {
        grid-column: auto;
    }

    .floating-light,
    .floating-blue {
        position: static;
        margin-top: 14px;
        max-width: none;
    }

    .hero-media {
        display: grid;
        gap: 12px;
    }

    .hero-stats {
        padding-top: 8px;
    }

    .hero-stats div {
        padding-top: 16px;
    }

    .hero-stats strong {
        font-size: 1.55rem;
    }

    .hero-stats span {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .panel,
    .contact-form-panel {
        padding: 20px;
    }

    .btn,
    .filter-btn {
        width: 100%;
    }

    .button-row,
    .chip-row,
    .filter-row,
    .doc-actions,
    .section-cta-inline {
        flex-direction: column;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 100ms; }
.animate-delay-2 { transition-delay: 200ms; }
.animate-delay-3 { transition-delay: 300ms; }
.animate-delay-4 { transition-delay: 400ms; }
/* ── Reveal Animations ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.4, 1);
    pointer-events: none;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
