:root {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --surface-soft: #eef3f9;
    --surface-dark: #10241f;
    --panel: rgba(255, 255, 255, 0.9);
    --panel-2: #f2f6fa;
    --text: #102033;
    --text-soft: #546273;
    --text-faint: #7b8898;
    --muted: #546273;
    --line: rgba(16, 32, 51, 0.1);
    --line-strong: rgba(21, 48, 43, 0.22);
    --brand: #15302b;
    --brand-strong: #0f2521;
    --accent: #31c5ff;
    --accent-strong: #0d8dbe;
    --cyan: #0d8dbe;
    --blue: #31c5ff;
    --success: #149f69;
    --danger: #d64d5a;
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #edf5fb 44%, #e5edf6 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.88));
    --gradient-accent: linear-gradient(135deg, rgba(49, 197, 255, 0.2), rgba(21, 48, 43, 0.08));
    --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 22px 60px rgba(15, 23, 42, 0.11);
    --shadow-lg: 0 35px 90px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 0 0 1px rgba(49, 197, 255, 0.12), 0 18px 50px rgba(49, 197, 255, 0.18);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --max: 1180px;
    --header-height: 92px;
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 180ms;
    --dur-base: 360ms;
    --dur-slow: 650ms;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(49, 197, 255, 0.14), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(21, 48, 43, 0.09), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 52%, #eef3f9 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 320ms ease;
}

body.is-ready {
    opacity: 1;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 247, 251, 0.7);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition:
        background var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) var(--ease-smooth),
        box-shadow var(--dur-base) var(--ease-smooth),
        transform var(--dur-base) var(--ease-smooth);
}

.site-header.is-scrolled {
    background: rgba(248, 251, 255, 0.92);
    border-bottom-color: rgba(16, 32, 51, 0.08);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

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

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: contain;
    transition:
        transform var(--dur-base) var(--ease-smooth),
        filter var(--dur-base) var(--ease-smooth);
}

.brand:hover .brand-logo {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 10px 26px rgba(49, 197, 255, 0.18));
}

.brand-title {
    display: block;
    color: var(--brand);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.brand-subtitle,
.brand-location {
    display: block;
    color: var(--text-soft);
}

.brand-subtitle {
    font-size: 0.83rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-location {
    font-size: 0.72rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 600;
    transition:
        color var(--dur-fast) ease,
        background var(--dur-fast) ease,
        transform var(--dur-fast) ease;
}

.nav a::after {
    content: "";
    position: absolute;
    right: 14px;
    left: 14px;
    bottom: 6px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), transparent 88%);
    transition: transform var(--dur-base) var(--ease-smooth);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
    color: var(--brand);
    background: rgba(49, 197, 255, 0.08);
    transform: translateY(-1px);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    cursor: pointer;
    transition:
        border-color var(--dur-fast) ease,
        transform var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(49, 197, 255, 0.24);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--dur-base) var(--ease-smooth), opacity var(--dur-fast) ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-section,
.simple-page,
.blog-block,
.blog-detail-block,
.service-detail-block,
.faq-block {
    position: relative;
}

.hero-section {
    padding: 110px 0 92px;
    overflow: clip;
    background: var(--gradient-hero);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(8px);
    animation: floatOrb 14s ease-in-out infinite;
}

.hero-section::before {
    top: 72px;
    right: min(9vw, 90px);
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(49, 197, 255, 0.22), transparent 70%);
}

.hero-section::after {
    bottom: 18px;
    left: min(6vw, 72px);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(21, 48, 43, 0.1), transparent 72%);
    animation-delay: -5s;
}

.hero-grid,
.contact-grid,
.portal-grid {
    display: grid;
    gap: 30px;
}

.hero-grid,
.contact-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    align-items: center;
}

.portal-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    align-items: stretch;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy > * {
    animation: heroRise 820ms var(--ease-smooth) both;
}

.hero-copy > *:nth-child(1) {
    animation-delay: 80ms;
}

.hero-copy > *:nth-child(2) {
    animation-delay: 150ms;
}

.hero-copy > *:nth-child(3) {
    animation-delay: 240ms;
}

.hero-copy > *:nth-child(4) {
    animation-delay: 330ms;
}

.hero-copy > *:nth-child(5) {
    animation-delay: 410ms;
}

.hero-logo {
    width: 78px;
    height: 78px;
    margin-bottom: 20px;
    filter: drop-shadow(0 12px 30px rgba(49, 197, 255, 0.18));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(49, 197, 255, 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7ddeff);
    box-shadow: 0 0 0 6px rgba(49, 197, 255, 0.1);
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.7rem, 5.5vw, 4.8rem);
    line-height: 1.02;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent-strong) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead,
.muted,
.section-head p,
.site-footer p {
    color: var(--text-soft);
}

.lead {
    max-width: 720px;
    margin-top: 20px;
    font-size: clamp(1.05rem, 1.7vw, 1.18rem);
}

.section {
    position: relative;
    padding: 96px 0;
}

.alt-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(233, 240, 248, 0.54));
}

.section-head,
.section-mini-head {
    max-width: 760px;
}

.section-head {
    margin: 0 auto 42px;
    text-align: center;
}

.section-head.tight {
    margin-bottom: 28px;
}

.section-head .badge,
.section-mini-head .badge {
    margin-bottom: 18px;
}

.section-head p {
    margin: 16px auto 0;
    max-width: 620px;
    font-size: 1.04rem;
}

.cards-grid,
.feature-grid,
.stats-grid,
.footer-grid,
.portal-sample,
.form-grid,
.form-row {
    display: grid;
    gap: 20px;
}

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

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

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

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

.panel,
.service-card,
.mini-card,
.contact-item,
.faq-item,
.blog-card,
.cta-block,
.hero-panel,
.portal-sidebar,
.portal-main,
.stat-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: var(--gradient-card);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

.panel,
.hero-panel,
.blog-card,
.portal-sidebar,
.portal-main {
    border-radius: var(--radius-lg);
    padding: 30px;
}

.panel::before,
.hero-panel::before,
.service-card::before,
.blog-card::before,
.cta-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(49, 197, 255, 0.12), transparent 45%, rgba(21, 48, 43, 0.06));
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    pointer-events: none;
}

.panel:hover,
.hero-panel:hover,
.service-card:hover,
.blog-card:hover,
.contact-item:hover,
.stat-box:hover,
.mini-card:hover {
    transform: translateY(-6px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.panel:hover::before,
.hero-panel:hover::before,
.service-card:hover::before,
.blog-card:hover::before,
.cta-block:hover::before {
    opacity: 1;
}

.hero-panel {
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto 24px 0 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(49, 197, 255, 0.34), transparent);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition:
        transform var(--dur-base) var(--ease-smooth),
        box-shadow var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) var(--ease-smooth),
        background var(--dur-base) var(--ease-smooth),
        color var(--dur-base) var(--ease-smooth);
    isolation: isolate;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    z-index: -1;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-3px);
}

.btn:hover::before,
.btn:focus-visible::before {
    opacity: 1;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand) 0%, #20443c 100%);
    box-shadow: 0 16px 36px rgba(21, 48, 43, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 24px 46px rgba(21, 48, 43, 0.28);
}

.btn-secondary {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(16, 32, 51, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

.btn-link {
    color: var(--accent-strong);
    min-height: auto;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
}

.btn-link:hover,
.btn-link:focus-visible {
    transform: translateX(4px);
}

.mini-card,
.stat-box {
    border-radius: 22px;
    padding: 24px;
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.mini-card strong,
.stat-box strong {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.mini-card span,
.stat-box span {
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 600;
}

.cards-grid .panel,
.service-card,
.faq-item,
.blog-card,
.contact-item,
.mini-card,
.stat-box,
.cta-block {
    transition:
        transform var(--dur-base) var(--ease-smooth),
        box-shadow var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        background var(--dur-base) ease;
}

.service-card {
    border-radius: 24px;
    padding: 30px;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(49, 197, 255, 0.1));
    transform: scaleX(0.24);
    transform-origin: left;
    transition: transform var(--dur-slow) var(--ease-smooth);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(21, 48, 43, 0.92), rgba(49, 197, 255, 0.75));
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 30px rgba(49, 197, 255, 0.18);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        box-shadow var(--dur-base) ease;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 24px 40px rgba(49, 197, 255, 0.22);
}

.bullet-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.bullet-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 32, 51, 0.08);
    color: var(--text-soft);
    transition: transform var(--dur-base) var(--ease-smooth), border-color var(--dur-base) ease;
}

.bullet-list div::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--success));
    box-shadow: 0 0 0 5px rgba(49, 197, 255, 0.1);
}

.bullet-list div:hover {
    transform: translateX(4px);
    border-color: rgba(49, 197, 255, 0.18);
}

.clean-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.clean-list li {
    position: relative;
    padding: 12px 0 12px 26px;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.clean-list li:last-child {
    border-bottom: 0;
}

.clean-list li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.portal-sample {
    grid-template-columns: 220px minmax(0, 1fr);
    margin-top: 28px;
}

.portal-sidebar a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text-soft);
    transition:
        background var(--dur-fast) ease,
        color var(--dur-fast) ease,
        transform var(--dur-fast) ease;
}

.portal-sidebar a:hover {
    background: rgba(49, 197, 255, 0.09);
    color: var(--brand);
    transform: translateX(3px);
}

.chat-panel {
    padding: 30px;
}

.chat-bubble {
    max-width: 88%;
    margin-bottom: 12px;
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
}

.chat-bubble.left {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(16, 32, 51, 0.08);
}

.chat-bubble.right {
    margin-left: auto;
    color: #ffffff;
    background: linear-gradient(135deg, #16312c, #2a5861);
    box-shadow: 0 16px 34px rgba(21, 48, 43, 0.18);
}

.chat-input-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    outline: 0;
    transition:
        transform var(--dur-fast) ease,
        border-color var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease,
        background var(--dur-fast) ease;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
input.focused,
select.focused,
textarea.focused {
    transform: translateY(-1px);
    border-color: rgba(49, 197, 255, 0.36);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 5px rgba(49, 197, 255, 0.12);
}

input.has-value,
select.selected,
textarea.has-value {
    border-color: rgba(21, 48, 43, 0.18);
}

.success-message,
.error-message,
.success-box,
.error-box {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid transparent;
}

.success-message,
.success-box {
    color: var(--success);
    border-color: rgba(20, 159, 105, 0.2);
    background: rgba(20, 159, 105, 0.09);
}

.error-message,
.error-box {
    color: var(--danger);
    border-color: rgba(214, 77, 90, 0.2);
    background: rgba(214, 77, 90, 0.08);
}

.form-error {
    color: var(--danger);
    font-size: 0.86rem;
}

.contact-info {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(49, 197, 255, 0.14), rgba(21, 48, 43, 0.1));
    color: var(--accent-strong);
    transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) ease;
}

.contact-item:hover .contact-icon {
    transform: translateY(-2px) rotate(-4deg);
    box-shadow: var(--shadow-glow);
}

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

.faq-item {
    border-radius: 24px;
}

.faq-question-btn {
    width: 100%;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.faq-question-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
}

.faq-question-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(49, 197, 255, 0.1);
    color: var(--accent-strong);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        background var(--dur-base) ease,
        color var(--dur-base) ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur-base) var(--ease-smooth);
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-soft);
}

.faq-answer-content > *:first-child {
    margin-top: 0;
}

.faq-answer-content > *:last-child {
    margin-bottom: 22px;
}

.faq-item.active {
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-question-icon {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--accent-strong));
    transform: rotate(45deg);
}

.faq-cta {
    margin-top: 36px;
}

.cta-block {
    margin: 0 auto;
    padding: 36px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(16, 32, 51, 0.94), rgba(21, 48, 43, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.14), transparent);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.cta-block .cta-title,
.cta-block .cta-desc {
    position: relative;
    z-index: 1;
}

.cta-block .cta-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cta-block .cta-desc {
    max-width: 650px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.site-footer {
    position: relative;
    padding: 72px 0 82px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(228, 236, 244, 0.78));
    border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    width: min(620px, 88vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(49, 197, 255, 0.32), transparent);
}

.footer-grid {
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr;
}

.footer-brand {
    color: var(--brand);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
}

.site-footer h3 {
    margin-bottom: 14px;
    font-size: 1.02rem;
}

.site-footer a {
    color: var(--text-soft);
    transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.site-footer a:hover {
    color: var(--brand);
    transform: translateX(2px);
}

.simple-page,
.blog-block,
.blog-detail-block,
.service-detail-block,
.faq-block {
    padding: 88px 0;
}

.simple-page-box {
    padding: 38px;
}

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

.max-w-2xl {
    max-width: 860px;
}

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

.py-10 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-16 {
    padding-top: 64px;
    padding-bottom: 64px;
}

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

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

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

.mb-6 {
    margin-bottom: 24px;
}

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

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

.ml-4 {
    margin-left: 16px;
}

.ml-6 {
    margin-left: 24px;
}

.text-xs {
    font-size: 0.8rem;
}

.text-sm {
    font-size: 0.92rem;
}

.text-3xl {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

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

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

.text-gray-400 {
    color: var(--text-faint);
}

.grid {
    display: grid;
}

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

.list-disc {
    padding-left: 20px;
}

.list-disc li {
    list-style: disc;
}

.gap-8 {
    gap: 32px;
}

.blog-card {
    border-radius: 24px;
    padding: 28px;
}

.blog-card h2,
.blog-card h3 {
    margin-bottom: 10px;
}

.blog-card p,
.blog-detail-block p,
.service-detail-block p,
.service-detail-block li {
    color: var(--text-soft);
}

.about-page .section {
    padding-bottom: 82px;
}

.about-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 251, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.1), transparent);
}

.about-grid,
.about-certificate-grid {
    display: grid;
    gap: 24px;
}

.about-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    align-items: stretch;
}

.about-trust-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 245, 0.92)),
        linear-gradient(135deg, rgba(20, 159, 105, 0.08), rgba(49, 197, 255, 0.06));
}

.about-trust-points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.about-trust-points div {
    position: relative;
    padding: 14px 16px 14px 42px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-soft);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.about-trust-points div::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 17px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--accent));
    box-shadow: 0 0 0 6px rgba(20, 159, 105, 0.1);
}

.about-trust-points div:hover {
    transform: translateX(4px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

.about-technology-list,
.about-tech-tags {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.about-technology-list div {
    position: relative;
    padding: 14px 16px 14px 42px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-soft);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.about-technology-list div::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 17px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--success));
    box-shadow: 0 0 0 6px rgba(49, 197, 255, 0.1);
}

.about-technology-list div:hover {
    transform: translateX(4px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

.about-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-tech-tags span {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand);
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.about-tech-tags span:hover {
    transform: translateY(-2px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.about-certificate-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
}

.about-certificate-stack {
    display: grid;
    gap: 20px;
}

.about-certificate-card {
    padding: 24px;
}

.about-certificate-download {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-certificate-file {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-certificate-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(21, 48, 43, 0.92), rgba(49, 197, 255, 0.75));
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 30px rgba(49, 197, 255, 0.16);
}

.about-certificate-preview {
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 251, 0.82));
}

.about-certificate-image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.about-certificate-actions {
    margin-top: 0;
}

.about-assurance-band {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(16, 32, 51, 0.94), rgba(21, 48, 43, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.12), transparent);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.about-assurance-band .section-mini-head,
.about-assurance-band .muted {
    position: relative;
    z-index: 1;
}

.about-assurance-band .muted {
    max-width: 920px;
    color: rgba(255, 255, 255, 0.78);
}

.about-team-grid {
    align-items: stretch;
}

.about-team-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
}

.about-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 22px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.about-team-role {
    margin: 0;
    color: var(--brand);
    font-size: 0.98rem;
    font-weight: 600;
}

.about-team-skill {
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 32, 51, 0.08);
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.portfolio-page .section {
    padding-bottom: 82px;
}

.portfolio-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 251, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.1), transparent);
}

.portfolio-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.portfolio-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.portfolio-trust-summary,
.portfolio-assurance-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 245, 0.92)),
        linear-gradient(135deg, rgba(20, 159, 105, 0.08), rgba(49, 197, 255, 0.06));
}

.portfolio-reach-grid {
    align-items: stretch;
}

.portfolio-reach-card {
    min-height: 100%;
}

.portfolio-reach-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 0.9rem;
}

.portfolio-work-grid {
    align-items: stretch;
}

.portfolio-work-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
}

.portfolio-values {
    display: grid;
    gap: 12px;
}

.portfolio-values div {
    position: relative;
    padding: 14px 16px 14px 42px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-soft);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.portfolio-values div::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 17px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--success));
    box-shadow: 0 0 0 6px rgba(49, 197, 255, 0.1);
}

.portfolio-values div:hover {
    transform: translateX(4px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

.portfolio-cta-band {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(16, 32, 51, 0.94), rgba(21, 48, 43, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.14), transparent);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.portfolio-cta-band .section-mini-head,
.portfolio-cta-band .muted {
    position: relative;
    z-index: 1;
}

.portfolio-cta-band .muted {
    max-width: 880px;
    color: rgba(255, 255, 255, 0.78);
}

.services-page .section {
    padding-bottom: 80px;
}

.services-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 251, 0.92)),
        linear-gradient(135deg, rgba(49, 197, 255, 0.1), transparent);
}

.services-hero .lead {
    max-width: 780px;
}

.services-support-link-wrap {
    margin-top: 22px;
}

.services-support-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(20, 159, 105, 0.2);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(20, 159, 105, 0.09), rgba(49, 197, 255, 0.08));
    color: var(--brand);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(20, 159, 105, 0.08);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        box-shadow var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        background var(--dur-base) ease;
}

.services-support-link::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--accent));
    box-shadow: 0 0 0 6px rgba(20, 159, 105, 0.12);
}

.services-support-link:hover,
.services-support-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(20, 159, 105, 0.32);
    box-shadow: 0 16px 32px rgba(20, 159, 105, 0.12);
}

.services-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.services-grid {
    align-items: stretch;
}

.services-page-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.services-page-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services-page-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 0.84rem;
}

.services-page-subtitle {
    margin: 0;
    color: var(--brand);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.services-benefits {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.services-benefits div {
    position: relative;
    padding: 14px 16px 14px 44px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-soft);
    transition:
        transform var(--dur-base) var(--ease-smooth),
        border-color var(--dur-base) ease,
        box-shadow var(--dur-base) ease;
}

.services-benefits div::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--success));
    box-shadow: 0 0 0 6px rgba(49, 197, 255, 0.1);
}

.services-benefits div:hover {
    transform: translateX(4px);
    border-color: rgba(49, 197, 255, 0.18);
    box-shadow: var(--shadow-sm);
}

.services-page-actions {
    margin-top: auto;
    padding-top: 8px;
}

.services-cta-band {
    padding: 36px;
}

.services-support-band {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 245, 0.92)),
        linear-gradient(135deg, rgba(20, 159, 105, 0.08), rgba(49, 197, 255, 0.06));
    box-shadow: var(--shadow-md);
}

.services-support-band .section-mini-head {
    max-width: 760px;
}

.services-support-band .muted {
    max-width: 920px;
    font-size: 1rem;
    line-height: 1.75;
}

.whatsapp-float,
.scroll-to-top {
    position: fixed;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    z-index: 60;
    transition:
        transform var(--dur-base) var(--ease-smooth),
        opacity var(--dur-base) ease,
        box-shadow var(--dur-base) ease,
        background var(--dur-base) ease;
}

.whatsapp-float {
    bottom: 22px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #24d366, #128c7e);
    animation: floatLift 3.8s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 26px 50px rgba(18, 140, 126, 0.34);
}

.scroll-to-top {
    bottom: 96px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: rgba(16, 32, 51, 0.92);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition:
        opacity 720ms var(--ease-smooth),
        transform 720ms var(--ease-smooth),
        filter 720ms var(--ease-smooth);
    filter: blur(4px);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="left"] {
    transform: translate3d(-36px, 16px, 0);
}

[data-reveal="right"] {
    transform: translate3d(36px, 16px, 0);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.section-transition {
    position: relative;
}

.section-transition::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 110px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(244, 247, 251, 0), rgba(232, 239, 246, 0.45));
    opacity: 0.7;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.05);
    }
}

@keyframes floatLift {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 1100px) {
    .cards-grid.three,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: grid;
        gap: 6px;
        padding: 16px;
        border-radius: 24px;
        background: rgba(248, 251, 255, 0.96);
        box-shadow: var(--shadow-md);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav a {
        padding: 14px 16px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-wrap > .btn {
        display: none;
    }

    .hero-grid,
    .contact-grid,
    .portal-grid,
    .about-grid,
    .about-certificate-grid,
    .portfolio-intro-grid,
    .portal-sample,
    .cards-grid.two,
    .cards-grid.three,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 92px;
    }
}

@media (min-width: 981px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }

    .hero-section,
    .simple-page,
    .blog-block,
    .blog-detail-block,
    .service-detail-block,
    .faq-block {
        padding-top: 72px;
    }

    .section {
        padding: 74px 0;
    }

    .panel,
    .hero-panel,
    .service-card,
    .blog-card,
    .cta-block,
    .simple-page-box,
    .chat-panel {
        padding: 22px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .brand-location {
        display: none;
    }

    .stats-grid,
    .feature-grid,
    .form-grid,
    .form-row,
    .services-hero-meta,
    .portfolio-hero-meta {
        grid-template-columns: 1fr;
    }

    .chat-input-row,
    .cta-actions,
    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .form-actions .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
    }

    .scroll-to-top {
        right: 16px;
        bottom: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }

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

    .whatsapp-float {
        animation: none;
    }
}
