:root {
    --bg: #eef7ff;
    --paper: rgba(255, 255, 255, 0.9);
    --ink: #15324f;
    --muted: #61809a;
    --line: rgba(100, 149, 194, 0.22);
    --accent: #7bc4f5;
    --accent-dark: #3a8dc8;
    --shadow: 0 24px 60px rgba(67, 122, 171, 0.12);
    --radius-xl: 28px;
    --radius-md: 14px;
    --container: min(1120px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Verdana, Geneva, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(158, 212, 248, 0.48), transparent 30%),
        radial-gradient(circle at top right, rgba(113, 178, 233, 0.2), transparent 28%),
        linear-gradient(180deg, #f9fdff 0%, #eef7ff 100%);
}

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

code {
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(58, 141, 200, 0.12);
    font-family: inherit;
    font-size: 0.9em;
}

button,
a.btn {
    cursor: pointer;
}

button {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.nav-shell,
.site-nav,
.nav-actions,
.hero-actions,
.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav {
    gap: 42px;
}

.nav-shell {
    justify-content: space-between;
    min-height: 48px;
    gap: 20px;
}

.nav-auth {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-auth-menu {
    display: none;
    position: relative;
}

.nav-auth-toggle {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.28);
    background: rgba(15, 23, 42, 0.04);
    cursor: pointer;
}

.nav-auth-toggle::-webkit-details-marker {
    display: none;
}

.nav-auth-toggle:focus-visible {
    outline: 2px solid rgba(15, 23, 42, 0.4);
    outline-offset: 2px;
}

.nav-auth-icon {
    position: relative;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

.nav-auth-icon::before,
.nav-auth-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

.nav-auth-icon::before {
    top: -6px;
}

.nav-auth-icon::after {
    top: 6px;
}

.nav-auth-menu[open] .nav-auth-toggle {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.5);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.nav-auth-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(21, 50, 79, 0.12);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(21, 50, 79, 0.16);
    display: grid;
    gap: 6px;
    z-index: 30;
}

.nav-auth-link {
    display: block;
    padding: 6px 4px;
    font-weight: 400;
    color: #15324f;
}

.nav-auth-link:hover {
    text-decoration: underline;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    height: 48px;
    width: 120px;
    overflow: visible;
}

.brandmark-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.text-danger{
    color:red;
    display:inline;
}
.brandmark strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
    color: #111827;
}

.brandmark small {
    display: block;
    margin-top: 4px;
    color: rgba(17, 24, 39, 0.7);
    font-size: 0.82rem;
}

.brandmark-badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #f8fdff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: var(--shadow);
    font-weight: 800;
}

.site-nav a {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover,
.footer-nav a:hover {
    color: rgba(17, 24, 39, 0.7);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header .btn {
    min-height: 36px;
    padding: 0 16px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #f8fdff;
    box-shadow: 0 16px 32px rgba(86, 151, 207, 0.2);
}

.btn-ghost {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.28);
}

.site-header .btn-ghost {
    color: #111827;
    border-color: rgba(15, 23, 42, 0.35);
    background: rgba(15, 23, 42, 0.04);
}

.site-header .btn-primary {
    color: #111827;
    background: #f3f4f6;
    border-color: rgba(15, 23, 42, 0.35);
    box-shadow: none;
}

.btn-google {
    gap: 10px;
    color: var(--ink);
    background: #fff;
    border-color: rgba(100, 149, 194, 0.14);
    box-shadow: 0 10px 24px rgba(67, 122, 171, 0.1);
}

.flash-stack {
    padding-top: 20px;
}

.flash {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.flash + .flash {
    margin-top: 12px;
}

.flash-success {
    background: rgba(90, 182, 158, 0.12);
    border-color: rgba(90, 182, 158, 0.18);
    color: #216d5d;
}

.flash-error {
    background: rgba(230, 111, 111, 0.1);
    border-color: rgba(230, 111, 111, 0.18);
    color: var(--accent-dark);
}

.hero-section,
.section-block,
.dashboard-shell {
    padding: 56px 0;
}

.top-banner {
    padding: 20px 0 6px;
}

.banner-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    padding: 0;
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.banner-slider {
    position: relative;
}

.banner-slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.banner-slider-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.banner-slide {
    flex: 0 0 100%;
    margin: 0;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.banner-slider-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(240, 248, 255, 0.35);
    border-radius: 999px;
    background: rgba(21, 50, 79, 0.4);
    color: #f6fbff;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(21, 50, 79, 0.18);
}

.banner-slider-button:hover {
    border-color: rgba(240, 248, 255, 0.6);
    background: rgba(21, 50, 79, 0.55);
}

.banner-slider-button span {
    font-size: 1.5rem;
    line-height: 1;
}

.banner-slider-button-prev {
    left: 12px;
}

.banner-slider-button-next {
    right: 12px;
}

.banner-slider-dots {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.banner-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(240, 248, 255, 0.6);
}

.banner-slider-dot.is-active {
    width: 32px;
    background: #f6fbff;
}

.hero-section {
    padding-top: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(241, 249, 255, 0.78) 100%);
}

.section-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(245, 250, 255, 0.72) 100%);
}

.section-block:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(234, 246, 240, 0.85) 100%);
}

.hero-grid,
.two-up,
.narrative-grid,
.card-grid,
.pricing-grid,
.dashboard-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    min-height: calc(100vh - 84px);
}

.hero-panel,
.hero-insights,
.panel-stack {
    display: grid;
    gap: 16px;
}

.hero-gallery {
    position: relative;
}

.hero-slider {
    position: relative;
}

.hero-slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.hero-slider-track {
    display: flex;
    transition: transform 0.65s ease;
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 430px;
    margin: 0;
    overflow: hidden;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 50, 79, 0.04) 8%, rgba(21, 50, 79, 0.56) 100%);
}

.hero-slide figcaption {
    position: absolute;
    inset: auto 24px 24px 24px;
    z-index: 1;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(240, 248, 255, 0.16);
    backdrop-filter: blur(14px);
    color: #f6fbff;
}

.hero-slide figcaption strong {
    display: block;
    margin-top: 10px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.hero-slide figcaption p {
    margin: 10px 0 0;
    color: rgba(246, 251, 255, 0.88);
    line-height: 1.65;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(240, 248, 255, 0.18);
    border: 1px solid rgba(240, 248, 255, 0.28);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-slider-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(240, 248, 255, 0.3);
    border-radius: 999px;
    background: rgba(21, 50, 79, 0.4);
    color: #f6fbff;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(21, 50, 79, 0.16);
}

.hero-slider-button:hover {
    border-color: rgba(240, 248, 255, 0.46);
    background: rgba(21, 50, 79, 0.56);
}

.hero-slider-button span {
    font-size: 1.4rem;
    line-height: 1;
}

.hero-slider-button-prev {
    left: 18px;
}

.hero-slider-button-next {
    right: 18px;
}

.hero-slider-dots {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(240, 248, 255, 0.44);
}

.hero-slider-dot.is-active {
    width: 40px;
    background: #f6fbff;
}

.hero-insights {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.section-copy h2,
.dashboard-intro h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.lead,
.section-copy p,
.narrative-card p,
.service-card p,
.price-card p,
.auth-card p,
.contact-card p,
.contact-card a,
.dashboard-card p,
.dashboard-card strong,
.hero-panel span {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-note {
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-note span,
.eyebrow,
.service-card span,
.stat-label,
.price-name,
.contact-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(234, 246, 255, 0.92);
    border: 1px solid rgba(100, 149, 194, 0.16);
    color: var(--accent-dark);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-card,
.auth-card,
.narrative-card,
.service-card,
.price-card,
.contact-card,
.dashboard-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.panel-primary {
    background: linear-gradient(160deg, rgba(123, 196, 245, 0.98) 0%, rgba(58, 141, 200, 0.98) 100%);
}

.panel-primary p,
.panel-primary strong,
.panel-primary span {
    color: #f6fbff;
}

.panel-card strong,
.auth-card h3,
.service-card h3,
.price-card h3,
.dashboard-card strong {
    display: block;
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.3;
}

.two-up,
.narrative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.section-soft {
    background: linear-gradient(180deg, rgba(239, 248, 255, 0.94) 0%, rgba(248, 252, 255, 0.8) 100%);
}

.section-center {
    max-width: 980px;
    margin: 0 auto 24px;
    text-align: center;
}

.section-center h2,
.section-center p {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

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

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.roadmap-card {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.roadmap-card::before {
    content: "";
    position: absolute;
    top: 48px;
    left: -20px;
    width: 20px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.roadmap-card:first-child::before {
    display: none;
}

.roadmap-step {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #f8fdff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.roadmap-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.roadmap-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(300px, 360px));
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
}

.price-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 18px;
    align-content: stretch;
    height: 100%;
}

.price-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.price-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #f8fdff;
    box-shadow: var(--shadow);
}

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

.price-name {
    margin: 0 0 6px;
}

.price-figure {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.price-amount {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.price-summary {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.price-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.price-card li + li {
    margin-top: 8px;
}

.auth-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.auth-card li + li {
    margin-top: 8px;
}

.price-card .btn {
    width: 100%;
    margin-top: auto;
    align-self: stretch;
}

.contact-card {
    display: grid;
    gap: 18px;
}

.contact-card a {
    display: block;
    color: var(--ink);
    font-weight: 700;
}

.contact-showcase {
    display: grid;
    gap: 28px;
}

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

.case-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: rgba(240, 248, 255, 0.9);
}

.case-body {
    padding: 18px 20px 22px;
}

.case-body h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
}

.whatsapp-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.panel-card:hover,
.auth-card:hover,
.narrative-card:hover,
.service-card:hover,
.price-card:hover,
.contact-card:hover,
.dashboard-card:hover,
.roadmap-card:hover,
.case-card:hover,
.whatsapp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(67, 122, 171, 0.18);
    border-color: rgba(58, 141, 200, 0.32);
}

.whatsapp-copy h2 {
    margin: 14px 0 10px;
}

.whatsapp-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.whatsapp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-logo {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.22);
}

.whatsapp-logo svg {
    width: 30px;
    height: 30px;
}

.btn-whatsapp {
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
    border-color: transparent;
}

.whatsapp-icon-inline {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

.whatsapp-icon-inline svg {
    width: 18px;
    height: 18px;
}

.site-footer {
    background: linear-gradient(180deg, #2089d8 0%, #156bb8 100%);
    color: #ffffff;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    gap: 24px;
    align-items: start;
    padding: 28px 0 34px;
}

.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-brand p,
.footer-copy {
    margin: 10px 0 0;
    color: rgba(238, 248, 255, 0.88);
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.footer-nav a {
    color: #eef8ff;
    font-weight: 700;
}

.footer-copy {
    text-align: right;
}

.dashboard-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.stat-label {
    margin-top: 18px;
}

.dashboard-card .stat-label:first-child {
    margin-top: 0;
}

.auth-card small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.auth-section {
    padding: 72px 0;
}

.auth-layout {
    display: grid;
    justify-items: center;
}

.auth-panel {
    width: min(520px, 100%);
    padding: 32px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e3ecf5;
    box-shadow: 0 24px 60px rgba(28, 63, 104, 0.12);
}

.auth-title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: #1f3552;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    margin: 0 0 22px;
    color: #6b7f96;
    font-size: 0.95rem;
}

.auth-subtitle a,
.auth-footer a,
.auth-link {
    color: #1a67b5;
    font-weight: 600;
}

.auth-google {
    width: 100%;
    justify-content: center;
    gap: 10px;
    border-color: #e1e7ef;
    color: #1f3552;
    box-shadow: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #9aa8b8;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6edf5;
}

.auth-divider span {
    padding: 0 6px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field span {
    display: block;
    margin-bottom: 8px;
    color: #4d6279;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d7e0eb;
    background: #eef4ff;
    font: inherit;
    color: #1f3552;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
    outline: none;
    border-color: rgba(26, 103, 181, 0.5);
    box-shadow: 0 0 0 3px rgba(26, 103, 181, 0.12);
}

.auth-links {
    display: flex;
    justify-content: flex-end;
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2089d8 0%, #156bb8 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(8, 60, 110, 0.18);
}

.auth-submit:hover {
    border-color: transparent;
    filter: brightness(1.03);
}

.auth-footer {
    margin: 18px 0 0;
    color: #6b7f96;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.dashboard-page {
    background: #f3f7fb;
}

.dashboard-shell {
    padding: 32px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    min-height: calc(100vh - 64px);
}

.dashboard-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e3ecf5;
    box-shadow: 0 18px 44px rgba(28, 63, 104, 0.08);
    display: grid;
    gap: 20px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3a8dc8 0%, #1c5c9b 100%);
    color: #ffffff;
    font-weight: 700;
}

.dashboard-brand strong {
    display: block;
    color: #1f3552;
}

.dashboard-brand small {
    display: block;
    color: #7b8da1;
    font-size: 0.8rem;
}

.dashboard-menu {
    display: grid;
    gap: 10px;
}

.dashboard-link {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    font-weight: 600;
    color: #2b425c;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-link.is-active {
    background: #eaf2fb;
    border-color: #d2e3f5;
    color: #1a67b5;
}

.dashboard-link:hover {
    border-color: #d6e2f0;
}

.dashboard-link-danger {
    color: #b93131;
}

.dashboard-link-danger:hover {
    border-color: rgba(185, 49, 49, 0.2);
    background: rgba(185, 49, 49, 0.08);
}

.dashboard-main {
    display: grid;
    gap: 20px;
}

.dashboard-header h1 {
    margin: 8px 0 6px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #1f3552;
}

.dashboard-header .lead {
    margin: 0;
    color: #6b7f96;
}

.dashboard-section {
    display: none;
}

.dashboard-section.is-active {
    display: grid;
    gap: 16px;
}

.dashboard-card-wide {
    display: grid;
    gap: 16px;
}

.dashboard-profile .card:hover,
.dashboard-profile .nav-link:hover {
    transform: none;
}

.dashboard-profile .nav-link:hover {
    background: transparent;
    color: inherit;
}

.dashboard-profile {
    display: grid;
    gap: 16px;
}

.profile-shell {
    display: grid;
    gap: 24px;
}

.profile-header {
    display: grid;
    gap: 6px;
}

.profile-title {
    margin: 0;
    font-size: 1.4rem;
    color: #1f3552;
}

.profile-subtitle {
    margin: 0;
    color: #6b7f96;
}

.profile-card {
    display: grid;
    gap: 24px;
    padding-top: 16px;
}

.profile-section {
    display: grid;
    gap: 16px;
    margin-top: 12px;
}

.profile-section h4 {
    margin: 0;
    font-size: 1rem;
    color: #1f3552;
}

.profile-form {
    display: grid;
    gap: 20px;
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.profile-note {
    padding: 14px 16px;
    border-radius: 12px;
    background: #eef4ff;
    border: 1px solid #dbe7f5;
    color: #4d6279;
}

.profile-note p {
    margin: 6px 0 0;
    color: inherit;
}

.profile-warning {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(198, 77, 77, 0.08);
    border: 1px solid rgba(198, 77, 77, 0.16);
    color: #8b2c2c;
}

.form-grid-1,
.form-grid-2,
.form-grid-3,
.form-grid-4 {
    display: grid;
    gap: 18px;
}

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

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

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

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

.field-help {
    display: block;
    margin-top: 6px;
    color: #7b8da1;
    font-size: 0.82rem;
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    color: #b93131;
    font-size: 0.85rem;
}

.text-required {
    color: #b93131;
    font-weight: 700;
}

.text-optional {
    color: #7b8da1;
    font-weight: 500;
}

.readonly-input {
    background: #f1f5fb;
    font-weight: 600;
}

.profile-tabs {
    margin-bottom: 6px;
}

.mt-2 {
    margin-top: 8px;
}

.d-none {
    display: none;
}

.dashboard-profile .dashboard-card:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--line);
}

.dashboard-profile .tab-switch:hover {
    background: transparent;
    color: inherit;
}

.dashboard-divider {
    height: 1px;
    background: #e4ebf5;
    margin: 8px 0;
}

.dashboard-subtitle {
    margin: 0;
    font-size: 1.05rem;
    color: #1f3552;
}

.dashboard-empty {
    margin: 0;
    color: #6b7f96;
}

.dashboard-tabs {
    display: inline-flex;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: #f1f5fb;
}

.tab-switch {
    padding: 8px 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #5b6f85;
    font-weight: 600;
}

.tab-switch.is-active {
    background: #1a67b5;
    color: #ffffff;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: grid;
    gap: 16px;
}

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

.dashboard-action {
    width: fit-content;
    min-height: 44px;
    border-radius: 999px;
    background: #1f3a5a;
    color: #ffffff;
    box-shadow: none;
}

.dashboard-form {
    display: grid;
    gap: 14px;
}

.dashboard-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: #f2f6fb;
    border: 1px solid #e0e9f4;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-field select,
.auth-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d7e0eb;
    background: #eef4ff;
    font: inherit;
    color: #1f3552;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field textarea {
    resize: vertical;
}

.auth-field select:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: rgba(26, 103, 181, 0.5);
    box-shadow: 0 0 0 3px rgba(26, 103, 181, 0.12);
}

.auth-field input.is-invalid,
.auth-field select.is-invalid,
.auth-field textarea.is-invalid {
    border-color: rgba(198, 77, 77, 0.6);
    background: rgba(255, 240, 240, 0.9);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #b93131;
    font-size: 0.85rem;
}

.form-errors {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(198, 77, 77, 0.08);
    border: 1px solid rgba(198, 77, 77, 0.16);
    color: #8b2c2c;
}

.form-errors ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.dashboard-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf2fb;
    color: #1a67b5;
    font-size: 0.85rem;
    font-weight: 600;
}

.application-list {
    display: grid;
    gap: 12px;
}

.application-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f6f9fd;
    border: 1px solid #e1e9f4;
}

.application-meta {
    margin: 4px 0 0;
    color: #6b7f96;
    font-size: 0.9rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: #1f3a5a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.registration-shell {
    display: grid;
    gap: 16px;
}

.registration-warning {
    display: grid;
    gap: 8px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 28, 46, 0.55);
}

.modal.show,
.modal.is-open {
    display: flex;
}

.modal-dialog {
    width: min(100%, 980px);
    max-height: calc(100vh - 40px);
}

.modal-xl {
    width: min(100%, 1120px);
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e3ecf5;
    box-shadow: 0 30px 70px rgba(21, 50, 79, 0.2);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.modal-title {
    margin: 0;
}

.modal-body {
    padding: 16px;
    overflow-y: auto;
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px);
}

.modal-open {
    overflow: hidden;
}

.btn-close {
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
}

.btn-close::before,
.btn-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

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

.col-4 {
    grid-column: span 12;
}

.col-md-4,
.col-md-6,
.col-md-8,
.col-lg-5,
.col-lg-7 {
    grid-column: span 12;
}

.g-2 {
    gap: 8px;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

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

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-1 {
    margin-top: 4px;
}

.me-1 {
    margin-right: 4px;
}

.me-2 {
    margin-right: 8px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-0 {
    padding: 0;
}

.p-2 {
    padding: 8px;
}

.p-3 {
    padding: 12px;
}

.ps-3 {
    padding-left: 12px;
}

.ps-4 {
    padding-left: 16px;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-5 {
    padding-top: 20px;
    padding-bottom: 20px;
}

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

.text-end {
    text-align: right;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.small {
    font-size: 0.85rem;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.fs-6 {
    font-size: 1rem;
}

.text-muted {
    color: #6b7f96;
}

.text-dark {
    color: #1f3552;
}

.text-primary {
    color: var(--accent-dark);
}

.text-white {
    color: #ffffff;
}

.bg-light {
    background: #f4f7fb;
}

.bg-white {
    background: #ffffff;
}

.bg-dark-blue {
    background: linear-gradient(135deg, #1f3a5a 0%, #15324f 100%);
}

.bg-warning {
    background: rgba(245, 187, 94, 0.25);
    color: #8a5a00;
}

.bg-info {
    background: rgba(81, 175, 217, 0.22);
    color: #0f4e67;
}

.bg-primary {
    background: rgba(58, 141, 200, 0.2);
    color: #1a67b5;
}

.bg-success {
    background: rgba(70, 168, 126, 0.2);
    color: #216d5d;
}

.bg-danger {
    background: rgba(198, 77, 77, 0.16);
    color: #8b2c2c;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.border {
    border: 1px solid #dbe7f5;
}

.border-0 {
    border: 0;
}

.border-top-0 {
    border-top: 0;
}

.border-end {
    border-right: 1px solid #dbe7f5;
}

.border-info {
    border-color: rgba(58, 141, 200, 0.4);
}

.border-opacity-25 {
    border-color: rgba(58, 141, 200, 0.25);
}

.rounded {
    border-radius: 12px;
}

.rounded-3 {
    border-radius: 16px;
}

.shadow-sm {
    box-shadow: 0 12px 28px rgba(21, 50, 79, 0.12);
}

.card {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e3ecf5;
    box-shadow: 0 20px 48px rgba(21, 50, 79, 0.12);
    overflow: hidden;
}

.card-body {
    padding: 16px;
}

.card-footer {
    padding: 12px 16px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table th,
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e6edf5;
    text-align: left;
}

.table thead th {
    font-weight: 600;
    color: #1f3552;
    background: #f5f8fc;
}

.table-hover tbody tr:hover {
    background: rgba(234, 246, 255, 0.7);
}

.align-middle th,
.align-middle td {
    vertical-align: middle;
}

.form-label {
    display: block;
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d7e0eb;
    background: #f6f9fd;
    font: inherit;
    color: #1f3552;
}

.form-control:focus {
    outline: none;
    border-color: rgba(26, 103, 181, 0.5);
    box-shadow: 0 0 0 3px rgba(26, 103, 181, 0.12);
}

.form-control-sm {
    padding: 6px 8px;
    font-size: 0.9rem;
}

.input-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
}

.input-group-sm .btn,
.input-group-sm .form-control {
    min-height: 36px;
    font-size: 0.9rem;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-check-input {
    width: 16px;
    height: 16px;
}

.form-check-label {
    font-size: 0.9rem;
}

.btn-sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.85rem;
}

.btn-light {
    background: #f1f5fb;
    color: #1f3552;
    border-color: #d7e0eb;
}

.btn-white {
    background: #ffffff;
    color: #1f3552;
    border-color: #d7e0eb;
}

.btn-outline-dark {
    background: transparent;
    color: #1f3552;
    border-color: #9fb1c6;
}

.btn-outline-success {
    background: transparent;
    color: #2c8c6b;
    border-color: rgba(44, 140, 107, 0.4);
}

.btn-dark-blue {
    background: linear-gradient(135deg, #1f3a5a 0%, #15324f 100%);
    color: #ffffff;
    border-color: transparent;
}

.modal .btn-primary {
    color: #ffffff;
}

.h-100 {
    height: 100%;
}

@media (min-width: 576px) {
    .col-4 {
        grid-column: span 4;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        grid-column: span 4;
    }

    .col-md-6 {
        grid-column: span 6;
    }

    .col-md-8 {
        grid-column: span 8;
    }
}

@media (min-width: 992px) {
    .col-lg-7 {
        grid-column: span 7;
    }

    .col-lg-5 {
        grid-column: span 5;
    }
}

@media (max-width: 991px) {
    .border-end {
        border-right: 0;
        border-bottom: 1px solid #dbe7f5;
        padding-bottom: 16px;
    }
}

@media (max-width: 960px) {
    .dashboard-shell {
        padding: 20px;
    }

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

    .dashboard-sidebar {
        position: static;
    }

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

    .form-grid,
    .form-grid-2,
    .form-grid-3,
    .form-grid-4 {
        grid-template-columns: 1fr;
    }

    .dashboard-highlight {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 960px) {
    .site-nav {
        display: none;
    }

    .hero-grid,
    .two-up,
    .narrative-grid,
    .card-grid,
    .roadmap-grid,
    .pricing-grid,
    .dashboard-grid,
    .footer-shell,
    .case-grid,
    .whatsapp-card {
        grid-template-columns: 1fr;
    }

    .banner-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .banner-slider-button {
        width: 36px;
        height: 36px;
    }

    .banner-slide img {
        height: auto;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 0;
    }

    .hero-insights {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        min-height: 360px;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .nav-shell,
    .nav-actions {
        flex-wrap: wrap;
    }

    .nav-actions,
    .hero-actions {
        width: 100%;
    }

    .nav-actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .nav-auth-btn {
        display: none;
    }

    .nav-auth-menu {
        display: inline-flex;
    }

    .nav-actions .btn,
    .hero-actions .btn,
    .auth-card .btn {
        width: 100%;
    }

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

    .hero-copy h1 {
        font-size: clamp(1.75rem, 8.5vw, 2.7rem);
    }

    .section-copy h2,
    .dashboard-intro h1 {
        font-size: clamp(1.45rem, 6.4vw, 2.15rem);
    }

    .hero-slide {
        min-height: 320px;
    }

    .hero-slide figcaption {
        inset: auto 16px 16px 16px;
        padding: 16px;
    }

    .hero-slide figcaption strong {
        font-size: 1.2rem;
    }

    .hero-slide figcaption p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-slider-button {
        width: 46px;
        height: 46px;
    }

    .hero-slider-button-prev {
        left: 12px;
    }

    .hero-slider-button-next {
        right: 12px;
    }

    .panel-card,
    .auth-card,
    .narrative-card,
    .roadmap-card,
    .service-card,
    .price-card,
    .contact-card,
    .dashboard-card {
        padding: 22px;
    }
}
