/* Sevendyne Website — professional theme (Plus Jakarta Sans + deep ocean / teal accents) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --primary-color: #0c5a8c;
    --primary-dark: #06344f;
    --primary-light: #1582bd;
    --secondary-color: #0f766e;
    --accent-color: #6d28d9;
    --accent-warm: #c27a0a;
    --text-dark: #0c1929;
    --text-medium: #334e68;
    --text-light: #627d98;
    --bg-light: #f0f5fa;
    --bg-white: #ffffff;
    --bg-canvas: #e8f0f7;
    --bg-gradient-start: #0c2844;
    --bg-gradient-end: #04121f;
    --hero-spot-1: rgba(21, 130, 189, 0.22);
    --hero-spot-2: rgba(15, 118, 110, 0.14);
    --hero-spot-3: rgba(109, 40, 217, 0.1);
    --success-color: #0d9488;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --border-color: #d3dee9;
    --shadow-sm: 0 1px 2px rgba(6, 52, 79, 0.06);
    --shadow-md: 0 8px 24px rgba(6, 52, 79, 0.08), 0 2px 8px rgba(6, 52, 79, 0.04);
    --shadow-lg: 0 16px 40px rgba(6, 52, 79, 0.1), 0 4px 12px rgba(6, 52, 79, 0.05);
    --shadow-xl: 0 24px 56px rgba(6, 52, 79, 0.12), 0 8px 20px rgba(6, 52, 79, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-canvas);
    background-image: linear-gradient(180deg, var(--bg-canvas) 0%, #f4f8fc 38%, #fafcfe 100%);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 255, 0.92) 100%);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm), inset 0 -1px 0 rgba(12, 90, 140, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(211, 222, 233, 0.85);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo h1,
.logo .logo-wordmark {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-color) 42%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
}

.logo .logo-wordmark a {
    color: inherit;
    text-decoration: none;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item-dropdown > a::after {
    content: '▼';
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    position: static;
    width: auto;
    height: auto;
    background: none;
}

.nav-item-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
}

/* Hero Section — scoped to .hero only; must not affect following .section blocks */
.hero {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 90% 70% at 15% 20%, var(--hero-spot-1) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 88% 75%, var(--hero-spot-2) 0%, transparent 50%),
        radial-gradient(circle at 70% 15%, var(--hero-spot-3) 0%, transparent 42%);
    pointer-events: none;
}

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

/* Solid headline colour by default so hero text never renders as an empty/black band
   when background-clip: text is unsupported or flaky (mobile / some WebViews). */
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 {
        background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* First content band after hero: always a light surface (never inherits hero styling). */
.hero + .section {
    background-color: #ffffff;
    color: var(--text-dark);
    border-top: none;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
}

.hero .hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 55%, #1a9bc9 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(6, 52, 79, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 52, 79, 0.42);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Sections — explicit light surface + dark text (homepage hero uses .hero, not .section) */
.section {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    border-top: 1px solid rgba(211, 222, 233, 0.5);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    /* Never inherit hero gradient / transparent fill tricks */
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.section-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-warm));
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    font-weight: 400;
    -webkit-text-fill-color: currentColor;
}

.section .section-subtitle a {
    color: var(--primary-color);
    -webkit-text-fill-color: currentColor;
}

.section p,
.section li {
    -webkit-text-fill-color: currentColor;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.card ul li {
    padding: 0.625rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Solution Cards Specific */
.solution-card {
    border-left: 4px solid;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.solution-card .btn {
    margin-top: auto;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
}

/* Why Choose Cards */
.why-choose-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.why-choose-card .icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.why-choose-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.why-choose-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Contact Form Modal */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
    animation: slideUp 0.3s ease;
}

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

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    font-size: 28px;
    color: var(--text-medium);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.contact-modal-close:hover {
    background: var(--error-color);
    color: white;
    transform: rotate(90deg);
}

.contact-modal-body {
    padding: 3rem;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 90, 140, 0.12);
    transform: translateY(-1px);
}

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

.form-help {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(6, 52, 79, 0.35);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 52, 79, 0.42);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message-loading {
    background: #e0f2fe;
    color: var(--primary-dark);
}

.form-message-success {
    background: #d1fae5;
    color: #065f46;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
}

.form-message-info {
    background: #e0f2fe;
    color: var(--primary-dark);
}

.form-message-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.form-message-link:hover {
    color: var(--primary-dark);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.contact-modal-loading {
    text-align: center;
    padding: 3rem;
}

.contact-modal-loading p {
    margin-top: 1.5rem;
    color: var(--text-light);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: linear-gradient(165deg, #071826 0%, #0a1f33 42%, #030d14 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(21, 130, 189, 0.28);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(21, 130, 189, 0.55), rgba(194, 122, 10, 0.45), transparent);
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0.5rem 0 0 1rem;
        padding: 0.5rem 0;
        border: none;
    }
    
    .nav-item-dropdown > a::after {
        display: none;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    table {
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
    
    #platform-flow .container > div > div {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    #platform-flow .container > div > div > div:not(:last-child) {
        border-bottom: 2px dashed #e5e7eb;
        padding-bottom: 2rem;
    }
    
    .contact-modal-body {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header .container {
        padding: 1rem 16px;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
}

/* Lead forms & service landings (positioning spec) */
.lead-form-section {
    background: linear-gradient(180deg, #f0f6fc 0%, #f8fafc 100%);
    padding: 3.5rem 24px;
    border-top: 1px solid var(--border-color);
}
.lead-form-section .container {
    max-width: 640px;
    margin: 0 auto;
}
.lead-form-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.lead-form-intro {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.65;
}
.lead-form .form-row {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
}
.lead-form label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: 2px solid var(--primary-color);
    border-color: transparent;
}
.lead-form fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.lead-form legend {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 0.35rem;
}
.lead-form .radio-row label {
    font-weight: 400;
    margin: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.lead-form .radio-row input {
    width: auto;
}
.lead-form .checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
}
.lead-form .checkbox input {
    width: auto;
    margin-top: 0.25rem;
}
.lead-form .btn-primary {
    margin-top: 0.5rem;
}
.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
}
.form-status.success {
    color: #15803d;
}
.form-status.error {
    color: #b91c1c;
}

.home-trust-strip {
    background: linear-gradient(90deg, var(--bg-gradient-end) 0%, var(--bg-gradient-start) 50%, var(--bg-gradient-end) 100%);
    color: #e2e8f0;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(21, 130, 189, 0.2);
}

.service-page .hero .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.path-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

/* Training page — section ribbons + split-path hero */
.path-banner {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--bg-gradient-start) 100%);
    color: #e2e8f0;
    text-align: center;
    padding: 0.65rem 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.path-banner--student {
    background: linear-gradient(90deg, #4c1d95 0%, #312e81 50%, var(--bg-gradient-start) 100%);
}

.hero--training-split {
    padding: 5.5rem 0 4rem;
}

.hero--training-split .container {
    max-width: 960px;
}

.hero--training-split h1 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero--training-split .lede {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.75;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.training-clarity {
    margin: 1.5rem auto 0;
    max-width: 40rem;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.training-clarity strong {
    color: #fff;
}

.dual-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: left;
}

.path-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 11rem;
}

.path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.path-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.88;
}

.path-card strong {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.path-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.92;
}

.path-card-cta {
    margin-top: auto;
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 1;
}

.path-card--corp {
    background: linear-gradient(145deg, rgba(12, 90, 140, 0.95) 0%, rgba(6, 52, 79, 0.98) 100%);
}

.path-card--student {
    background: linear-gradient(145deg, rgba(91, 33, 182, 0.95) 0%, rgba(49, 46, 129, 0.98) 100%);
    border-color: rgba(196, 181, 253, 0.35);
}

.path-card--student .path-card-label {
    color: #e9d5ff;
}

/* Header language + display currency (js/site-locale.js) — stacked, right-aligned */
.site-header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: auto;
}

.site-header-tools-select {
    font-size: 0.8125rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--text-dark);
    font-family: inherit;
    max-width: 9rem;
}

.booking-fee-converted {
    display: block;
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.site-header-tools-select--lang {
    max-width: 12rem;
}

/* Language dropdown hidden (SHOW_LANGUAGE_SELECTOR); html.sevendyne-no-lang-select set in site-locale.js */
html.sevendyne-no-lang-select #site-lang-select,
html.sevendyne-no-lang-select .site-header-tools-select--lang {
    display: none !important;
}

@media (max-width: 900px) {
    .site-header-tools-select {
        max-width: 7.5rem;
        font-size: 0.75rem;
    }

    .site-header-tools-select--lang {
        max-width: 10rem;
    }
}

/* Enterprise delivery infrastructure (About, How We Work) */
.enterprise-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
}

.enterprise-pipeline__step {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    position: relative;
}

.enterprise-pipeline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 2.65rem;
    bottom: -0.75rem;
    width: 2px;
    height: 0.75rem;
    background: linear-gradient(180deg, #2563eb 0%, #94a3b8 100%);
}

.enterprise-pipeline__num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.enterprise-pipeline__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.enterprise-pipeline__team {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 0.5rem;
}

.enterprise-pipeline__body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.enterprise-pipeline__step--lead {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(90deg, #fffbeb 0%, #ffffff 24%);
}

@media (max-width: 640px) {
    .enterprise-pipeline__step {
        grid-template-columns: 1fr;
    }
    .enterprise-pipeline__step:not(:last-child)::after {
        display: none;
    }
}
