:root {
    --google-blue: #0b57d0;
    --google-blue-2: #1a73e8;
    --google-blue-soft: #e8f0fe;
    --google-green: #188038;
    --google-green-soft: #e6f4ea;
    --google-yellow: #f9ab00;
    --google-yellow-soft: #fef7e0;
    --google-red: #d93025;
    --google-red-soft: #fce8e6;
    --google-violet: #8430ce;
    --google-violet-soft: #f3e8fd;
    --google-cyan: #007b83;
    --google-cyan-soft: #e4f7f8;
    --google-orange: #e8710a;
    --google-orange-soft: #feefe3;
    --google-pink: #b80672;
    --google-pink-soft: #fce8f3;
    --ink: #1f1f1f;
    --ink-soft: #3c4043;
    --muted: #5f6368;
    --line: #e1e6ef;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --surface-blue: #f4f8ff;
    --shadow-xs: 0 1px 2px rgba(60, 64, 67, .12), 0 1px 3px 1px rgba(60, 64, 67, .06);
    --shadow-sm: 0 2px 6px rgba(60, 64, 67, .10), 0 1px 2px rgba(60, 64, 67, .08);
    --shadow-md: 0 8px 24px rgba(60, 64, 67, .12), 0 2px 6px rgba(60, 64, 67, .08);
    --shadow-lg: 0 20px 50px rgba(32, 55, 92, .16), 0 5px 14px rgba(60, 64, 67, .09);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --navbar-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--surface);
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

::selection {
    color: #fff;
    background: var(--google-blue);
}

.page-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1100;
    height: 3px;
    pointer-events: none;
}

.page-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--google-blue-2), #6d5dfc, var(--google-green), var(--google-yellow), var(--google-red));
    box-shadow: 0 0 10px rgba(26, 115, 232, .45);
    transition: width .08s linear;
}

/* Navbar */
.app-navbar {
    min-height: var(--navbar-height);
    padding: .65rem 0;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(218, 223, 232, .92);
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: min-height .25s ease, padding .25s ease, box-shadow .25s ease, background .25s ease;
}

.app-navbar.is-scrolled {
    min-height: 66px;
    padding: .35rem 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    margin-right: 1rem;
    min-width: max-content;
}

.brand-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(145deg, #1a73e8, #0b57d0 64%, #0842a0);
    box-shadow: 0 4px 11px rgba(11, 87, 208, .26), inset 0 1px 0 rgba(255, 255, 255, .30);
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    top: -13px;
    right: -9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
}

.brand-mark i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.06;
}

.brand-name {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -.045em;
}

.brand-name strong {
    color: var(--google-blue);
    font-weight: 700;
}

.brand-copy small {
    margin-top: .3rem;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    padding: .55rem .75rem !important;
    color: #3c4043;
    border-radius: 11px;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.navbar-nav .nav-link > i:not(.dropdown-toggle) {
    color: #6f7681;
    font-size: .86rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--google-blue);
    background: var(--google-blue-soft);
}

.navbar-nav .nav-link:hover > i {
    color: var(--google-blue);
}

.navbar-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(350px, 28vw);
    min-width: 240px;
    height: 46px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #f0f4f9;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, width .2s ease;
}

.navbar-search:focus-within {
    background: #fff;
    border-color: #c2d7fa;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, .10), var(--shadow-xs);
}

.navbar-search > i {
    position: absolute;
    left: 1rem;
    z-index: 2;
    color: #5f6368;
    font-size: .9rem;
    pointer-events: none;
}

.navbar-search .form-control {
    width: 100%;
    height: 100%;
    padding: .68rem 3rem .68rem 2.75rem;
    color: var(--ink);
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none !important;
    font-size: .9rem;
}

.navbar-search .form-control::placeholder {
    color: #7b8087;
}

.navbar-search kbd {
    position: absolute;
    right: .62rem;
    padding: .18rem .38rem;
    color: #6d7278;
    border: 1px solid #d5d9df;
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: .62rem;
    font-weight: 500;
}

.navbar-actions .btn,
.btn-primary-app,
.btn-outline-primary-app,
.btn-ghost-app,
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .68rem 1.05rem;
    border-radius: 13px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary-app {
    color: #fff !important;
    border: 1px solid var(--google-blue);
    background: linear-gradient(145deg, #1a73e8, #0b57d0);
    box-shadow: 0 3px 8px rgba(11, 87, 208, .22);
}

.btn-primary-app:hover,
.btn-primary-app:focus {
    color: #fff !important;
    border-color: #0842a0;
    background: linear-gradient(145deg, #1769d2, #0842a0);
    box-shadow: 0 7px 17px rgba(11, 87, 208, .28);
    transform: translateY(-1px);
}

.btn-outline-primary-app {
    color: var(--google-blue) !important;
    border: 1px solid #a8c7fa;
    background: #fff;
}

.btn-outline-primary-app:hover,
.btn-outline-primary-app:focus {
    color: #0842a0 !important;
    border-color: #7baaf7;
    background: var(--google-blue-soft);
    transform: translateY(-1px);
}

.btn-ghost-app {
    color: #3c4043 !important;
    border: 1px solid transparent;
    background: transparent;
}

.btn-ghost-app:hover,
.btn-ghost-app:focus {
    color: var(--google-blue) !important;
    background: var(--google-blue-soft);
}

.navbar-toggler {
    width: 45px;
    height: 42px;
    padding: .55rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #3c4043;
    transition: transform .2s ease;
}

.profile-chip {
    gap: .65rem !important;
    padding: .3rem .55rem .3rem .35rem !important;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.profile-chip img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
}

.profile-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.profile-copy strong {
    max-width: 120px;
    overflow: hidden;
    color: var(--ink);
    font-size: .82rem;
    text-overflow: ellipsis;
}

.profile-copy small {
    margin-top: .22rem;
    color: var(--muted);
    font-size: .67rem;
}

.material-menu {
    min-width: 230px;
    padding: .55rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.material-menu .dropdown-header {
    padding: .65rem .75rem .35rem;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.material-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .72rem;
    padding: .72rem .8rem;
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: .88rem;
}

.material-menu .dropdown-item i {
    width: 18px;
    color: #667085;
}

.material-menu .dropdown-item:hover {
    color: var(--google-blue);
    background: var(--google-blue-soft);
}

.flash-container {
    position: relative;
    z-index: 20;
    margin-top: 1rem;
}

.material-alert {
    display: flex;
    align-items: center;
    gap: .7rem;
    border-width: 0 0 0 4px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    font-size: 1rem;
}

/* Hero */
.hero-section {
    position: relative;
    background: #0b315f;
}

.hero-section .carousel-item {
    position: relative;
    height: 680px;
    min-height: 680px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    filter: saturate(.9) contrast(1.02);
}

.carousel-item.active .hero-image {
    animation: heroZoom 7s ease-out both;
}

@keyframes heroZoom {
    from { transform: scale(1.055); }
    to { transform: scale(1.01); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 28, 62, .94) 0%, rgba(7, 45, 88, .82) 40%, rgba(10, 55, 100, .36) 72%, rgba(10, 50, 89, .16) 100%),
        linear-gradient(0deg, rgba(3, 25, 54, .40) 0%, rgba(3, 25, 54, 0) 46%);
}

.hero-grid-pattern,
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .16;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.min-vh-hero {
    min-height: 680px;
}

.hero-content {
    max-width: 690px;
    padding: 3.5rem 0 6.5rem;
    color: #fff;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--google-blue);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-kicker {
    margin-bottom: 1.25rem;
    padding: .46rem .78rem;
    color: #e8f0fe;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #72e197;
    box-shadow: 0 0 0 5px rgba(114, 225, 151, .15);
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(114, 225, 151, .72);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(.7); }
    100% { opacity: 0; transform: scale(1.65); }
}

.hero-title {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 5.15rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.hero-title span {
    display: block;
    margin-top: .12em;
    color: #b9d3ff;
    font-weight: 400;
}

.hero-copy {
    max-width: 610px;
    margin: 1.55rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.hero-actions .btn-lg {
    min-height: 52px;
    padding: .78rem 1.28rem;
    border-radius: 14px;
    font-size: .94rem;
}

.btn-glass {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .11);
    backdrop-filter: blur(12px);
}

.btn-glass:hover,
.btn-glass:focus {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 2rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatars span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: -7px;
    color: #174ea6;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: #e8f0fe;
    box-shadow: var(--shadow-xs);
    font-size: .72rem;
}

.trust-avatars span:first-child {
    margin-left: 0;
}

.trust-avatars span:nth-child(2) {
    color: #137333;
    background: #e6f4ea;
}

.trust-avatars span:nth-child(3) {
    color: #b06000;
    background: #fef7e0;
}

.hero-trust > div:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-trust strong {
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
}

.hero-trust small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
}

.hero-dashboard {
    position: relative;
    width: min(100%, 490px);
    margin: 2.5rem 0 6rem auto;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 26px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 70px rgba(0, 18, 42, .34), 0 2px 3px rgba(255, 255, 255, .35) inset;
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
    backdrop-filter: blur(18px);
}

.dashboard-topbar,
.dashboard-welcome,
.mini-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-topbar {
    padding: .1rem .15rem .9rem;
    border-bottom: 1px solid #e7ebf0;
}

.dashboard-brand-mini {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #174ea6;
    font-size: .82rem;
    font-weight: 600;
}

.dashboard-brand-mini i {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: #fff;
    border-radius: 9px;
    background: var(--google-blue);
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .26rem .52rem;
    color: #137333;
    border-radius: 999px;
    background: #e6f4ea;
    font-size: .64rem;
    font-weight: 600;
}

.online-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e8e3e;
}

.dashboard-welcome {
    padding: 1rem .15rem .8rem;
}

.dashboard-welcome > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.dashboard-welcome small,
.dashboard-metrics small,
.mini-task-card small {
    color: #7c828c;
    font-size: .67rem;
}

.dashboard-welcome strong {
    margin-top: .18rem;
    color: #202124;
    font-size: .98rem;
    font-weight: 600;
}

.dashboard-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #174ea6;
    border-radius: 11px;
    background: #e8f0fe;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}

.dashboard-metrics > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .72rem;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(60, 64, 67, .07);
}

.metric-icon,
.quick-icon,
.float-icon {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    margin-bottom: .55rem;
    border-radius: 9px;
    font-size: .7rem;
}

.metric-icon.blue,
.quick-icon.blue,
.float-icon.blue { color: #174ea6; background: #e8f0fe; }
.metric-icon.green,
.quick-icon.green,
.float-icon.green { color: #137333; background: #e6f4ea; }
.metric-icon.yellow,
.quick-icon.yellow,
.float-icon.yellow { color: #b06000; background: #fef7e0; }
.quick-icon.red,
.float-icon.red { color: #b3261e; background: #fce8e6; }

.dashboard-metrics strong {
    margin: .1rem 0;
    color: #202124;
    font-size: 1.05rem;
    font-weight: 600;
}

.dashboard-metrics em {
    overflow: hidden;
    color: #1e8e3e;
    font-size: .56rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: 1.45fr .85fr;
    gap: .65rem;
    margin-top: .7rem;
}

.mini-chart-card,
.mini-task-card {
    min-width: 0;
    padding: .75rem;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    background: #fff;
}

.mini-card-title {
    color: #4c5158;
    font-size: .66rem;
    font-weight: 500;
}

.mini-card-title i {
    color: #9aa0a6;
}

.mini-bars {
    display: flex;
    align-items: end;
    gap: .38rem;
    height: 52px;
    margin-top: .6rem;
}

.mini-bars i {
    flex: 1;
    min-width: 5px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #70a4f5, #1a73e8);
}

.mini-task-card {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.task-check {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    color: #fff;
    border-radius: 10px;
    background: #1e8e3e;
    font-size: .7rem;
}

.mini-task-card > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.22;
}

.mini-task-card strong {
    margin: .1rem 0;
    color: #202124;
    font-size: .72rem;
    font-weight: 600;
}

.mini-task-card em {
    overflow: hidden;
    color: #7c828c;
    font-size: .56rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-stat-badge {
    position: absolute;
    right: -20px;
    bottom: -23px;
    display: flex;
    flex-direction: column;
    min-width: 122px;
    padding: .82rem 1rem;
    color: #174ea6;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 17px;
    background: #e8f0fe;
    box-shadow: var(--shadow-md);
}

.hero-stat-badge.green { color: #137333; background: #e6f4ea; }
.hero-stat-badge.yellow { color: #9a5500; background: #fef7e0; }
.hero-stat-badge strong { font-size: 1.25rem; line-height: 1; }
.hero-stat-badge span { margin-top: .3rem; font-size: .65rem; }

.hero-navigation {
    position: absolute;
    inset: auto 0 80px;
    z-index: 5;
    pointer-events: none;
}

.hero-navigation .container > * {
    pointer-events: auto;
}

.hero-section .carousel-indicators {
    display: flex;
    gap: .5rem;
}

.hero-section .carousel-indicators button {
    position: relative;
    width: 46px;
    height: 30px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, .55);
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, .20);
    background: transparent;
    text-indent: 0;
    opacity: 1;
    font-size: .68rem;
    font-weight: 500;
    text-align: left;
}

.hero-section .carousel-indicators button::after {
    content: "";
    position: absolute;
    inset: auto 0 -2px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width .28s ease;
}

.hero-section .carousel-indicators button.active {
    color: #fff;
}

.hero-section .carousel-indicators button.active::after {
    width: 100%;
}

.hero-arrows {
    display: flex;
    gap: .55rem;
}

.hero-arrows button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 13px;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(12px);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.hero-arrows button:hover {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.hero-quick-bar {
    position: relative;
    z-index: 6;
    margin-top: -1px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.quick-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-bar-grid > div {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    padding: 1.05rem 1.2rem;
    border-right: 1px solid var(--line);
}

.quick-bar-grid > div:first-child {
    border-left: 1px solid var(--line);
}

.quick-bar-grid .quick-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin: 0;
    border-radius: 11px;
    font-size: .8rem;
}

.quick-bar-grid p {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    line-height: 1.22;
}

.quick-bar-grid strong {
    color: #2f3337;
    font-size: .78rem;
    font-weight: 600;
}

.quick-bar-grid small {
    margin-top: .25rem;
    overflow: hidden;
    color: #73777d;
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* General sections */
.section-space {
    position: relative;
    padding: 6.5rem 0;
}

.section-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.section-shape-blue {
    top: 50px;
    left: -210px;
    border: 55px solid #e8f0fe;
    opacity: .75;
}

.section-kicker {
    margin-bottom: .9rem;
}

.section-kicker > span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.section-title {
    margin: 0;
    color: #202124;
    font-size: clamp(2rem, 3.5vw, 3.45rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.section-subtitle {
    max-width: 680px;
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 3.6rem;
}

.product-section {
    background: #fff;
}

.product-checks {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.product-checks > div {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.product-checks > div > i {
    margin-top: .18rem;
    color: var(--google-green);
    font-size: 1rem;
}

.product-checks span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.product-checks strong {
    color: #303134;
    font-size: .9rem;
    font-weight: 600;
}

.product-checks small {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .8rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--google-blue);
    font-size: .88rem;
    font-weight: 600;
}

.text-link i {
    transition: transform .18s ease;
}

.text-link:hover i {
    transform: translateX(4px);
}

.solution-card,
.module-card,
.post-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.solution-card {
    min-height: 245px;
    padding: 1.35rem;
    border-radius: 20px;
}

.solution-card:hover,
.module-card:hover,
.post-card:hover {
    border-color: #c7d5e7;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.solution-icon,
.module-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 15px;
    font-size: 1.05rem;
}

.solution-icon.blue,
.module-icon.blue { color: #174ea6; background: var(--google-blue-soft); }
.solution-icon.green,
.module-icon.green { color: #137333; background: var(--google-green-soft); }
.solution-icon.yellow,
.module-icon.yellow { color: #9a5500; background: var(--google-yellow-soft); }
.solution-icon.red,
.module-icon.red { color: #b3261e; background: var(--google-red-soft); }
.module-icon.violet { color: #681da8; background: var(--google-violet-soft); }
.module-icon.cyan { color: #00666d; background: var(--google-cyan-soft); }
.module-icon.orange { color: #b85b00; background: var(--google-orange-soft); }
.module-icon.pink { color: #9c095c; background: var(--google-pink-soft); }

.solution-number {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    color: #d9dee6;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -.03em;
}

.solution-card h3,
.module-card h3,
.post-card h3 {
    color: #202124;
    font-weight: 600;
    line-height: 1.3;
}

.solution-card h3 {
    margin: 1.25rem 0 .55rem;
    font-size: 1.02rem;
}

.solution-card p,
.module-card p,
.post-card p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.65;
}

.card-corner {
    position: absolute;
    right: 1.1rem;
    bottom: 1rem;
    color: #b1b7bf;
    font-size: .75rem;
    transition: color .18s ease, transform .18s ease;
}

.solution-card:hover .card-corner {
    color: var(--google-blue);
    transform: translate(2px, -2px);
}

/* Roles */
.roles-section {
    overflow: hidden;
    border-top: 1px solid #e9edf2;
    border-bottom: 1px solid #e9edf2;
    background:
        radial-gradient(circle at 8% 20%, rgba(232, 240, 254, .95), transparent 29%),
        radial-gradient(circle at 94% 82%, rgba(230, 244, 234, .85), transparent 26%),
        #f8fafc;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .9rem;
}

.role-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 205px;
    padding: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(214, 220, 229, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .90);
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(12px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.role-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: var(--role-soft, #e8f0fe);
    transition: transform .3s ease;
}

.role-card:hover {
    border-color: #c4d2e6;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.role-card:hover::after {
    transform: scale(1.18);
}

.role-blue { --role-color: #174ea6; --role-soft: #e8f0fe; }
.role-green { --role-color: #137333; --role-soft: #e6f4ea; }
.role-yellow { --role-color: #9a5500; --role-soft: #fef7e0; }
.role-red { --role-color: #b3261e; --role-soft: #fce8e6; }
.role-violet { --role-color: #681da8; --role-soft: #f3e8fd; }

.role-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--role-color);
    border-radius: 16px;
    background: var(--role-soft);
    font-size: 1.05rem;
}

.role-card > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    line-height: 1.2;
}

.role-card small {
    color: var(--muted);
    font-size: .68rem;
}

.role-card h3 {
    margin: .25rem 0 0;
    color: #202124;
    font-size: .98rem;
    font-weight: 600;
}

.role-arrow {
    position: absolute;
    right: 1.1rem;
    bottom: 1.15rem;
    z-index: 2;
    color: var(--role-color);
    font-size: .78rem;
    transition: transform .18s ease;
}

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

/* Modules */
.modules-section {
    background: #fff;
}

.module-card {
    min-height: 250px;
    padding: 1.35rem;
    border-radius: 19px;
}

.module-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-index {
    color: #c6cbd2;
    font-size: .76rem;
    font-weight: 600;
}

.module-card h3 {
    margin: 1.3rem 0 .55rem;
    font-size: 1rem;
}

.module-line {
    position: absolute;
    right: 1.35rem;
    bottom: 1.25rem;
    left: 1.35rem;
    height: 3px;
    border-radius: 999px;
    opacity: .7;
    background: var(--google-blue);
    transform: scaleX(.22);
    transform-origin: left;
    transition: transform .3s ease, opacity .3s ease;
}

.module-line.green { background: var(--google-green); }
.module-line.yellow { background: var(--google-yellow); }
.module-line.red { background: var(--google-red); }
.module-line.violet { background: var(--google-violet); }
.module-line.cyan { background: var(--google-cyan); }
.module-line.orange { background: var(--google-orange); }
.module-line.pink { background: var(--google-pink); }

.module-card:hover .module-line {
    opacity: 1;
    transform: scaleX(1);
}

/* Experience band */
.experience-band {
    padding: 0 0 2rem;
    background: #fff;
}

.experience-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .20), transparent 25%),
        linear-gradient(110deg, #0b57d0, #3268c9 56%, #5b64d8);
    box-shadow: 0 12px 30px rgba(11, 87, 208, .22);
}

.experience-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #174ea6;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.experience-inner > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.experience-inner small {
    color: rgba(255, 255, 255, .68);
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.experience-inner strong {
    margin-top: .16rem;
    font-size: .98rem;
    font-weight: 500;
}

.experience-inner a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Benefits */
.benefits-section {
    overflow: hidden;
    background: #f8fafc;
}

.benefit-row {
    margin-top: 5rem;
}

.benefit-row:first-of-type {
    margin-top: 4rem;
}

.benefit-visual {
    position: relative;
    padding: .7rem;
    border: 1px solid #dce3eb;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.benefit-visual::before {
    content: "";
    position: absolute;
    inset: 20px -18px -18px 30px;
    z-index: -1;
    border-radius: 28px;
    background: #e8f0fe;
}

.benefit-row:nth-of-type(3) .benefit-visual::before {
    inset: 20px 30px -18px -18px;
    background: #e6f4ea;
}

.benefit-visual img {
    display: block;
    width: 100%;
    min-height: 370px;
    max-height: 470px;
    object-fit: cover;
    border-radius: 20px;
}

.visual-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 190px;
    padding: .75rem .9rem;
    border: 1px solid rgba(220, 225, 232, .95);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.visual-float-top {
    top: 30px;
    right: -28px;
}

.visual-float-top.right {
    right: auto;
    left: -28px;
}

.visual-float-bottom {
    right: 30px;
    bottom: -22px;
}

.visual-float-bottom.left {
    right: auto;
    left: 30px;
}

.visual-float .float-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 11px;
}

.visual-float > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.visual-float small {
    color: var(--muted);
    font-size: .65rem;
}

.visual-float strong {
    margin-top: .2rem;
    color: #202124;
    font-size: .79rem;
    font-weight: 600;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .42rem .72rem;
    color: #174ea6;
    border: 1px solid #d2e3fc;
    border-radius: 999px;
    background: #e8f0fe;
    font-size: .72rem;
    font-weight: 600;
}

.benefit-row h3 {
    margin: 0;
    color: #202124;
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 500;
    line-height: 1.17;
    letter-spacing: -.04em;
}

.benefit-row p {
    margin: 1.15rem 0 0;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.75;
}

.clean-list {
    display: grid;
    gap: .75rem;
    margin: 1.5rem 0 1.8rem;
    padding: 0;
    list-style: none;
}

.clean-list li {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #41454a;
    font-size: .86rem;
}

.clean-list i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #137333;
    border-radius: 50%;
    background: #e6f4ea;
    font-size: .62rem;
}

/* Posts */
.posts-section {
    background: #fff;
}

.posts-shell {
    padding: 2rem;
    border: 1px solid #e0e5ec;
    border-radius: 28px;
    background:
        radial-gradient(circle at 0 0, rgba(232, 240, 254, .75), transparent 25%),
        #f8fafc;
    box-shadow: var(--shadow-sm);
}

.portal-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 52px;
    margin-top: 1.6rem;
    border: 1px solid #d9e0e9;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.portal-search > i {
    position: absolute;
    left: 1rem;
    color: #6d7278;
}

.portal-search .form-control {
    height: 100%;
    padding: .7rem 3.6rem .7rem 2.7rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: .88rem;
}

.portal-search button {
    position: absolute;
    right: .42rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: var(--google-blue);
    transition: background .18s ease, transform .18s ease;
}

.portal-search button:hover {
    background: #0842a0;
    transform: translateX(1px);
}

.search-result-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    padding: .4rem .65rem;
    color: #5f6368;
    border-radius: 9px;
    background: #eef2f7;
    font-size: .72rem;
}

.post-card {
    border-radius: 18px;
}

.post-image-wrap {
    position: relative;
    height: 175px;
    overflow: hidden;
}

.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-card:hover .post-img {
    transform: scale(1.045);
}

.post-type {
    position: absolute;
    left: .85rem;
    bottom: .75rem;
    padding: .35rem .62rem;
    color: #174ea6;
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 999px;
    background: rgba(232, 240, 254, .94);
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(10px);
    font-size: .62rem;
    font-weight: 600;
}

.post-body {
    padding: 1rem;
}

.post-card h3 {
    margin: 0 0 .5rem;
    font-size: .94rem;
}

.post-card a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    color: var(--google-blue);
    font-size: .76rem;
    font-weight: 600;
}

.post-card a i {
    transition: transform .18s ease;
}

.post-card a:hover i {
    transform: translateX(3px);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 2rem;
    border: 1px dashed #cbd3dd;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.empty-state > span {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: #174ea6;
    border-radius: 18px;
    background: #e8f0fe;
    font-size: 1.3rem;
}

.empty-state h3 {
    margin: 1rem 0 .4rem;
    font-size: 1rem;
    font-weight: 600;
}

.empty-state p {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

/* CTA */
.cta-section {
    padding: 0 0 6.5rem;
    background: #fff;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 3.25rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(130, 177, 255, .42), transparent 27%),
        radial-gradient(circle at 10% 100%, rgba(72, 161, 105, .30), transparent 25%),
        linear-gradient(120deg, #073b82, #0b57d0 52%, #2c66c7);
    box-shadow: 0 22px 50px rgba(11, 87, 208, .24);
}

.cta-grid-pattern {
    z-index: 0;
    opacity: .18;
    mask-image: linear-gradient(90deg, #000, transparent 95%);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .4rem .7rem;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    font-size: .7rem;
    font-weight: 500;
}

.cta-panel h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.cta-panel p {
    max-width: 700px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
}

.cta-button {
    min-height: 54px;
    padding: .85rem 1.25rem;
    color: #174ea6;
    border: 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 20, 60, .18);
    font-size: .9rem;
    font-weight: 600;
}

.cta-button:hover {
    color: #0842a0;
    background: #f4f8ff;
    transform: translateY(-2px);
}

/* Footer */
.app-footer {
    position: relative;
    overflow: hidden;
    color: #c7d3e4;
    background: #0b1f3a;
    border-top: 1px solid #122b4d;
}

.footer-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}

.footer-orbit-one {
    width: 420px;
    height: 420px;
    top: -280px;
    right: -80px;
}

.footer-orbit-two {
    width: 260px;
    height: 260px;
    bottom: -190px;
    left: 8%;
}

.footer-top {
    padding: 4.2rem 0 3rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-size: 1.35rem;
    letter-spacing: -.04em;
}

.footer-brand .brand-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
}

.footer-brand strong {
    color: #8ab4f8;
}

.footer-description {
    max-width: 500px;
    margin: 1.25rem 0 0;
    color: #9eb0c5;
    font-size: .86rem;
    line-height: 1.75;
}

.footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.35rem;
}

.footer-chips span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .62rem;
    color: #b9c8d8;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    font-size: .66rem;
}

.app-footer h3 {
    margin: .35rem 0 1rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

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

.footer-links a {
    color: #9eb0c5;
    font-size: .78rem;
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-contact-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .7rem;
    padding: .9rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #8ab4f8;
    border-radius: 12px;
    background: rgba(138, 180, 248, .12);
}

.footer-contact-card > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-contact-card small {
    color: #7f94ab;
    font-size: .62rem;
}

.footer-contact-card strong {
    margin-top: .22rem;
    color: #fff;
    font-size: .76rem;
    font-weight: 500;
}

.footer-contact-card > a {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    color: #8ab4f8;
    border-radius: 9px;
    background: rgba(138, 180, 248, .10);
    font-size: .68rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    color: #7890a8;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .68rem;
}

.footer-bottom strong {
    color: #b8c8d9;
    font-weight: 500;
}

/* Floating buttons */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .65rem;
}

.floating-action {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 188px;
    padding: .55rem .75rem .55rem .55rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(25, 35, 50, .20), 0 2px 5px rgba(25, 35, 50, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.floating-action.quote {
    background: linear-gradient(145deg, #1a73e8, #0b57d0);
}

.floating-action.whatsapp {
    background: linear-gradient(145deg, #25d366, #169f4e);
}

.floating-action:hover {
    color: #fff;
    box-shadow: 0 14px 32px rgba(25, 35, 50, .26);
    transform: translateY(-2px);
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    font-size: 1rem;
}

.floating-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.16;
}

.floating-copy small {
    color: rgba(255, 255, 255, .74);
    font-size: .58rem;
}

.floating-copy strong {
    margin-top: .2rem;
    font-size: .74rem;
    font-weight: 600;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1040;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    color: #3c4043;
    border: 1px solid #d9dee5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    color: var(--google-blue);
    background: #f4f8ff;
}

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed,
.carousel-item.active [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

.hero-content,
.hero-dashboard {
    transition: opacity .55s ease, transform .55s ease;
}

.hero-content.hero-animate {
    animation: heroContentIn .7s ease both;
}

.hero-dashboard.hero-animate {
    animation: heroDashboardIn .8s .08s ease both;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDashboardIn {
    from { opacity: 0; transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) translateX(28px); }
    to { opacity: 1; transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) translateX(0); }
}

/* Responsive */
@media (max-width: 1399.98px) {
    .navbar-search {
        width: min(310px, 25vw);
    }

    .navbar-nav .nav-link {
        padding-inline: .6rem !important;
        font-size: .84rem;
    }
}

@media (max-width: 1199.98px) {
    :root {
        --navbar-height: 72px;
    }

    .app-navbar .navbar-collapse {
        margin-top: .7rem;
        padding: .7rem;
        border: 1px solid var(--line);
        border-radius: 17px;
        background: #fff;
        box-shadow: var(--shadow-md);
    }

    .navbar-search {
        width: 100%;
        min-width: 0;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: .72rem .8rem !important;
    }

    .navbar-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: .5rem;
        padding-top: .7rem;
        border-top: 1px solid var(--line);
    }

    .navbar-actions .nav-item,
    .navbar-actions .btn {
        width: 100%;
    }

    .profile-chip {
        display: flex !important;
    }

    .hero-title {
        font-size: clamp(2.7rem, 5.6vw, 4.4rem);
    }

    .hero-dashboard {
        transform: perspective(1200px) rotateY(-2deg);
    }

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

@media (max-width: 991.98px) {
    .hero-section .carousel-item,
    .min-vh-hero {
        height: 650px;
        min-height: 650px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4, 28, 62, .94), rgba(7, 45, 88, .78) 66%, rgba(10, 55, 100, .45));
    }

    .hero-content {
        max-width: 720px;
        padding-bottom: 7rem;
    }

    .hero-navigation {
        bottom: 76px;
    }

    .quick-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-bar-grid > div:nth-child(3) {
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    .quick-bar-grid > div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .section-space {
        padding: 5.2rem 0;
    }

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

    .role-card:last-child {
        grid-column: span 2;
        min-height: 150px;
    }

    .benefit-row {
        margin-top: 4rem;
    }

    .benefit-visual img {
        min-height: 320px;
    }

    .visual-float-top {
        right: 18px;
    }

    .visual-float-top.right {
        left: 18px;
    }

    .posts-shell {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .brand-copy small {
        display: none;
    }

    .hero-section .carousel-item,
    .min-vh-hero {
        height: 620px;
        min-height: 620px;
    }

    .hero-image {
        object-position: 62% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4, 28, 62, .94), rgba(7, 45, 88, .78) 75%, rgba(10, 55, 100, .62));
    }

    .hero-content {
        max-width: 100%;
        padding: 3rem 0 7rem;
    }

    .hero-title {
        font-size: clamp(2.45rem, 10.5vw, 3.65rem);
    }

    .hero-copy {
        font-size: .95rem;
    }

    .hero-trust {
        margin-top: 1.5rem;
    }

    .quick-bar-grid strong {
        font-size: .75rem;
    }

    .section-title {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

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

    .role-card,
    .role-card:last-child {
        grid-column: auto;
        min-height: 145px;
    }

    .experience-inner {
        grid-template-columns: auto 1fr;
    }

    .experience-inner a {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .benefit-visual {
        margin-inline: .35rem;
    }

    .visual-float {
        min-width: 174px;
    }

    .cta-panel {
        padding: 2.4rem 1.5rem;
        border-radius: 23px;
        text-align: center;
    }

    .cta-button {
        width: 100%;
    }

    .floating-actions {
        right: 10px;
        bottom: 72px;
        left: 10px;
        flex-direction: row;
        align-items: stretch;
        gap: .45rem;
    }

    .floating-action {
        flex: 1 1 50%;
        min-width: 0;
        justify-content: center;
        padding: .55rem;
        border-radius: 14px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .floating-copy small {
        display: none;
    }

    .floating-copy strong {
        margin: 0;
        font-size: .68rem;
    }

    .scroll-top {
        right: 12px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .app-navbar {
        padding-inline: .1rem;
    }

    .navbar-brand {
        gap: .55rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .navbar-actions {
        grid-template-columns: 1fr;
    }

    .hero-section .carousel-item,
    .min-vh-hero {
        height: 650px;
        min-height: 650px;
    }

    .hero-image {
        object-position: 67% center;
    }

    .hero-overlay {
        background: rgba(5, 34, 70, .80);
    }

    .hero-grid-pattern {
        opacity: .11;
        mask-image: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2.4rem 0 7.6rem;
        text-align: center;
    }

    .hero-kicker {
        font-size: .64rem;
        letter-spacing: .05em;
    }

    .hero-title {
        font-size: clamp(2.25rem, 11.5vw, 3.1rem);
        line-height: 1.02;
    }

    .hero-copy {
        max-width: 96%;
        font-size: .89rem;
        line-height: 1.65;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        justify-content: center;
        text-align: left;
    }

    .hero-navigation {
        bottom: 80px;
    }

    .hero-arrows {
        display: none;
    }

    .hero-navigation .container {
        justify-content: center !important;
    }

    .hero-section .carousel-indicators button {
        width: 38px;
    }

    .quick-bar-grid {
        grid-template-columns: 1fr;
    }

    .quick-bar-grid > div,
    .quick-bar-grid > div:first-child,
    .quick-bar-grid > div:nth-child(3) {
        padding: .8rem .35rem;
        border-right: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .quick-bar-grid > div:first-child {
        border-top: 0;
    }

    .quick-bar-grid .quick-icon {
        margin-left: .2rem;
    }

    .section-space {
        padding: 4.4rem 0;
    }

    .section-heading {
        margin-bottom: 2.6rem;
    }

    .solution-card,
    .module-card {
        min-height: 220px;
    }

    .experience-band {
        padding-bottom: 1rem;
    }

    .experience-inner {
        padding: 1.1rem;
        border-radius: 17px;
    }

    .experience-icon {
        width: 42px;
        height: 42px;
    }

    .experience-inner strong {
        font-size: .86rem;
    }

    .benefit-row {
        margin-top: 3.5rem;
    }

    .benefit-visual img {
        min-height: 280px;
    }

    .visual-float {
        position: relative;
        inset: auto !important;
        min-width: 0;
        margin-top: .65rem;
        box-shadow: var(--shadow-xs);
    }

    .posts-shell {
        padding: 1.15rem;
        border-radius: 22px;
    }

    .post-image-wrap {
        height: 195px;
    }

    .cta-section {
        padding-bottom: 5rem;
    }

    .footer-top {
        padding: 3.4rem 0 2.4rem;
    }

    .footer-bottom {
        font-size: .64rem;
        text-align: center;
    }

    .floating-action.quote .floating-copy strong {
        font-size: .62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ======================================================================
   COMPATIBILIDAD VISUAL DE PORTALES INTERNOS Y ACCESOS
   Mantiene el nuevo landing Material y restaura las pantallas del sistema.
   ====================================================================== */

:root {
    --soft: #f6f8fc;
    --soft-blue: #e8f0fe;
    --soft-green: #e6f4ea;
    --soft-yellow: #fef7e0;
    --soft-red: #fce8e6;
    --shadow: var(--shadow-xs);
    --shadow-hover: var(--shadow-lg);
}

.fw-black {
    font-weight: 700 !important;
}

.text-primary-app {
    color: var(--google-blue) !important;
}

.text-google-muted {
    color: var(--muted) !important;
}

.bg-soft {
    background: var(--surface-soft) !important;
}

.bg-white-clean {
    background: #fff !important;
}

.btn-material {
    min-height: 46px;
    padding: .72rem 1.1rem;
    border-radius: 13px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-material:hover,
.btn-material:focus {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.form-label {
    margin-bottom: .42rem;
    color: #3c4043;
    font-size: .82rem;
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 47px;
    padding: .68rem .9rem;
    color: var(--ink);
    border: 1px solid #d9dee7;
    border-radius: 13px;
    background-color: #fff;
    box-shadow: inset 0 1px 1px rgba(60, 64, 67, .025);
    font-size: .9rem;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:hover,
.form-select:hover {
    border-color: #bdc5d1;
}

.form-control:focus,
.form-select:focus {
    border-color: #8ab4f8;
    background-color: #fff;
    box-shadow: 0 0 0 .22rem rgba(26, 115, 232, .12);
}

.form-control::placeholder {
    color: #8a9099;
}

.material-card,
.table-card,
.page-head,
.stat-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.material-card {
    border-radius: 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.material-card:hover {
    border-color: #d5dce7;
    box-shadow: var(--shadow-sm);
}

/* Accesos de usuarios */
.auth-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(100vh - var(--navbar-height));
    padding: clamp(2rem, 5vw, 4.5rem) 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(26, 115, 232, .12), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(52, 168, 83, .10), transparent 25%),
        radial-gradient(circle at 68% 92%, rgba(249, 171, 0, .10), transparent 24%),
        linear-gradient(180deg, #fff 0%, #f6f9fe 100%);
}

.auth-shell::before,
.auth-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 38px;
    border: 1px solid rgba(26, 115, 232, .10);
    background: rgba(255, 255, 255, .45);
    transform: rotate(18deg);
}

.auth-shell::before {
    width: 170px;
    height: 170px;
    top: 8%;
    left: -72px;
}

.auth-shell::after {
    width: 220px;
    height: 220px;
    right: -96px;
    bottom: 8%;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .78fr);
    align-items: stretch;
    width: min(1160px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(218, 223, 232, .88);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-visual {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 610px;
    padding: clamp(2.4rem, 4vw, 4.25rem);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(5, 48, 112, .97), rgba(11, 87, 208, .93) 58%, rgba(0, 123, 131, .88));
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}

.auth-visual::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -125px;
    bottom: -145px;
    border: 58px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    width: min(590px, 100%);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    min-height: 34px;
    padding: .4rem .72rem;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.auth-visual h1 {
    max-width: 590px;
    margin: 1.4rem 0 1rem !important;
    color: #fff;
    font-size: clamp(2.15rem, 3.2vw, 3.35rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.auth-visual .lead {
    max-width: 590px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .98rem;
    line-height: 1.68;
}

.auth-visual .row > div > div {
    min-height: 58px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .10) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .83rem;
    font-weight: 500;
}

.auth-card {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.auth-grid .auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-shell > .auth-card {
    width: min(760px, 100%);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

.auth-card .card-header {
    padding: 2.25rem 2.5rem .55rem;
    color: var(--ink);
    border: 0;
    background: #fff;
}

.auth-card .card-header h1,
.auth-card .card-header h2 {
    color: var(--ink);
    font-weight: 600 !important;
    letter-spacing: -.025em;
}

.auth-card .card-header .text-white-50 {
    color: var(--muted) !important;
}

.auth-card .card-body {
    padding: 1.5rem 2.5rem 2.5rem !important;
}

.logo-google-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #fff;
    border-radius: 17px;
    background: linear-gradient(145deg, #1a73e8, #0b57d0 65%, #0842a0);
    box-shadow: 0 7px 18px rgba(11, 87, 208, .23), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.logo-google-mark::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: -5px;
    right: -4px;
    border-radius: 50%;
    background: var(--google-yellow);
    border: 4px solid #fff;
}

.access-box {
    padding: 1rem;
    border: 1px solid #e1e6ef;
    border-radius: 17px;
    background: #f7f9fc;
}

.access-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 42px;
    padding: .42rem 0;
    color: #3c4043;
    border-bottom: 1px dashed #d8dee8;
    font-size: .82rem;
}

.access-row:last-of-type {
    border-bottom: 0;
}

.access-row .btn {
    min-width: 62px;
    min-height: 34px;
    padding: .35rem .65rem;
    border-radius: 10px;
    font-size: .75rem;
}

/* Login administrador fuera del portal */
.admin-auth-page {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: clamp(1.25rem, 4vw, 3.5rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(26, 115, 232, .13), transparent 29%),
        radial-gradient(circle at 90% 88%, rgba(52, 168, 83, .10), transparent 26%),
        #f6f8fc;
}

.admin-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, .84fr);
    width: min(1080px, 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.admin-auth-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 625px;
    padding: clamp(2.5rem, 4vw, 4.2rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #172033, #0b3d75 58%, #0b57d0);
}

.admin-auth-hero::before,
.admin-auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.admin-auth-hero::before {
    width: 310px;
    height: 310px;
    top: -150px;
    right: -120px;
    border: 60px solid rgba(249, 171, 0, .14);
}

.admin-auth-hero::after {
    width: 250px;
    height: 250px;
    left: -110px;
    bottom: -120px;
    border: 48px solid rgba(255, 255, 255, .08);
}

.admin-auth-hero h1 {
    max-width: 560px;
    font-size: clamp(2.2rem, 3.4vw, 3.45rem) !important;
    font-weight: 600 !important;
    line-height: 1.06;
    letter-spacing: -.045em !important;
}

.admin-auth-hero .lead {
    font-size: .96rem;
    line-height: 1.68;
}

.admin-auth-hero .row > div > div {
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .09) !important;
    backdrop-filter: blur(8px);
    font-size: .82rem;
}

.admin-auth-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(2.25rem, 4vw, 3.6rem);
}

/* Paneles internos */
.app-layout {
    display: grid;
    grid-template-columns: 278px minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
    width: 100%;
    padding: 1.35rem;
    background: #f6f8fc;
}

.app-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    padding: .9rem;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-xs);
    scrollbar-width: thin;
}

.sidebar-card {
    position: relative;
    margin-bottom: .85rem;
    padding: 1rem;
    overflow: hidden;
    color: #fff;
    border-radius: 17px;
    background: linear-gradient(145deg, #1a73e8, #0b57d0 68%, #0842a0);
    box-shadow: 0 5px 14px rgba(11, 87, 208, .18);
}

.sidebar-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -52px;
    bottom: -58px;
    border: 18px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.sidebar-card > * {
    position: relative;
    z-index: 1;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 14px;
    background: #fff;
}

.sidebar-nav {
    display: grid;
    gap: .22rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 43px;
    padding: .62rem .7rem;
    color: #4a4f57;
    border-radius: 11px;
    font-size: .82rem;
    font-weight: 500;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.sidebar-nav a i {
    display: grid;
    place-items: center;
    width: 22px;
    color: #747b86;
    font-size: .9rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--google-blue);
    background: var(--google-blue-soft);
}

.sidebar-nav a:hover {
    transform: translateX(2px);
}

.sidebar-nav a.active i,
.sidebar-nav a:hover i {
    color: var(--google-blue);
}

.app-main {
    min-width: 0;
}

.page-head {
    position: relative;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    border-radius: 20px;
}

.page-head::after {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    top: -72px;
    right: -46px;
    border: 18px solid rgba(26, 115, 232, .055);
    border-radius: 50%;
    pointer-events: none;
}

.page-head h1 {
    font-weight: 600 !important;
    letter-spacing: -.025em;
}

.stat-card {
    position: relative;
    height: 100%;
    padding: 1.15rem;
    overflow: hidden;
    border-radius: 18px;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--google-blue);
}

.stat-card .stat-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    color: var(--google-blue);
    border-radius: 14px;
    background: var(--google-blue-soft);
    font-size: 1.08rem;
}

.stat-card .value {
    color: var(--ink);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
}

.stat-card.stat-green::before {
    background: var(--google-green);
}

.stat-card.stat-green .stat-icon {
    color: var(--google-green);
    background: var(--google-green-soft);
}

.stat-card.stat-yellow::before {
    background: var(--google-yellow);
}

.stat-card.stat-yellow .stat-icon {
    color: #a15c00;
    background: var(--google-yellow-soft);
}

.stat-card.stat-red::before {
    background: var(--google-red);
}

.stat-card.stat-red .stat-icon {
    color: var(--google-red);
    background: var(--google-red-soft);
}

.table-card {
    border-radius: 20px;
    overflow: hidden;
}

.table-card.p-4,
.material-card.p-4 {
    padding: 1.25rem !important;
}

.table-card .table {
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: .82rem .9rem;
    border-bottom-color: #e8ebf0;
}

.table thead th {
    color: #59606a;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody td {
    color: #3c4043;
    font-size: .82rem;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:hover td {
    background: #fafcff;
}

.thumb {
    width: 58px;
    height: 46px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f3f5f8;
}

.cover-profile {
    position: relative;
    height: 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(135deg, #0b57d0, #8ab4f8);
}

.cover-profile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 35, 75, .30));
}

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

.profile-avatar-big {
    position: relative;
    z-index: 2;
    width: 118px;
    height: 118px;
    margin-top: -59px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.post-card .post-img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    border-radius: 15px;
    background: #f1f3f4;
}

.mobile-only {
    display: none;
}

/* Compatibilidad de secciones heredadas que aún usan estas clases */
.feature-card {
    height: 100%;
    padding: 1.45rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.feature-card .icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: var(--google-blue);
    border-radius: 15px;
    background: var(--google-blue-soft);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}

.feature-card.green .icon {
    color: var(--google-green);
    background: var(--google-green-soft);
}

.feature-card.yellow .icon {
    color: #a15c00;
    background: var(--google-yellow-soft);
}

.feature-card.red .icon {
    color: var(--google-red);
    background: var(--google-red-soft);
}

.benefit-img {
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.benefit-img img {
    display: block;
    width: 100%;
    border-radius: 17px;
}

.band {
    padding: 1rem;
    color: #fff;
    background: linear-gradient(90deg, var(--google-blue), var(--google-green));
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

.cta-panel .container-inner {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

/* Ajustes responsive de portales y accesos */
@media (max-width: 1199.98px) {
    .auth-grid {
        grid-template-columns: minmax(0, 1fr) 430px;
    }

    .app-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        padding: 1rem;
    }
}

@media (max-width: 991.98px) {
    .auth-shell {
        min-height: auto;
        padding: 1.5rem .85rem 2.5rem;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        width: min(720px, 100%);
        border-radius: 24px;
    }

    .auth-visual {
        min-height: 0;
        padding: 2.2rem;
    }

    .auth-visual h1 {
        max-width: 620px;
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .auth-card .card-header {
        padding-top: 2rem;
    }

    .admin-auth-card {
        grid-template-columns: 1fr;
        width: min(720px, 100%);
    }

    .admin-auth-hero {
        min-height: 0;
        padding: 2.3rem;
    }

    .admin-auth-form {
        padding: 2.3rem;
    }

    .app-layout {
        display: block;
        padding: .85rem;
    }

    .app-sidebar {
        position: relative;
        top: auto;
        max-height: none;
        margin-bottom: 1rem;
        border-radius: 19px;
    }

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

    .sidebar-nav a {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .auth-visual .row,
    .admin-auth-hero .row {
        --bs-gutter-x: .65rem;
        --bs-gutter-y: .65rem;
    }

    .auth-visual .row > div > div,
    .admin-auth-hero .row > div > div {
        min-height: 50px;
        padding: .75rem !important;
    }

    .auth-card .card-header {
        padding: 1.75rem 1.4rem .45rem;
    }

    .auth-card .card-body {
        padding: 1.2rem 1.4rem 1.75rem !important;
    }

    .page-head {
        padding: 1.05rem;
    }

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

    .table-card {
        border-radius: 16px;
    }

    .table-responsive {
        font-size: .78rem;
    }
}

@media (max-width: 575.98px) {
    .auth-shell {
        padding-inline: .65rem;
    }

    .auth-grid,
    .auth-shell > .auth-card,
    .admin-auth-card {
        border-radius: 20px;
    }

    .auth-visual {
        padding: 1.65rem 1.3rem;
    }

    .auth-visual h1 {
        margin-top: 1rem !important;
        font-size: 2rem;
    }

    .auth-visual .lead {
        font-size: .88rem;
    }

    .auth-visual .row > div,
    .admin-auth-hero .row > div {
        width: 100%;
    }

    .admin-auth-page {
        padding: .65rem;
    }

    .admin-auth-hero,
    .admin-auth-form {
        padding: 1.6rem 1.25rem;
    }

    .admin-auth-hero h1 {
        font-size: 2rem !important;
    }

    .access-row {
        align-items: flex-start;
    }

    .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .sidebar-nav a {
        min-height: 42px;
    }

    .app-layout {
        padding: .55rem;
    }

    .page-head,
    .table-card,
    .material-card,
    .stat-card {
        border-radius: 15px;
    }

    .cover-profile {
        height: 170px;
    }

    .profile-avatar-big {
        width: 96px;
        height: 96px;
        margin-top: -48px;
        border-radius: 25px;
    }
}
