        /* Variáveis de Cores */
        :root {
            --primary-blue: #2372D9;   /* Azul Primário */
            --secondary-blue: #266AA6; /* Azul Secundário */
            --light-yellow: #F2B705;   /* Amarelo Claro */
            --dark-yellow: #F29F05;    /* Amarelo Escuro */
            --orange: #D95204;         /* Laranja */
            --white: #ffffff;          /* Branco */
            --gray: #cccccc;           /* Cinza Claro */
            --dark-gray: #333333;      /* Cinza Escuro */
            --ink: #0f2f59;
            --blue-deep: #114983;
            --surface: #f7fbff;
            --radius-lg: 22px;
            --radius-md: 14px;
            --shadow-lg: 0 28px 50px rgba(17, 73, 131, 0.18);
            --shadow-md: 0 14px 28px rgba(17, 73, 131, 0.13);
            --header-height: 84px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            color: var(--ink);
            font-family: "Manrope", sans-serif;
            background:
                radial-gradient(circle at 12% 8%, rgba(242, 183, 5, 0.2) 0%, rgba(242, 183, 5, 0) 26%),
                radial-gradient(circle at 88% 14%, rgba(35, 114, 217, 0.18) 0%, rgba(35, 114, 217, 0) 35%),
                linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
            min-height: 100vh;
        }

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

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

        .container {
            width: min(1180px, 92vw);
            margin-inline: auto;
        }

        .section {
            padding: 72px 0;
        }

        .section-title {
            font-family: "Oswald", sans-serif;
            font-size: clamp(1.9rem, 1.6rem + 1.6vw, 2.9rem);
            margin: 0 0 12px;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            color: var(--blue-deep);
        }

        .section-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(35, 114, 217, 0.1);
            color: var(--secondary-blue);
            font-size: 0.83rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 14px;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid rgba(17, 73, 131, 0.14);
        }

        .header-content {
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: max-content;
        }

        .brand-badge {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: linear-gradient(160deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            font-weight: 800;
            font-size: 1rem;
            box-shadow: var(--shadow-md);
        }

        .brand-text {
            line-height: 1.05;
        }

        .brand-name {
            font-family: "Oswald", sans-serif;
            font-size: 1.2rem;
            color: var(--blue-deep);
            margin: 0;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        .brand-role {
            margin: 0;
            color: var(--secondary-blue);
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .menu-toggle {
            display: none;
            border: 0;
            border-radius: 10px;
            background: rgba(35, 114, 217, 0.1);
            color: var(--blue-deep);
            width: 44px;
            height: 44px;
            cursor: pointer;
        }

        .main-nav ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .main-nav a {
            display: inline-block;
            padding: 9px 12px;
            font-weight: 700;
            color: #24598e;
            border-radius: 10px;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .main-nav a:hover {
            background: rgba(35, 114, 217, 0.12);
            color: var(--primary-blue);
        }

        .header-login {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            border-radius: 999px;
            background: linear-gradient(130deg, var(--dark-yellow), var(--light-yellow));
            color: var(--dark-gray);
            font-weight: 800;
            box-shadow: 0 10px 20px rgba(242, 159, 5, 0.28);
        }

        .hero-carousel {
            position: relative;
            overflow: hidden;
            min-height: calc(88vh - var(--header-height));
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.55s ease;
        }

        .hero-slide {
            min-width: 100%;
            min-height: calc(88vh - var(--header-height));
            display: flex;
            align-items: center;
            position: relative;
            isolation: isolate;
            background:
                linear-gradient(120deg, rgba(35, 114, 217, 0.82), rgba(17, 73, 131, 0.68)),
                var(--slide-bg) center/cover no-repeat;
        }

        .hero-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(7, 35, 66, 0.9) 2%, rgba(7, 35, 66, 0.48) 48%, rgba(7, 35, 66, 0.84) 100%);
            z-index: -1;
        }

        .hero-slide::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 84% 18%, rgba(242, 183, 5, 0.4) 0, rgba(242, 183, 5, 0) 26%);
            z-index: -1;
        }

        .hero-content {
            width: min(1180px, 92vw);
            margin-inline: auto;
            color: var(--white);
            padding: 48px 0;
        }

        .hero-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 30px;
            align-items: end;
        }

        .hero-copy {
            max-width: 760px;
        }

        .hero-figure {
            margin: 0;
            width: clamp(220px, 23vw, 330px);
            aspect-ratio: 1 / 1;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid rgba(255, 255, 255, 0.82);
            box-shadow: 0 20px 34px rgba(7, 35, 66, 0.38);
            position: relative;
        }

        .hero-figure::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(7, 35, 66, 0) 45%, rgba(7, 35, 66, 0.18) 100%);
        }

        .hero-figure img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .hero-figure figcaption {
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: 12px;
            z-index: 2;
            background: rgba(17, 73, 131, 0.74);
            backdrop-filter: blur(3px);
            color: var(--white);
            border-radius: 10px;
            padding: 8px 10px;
            text-align: center;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.35);
            color: #fff;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            font-weight: 700;
            border-radius: 999px;
            padding: 7px 14px;
            margin-bottom: 18px;
        }

        .hero-title {
            font-family: "Oswald", sans-serif;
            font-size: clamp(2.2rem, 2rem + 3vw, 4.4rem);
            line-height: 0.98;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            margin: 0 0 14px;
            width: min(760px, 100%);
        }

        .hero-text {
            margin: 0;
            width: min(620px, 100%);
            font-size: clamp(1rem, 0.95rem + 0.55vw, 1.22rem);
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.92);
        }

        .hero-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 24px;
            flex-wrap: wrap;
        }

        .btn {
            border: 0;
            cursor: pointer;
            padding: 12px 20px;
            border-radius: 12px;
            font-weight: 800;
            font-size: 0.95rem;
            letter-spacing: 0.01em;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

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

        .btn-primary {
            background: linear-gradient(135deg, var(--light-yellow), var(--dark-yellow));
            color: #432b01;
            box-shadow: 0 12px 24px rgba(242, 159, 5, 0.3);
        }

        .btn-ghost {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.45);
            color: var(--white);
        }

        .carousel-controls {
            position: absolute;
            inset-inline: 0;
            bottom: 22px;
            z-index: 8;
        }

        .controls-wrap {
            width: min(1180px, 92vw);
            margin-inline: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 14px;
        }

        .arrow-btn {
            border: 1px solid rgba(255, 255, 255, 0.55);
            background: rgba(255, 255, 255, 0.16);
            color: var(--white);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1rem;
        }

        .carousel-dots {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .carousel-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            border: 0;
            background: rgba(255, 255, 255, 0.45);
            cursor: pointer;
            padding: 0;
        }

        .carousel-dot.is-active {
            background: var(--light-yellow);
            transform: scale(1.15);
        }

        .about-grid,
        .news-grid,
        .testimonials-grid,
        .panel-grid,
        .contact-grid {
            display: grid;
            gap: 22px;
        }

        .about-grid {
            grid-template-columns: 1.2fr 1fr;
            align-items: stretch;
        }

        .card {
            background: var(--white);
            border: 1px solid rgba(17, 73, 131, 0.09);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: 24px;
        }

        .about-highlight {
            background: linear-gradient(160deg, #1f62bc, #114983);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .about-highlight::before {
            content: "";
            position: absolute;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            right: -75px;
            top: -95px;
            background: rgba(242, 183, 5, 0.28);
        }

        .about-highlight h3,
        .card h3 {
            font-family: "Oswald", sans-serif;
            margin: 0 0 12px;
            font-size: 1.55rem;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        .about-highlight p,
        .card p {
            margin: 0;
            line-height: 1.7;
        }

        .profile-inline {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(17, 73, 131, 0.12);
        }

        .profile-inline img {
            width: 72px;
            height: 72px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid rgba(35, 114, 217, 0.22);
        }

        .profile-inline strong {
            display: block;
            color: var(--blue-deep);
            font-size: 1rem;
            line-height: 1.2;
        }

        .profile-inline span {
            display: block;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: #4b77a5;
            margin-top: 3px;
        }

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

        .metric-item {
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 12px;
        }

        .metric-value {
            display: block;
            font-family: "Oswald", sans-serif;
            font-size: 1.55rem;
        }

        .metric-label {
            display: block;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: rgba(255, 255, 255, 0.84);
        }

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

        .news-card {
            padding: 0;
            overflow: hidden;
        }

        .news-thumb {
            height: 190px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .news-thumb::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(17, 73, 131, 0) 35%, rgba(17, 73, 131, 0.65) 100%);
        }

        .news-content {
            padding: 20px;
        }

        .news-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }

        .news-date {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--secondary-blue);
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .news-author {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 4px 9px 4px 6px;
            border-radius: 999px;
            background: rgba(35, 114, 217, 0.1);
            border: 1px solid rgba(35, 114, 217, 0.18);
            color: #255e92;
            font-size: 0.72rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1;
        }

        .news-author img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid rgba(35, 114, 217, 0.32);
        }

        .news-title {
            margin: 8px 0 10px;
            font-size: 1.15rem;
            color: var(--blue-deep);
        }

        .agenda-list {
            display: grid;
            gap: 14px;
        }

        .agenda-item {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 14px;
            align-items: center;
            padding: 14px;
            border-radius: 14px;
            background: rgba(35, 114, 217, 0.07);
            border: 1px solid rgba(35, 114, 217, 0.16);
        }

        .agenda-date {
            width: 72px;
            min-height: 72px;
            border-radius: 12px;
            background: linear-gradient(160deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            display: grid;
            place-items: center;
            text-align: center;
            font-weight: 800;
            line-height: 1.05;
            font-size: 0.95rem;
            padding: 8px;
        }

        .agenda-item h4 {
            margin: 0 0 6px;
            color: var(--blue-deep);
            font-size: 1.03rem;
        }

        .agenda-item p {
            margin: 0;
            color: #335e89;
            line-height: 1.6;
            font-size: 0.95rem;
        }

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

        .testimonial-card {
            border-left: 4px solid var(--light-yellow);
        }

        .testimonial-head {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .testimonial-head img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(35, 114, 217, 0.28);
        }

        .testimonial-head strong {
            display: block;
            color: var(--blue-deep);
            font-size: 0.9rem;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .testimonial-head span {
            display: block;
            margin-top: 2px;
            color: #54789d;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
        }

        .quote {
            margin: 0 0 14px;
            color: #244d79;
            line-height: 1.72;
            font-size: 0.98rem;
        }

        .author {
            margin: 0;
            font-weight: 800;
            color: var(--blue-deep);
        }

        .author-role {
            margin: 5px 0 0;
            color: #4a7199;
            font-size: 0.88rem;
        }

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

        .panel-card {
            background: linear-gradient(180deg, #ffffff, #f4f9ff);
        }

        .panel-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(35, 114, 217, 0.13);
            color: var(--secondary-blue);
            display: grid;
            place-items: center;
            font-weight: 800;
            font-size: 1.2rem;
            margin-bottom: 14px;
        }

        .contact-grid {
            grid-template-columns: 1.15fr 0.85fr;
        }

        .form-grid {
            display: grid;
            gap: 12px;
        }

        .input {
            width: 100%;
            border-radius: 10px;
            border: 1px solid rgba(17, 73, 131, 0.16);
            background: #fdfefe;
            color: var(--ink);
            padding: 12px 13px;
            font: inherit;
            outline: none;
        }

        .input:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(35, 114, 217, 0.15);
        }

        .input.is-valid,
        input.is-valid,
        textarea.is-valid,
        select.is-valid {
            border-color: rgba(22, 166, 92, 0.58);
            box-shadow: 0 0 0 3px rgba(22, 166, 92, 0.12);
        }

        .input.is-invalid,
        input.is-invalid,
        textarea.is-invalid,
        select.is-invalid {
            border-color: rgba(217, 82, 4, 0.58);
            box-shadow: 0 0 0 3px rgba(217, 82, 4, 0.14);
        }

        .field-feedback {
            display: block;
            min-height: 1em;
            margin-top: 5px;
            font-size: 0.73rem;
            font-weight: 700;
            letter-spacing: 0.01em;
        }

        .field-feedback.is-valid {
            color: #127046;
        }

        .field-feedback.is-invalid {
            color: #9a3300;
        }

        textarea.input {
            min-height: 132px;
            resize: vertical;
        }

        .login-box {
            background: linear-gradient(180deg, #1d5ead, #15497f);
            color: var(--white);
            border: 0;
        }

        .login-box .input {
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(255, 255, 255, 0.45);
        }

        .login-box h3 {
            color: var(--white);
        }

        .login-box p {
            color: rgba(255, 255, 255, 0.86);
        }

        .login-profile {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 12px 0 14px;
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.22);
        }

        .login-profile img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.7);
        }

        .login-profile strong {
            display: block;
            font-size: 0.95rem;
            line-height: 1.2;
        }

        .login-profile span {
            display: block;
            margin-top: 2px;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: rgba(255, 255, 255, 0.85);
        }

        .login-session {
            margin: 12px 0 14px;
            padding: 11px 12px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.17);
            border: 1px solid rgba(255, 255, 255, 0.24);
            font-size: 0.9rem;
            line-height: 1.45;
            color: rgba(255, 255, 255, 0.95);
        }

        .login-session-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 9px;
        }

        .login-session-actions a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px 10px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.45);
            background: rgba(255, 255, 255, 0.14);
            color: var(--white);
            font-size: 0.76rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .form-feedback {
            margin: 0 0 12px;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid transparent;
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .form-feedback.success {
            background: rgba(22, 166, 92, 0.12);
            border-color: rgba(22, 166, 92, 0.34);
            color: #0f6540;
        }

        .form-feedback.error {
            background: rgba(217, 82, 4, 0.12);
            border-color: rgba(217, 82, 4, 0.36);
            color: #8d3200;
        }

        .auth-page {
            min-height: 100vh;
            padding: 28px 0;
        }

        .auth-layout {
            width: min(1120px, 94vw);
            margin-inline: auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            align-items: stretch;
        }

        .auth-aside {
            padding: clamp(24px, 3vw, 34px);
            border-radius: 20px;
            color: #fff;
            background:
                radial-gradient(circle at 22% 14%, rgba(242, 183, 5, 0.34), transparent 36%),
                linear-gradient(155deg, #1e62b6 0%, #114983 100%);
            box-shadow: 0 18px 36px rgba(17, 73, 131, 0.24);
        }

        .auth-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 18px;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.94);
        }

        .auth-brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            padding: 8px 10px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.11);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .auth-brand img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.82);
        }

        .auth-brand strong {
            display: block;
            font-size: 0.98rem;
            line-height: 1.2;
        }

        .auth-brand span {
            display: block;
            margin-top: 3px;
            font-size: 0.72rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.86);
        }

        .auth-aside h1 {
            margin: 0 0 10px;
            font-family: "Oswald", sans-serif;
            font-size: clamp(2rem, 1.7rem + 1.8vw, 3rem);
            line-height: 1;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .auth-aside p {
            margin: 0;
            color: rgba(255, 255, 255, 0.92);
            line-height: 1.7;
        }

        .auth-aside ul {
            margin: 16px 0 0;
            padding-left: 20px;
            display: grid;
            gap: 8px;
            color: rgba(255, 255, 255, 0.94);
        }

        .auth-form-wrap {
            min-width: 0;
            display: grid;
        }

        .auth-card {
            min-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .auth-card h2 {
            margin: 0 0 8px;
            font-family: "Oswald", sans-serif;
            color: #174e8b;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .auth-card > p {
            margin: 0 0 14px;
            color: #4f7398;
        }

        .auth-card .btn {
            width: 100%;
        }

        .auth-card .login-session {
            color: #274f79;
            background: rgba(35, 114, 217, 0.09);
            border: 1px solid rgba(35, 114, 217, 0.18);
        }

        .auth-card .login-session-actions a {
            color: #205f9c;
            background: #fff;
            border: 1px solid rgba(35, 114, 217, 0.28);
        }

        .footer {
            padding: 24px 0 40px;
            color: #3e6389;
            text-align: center;
            font-size: 0.92rem;
        }

        [data-reveal] {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.58s ease, transform 0.58s ease;
        }

        [data-reveal].is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 1024px) {
            .news-grid,
            .testimonials-grid,
            .panel-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .about-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .hero-slide,
            .hero-carousel {
                min-height: 72vh;
            }

            .hero-layout {
                grid-template-columns: 1fr;
                justify-items: start;
            }

            .hero-figure {
                width: min(280px, 74vw);
            }

            .auth-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 900px) {
            .menu-toggle {
                display: inline-grid;
                place-items: center;
            }

            .main-nav {
                position: absolute;
                top: calc(var(--header-height) + 4px);
                left: 4vw;
                right: 4vw;
                padding: 12px;
                border-radius: 12px;
                background: rgba(255, 255, 255, 0.98);
                border: 1px solid rgba(17, 73, 131, 0.14);
                box-shadow: var(--shadow-md);
                opacity: 0;
                pointer-events: none;
                transform: translateY(-8px);
                transition: opacity 0.18s ease, transform 0.18s ease;
            }

            .main-nav.is-open {
                opacity: 1;
                pointer-events: all;
                transform: translateY(0);
            }

            .main-nav ul {
                flex-direction: column;
                align-items: stretch;
            }

            .main-nav a {
                width: 100%;
            }

            .header-login {
                display: none;
            }
        }

        @media (max-width: 680px) {
            .hero-title {
                line-height: 1.05;
            }

            .controls-wrap {
                gap: 10px;
            }

            .metrics {
                grid-template-columns: 1fr;
            }

            .news-grid,
            .testimonials-grid,
            .panel-grid {
                grid-template-columns: 1fr;
            }
        }
