@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Light Theme Palette */
    --bg-white: #FFFFFF;
    --text-primary: #0f172a;
    --text-secondary: #7c7c7f;
    --text-light: #94a3b8;
    --bg-formal: #f8fafc;
    --border-color: rgba(0,0,0,0.05);
    /* Font Color Hierarchy */
    --text-light-title: #0f172a;
    --text-light-subtext: #64748b;
    --text-dark-title: #ffffff;
    --text-dark-subtext: #94a3b8;

    /* Core Colors */
    --primary-color: #F97316; /* Vibrant Orange */
    --secondary-color: #0F172A; /* Deep Space Blue */
    --accent-color: #38BDF8; /* Electric Blue */
    
    /* Typography */
    --font-heading: "PP Mori Medium", sans-serif;
    --font-body: "PP Mori Medium", sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-light-title);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light-title);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Highly Attractive Vibrant Gradient Backgrounds */
.bg-gradient-1 { background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%); } /* Soft Pink/Peach */
.bg-gradient-2 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); } /* Soft Purple */
.bg-gradient-3 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); } /* Mint to Light Blue */
.bg-gradient-4 { background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%); } /* Peach to Violet */
.bg-gradient-5 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); } /* Lilac to Baby Blue */
.bg-gradient-6 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); } /* Warm Sunny */
.bg-gradient-7 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); } /* Soft Coral */
.bg-gradient-8 { background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%); } /* Clean Pearl */
.bg-gradient-9 { background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%); } /* Sunset Orange */
.bg-gradient-10 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); } /* Mint to Rose */

/* Medium-Dark Vibrant Gradients */
.bg-gradient-dark-1 { background: linear-gradient(135deg, #4f1964 0%, #bd3186 100%); } /* Royal Purple to Pink */
.bg-gradient-dark-2 { background: linear-gradient(135deg, #0d324d 0%, #7f5a83 100%); } /* Deep Marine to Mauve */
.bg-gradient-dark-3 { background: linear-gradient(135deg, #0250c5 0%, #d43f8d 100%); } /* Cobalt to Cerise */
.bg-gradient-dark-4 { background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%); } /* Blood Orange to Crimson */
.bg-gradient-dark-5 { background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%); } /* Midnight to Flame */
.bg-gradient-dark-6 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); } /* Deep Teal to Vibrant Green */

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-light-subtext);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--text-light-title);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Clean White Card Effect - Base for grids */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    color: var(--text-light-title);
}

.glass-card h2, .glass-card h3 {
    color: var(--text-light-title) !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.glass-card p {
    color: var(--text-light-subtext) !important;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #D1D5DB;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.6rem 0;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgb(255 255 255 / 85%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.9); }
.navbar:not(.scrolled) .nav-links a:hover, .navbar:not(.scrolled) .nav-links a.active { color: #ffffff; }
.navbar:not(.scrolled) .logo-image { filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(0,0,0,0.3)); }
.navbar.scrolled .logo-image { filter: drop-shadow(0 0 2px rgba(0,0,0,0.1)); }
.navbar:not(.scrolled) .mobile-menu-btn { color: white; }


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 39px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light-subtext);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light-title);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light-title);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Unified Hero Banner */

.hero-banner {
    padding: 120px 2rem 6rem;
    text-align: center;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-banner h1, .hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    color: white !important;
    line-height: 1.1;
    font-weight: 800 !important;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(56, 189, 248, 0.15); /* New distinct light blue background */
    color: #38bdf8 !important; /* Distinct blue text to stand out from white */
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    margin-right: 0.6rem;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.hero-banner p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
    color: rgb(255 255 255 / 63%) !important;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-banner .hero-btns {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

@keyframes fadeUpIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-banner {
        margin: 0;
        padding: 100px 1.5rem 4rem;
        border-radius: 0;
    }
    .hero-banner .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-banner .hero-btns .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .bento-card > div[style*="max-width"] {
        max-width: 100% !important;
    }
}

.hero-centered-visual img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-centered-visual:hover img {
    transform: scale(1.02);
}

/* Legacy Image Visuals - No Borders, Clean Drop Shadow */
.visual-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.visual-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-container:hover img {
    transform: scale(1.02);
}

.hero-visual {
    margin-top: 0;
    width: 100%;
    height: auto;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: block;
}

/* Split Layouts & Bento Grids */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}
.split-section.reverse > * {
    direction: ltr;
}

@media (max-width: 992px) {
    .split-section {
        grid-template-columns: 1fr;
    }
    .split-section.reverse {
        direction: ltr;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 1.5rem;
}

.bento-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.bento-card-image {
    padding: 0;
    border: none;
}

.bento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.5s ease;
}

.bento-card:hover img {
    transform: scale(1.02);
}

.bento-card-image .overlay-content {
    position: absolute;
    z-index: 2;
    bottom: 2.5rem;
    left: 2.5rem;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .bento-card-image .overlay-content {
        left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
    }
}

.bento-col-4 { grid-column: span 4; }
.bento-col-5 { grid-column: span 5; }
.bento-col-6 { grid-column: span 6; }
.bento-col-7 { grid-column: span 7; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 992px) {
    .bento-col-4, .bento-col-5, .bento-col-6, .bento-col-7, .bento-col-8 { grid-column: span 12; }
}

/* Intro Strip */
.intro-strip {
    text-align: center;
    padding: 6rem 0;
}

.intro-strip h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light-title);
}

.intro-strip p {
    color: var(--text-light-subtext);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.125rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light-subtext);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline/Journey */
.journey-step {
    text-align: left;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    position: absolute;
    left: 0;
    top: 0;
}

.journey-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.journey-step p {
    font-size: 0.95rem;
    color: var(--text-light-subtext);
}

/* Capabilities/Services Cards */
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.glass-card p {
    color: var(--text-light-subtext);
    font-size: 0.95rem;
}

/* Solutions Columns */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-column h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.solution-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.solution-list strong {
    color: var(--text-light-title);
    display: block;
}

.solution-list span {
    color: var(--text-light-subtext);
    font-size: 0.875rem;
}

/* Industry Auto Slider */
.industry-slider {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    overflow: hidden;
    padding-bottom: 2rem;
}

.industry-slider-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollSlider 35s linear infinite;
    padding: 0 1.5rem;
}

.industry-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.industry-slide-card {
    width: 320px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #000; /* fallback */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .industry-slide-card {
        width: 380px;
        height: 480px;
    }
}

.industry-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85; /* slight dim for text contrast */
}

.industry-slide-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Dark gradient overlay anchored to bottom */
.industry-slide-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.industry-slide-card .slide-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
}

.industry-slide-card .slide-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    color: white;
}

.industry-slide-card .slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white !important;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.industry-slide-card .slide-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 400;
    line-height: 1.4;
}

/* Pull Quote */
.pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    line-height: 1.3;
    padding: 4rem 2rem;
    position: relative;
    color: var(--text-light-title);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Footer */
footer {
    background: #111827; /* Keep footer dark for contrast */
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light-title);
}

.form-control {
    background: #fff;
    border: 1px solid #94A3B8;
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--text-light-title);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--bg-white);
        padding: 2rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        color: var(--text-light-title) !important;
    }
    .mobile-menu-btn { display: block; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Product Grid for Services */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card > div {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.product-card h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* Elegant Dark Minimalist Gradients with 3D Icons */
.product-card-1 { background: linear-gradient(135deg, #0f172a, #1e293b);    }
.product-card-2 { background: linear-gradient(135deg, #111827, #1f2937);    }
.product-card-3 { background: linear-gradient(135deg, #111827, #1f2937); }
.product-card-4 { background: linear-gradient(135deg, #022c22, #064e3b); }
.product-card-5 { background: linear-gradient(135deg, #0f172a, #334155); }
.product-card-6 { background: linear-gradient(135deg, #09090b, #27272a);    }
.product-card-7 { background: linear-gradient(135deg, #2e1065, #4c1d95);    }
.product-card-8 { background: linear-gradient(135deg, #9a009d, #081a4a);    }
.product-card-9 { background: linear-gradient(135deg, #1e3a8a, #172554);    }
.product-card-10 { background: linear-gradient(135deg, #4c0519, #22010c);   }

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Megamenu Styles */
.nav-item-dropdown {
    /* position: relative; removed to allow megamenu to align with nav-links */
    display: inline-block;
}

.megamenu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    transform: translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.6);
}

.nav-item-dropdown:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* For mobile layout, we might need adjustments */
@media (max-width: 768px) {
    .megamenu {
        position: static;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding: 1rem 0 0 1rem;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    .nav-item-dropdown:hover .megamenu,
    .nav-item-dropdown:focus-within .megamenu,
    .nav-item-dropdown.mobile-expanded .megamenu {
        display: block;
    }
}

.megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}

.megamenu-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(249, 115, 22, 0) 0%, rgba(249, 115, 22, 1) 50%, rgba(249, 115, 22, 0) 100%);
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.nav-item-dropdown:hover .megamenu-grid::after {
    transform: translateX(-50%) scaleY(1);
}

@media (max-width: 768px) {
    .megamenu-grid::after {
        display: none !important;
    }
    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.megamenu-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    align-content: start;
}

.megamenu-column h4 {
    grid-column: 1 / -1;
    color: var(--text-light);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.megamenu-column a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.megamenu-column a:hover {
    color: var(--primary-color) !important;
    padding-left: 0.5rem;
}

/* Vertical Timeline Redesign */
.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 33px; /* 1.25rem padding + 22px center of icon approx */
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.3), rgba(139, 92, 246, 0.3));
    z-index: 0;
}
.timeline-step-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.timeline-step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}
.timeline-step-card:hover .timeline-icon-glow {
    background: rgba(14, 165, 233, 0.15);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    border-color: rgba(14, 165, 233, 0.6);
}
.timeline-step-card:hover .timeline-icon-glow svg {
    stroke: #0ea5e9;
}
.timeline-icon-glow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(100, 116, 139, 0.05);
    border: 1px solid rgba(100, 116, 139, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.timeline-icon-glow svg {
    transition: all 0.3s ease;
    stroke: #475569;
}
.float-subtle {
    animation: floatSubtle 6s ease-in-out infinite;
}
@keyframes floatSubtle {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* General Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-50px) translateY(0);
}
.animate-on-scroll.fade-in-right {
    transform: translateX(50px) translateY(0);
}
.animate-on-scroll.is-visible.fade-in-left,
.animate-on-scroll.is-visible.fade-in-right {
    transform: none;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* CTA Background Zoom Animation */
.cta-bg-zoom {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-bg-zoom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-img) center/cover no-repeat;
    z-index: -1;
    transition: transform 0.6s ease-in-out;
}
.cta-bg-zoom:hover::before {
    transform: scale(1.08);
}

/* CTA content width adjustments */
.cta-content {
    max-width: 39%;
}

.cta-action-btns {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cta-content {
        max-width: 100%;
    }
    .cta-action-btns {
        flex-direction: column;
    }
}

/* Mobile Interactive Capabilities Accordion */
@media (max-width: 992px) {
    .interactive-display {
        display: none !important;
    }
    .interactive-item.active {
        flex-wrap: wrap !important;
    }
    .mobile-feature-details {
        display: none;
    }
    .interactive-item.active .mobile-feature-details {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
}
@media (min-width: 993px) {
    .mobile-feature-details {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .gradient-service-card {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* =========================================================
   Hero — global presence line
   ========================================================= */
.hero-banner p.hero-presence {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    animation-delay: 0.6s;
}

.hero-presence-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    line-height: 1.5;
    text-align: center;
}

.hero-presence-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.9);
    flex-shrink: 0;
}

.hero-presence-cities {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-presence-region {
    color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   Certified Partner logo strip
   ========================================================= */
.partner-strip {
    padding: 4.5rem 0;
    background: var(--bg-formal);
    border-bottom: 1px solid var(--border-color);
}

.partner-strip .section-header {
    margin-bottom: 3rem;
}

.partner-strip .section-header p {
    max-width: 820px;
    margin: 0 auto;
}

.partner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partner-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
    flex-shrink: 0;
}

.partner-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
}

.partner-logo-item {
    flex: 0 1 268px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.9rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
}

.partner-logo-item:hover,
.partner-logo-item:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
}

.partner-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
}

.partner-logo {
    height: 42px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(1) opacity(0.6);
    transition: filter var(--transition-normal);
}

/* Square brand marks need more height to match optical weight of wordmarks */
.partner-logo--mark {
    height: 58px;
    max-width: 78px;
}

/* Solid-block wordmarks (logo artwork includes its own background plate) */
.partner-logo--block {
    height: 38px;
    border-radius: 4px;
}

.partner-logo-item:hover .partner-logo,
.partner-logo-item:focus-within .partner-logo {
    filter: grayscale(0) opacity(1);
}

.partner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-light-subtext);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color var(--transition-normal),
                background var(--transition-normal),
                border-color var(--transition-normal);
}

.partner-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.partner-logo-item:hover .partner-tag,
.partner-logo-item:focus-within .partner-tag {
    color: var(--primary-color);
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .partner-logo-item { flex: 0 1 224px; padding: 1.6rem 1.1rem; }
}

@media (max-width: 768px) {
    .partner-strip { padding: 3.5rem 0; }
    .partner-strip .section-header { margin-bottom: 2rem; }
    .partner-logos { gap: 1rem; }
    .partner-logo-item { flex: 1 1 100%; padding: 1.6rem 1.25rem; }
    .partner-eyebrow { font-size: 0.7rem; letter-spacing: 0.6px; }
    .hero-banner p.hero-presence { font-size: 0.9rem; margin-bottom: 2rem; }
    .hero-presence-pill { padding: 0.6rem 1rem; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .partner-logo-item,
    .partner-logo,
    .partner-tag { transition: none; }
}

/* =========================================================
   Mendix credential stripe (text credential, not a partner badge)
   ========================================================= */
.credential-stripe {
    padding: 1.35rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.credential-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0;
    text-align: center;
}

.credential-logo {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.credential-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light-subtext);
}

.credential-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .credential-stripe { padding: 1.15rem 0; }
    .credential-line { gap: 0.6rem; }
    .credential-logo { height: 18px; }
    .credential-text { font-size: 0.875rem; }
}


/* =========================================================
   Connected Insurance & Finance
   ========================================================= */
.insurance-finance {
    background: var(--bg-formal);
    border-top: 1px solid var(--border-color);
}

.insurance-finance .section-header {
    margin-bottom: 3rem;
}

.insurance-finance .section-header p {
    max-width: 900px;
    margin: 0 auto;
}

.infin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.infin-card {
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
}

.infin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
}

.infin-card-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.infin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    border-radius: 14px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.infin-card h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.infin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.infin-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text-light-subtext);
}

.infin-list li::before {
    content: '';
    flex-shrink: 0;
    margin-top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.infin-priority {
    color: var(--text-primary);
    font-weight: 600;
}

.infin-flag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.infin-closing {
    max-width: 880px;
    margin: 2.75rem auto 0;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .infin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .infin-card { padding: 1.75rem 1.5rem; }
    .infin-card h3 { font-size: 1.3rem; }
    .infin-list li { font-size: 1rem; }
    .infin-closing { font-size: 1rem; margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .infin-card { transition: none; }
}

/* =========================================================
   SERVICE PAGES
   ========================================================= */

/* ---------- Hero ---------- */
.svc-hero {
    position: relative;
    overflow: hidden;
    padding: 11rem 0 6rem;
    background: linear-gradient(135deg, #020617 0%, #0b2154 52%, #020617 100%);
    color: #ffffff;
}

.svc-hero::before,
.svc-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.svc-hero::before {
    width: 720px; height: 720px;
    top: -34%; left: -12%;
    background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 70%);
}

.svc-hero::after {
    width: 560px; height: 560px;
    bottom: -34%; right: -10%;
    background: radial-gradient(circle, rgba(249,115,22,0.16) 0%, transparent 70%);
}

.svc-hero > .container { position: relative; z-index: 2; }

.svc-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3.5rem;
    align-items: center;
}

.svc-hero h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(2.25rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -1px;
    color: #ffffff !important;
    font-weight: 800;
}

.svc-sub {
    margin: 0 0 2.25rem;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
    max-width: 40rem;
}

.svc-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Eyebrow ---------- */
.svc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: var(--primary-color);
}

.svc-eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}

.svc-eyebrow--dark {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.svc-eyebrow--dark::before {
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

/* ---------- Image placeholder ---------- */
.img-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 300px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1.5px dashed rgba(249, 115, 22, 0.45);
    background:
        repeating-linear-gradient(45deg, rgba(249,115,22,0.035) 0 12px, transparent 12px 24px),
        var(--bg-formal);
}

.img-slot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.28);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.img-slot-prompt {
    max-width: 40ch;
    margin: 0;
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-light-subtext);
}

.img-slot--dark {
    border-color: rgba(255, 255, 255, 0.28);
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px),
        rgba(255, 255, 255, 0.04);
}

.img-slot--dark .img-slot-badge {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.32);
    color: #7dd3fc;
}

.img-slot--dark .img-slot-prompt { color: rgba(255, 255, 255, 0.66); }

.img-slot--sm { min-height: 168px; gap: 0.6rem; padding: 1.4rem 1.1rem; }
.img-slot--sm .img-slot-prompt { font-size: 0.84rem; }
.img-slot--hero { min-height: 380px; }

/* ---------- Overview ---------- */
.svc-overview { background: var(--bg-white); }

.svc-overview-body {
    max-width: 980px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-light-subtext);
    text-align: center;
}

/* ---------- Flagship capability rows ---------- */
.svc-flagship {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.25rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.svc-flagship--reverse .svc-flagship-media { order: -1; }

.svc-flagship h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

.svc-flagship p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light-subtext);
}

.svc-tag {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ---------- Compact capability cards ---------- */
.svc-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.svc-cap-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
}

.svc-cap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
}

.svc-cap-card h4 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.svc-cap-card p {
    margin: 0;
    font-size: 0.9875rem;
    line-height: 1.65;
    color: var(--text-light-subtext);
}

/* ---------- Approach strip ---------- */
.svc-approach { background: var(--bg-formal); }

.svc-lead {
    max-width: 860px;
    margin: 0 auto 2.75rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light-subtext);
}

.svc-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.85rem;
}

.svc-step {
    position: relative;
    flex: 1 1 170px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.6rem 1rem;
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.svc-step:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.3);
}

.svc-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.svc-step-label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
}

.svc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.85rem;
    width: 0.85rem;
    height: 1px;
    background: rgba(249, 115, 22, 0.4);
}

/* ---------- Industry tiles ---------- */
.svc-ind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.svc-ind-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.35rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: transform var(--transition-normal),
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
}

.svc-ind-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.svc-ind-dot {
    width: 9px; height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 9px rgba(249, 115, 22, 0.55);
}

/* ---------- Closing CTA band ---------- */
.svc-cta {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #020617 0%, #0b2154 52%, #020617 100%);
}

.svc-cta::before {
    content: '';
    position: absolute;
    width: 640px; height: 640px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.16) 0%, transparent 68%);
    filter: blur(70px);
    pointer-events: none;
}

.svc-cta > .container { position: relative; z-index: 2; }

.svc-cta h2 {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.18;
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.svc-cta p {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Services hub cards ---------- */
.svc-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.svc-hub-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
}

.svc-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
    border-color: rgba(249, 115, 22, 0.28);
}

.svc-hub-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    font-size: 1.5rem;
    border-radius: 15px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.svc-hub-card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.svc-hub-card p {
    margin: 0;
    flex: 1;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-light-subtext);
}

.svc-hub-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .svc-cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .svc-hero { padding: 9rem 0 4.5rem; }
    .svc-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .svc-sub { max-width: none; }
    .svc-flagship { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.75rem; }
    .svc-flagship--reverse .svc-flagship-media { order: 0; }
    .img-slot--hero { min-height: 260px; }
}

@media (max-width: 768px) {
    .svc-hero { padding: 8rem 0 4rem; }
    .svc-hero-btns { flex-direction: column; align-items: stretch; }
    .svc-hero-btns .btn { width: 100%; text-align: center; }
    .svc-overview-body { font-size: 1.05rem; text-align: left; }
    .svc-cap-grid { grid-template-columns: 1fr; }
    .svc-step { flex: 1 1 100%; max-width: none; }
    .svc-step:not(:last-child)::after { display: none; }
    .img-slot { min-height: 220px; }
    .svc-cta { padding: 4.5rem 0; }
    .svc-lead { margin-bottom: 2rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-cap-card, .svc-step, .svc-ind-tile, .svc-hub-card { transition: none; }
}

/* ---------- Real images dropped into service-page slots ---------- */
.svc-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--bg-formal);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.svc-img--hero {
    min-height: 380px;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.45);
}

.svc-img--sm {
    min-height: 168px;
    box-shadow: none;
}

@media (max-width: 900px) {
    .svc-img--hero { min-height: 260px; }
}

@media (max-width: 768px) {
    .svc-img { min-height: 220px; }
    .svc-img--sm { min-height: 168px; }
}

/* =========================================================
   SERVICE PAGES — "How We Work" connected timeline
   (deliberately boxless, so it does not read like the
    Industry Applications cards below it)
   ========================================================= */
.svc-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    counter-reset: svcstep;
}

/* the rail the nodes sit on */
.svc-timeline::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(249,115,22,0) 0%,
        rgba(249,115,22,0.45) 12%,
        rgba(249,115,22,0.45) 88%,
        rgba(249,115,22,0) 100%);
}

.svc-tl-step {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.svc-tl-node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid rgba(249, 115, 22, 0.35);
    box-shadow: 0 0 0 6px var(--bg-white), 0 6px 18px rgba(249, 115, 22, 0.16);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    transition: background var(--transition-normal),
                color var(--transition-normal),
                border-color var(--transition-normal),
                transform var(--transition-normal);
}

.svc-tl-step:hover .svc-tl-node {
    transform: translateY(-4px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.svc-tl-label {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
}

/* =========================================================
   SERVICE PAGES — "Where This Applies" accent list rows
   ========================================================= */
.svc-ind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    counter-reset: svcind;
}

.svc-ind-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    padding: 1.4rem 1.5rem 1.4rem 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: transform var(--transition-normal),
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
}

/* left accent bar — the visual signature that separates these from the timeline */
.svc-ind-tile::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), rgba(249, 115, 22, 0.35));
    transform: scaleY(0.45);
    transform-origin: center;
    transition: transform var(--transition-normal);
}

.svc-ind-tile:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.28);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.svc-ind-tile:hover::before { transform: scaleY(1); }

.svc-ind-num {
    counter-increment: svcind;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

.svc-ind-num::before { content: counter(svcind, decimal-leading-zero); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .svc-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        max-width: 460px;
    }
    .svc-timeline::before {
        top: 12px;
        bottom: 12px;
        left: 26px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg,
            rgba(249,115,22,0) 0%,
            rgba(249,115,22,0.45) 8%,
            rgba(249,115,22,0.45) 92%,
            rgba(249,115,22,0) 100%);
    }
    .svc-tl-step {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        text-align: left;
        width: 100%;
    }
    .svc-tl-node { width: 52px; height: 52px; }
}

@media (max-width: 768px) {
    .svc-ind-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-tl-node, .svc-ind-tile, .svc-ind-tile::before { transition: none; }
}

/* Softer, longer reveal so section transitions feel continuous while scrolling */
.animate-on-scroll {
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
    }
}

/* =========================================================
   FOOTER — rebalanced layout
   ========================================================= */
footer {
    background: #111827;
    color: #ffffff;
    padding: 4.5rem 0 2rem;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 3rem 2.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* --- brand column --- */
.footer-brand { max-width: 34rem; }

.footer-logo {
    display: inline-block;
    margin-bottom: 1.35rem;
}

.footer-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-tagline {
    margin: 0 0 1.5rem;
    max-width: 40ch;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #9CA3AF;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E5E7EB;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--transition-fast),
                border-color var(--transition-fast),
                color var(--transition-fast);
}

.footer-email:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.35);
    color: #ffffff;
}

/* --- link columns --- */
.footer-links h4 {
    position: relative;
    margin: 0 0 1.4rem;
    padding-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links ul li { margin-bottom: 0.7rem; }

.footer-links a {
    display: inline-block;
    color: #9CA3AF;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* --- bottom bar --- */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-bottom p { margin: 0; }

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.footer-bottom-links a {
    color: #9CA3AF;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--primary-color); }

/* --- responsive --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; max-width: none; }
    .footer-tagline { max-width: 62ch; }
}

@media (max-width: 768px) {
    footer { padding: 3.5rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-bottom-links { justify-content: center; gap: 1.25rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   REVAMP — "What We Deliver" flagship rows
   ========================================================= */
.svc-flagship { gap: 4rem; margin-bottom: 5rem; }
.svc-flagship:last-of-type { margin-bottom: 0; }

.svc-flagship-copy { position: relative; padding-top: 0.5rem; }

/* oversized ghost numeral sitting behind the heading */
.svc-flagship-index {
    position: absolute;
    top: -2.75rem;
    left: -0.75rem;
    z-index: 0;
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(249, 115, 22, 0.16);
    pointer-events: none;
    user-select: none;
}

.svc-flagship-copy > .svc-tag,
.svc-flagship-copy > h3,
.svc-flagship-copy > p { position: relative; z-index: 1; }

.svc-flagship h3 { margin-bottom: 1.1rem; }

.svc-flagship h3::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 1.1rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(249, 115, 22, 0.25));
}

/* image gets an offset accent plate behind it for depth */
.svc-media-frame {
    position: relative;
    display: block;
}

.svc-media-frame::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(56, 189, 248, 0.14));
    z-index: 0;
    transition: inset var(--transition-slow);
}

.svc-flagship--reverse .svc-media-frame::before { inset: 18px 18px -18px -18px; }

.svc-media-frame:hover::before { inset: 10px -10px -10px 10px; }
.svc-flagship--reverse .svc-media-frame:hover::before { inset: 10px 10px -10px -10px; }

.svc-media-frame .svc-img { position: relative; z-index: 1; }

/* =========================================================
   REVAMP — supporting capability cards (image-led)
   ========================================================= */
.svc-cap-grid { gap: 1.75rem; margin-top: 1rem; }

.svc-cap-card {
    display: block;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.svc-cap-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.svc-cap-media .svc-img {
    border-radius: 0;
    min-height: 190px;
    box-shadow: none;
    transition: transform var(--transition-slow);
}

.svc-cap-card:hover .svc-cap-media .svc-img { transform: scale(1.06); }

/* scrim so the title reads on any artwork */
.svc-cap-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.45) 42%, rgba(2,6,23,0) 78%);
    pointer-events: none;
}

.svc-cap-card h4 {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.15rem;
    z-index: 2;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
    color: #ffffff !important;
}

.svc-cap-body {
    position: relative;
    padding: 1.35rem 1.5rem 1.6rem;
}

.svc-cap-body p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--text-light-subtext);
}

/* accent bar that fills on hover */
.svc-cap-body::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary-color), rgba(249, 115, 22, 0.2));
    transition: transform var(--transition-slow);
}

.svc-cap-card:hover .svc-cap-body::after { transform: scaleX(1); }

/* =========================================================
   REVAMP — "Where This Applies" editorial index
   ========================================================= */
.svc-ind-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    max-width: 1080px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.svc-ind-row {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.65rem 0.25rem;
    border-bottom: 1px solid var(--border-color);
    transition: padding-left var(--transition-normal);
}

/* orange rule that draws in under the row on hover */
.svc-ind-row::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--primary-color);
    transition: transform var(--transition-slow);
}

.svc-ind-row:hover { padding-left: 1rem; }
.svc-ind-row:hover::after { transform: scaleX(1); }

.svc-ind-index {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(249, 115, 22, 0.55);
    transition: color var(--transition-normal);
}

.svc-ind-row:hover .svc-ind-index {
    color: var(--primary-color);
    -webkit-text-stroke: 1.2px transparent;
}

.svc-ind-name {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.svc-ind-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.svc-ind-row:hover .svc-ind-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .svc-flagship { gap: 3rem; margin-bottom: 4rem; }
    .svc-flagship-index { font-size: 5.5rem; top: -2.25rem; }
}

@media (max-width: 900px) {
    .svc-media-frame::before,
    .svc-flagship--reverse .svc-media-frame::before { inset: 14px -14px -14px 14px; }
    .svc-ind-list { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
    .svc-flagship { margin-bottom: 3rem; }
    .svc-flagship-index { font-size: 4.5rem; top: -1.75rem; left: -0.35rem; }
    .svc-media-frame::before,
    .svc-flagship--reverse .svc-media-frame::before { inset: 10px -10px -10px 10px; }
    .svc-cap-media .svc-img { min-height: 170px; }
    .svc-ind-row { padding: 1.35rem 0.15rem; gap: 1.1rem; }
    .svc-ind-name { font-size: 1.15rem; }
    .svc-ind-row:hover { padding-left: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-media-frame::before, .svc-cap-media .svc-img,
    .svc-cap-body::after, .svc-ind-row, .svc-ind-row::after, .svc-ind-arrow { transition: none; }
}

/* =========================================================
   REVAMP — Contact page
   ========================================================= */
.contact-shell { background: var(--bg-formal); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

/* ---------- form card ---------- */
.contact-form-card {
    padding: 2.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.contact-form-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.65rem;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

.contact-form-note {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light-subtext);
}

.contact-shell .contact-form { display: grid; gap: 1.25rem; }

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-shell .form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-shell label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-primary);
}

.contact-shell .form-control {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-formal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast),
                background var(--transition-fast),
                box-shadow var(--transition-fast);
}

.contact-shell .form-control::placeholder { color: var(--text-light); }

.contact-shell .form-control:focus {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.contact-shell textarea.form-control { resize: vertical; min-height: 150px; }

.contact-submit {
    margin-top: 0.5rem;
    width: 100%;
    border: none !important;
    outline: none !important;
}

/* ---------- side panels ---------- */
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-panel {
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.contact-panel h3 {
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--text-primary);
}

/* numbered steps */
.contact-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: cstep;
}

.contact-step {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-step-num {
    counter-increment: cstep;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.contact-step-num::before { content: counter(cstep); }

.contact-step-title {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light-subtext);
}

/* dark email panel */
.contact-panel--dark {
    background: linear-gradient(135deg, #020617 0%, #0b2154 55%, #020617 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-panel--dark h3 { color: #ffffff; }

.contact-panel--dark p {
    margin: 0 0 1.35rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.contact-mail:hover {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(249, 115, 22, 0.5);
}

/* service chips */
.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-full);
    background: var(--bg-formal);
    border: 1px solid var(--border-color);
    color: var(--text-light-subtext);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-chip:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    color: var(--primary-color);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-aside { flex-direction: row; flex-wrap: wrap; }
    .contact-panel { flex: 1 1 320px; }
}

@media (max-width: 768px) {
    .contact-form-card { padding: 1.75rem 1.5rem; }
    .contact-field-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .contact-aside { flex-direction: column; }
    .contact-panel { flex: 1 1 auto; padding: 1.75rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-chip, .contact-mail, .contact-shell .form-control { transition: none; }
}

/* --- refinements: clear the numeral off the tag pill, weight up the index rows --- */
.svc-flagship-copy { padding-top: 4.75rem; }

.svc-flagship-index {
    top: -0.35rem;
    left: -0.4rem;
    font-size: 4.75rem;
    letter-spacing: -2px;
    -webkit-text-stroke: 1.5px rgba(249, 115, 22, 0.22);
}

.svc-ind-row { padding: 1.9rem 0.25rem; }

.svc-ind-index { font-size: 1.85rem; -webkit-text-stroke-width: 1.4px; }

.svc-ind-name { font-size: 1.4rem; }

@media (max-width: 1024px) {
    .svc-flagship-copy { padding-top: 4rem; }
    .svc-flagship-index { font-size: 4rem; }
}

@media (max-width: 768px) {
    .svc-flagship-copy { padding-top: 3.5rem; }
    .svc-flagship-index { font-size: 3.5rem; top: -0.25rem; }
    .svc-ind-row { padding: 1.5rem 0.15rem; }
    .svc-ind-index { font-size: 1.5rem; }
    .svc-ind-name { font-size: 1.15rem; }
}

/* Services hub: fixed 3-up so six cards land as two even rows of three
   (auto-fit was giving 4 + 2 on wide screens) */
.svc-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .svc-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .svc-hub-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Hero headline — stop the title stretching on wide screens
   ========================================================= */
.hero-banner h1,
.hero-banner .hero-title {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-banner p {
    max-width: 62ch;
}


@media (max-width: 768px) {
    .hero-banner h1,
    .hero-banner .hero-title { max-width: 100%; }
    .hero-banner p { max-width: 100%; }
}

/* =========================================================
   Footer — five columns now that it mirrors the top menu
   ========================================================= */
.footer-grid {
    grid-template-columns: 1.6fr 1fr 1.15fr 1fr 1.1fr;
    gap: 3rem 2.25rem;
}

.footer-links h4 { font-size: 0.95rem; }
.footer-links a { font-size: 0.9rem; }
.footer-links ul li { margin-bottom: 0.6rem; }

@media (max-width: 1280px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-grid > .footer-links:last-child { grid-column: auto; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
