/* ===========================
   HOME — pagina home.html (replicând layout-ul vladmihut.ro)
   =========================== */

/* === HEADER MARE (moved to base.css as .site-header) === */


.home-cta-discutam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mai-blue-600);
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.home-cta-discutam:hover {
    background: var(--mai-blue-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.4);
}

/* === HERO === */
.home-hero {
    position: relative;
    height: 600px;
    background-color: var(--mai-blue-900);
    background-image:
        linear-gradient(180deg, rgba(8, 12, 18, 0.04) 0%, rgba(8, 12, 18, 0.1) 100%),
        url('../img/hero.png');
    background-position: 62% 18%, 62% 18%;
    background-size: auto 600px, auto 600px;
    background-repeat: no-repeat, no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 12, 20, 0.78) 0%, rgba(7, 12, 20, 0.62) 35%, rgba(7, 12, 20, 0.4) 60%, rgba(7, 12, 20, 0.28) 100%),
        linear-gradient(180deg, rgba(7, 12, 20, 0.25) 0%, rgba(7, 12, 20, 0.45) 100%);
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 64px;
    color: #fff;
    z-index: 2;
    text-align: left;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.home-hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}

.home-hero h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 800;
    letter-spacing: -1.6px;
    word-spacing: 6px;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 980px;
    margin-left: 0;
    margin-right: 0;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-hero h1 .nowrap { white-space: nowrap; }

.home-hero h1 .accent {
    color: var(--mai-blue-400);
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-hero-tagline {
    font-size: clamp(14px, 1.35vw, 17px);
    font-weight: 500;
    color: #fff;
    word-spacing: 0;
    line-height: 1.55;
    margin: 0 0 32px;
    max-width: 820px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    text-wrap: pretty;
}

.home-hero-tagline strong {
    color: var(--mai-blue-400);
    font-weight: 700;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
    max-width: 900px;
    margin: 0;
}

.home-hero-buttons .btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    word-spacing: 1px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
    min-width: 220px;
    max-width: 320px;
    text-align: center;
    line-height: 1.4;
    border: 2px solid transparent;
}

.home-hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-120%) skewX(-20deg);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.home-hero-buttons .btn:hover::before {
    transform: translateX(220%) skewX(-20deg);
}

/* Primar — albastru instituțional MAI */
.home-hero-buttons .btn-primary {
    background: var(--mai-blue-600);
    color: #fff;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.45);
    border-color: var(--mai-blue-600);
}

.home-hero-buttons .btn-primary:hover {
    background: var(--mai-blue-500);
    color: #fff;
    border-color: var(--mai-blue-500);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(10, 37, 64, 0.5);
}

/* Secundar — fundal semi-opac mai dens, vizibil */
.home-hero-buttons .btn-ghost {
    background: rgba(10, 37, 64, 0.45);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 18px rgba(0, 0, 0, 0.22);
}

.home-hero-buttons .btn-ghost:hover {
    background: rgba(10, 37, 64, 0.7);
    border-color: #fff;
    transform: translateY(-2px);
}

/* === PACHETE SECTION === */
.pachete-section {
    background: var(--bg);
    padding: 72px 24px 80px;
    position: relative;
    overflow: hidden;
}

.pachete-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(29, 78, 216, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.pachete-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.pachete-section h2 {
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: var(--mai-blue-900);
    margin-bottom: 14px;
}

.pachete-section h2 .accent {
    background: linear-gradient(135deg, var(--mai-blue-700), var(--mai-blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pachete-subtitle {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.pachete-subtitle strong {
    color: var(--mai-blue-800);
    font-weight: 700;
}

.pachete-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.pachete-grid > .pachet-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    justify-self: center;
    width: 100%;
}

.pachet-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
}

.pachet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--mai-blue-700), var(--mai-blue-500));
    opacity: 0;
    transition: opacity 0.25s;
}

.pachet-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 22px 44px rgba(11, 36, 84, 0.16);
}

.pachet-card:hover::before { opacity: 1; }

.pachet-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mai-blue-700), var(--mai-blue-500));
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.22);
    transition: transform 0.3s;
}

.pachet-card:hover .pachet-icon {
    transform: scale(1.06) rotate(-3deg);
}

.pachet-icon svg {
    width: 22px;
    height: 22px;
}

.pachet-text {
    flex: 1;
    min-width: 0;
}

.pachet-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mai-blue-700);
    margin-bottom: 4px;
}

.pachet-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mai-blue-900);
    line-height: 1.3;
}

.pachet-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--mai-blue-700);
    display: grid;
    place-items: center;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.pachet-arrow svg { width: 16px; height: 16px; }

.pachet-card:hover .pachet-arrow {
    background: var(--mai-blue-600);
    color: #fff;
    transform: translateX(4px);
}

.community-section,
.social-section {
    background: var(--bg);
    padding: 68px 24px 24px;
    position: relative;
    overflow: hidden;
}

/* === COMMUNITY POPOUT === */
.community-popout {
    position: absolute;
    top: 28px;
    left: max(24px, calc((100% - 1180px) / 2 - 40px));
    display: flex;
    align-items: flex-start;
    gap: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-12px) scale(0.85) rotate(-6deg);
    transform-origin: top left;
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.community-section.popout-visible .community-popout {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
}

.community-popout-card {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--mai-blue-700) 0%, var(--mai-blue-500) 100%);
    color: #fff;
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(10, 37, 64, 0.35), 0 4px 12px rgba(10, 37, 64, 0.18);
    max-width: 270px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    animation: floatGentle 3.4s ease-in-out infinite;
    animation-delay: 1.6s;
    overflow: hidden;
}

.community-popout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-22deg);
    animation: popoutShimmer 4s ease-in-out infinite;
    animation-delay: 2.2s;
    pointer-events: none;
}

@keyframes popoutShimmer {
    0%, 60%, 100% { left: -60%; opacity: 0; }
    65% { opacity: 1; }
    85% { left: 130%; opacity: 0; }
}


@keyframes floatGentle {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

.community-popout-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.community-popout-icon svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 2;
}

.community-popout-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    animation: popoutPulse 1.8s ease-out infinite;
}

@keyframes popoutPulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

.community-popout-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.25;
    min-width: 0;
}

.community-popout-text strong {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.community-popout-text span {
    font-size: 12px;
    opacity: 0.92;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .community-popout { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .community-popout-card { animation: none; }
    .community-popout-pulse { animation: none; opacity: 0; }
}

.community-section::before,
.social-section::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 920px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(29, 78, 216, 0.06) 0%, transparent 65%);
    pointer-events: none;
    top: -180px;
}

.community-inner,
.social-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.community-section h2,
.social-section h2 {
    font-family: inherit;
    font-size: clamp(26px, 3.8vw, 40px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--mai-blue-900);
    max-width: 980px;
    margin: 0 auto 14px;
}

.community-title-line {
    display: block;
}

#community-title-line {
    scroll-margin-top: 110px;
}

.community-subtitle,
.social-subtitle {
    font-family: inherit;
    max-width: 980px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dim);
}

.community-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    text-align: left;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.community-link {
    position: relative;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s, border-color 0.28s, color 0.28s;
}

.community-link::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translate(8px, -50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--mai-blue-600);
    border-top: 2px solid var(--mai-blue-600);
    transform-origin: center;
    rotate: 45deg;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.community-link:hover {
    color: var(--mai-blue-800);
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.28);
    box-shadow: 0 18px 38px rgba(11, 36, 84, 0.14);
}

.community-link:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.community-link:nth-child(6) {
    order: 7;
}

.community-link:nth-child(7) {
    order: 6;
}

.community-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.community-link:hover .community-icon {
    transform: scale(1.1) rotate(-5deg);
}

.community-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.community-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.community-icon svg rect:first-child {
    fill: var(--mai-blue-700);
}

.social-section {
    padding-top: 60px;
    padding-bottom: 72px;
}

.social-links-large {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-link-large {
    position: relative;
    font-family: inherit;
    width: 140px;
    padding: 22px 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--mai-blue-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s, color 0.35s;
}

.social-link-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--social-gradient, var(--mai-blue-700));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.social-link-large:hover {
    transform: translateY(-6px);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 22px 44px rgba(10, 37, 64, 0.22);
}

.social-link-large:hover::before {
    opacity: 1;
}

.social-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--mai-blue-800);
    display: grid;
    place-items: center;
    transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link-large:hover .social-link-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
}

.social-link-icon svg {
    width: 26px;
    height: 26px;
}

.social-link-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--mai-blue-900);
    transition: color 0.35s ease;
}

.social-link-large:hover .social-link-label {
    color: #fff;
}

.social-link--instagram { --social-gradient: linear-gradient(135deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.social-link--youtube   { --social-gradient: linear-gradient(135deg, #ff0000, #cc0000); }
.social-link--tiktok    { --social-gradient: linear-gradient(135deg, #25f4ee, #000 50%, #fe2c55); }
.social-link--facebook  { --social-gradient: linear-gradient(135deg, #1877f2, #0a52c5); }

/* === ABOUT SECTION (Despre mine) === */
.about-section {
    background: var(--bg);
    padding: 80px 24px 88px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(29, 78, 216, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    z-index: 2;
}

.about-media {
    position: relative;
    width: 100%;
    justify-self: end;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    align-items: center;
    max-width: 640px;
}

.about-photo {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 37, 64, 0.22);
    aspect-ratio: 4 / 4.4;
    background: var(--mai-blue-800);
    border: 3px solid rgba(255, 255, 255, 0.15);
    outline: 4px solid rgba(29, 78, 216, 0.25);
    outline-offset: 3px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.about-photo--placeholder {
    background: linear-gradient(135deg, var(--mai-blue-800), var(--mai-blue-600));
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    border: 2px dashed rgba(255, 255, 255, 0.18);
}

.about-photo-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
}

.about-photo-placeholder-inner svg {
    width: 56px;
    height: 56px;
    opacity: 0.6;
}

.about-photo-placeholder-inner span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.28);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.18);
}

.about-card-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(-6deg);
}

.about-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mai-blue-700), var(--mai-blue-500));
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(10, 37, 64, 0.2);
}

.about-card-icon svg {
    width: 22px;
    height: 22px;
}

.about-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.about-card-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--mai-blue-900);
    line-height: 1.25;
}

.about-card-text span {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
}

.about-card--1,
.about-card--2,
.about-card--3 {
    position: static;
}

.about-content {
    max-width: 560px;
    justify-self: start;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mai-blue-700);
}

.about-content h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--mai-blue-900);
    margin-bottom: 22px;
}

.about-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.about-lead strong {
    color: var(--mai-blue-900);
    font-weight: 700;
}

.about-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-checks li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    font-weight: 500;
}

.about-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mai-blue-700), var(--mai-blue-500));
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.about-check svg {
    width: 14px;
    height: 14px;
}

.about-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--mai-blue-600);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.22);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, box-shadow 0.3s;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-120%) skewX(-20deg);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.about-cta:hover {
    background: var(--mai-blue-500);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(10, 37, 64, 0.32);
}

.about-cta:hover::before {
    transform: translateX(220%) skewX(-20deg);
}

.about-cta-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-cta:hover .about-cta-icon {
    transform: scale(1.15) rotate(-8deg);
}

.about-checks li {
    transition: transform 0.3s ease;
}

.about-checks li:hover {
    transform: translateX(4px);
}

.about-checks li:hover .about-check {
    transform: scale(1.08) rotate(-5deg);
}

.about-check {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-cta-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
}

.about-cta-icon svg {
    width: 14px;
    height: 14px;
}

/* === PROGRAM SECTION === */
.program-section {
    background: var(--mai-blue-900);
    color: #fff;
    padding: 64px 24px 64px;
}

.program-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.program-media {
    max-width: 380px;
}

.program-media img {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    aspect-ratio: 4 / 3.4;
}

.program-media p {
    margin-top: 14px;
    max-width: 460px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.program-cta-row {
    grid-column: 1 / -1;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.program-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}

.program-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-120%) skewX(-20deg);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.program-cta:hover::before {
    transform: translateX(220%) skewX(-20deg);
}

.program-cta--primary {
    background: var(--mai-blue-600);
    color: #fff;
    border-color: var(--mai-blue-600);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.program-cta--primary:hover {
    background: var(--mai-blue-500);
    border-color: var(--mai-blue-500);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.program-cta--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.program-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    transform: translateY(-2px);
}

.program-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mai-blue-400);
}

.program-content h2 {
    max-width: 700px;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 28px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    align-items: start;
}

.program-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 14px;
    align-items: start;
}

.program-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mai-blue-400);
    display: grid;
    place-items: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.program-item:hover .program-item-icon {
    background: rgba(74, 122, 176, 0.18);
    border-color: rgba(74, 122, 176, 0.45);
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
}

.program-item:hover h3 {
    color: var(--mai-blue-400);
}

.program-item-icon svg {
    width: 20px;
    height: 20px;
}

.program-item h3 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 6px;
    transition: color 0.3s ease;
}

.program-item p {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 340px;
}

/* === ARTICLES SECTION === */
.articles-section {
    background: var(--bg);
    padding: 80px 24px 96px;
    position: relative;
    overflow: hidden;
}

.articles-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(29, 78, 216, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.articles-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.articles-section h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.14;
    color: var(--mai-blue-900);
    text-align: center;
    margin: 0 0 22px;
}

.articles-section h2 .accent {
    background: linear-gradient(135deg, var(--mai-blue-700), var(--mai-blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.articles-head-cta {
    text-align: center;
    margin-bottom: 48px;
}

.articles-all-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--mai-blue-600);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.22);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.articles-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-120%) skewX(-20deg);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.articles-all-btn:hover {
    background: var(--mai-blue-500);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(10, 37, 64, 0.3);
}

.articles-all-btn:hover::before {
    transform: translateX(220%) skewX(-20deg);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 22px 44px rgba(11, 36, 84, 0.16);
}

.article-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-soft);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover .article-thumb img {
    transform: scale(1.06);
}

.article-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.3;
    color: var(--mai-blue-900);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.article-card:hover .article-body h3 {
    color: var(--mai-blue-700);
}

.article-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mai-blue-700);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.article-arrow {
    transition: transform 0.3s ease;
    font-weight: 700;
}

.article-card:hover .article-readmore {
    color: var(--mai-blue-500);
    gap: 10px;
}

.article-card:hover .article-arrow {
    transform: translateX(4px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .home-nav { display: none; }
    .home-cta-discutam { margin-left: auto; display: none; }
    .community-grid { gap: 18px; }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .program-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .program-media {
        max-width: 620px;
        margin: 0 auto;
    }
    .program-content h2 {
        max-width: 100%;
    }
    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 32px;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 600px;
    }
    .about-content {
        max-width: 100%;
        justify-self: stretch;
    }
    .about-media {
        max-width: 100%;
        justify-self: stretch;
        order: 2;
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 720px) {
    /* HERO */
    .home-hero {
        height: auto;
        min-height: auto;
        background-position: 72% center;
        background-size: cover;
    }
    .home-hero-inner {
        padding: 44px 16px 48px;
        text-align: left;
        max-width: 100%;
    }
    .home-hero-eyebrow { font-size: 10px; letter-spacing: 1px; padding: 5px 12px; margin-bottom: 16px; }
    .home-hero h1 {
        font-size: clamp(22px, 7vw, 34px);
        letter-spacing: -0.5px;
        word-spacing: 0;
        white-space: normal !important;
        max-width: 100%;
        margin: 0 0 14px;
    }
    .home-hero h1 .nowrap { white-space: normal !important; }
    .home-hero-tagline {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 0 24px;
    }
    .home-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .home-hero-buttons .btn {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100%;
        padding: 11px 14px;
        font-size: 13px;
        word-spacing: 0;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    /* PACHETE */
    .pachete-section { padding: 40px 14px 48px; }
    .pachete-section h2 { font-size: clamp(20px, 6vw, 28px); }
    .pachete-subtitle { font-size: 13px; }
    .pachete-grid { grid-template-columns: 1fr; gap: 10px; }
    .pachete-grid > .pachet-card:last-child:nth-child(odd) { max-width: none; }
    .pachet-card { padding: 14px 14px; gap: 12px; }
    .pachet-icon { width: 38px; height: 38px; flex-shrink: 0; }
    .pachet-eyebrow { font-size: 10px; }
    .pachet-title { font-size: 14px; }

    /* COMMUNITY */
    .community-section,
    .social-section { padding: 40px 14px 24px; }
    .community-section h2,
    .social-section h2 { font-size: clamp(20px, 6vw, 26px); letter-spacing: -0.8px; }
    .community-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
    .community-link { gap: 10px; font-size: 13px; padding: 12px 14px; }
    .community-icon { width: 32px; height: 32px; flex-shrink: 0; }
    .social-section {
        padding: 34px 14px 36px;
        scroll-margin-top: 72px;
    }
    .social-section .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }
    .social-section h2 {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(18px, 5.4vw, 22px);
        line-height: 1.16;
    }
    .social-subtitle {
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
        font-size: 12.5px;
        line-height: 1.5;
    }
    .social-links-large {
        display: grid;
        grid-template-columns: repeat(4, 44px);
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 18px;
    }
    .social-link-large {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 13px;
        display: grid;
        place-items: center;
        gap: 0;
        overflow: visible;
        transition: none;
    }
    .social-link-large::before {
        display: none;
    }
    .social-link-large:hover {
        transform: none;
        color: var(--mai-blue-900);
        border-color: var(--border);
        box-shadow: var(--shadow-sm);
    }
    .social-link-icon {
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: #fff;
        color: var(--mai-blue-800);
        transition: none;
    }
    .social-link-large:hover .social-link-icon {
        background: #fff;
        color: var(--mai-blue-800);
        transform: none;
    }
    .social-link-icon svg {
        width: 18px;
        height: 18px;
    }
    .social-link-label {
        display: none;
    }

    /* ABOUT */
    .about-section { padding: 40px 14px 48px; }
    .about-inner { gap: 32px; grid-template-columns: 1fr; }
    .about-photo { aspect-ratio: 4/3.5; border-radius: 14px; }
    .about-media { grid-template-columns: 1fr; gap: 12px; }
    .about-content h2 { font-size: clamp(20px, 6vw, 26px); }
    .about-lead { font-size: 14px; }

    /* PROGRAM */
    .program-section { padding: 40px 14px 48px; }
    .program-inner { grid-template-columns: 1fr; gap: 32px; }
    .program-content h2 { font-size: clamp(20px, 6vw, 26px); margin-bottom: 20px; }
    .program-grid { grid-template-columns: 1fr; gap: 18px; }
    .program-item { grid-template-columns: 32px 1fr; gap: 6px 10px; }
    .program-item p { font-size: 13px; max-width: none; }
    .program-item-icon { width: 32px; height: 32px; }
    .program-item-icon svg { width: 16px; height: 16px; }
    .program-cta-row { margin-top: 28px; padding-top: 24px; flex-direction: column; gap: 10px; width: 100%; }
    .program-cta { width: 100%; max-width: 100%; min-width: 0; font-size: 13px; padding: 12px 16px; }

    /* ARTICLES */
    .articles-section { padding: 40px 14px 48px; }
    .articles-grid { grid-template-columns: 1fr; gap: 14px; }
    .article-body { padding: 16px; }
    .article-body h3 { font-size: 15px; }

    /* HOME HEADER */
    .home-header-inner { padding: 10px 14px; }
    .home-cta-discutam { display: none; }
}

@media (min-width: 721px) {
    .home-hero h1 { white-space: nowrap; }
}
