:root {
    --primary: #1a799a;
    --primary-dark: #0d5168;
    --secondary: #43d8b0;
    --secondary-dark: #16b68c;
    --ink: #0d3447;
    --text: #35576a;
    --muted: #6d8795;
    --surface: #ffffff;
    --surface-soft: #f6fcfe;
    --surface-tint: #ebf9fc;
    --line: rgba(13, 52, 71, 0.12);
    --line-strong: rgba(13, 52, 71, 0.18);
    --success: #1eb980;
    --shadow-sm: 0 18px 38px rgba(13, 52, 71, 0.08);
    --shadow-md: 0 28px 60px rgba(13, 52, 71, 0.12);
    --shadow-lg: 0 40px 90px rgba(13, 52, 71, 0.16);
    --radius-sm: 18px;
    --radius-md: 28px;
    --radius-lg: 40px;
    --container: 1240px;
    --header-height: 82px;
    --font-body: 'Manrope', sans-serif;
    --font-display: 'Sora', sans-serif;
    --transition: 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(67, 216, 176, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(26, 121, 154, 0.12), transparent 32%),
        linear-gradient(180deg, #fbfeff 0%, #eef7fa 54%, #f8fdff 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea {
    font: inherit;
}

ul {
    list-style: none;
}

main {
    overflow: clip;
}

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

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

.section {
    padding: 96px 0;
}

.section-muted {
    background:
        linear-gradient(180deg, rgba(235, 249, 252, 0.8), rgba(255, 255, 255, 0.96)),
        var(--surface-soft);
}

.home-capabilities-section {
    padding-top: 32px;
    padding-bottom: 56px;
}

.home-products-section {
    position: relative;
    padding-top: 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 254, 0.92));
}

.home-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(var(--container), calc(100% - 32px));
    height: 1px;
    transform: translateX(-50%);
    background: rgba(13, 52, 71, 0.08);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
}

.section-heading h2,
.section-copy h2,
.cta-banner h2,
.footer-callout h2,
.page-hero h1,
.home-hero h1,
.detail-copy h1,
.form-shell h2,
.article-header h1 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.section-heading h2,
.section-copy h2 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 18px;
}

.section-heading p,
.section-copy p,
.page-hero p,
.cta-banner p,
.detail-copy p,
.contact-lead,
.hero-copy p {
    color: var(--text);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(67, 216, 176, 0.45);
    background: rgba(239, 255, 250, 0.82);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eyebrow-dark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
}

.highlight {
    color: var(--secondary);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(26, 121, 154, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border-color: rgba(13, 52, 71, 0.1);
    box-shadow: var(--shadow-sm);
}

.btn-light {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 800;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(13, 52, 71, 0.08);
    box-shadow: 0 12px 32px rgba(13, 52, 71, 0.08);
    backdrop-filter: blur(16px);
}

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

.site-header.is-scrolled .header-inner {
    min-height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 121, 154, 0.14), rgba(67, 216, 176, 0.18));
    border: 1px solid rgba(26, 121, 154, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-copy strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    white-space: nowrap;
}

.logo-copy small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--text);
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary-dark);
}

.nav-cta {
    min-height: 50px;
    padding: 0 20px;
    background: linear-gradient(135deg, #16b68c, #1eb980);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(30, 185, 128, 0.28);
}

.nav-cta:hover {
    box-shadow: 0 22px 38px rgba(30, 185, 128, 0.34);
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    transition: var(--transition);
    margin: 0 8px;
}

.header-search:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 12px rgba(26, 121, 154, 0.1);
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: var(--ink);
    width: 160px;
}

.header-search button {
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search button:hover {
    color: var(--primary);
}

@media (max-width: 960px) {
    .header-search {
        margin: 16px 0;
        width: 100%;
    }
    .header-search input {
        width: 100%;
    }
}

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(13, 52, 71, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 1.1rem;
    cursor: pointer;
}

.home-hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.home-hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + 28px) 0 120px;
    display: flex;
    align-items: center;
}

.home-hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-hero::before {
    background-image:
        linear-gradient(90deg, rgba(248, 252, 254, 0.94) 0%, rgba(248, 252, 254, 0.8) 36%, rgba(239, 248, 251, 0.42) 100%),
        var(--hero-image);
    transform: scale(1.03);
}

.home-hero::after {
    content: '';
    position: absolute;
    left: -8%;
    bottom: -18%;
    width: 44vw;
    height: 44vw;
    min-width: 260px;
    min-height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 216, 176, 0.2), transparent 66%);
    filter: blur(12px);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 390px);
    gap: 32px;
    align-items: end;
}

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

.hero-copy .eyebrow {
    margin-bottom: 24px;
}

.home-hero h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
    max-width: 980px;
    margin-bottom: 24px;
}

.home-hero h1 span {
    color: var(--secondary);
}

.hero-copy p {
    max-width: 640px;
    font-size: 1.22rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-proof {
    display: grid;
    gap: 18px;
}

.hero-proof-card,
.metric-card,
.capability-card,
.product-card,
.blog-card,
.team-card,
.contact-card,
.data-card,
.form-shell,
.rich-content-shell,
.info-card,
.empty-state {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.hero-proof-card {
    border-radius: 32px;
    padding: 28px;
}

.hero-proof-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(26, 121, 154, 0.08);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-proof-card h3 {
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 18px;
}

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

.hero-proof-list li,
.feature-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
}

.hero-proof-list li::before,
.feature-list li::before {
    content: '';
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 5px rgba(67, 216, 176, 0.12);
}

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

.hero-mini-stat {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(13, 52, 71, 0.9);
    color: #ffffff;
}

.hero-mini-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
}

.hero-mini-stat span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metrics-section {
    margin-top: -58px;
    position: relative;
    z-index: 2;
}

.metrics-grid,
.capability-grid,
.product-grid,
.info-grid,
.blog-grid,
.team-grid {
    display: grid;
    gap: 24px;
}

.metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

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

.metric-icon,
.capability-icon,
.info-icon,
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(26, 121, 154, 0.1);
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.metric-value {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
}

.metric-label {
    color: var(--muted);
    font-weight: 700;
    text-transform: capitalize;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 48px;
    align-items: center;
}

.section-copy p + p {
    margin-top: 16px;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.visual-stack {
    position: relative;
}

.visual-panel {
    position: relative;
    min-height: 540px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(26, 121, 154, 0.18), rgba(67, 216, 176, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg);
}

.visual-panel__image {
    width: 100%;
    height: 100%;
    min-height: 496px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
}

.floating-note {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 290px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(13, 52, 71, 0.9);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.floating-note strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.floating-note p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.6;
}

.capability-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.capability-card {
    position: relative;
    border-radius: 30px;
    padding: 32px 28px;
    border-top: 4px solid var(--card-accent, var(--primary));
}

.capability-card h3 {
    color: var(--ink);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.capability-card p {
    color: var(--text);
}

.capability-card .capability-icon {
    background: color-mix(in srgb, var(--card-accent, var(--primary)) 12%, white);
    color: var(--card-accent, var(--primary));
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 32px;
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(67, 216, 176, 0.18), transparent 32%),
        linear-gradient(180deg, #f6fbfd 0%, #edf7fb 100%);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    max-height: 224px;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px 28px;
}

.product-body .eyebrow {
    margin-bottom: 14px;
}

.product-body h3 {
    color: var(--ink);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.product-body p {
    color: var(--text);
    flex: 1;
    margin-bottom: 22px;
}

.page-hero {
    padding: calc(var(--header-height) + 40px) 0 88px;
}

.page-hero::before {
    background-image:
        linear-gradient(90deg, rgba(248, 252, 254, 0.96) 0%, rgba(248, 252, 254, 0.82) 42%, rgba(240, 248, 250, 0.48) 100%),
        var(--page-hero-image);
}

.page-hero__inner,
.detail-hero {
    position: relative;
    z-index: 1;
}

.page-hero__inner {
    max-width: 900px;
}

.page-hero h1 {
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    margin-top: 20px;
}

.page-hero p {
    margin-top: 16px;
    max-width: 720px;
}

.page-hero__meta {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
}

.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.info-card h3 {
    color: var(--ink);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text);
}

.data-card {
    border-radius: 34px;
    padding: 34px 32px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 18px 0;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.data-table td {
    color: var(--ink);
    font-weight: 700;
    border-top: 1px solid var(--line);
}

.data-pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(67, 216, 176, 0.14);
    color: var(--secondary-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 40px;
    background: linear-gradient(135deg, #0e4a61 0%, #1a799a 52%, #48d6ae 100%);
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 62%);
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2,
.cta-banner p {
    color: #ffffff;
}

.cta-banner p {
    max-width: 760px;
    margin: 18px auto 0;
}

.cta-banner .hero-actions,
.cta-banner .btn {
    margin-top: 28px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

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

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

.contact-card h3 {
    color: var(--ink);
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text);
}

.form-shell {
    border-radius: 36px;
    padding: 36px 32px;
}

.form-shell h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

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

.form-group {
    margin-top: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.input-control {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(13, 52, 71, 0.12);
    background: #f7fcfd;
    color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.input-control:focus {
    outline: none;
    border-color: rgba(26, 121, 154, 0.38);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 121, 154, 0.1);
}

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

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
    padding: 28px 24px;
    border-radius: 32px;
    text-align: center;
}

.team-avatar {
    display: grid;
    place-items: center;
    width: 142px;
    height: 142px;
    margin: 0 auto 22px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(26, 121, 154, 0.16), rgba(67, 216, 176, 0.22));
    overflow: hidden;
}

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

.team-name {
    color: var(--ink);
    font-size: 1.25rem;
}

.team-designation {
    display: block;
    margin-top: 8px;
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(26, 121, 154, 0.08);
    color: var(--primary-dark);
}

.team-social a:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.blog-card {
    overflow: hidden;
    border-radius: 30px;
}

.blog-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .blog-cover img {
    transform: scale(1.05);
}

.blog-body {
    padding: 28px 26px;
}

.blog-meta {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-body h3 {
    margin: 12px 0;
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1.35;
}

.blog-excerpt {
    color: var(--text);
    margin-bottom: 22px;
}

.empty-state {
    padding: 42px 30px;
    border-radius: 30px;
}

.insights-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.insights-summary-card {
    padding: 30px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.insights-summary-card strong {
    display: block;
    margin: 10px 0 12px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
}

.insights-summary-label {
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 24px;
}

.post-cover {
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.post-cover img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.article-hero {
    padding-bottom: 84px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.article-meta-row span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(13, 52, 71, 0.08);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 18px;
}

.article-sidebar-card {
    padding: 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.article-sidebar-card h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.article-toc {
    display: grid;
    gap: 12px;
}

.article-toc a {
    color: var(--text);
    font-weight: 700;
}

.article-toc a:hover {
    color: var(--primary-dark);
}

.article-note {
    margin-bottom: 26px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(67, 216, 176, 0.1);
    border: 1px solid rgba(67, 216, 176, 0.22);
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 600;
}

.related-section {
    margin-top: 42px;
}

.pagination-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(13, 52, 71, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    font-weight: 800;
}

.pagination-link:hover,
.pagination-link.is-active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    border-color: transparent;
}

.pagination-link--nav {
    gap: 10px;
}

.rich-content-shell {
    border-radius: 36px;
    padding: 40px 36px;
}

.rich-text {
    color: var(--text);
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin: 32px 0 14px;
    color: var(--ink);
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote {
    margin: 18px 0;
}

.rich-text ul,
.rich-text ol {
    padding-left: 22px;
}

.rich-text ul {
    list-style: disc;
}

.rich-text ol {
    list-style: decimal;
}

.rich-text li + li {
    margin-top: 10px;
}

.rich-text strong {
    color: var(--ink);
}

.rich-text a {
    color: var(--primary-dark);
    font-weight: 700;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
}

.rich-text table td,
.rich-text table th {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.rich-text blockquote {
    padding: 20px 22px;
    border-left: 4px solid var(--secondary);
    border-radius: 18px;
    background: rgba(67, 216, 176, 0.08);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
    gap: 34px;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-size: 0.96rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.detail-copy h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    margin: 16px 0 20px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.detail-media {
    display: grid;
    gap: 14px;
}

.detail-asset {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    padding: 30px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.detail-asset img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 52, 71, 0.08);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.summary-chip {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.summary-chip strong {
    display: block;
    color: var(--ink);
    font-size: 0.96rem;
}

.summary-chip span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.84rem;
}

.site-footer {
    position: relative;
    padding-top: 72px;
    background: linear-gradient(180deg, #0b3344 0%, #081f2a 100%);
    color: #ffffff;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 216, 176, 0.18), transparent 68%);
}

.footer-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    padding: 28px 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-callout h2 {
    margin-top: 14px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #ffffff;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr 0.85fr 1.15fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.footer-brand h3,
.footer-col h4 {
    color: #ffffff;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: rgba(67, 216, 176, 0.18);
}

.footer-col h4 {
    margin-bottom: 18px;
    font-size: 1.12rem;
}

.footer-col ul {
    display: grid;
    gap: 12px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-contact p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 4px;
    color: rgba(67, 216, 176, 0.9);
}

.footer-bottom {
    margin-top: 48px;
    padding: 24px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    padding: 30px;
    background: rgba(8, 31, 42, 0.92);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    display: block;
    max-width: min(100%, 1120px);
    max-height: calc(100vh - 60px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 24px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
}

.animate-up,
.animate-left,
.animate-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.metric-card,
.capability-card,
.product-card,
.blog-card,
.team-card,
.contact-card,
.info-card,
.data-card {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-up {
    transform: translateY(26px);
}

.animate-left {
    transform: translateX(-26px);
}

.animate-right {
    transform: translateX(26px);
}

.animate-up.is-visible,
.animate-left.is-visible,
.animate-right.is-visible,
.metric-card.is-visible,
.capability-card.is-visible,
.product-card.is-visible,
.blog-card.is-visible,
.team-card.is-visible,
.contact-card.is-visible,
.info-card.is-visible,
.data-card.is-visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

@media (max-width: 1100px) {
    .hero-layout,
    .split-layout,
    .detail-hero,
    .contact-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-proof {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

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

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

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 960px) {
    .header-inner {
        min-height: 74px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: min(320px, 100%);
        padding: 22px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

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

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

    .nav-cta {
        width: 100%;
        margin-top: 8px;
    }

    .logo-copy small {
        display: none;
    }

    .home-hero,
    .page-hero {
        padding-top: calc(var(--header-height) + 24px);
    }

    .post-cover img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .section,
    .page-hero {
        padding: 78px 0;
    }

    .home-capabilities-section {
        padding-bottom: 42px;
    }

    .home-products-section {
        padding-top: 42px;
    }

    .home-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 18px) 0 96px;
    }

    .hero-copy p,
    .page-hero p,
    .section-copy p,
    .section-heading p,
    .cta-banner p,
    .detail-copy p {
        font-size: 1rem;
    }

    .hero-mini-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .visual-panel {
        min-height: 420px;
    }

    .visual-panel__image {
        min-height: 376px;
    }

    .metrics-section {
        margin-top: -24px;
    }

    .cta-banner,
    .form-shell,
    .rich-content-shell,
    .data-card {
        padding: 30px 24px;
    }

    .post-cover img {
        height: 280px;
    }

    .detail-asset {
        min-height: 320px;
    }

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

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

    .header-inner {
        padding: 12px 0;
    }

    .logo-copy strong {
        font-size: 0.92rem;
    }

    .logo-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .hero-actions,
    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-light,
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }

    .eyebrow {
        font-size: 0.74rem;
        letter-spacing: 0.02em;
    }

    .hero-proof-card,
    .product-body,
    .contact-card,
    .team-card,
    .blog-body {
        padding-left: 22px;
        padding-right: 22px;
    }

    /* Enhanced mobile typography */
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Better mobile spacing */
    .section {
        padding: 60px 0;
    }

    .home-capabilities-section {
        padding-top: 24px;
    }

    .article-meta-row {
        gap: 10px;
    }

    /* Mobile-friendly cards */
    .blog-card,
    .product-card,
    .capability-card {
        margin-bottom: 16px;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Mobile-friendly tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Touch-friendly tap targets */
    a,
    button,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Mobile grid adjustments */
    .blog-grid,
    .product-grid,
    .capability-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Mobile hero improvements */
    .hero-layout,
    .split-layout {
        gap: 32px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 1.75rem;
    }

    /* Mobile blog card improvements */
    .blog-cover,
    .product-thumb {
        height: 200px;
    }

    .blog-cover img,
    .product-thumb img {
        height: 100%;
        object-fit: cover;
    }

    /* Better mobile forms */
    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Mobile-friendly footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Improve mobile readability */
    p,
    li {
        line-height: 1.6;
    }

    /* Mobile navigation improvements */
    .main-nav ul li a {
        padding: 12px 16px;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .container {
        width: calc(100% - 16px);
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .section {
        padding: 48px 0;
    }

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