:root {
    --orange: #faa938;          /* bright brand accent — large/decorative use only */
    --orange-text: #8a5300;     /* AA-compliant orange for small text on white */
    --black: #1a1a1a;
    --gray-dark: #6c6c6c;
    --gray: #5f5f5f;            /* darkened for WCAG AA body-text contrast */
    --gray-light: #b0b0b0;
    --gray-bg: #f8f8f8;
    --white: #ffffff;
    --border: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo-img {
    height: 67px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 56px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: var(--white);
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background: #fff8ef;
    border: 1px solid var(--border);
    border-top: 4px solid var(--orange);
    border-radius: 16px;
    padding: 72px 64px;
    box-shadow: 0 18px 50px rgba(26, 26, 26, 0.08);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(250, 169, 56, 0.2);
}

.cta-button:hover {
    background: #e89420;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(250, 169, 56, 0.3);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--gray-bg);
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.section-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--orange);
}

.service-icon {
    font-size: 32px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    flex-grow: 1;
}

/* Technology Badges */
.tech-badge {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.tool-example {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover .tool-example {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tech-logo {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.n8n-logo {
    background: linear-gradient(135deg, #EA4B71 0%, #FF6D9E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 75, 113, 0.2);
}

.azure-logo {
    background: linear-gradient(135deg, #0078D4 0%, #50E6FF 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

.powerbi-logo {
    background: linear-gradient(135deg, #F2C811 0%, #FFDB4D 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(242, 200, 17, 0.2);
}

.synapse-logo {
    background: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

/* Technology Stack Section */
.tech-stack {
    padding: 120px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 64px;
}

.tech-category {
    background: var(--gray-bg);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.category-header {
    margin-bottom: 40px;
}

.category-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.category-header p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    max-width: 900px;
}

.tech-grid-category {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
    min-height: 120px;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tech-logo-img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tech-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

/* Approach Section */
.approach {
    padding: 120px 0;
    background: var(--white);
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.approach-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 64px;
}

.approach-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.approach-point {
    padding: 32px;
    background: var(--gray-bg);
    border-radius: 8px;
    border-left: 4px solid var(--orange);
}

.approach-point h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.approach-point p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 0;
}

/* About Banner */
.about-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(250, 169, 56, 0.08) 0%, rgba(250, 169, 56, 0.02) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.banner-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
}

.banner-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray);
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
    cursor: default;
}

.transformable {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.transformable::before {
    content: 'AI';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 700;
}

.banner-title:hover .transformable {
    color: transparent;
}

.banner-title:hover .transformable::before {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.contact-tagline {
    font-size: 16px;
    color: var(--gray);
    margin-top: 16px;
    font-style: italic;
}

.contact-form {
    background: var(--gray-bg);
    padding: 48px;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--white);
    color: var(--black);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--orange-text);
    outline-offset: 2px;
}

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

.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #e89420;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(250, 169, 56, 0.3);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

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

.footer p {
    color: var(--gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .tech-grid-category {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .tech-category {
        padding: 36px;
    }
    
    .approach-points {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .nav-container {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    
    .logo-img {
        height: 53px;
    }
    
    .nav-links {
        gap: 24px;
        font-size: 14px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }

    .hero-content {
        padding: 40px 24px;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 38px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .services,
    .approach,
    .contact {
        padding: 80px 0;
    }
    
    .tech-stack {
        padding: 80px 0;
    }
    
    .tech-categories {
        gap: 48px;
        margin-top: 48px;
    }
    
    .tech-category {
        padding: 28px;
    }
    
    .category-header h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .category-header p {
        font-size: 14px;
    }
    
    .category-header {
        margin-bottom: 28px;
    }
    
    .tech-grid-category {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tech-icon {
        padding: 16px 8px;
        font-size: 11px;
    }
    
    .tech-item span {
        font-size: 11px;
    }
    
    .about-banner {
        padding: 60px 0;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .service-card h3 {
        font-size: 22px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-text p {
        font-size: 16px;
        margin-bottom: 48px;
    }
    
    .contact-form {
        padding: 36px 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Technology Badge Colors */
.n8n-bg {
    background: linear-gradient(135deg, #EA4B71 0%, #FF6D9E 100%);
    color: white;
}

.python-bg {
    background: linear-gradient(135deg, #3776AB 0%, #FFD43B 100%);
    color: white;
}

.adf-bg {
    background: linear-gradient(135deg, #0078D4 0%, #50E6FF 100%);
    color: white;
}

.dbt-bg {
    background: linear-gradient(135deg, #FF694B 0%, #FF8A72 100%);
    color: white;
}

.airbyte-bg {
    background: linear-gradient(135deg, #615EFF 0%, #8B89FF 100%);
    color: white;
}

.airflow-bg {
    background: linear-gradient(135deg, #017CEE 0%, #00C7D4 100%);
    color: white;
}

.logicapps-bg {
    background: linear-gradient(135deg, #0078D4 0%, #00A4EF 100%);
    color: white;
}

.powerapps-bg {
    background: linear-gradient(135deg, #742774 0%, #A64CA6 100%);
    color: white;
}

.sharepoint-bg {
    background: linear-gradient(135deg, #036C70 0%, #038387 100%);
    color: white;
}

.powerbi-bg {
    background: linear-gradient(135deg, #F2C811 0%, #FFDB4D 100%);
    color: #1a1a1a;
}

.excel-bg {
    background: linear-gradient(135deg, #217346 0%, #33A65C 100%);
    color: white;
}

.dax-bg {
    background: linear-gradient(135deg, #F2C811 0%, #FFA500 100%);
    color: #1a1a1a;
}

.synapse-bg {
    background: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
    color: white;
}

.postgres-bg {
    background: linear-gradient(135deg, #336791 0%, #4D8BB8 100%);
    color: white;
}

.mssql-bg {
    background: linear-gradient(135deg, #CC2927 0%, #E85A58 100%);
    color: white;
}

/* Approach Section */


/* Hidden form field */
.sugar {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
   v2 additions — AI-ready pivot, accessibility, conversion
   ============================================================ */

/* Accessibility utilities */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--black);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 6px 0;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
.tech-item:focus-visible,
.cta-button:focus-visible,
.submit-button:focus-visible {
    outline: 3px solid var(--orange-text);
    outline-offset: 3px;
    border-radius: 4px;
}

/* "Is your data AI-ready?" section */
.ai-ready {
    padding: 120px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.ai-ready-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.ai-ready-col {
    background: var(--gray-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
}
.ai-ready-col h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}
.signal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.signal-list li {
    position: relative;
    padding-left: 32px;
    color: var(--gray-dark);
    line-height: 1.5;
}
.signal-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}
.signal-list--problem li::before { content: '\2715'; color: #c0392b; }
.signal-list--ready li::before { content: '\2713'; color: #1e8a5a; }
.signal-list--ready strong { color: var(--black); }

/* Mid-page + banner CTA */
.banner-cta { margin-top: 32px; }

/* Contact: how-we-start + privacy note */
.contact-start {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
}
.contact-start strong { color: var(--black); }
.form-privacy {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray);
}
.form-privacy a { color: var(--orange-text); }

/* Footer legal links */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: left;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--orange-text);
    text-decoration: underline;
}

/* Brand device: original mouse-over animation (Data13 -> DatAI3).
   Center the "AI" glyphs over "a1" for a clean swap; disable the transition
   for reduced-motion users. */
.transformable::before {
    left: 0;
    right: 0;
    text-align: center;
}
@media (prefers-reduced-motion: reduce) {
    .transformable,
    .transformable::before { transition: none; }
}

@media (max-width: 768px) {
    .ai-ready { padding: 80px 0; }
    .ai-ready-grid { grid-template-columns: 1fr; gap: 20px; }
    .ai-ready-col { padding: 28px; }
    .footer-content { flex-direction: column; text-align: center; }
}

/* Floating "Let's Talk" CTA — pinned to the bottom-right, follows the scroll.
   Toggled to .floating-cta--hidden by script.js when the contact section is
   on screen, so it disappears at the form and reappears when scrolling up. */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    display: inline-block;
    padding: 14px 28px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(250, 169, 56, 0.35);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.floating-cta:hover {
    background: #e89420;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(250, 169, 56, 0.45);
}

.floating-cta:focus-visible {
    outline: 3px solid var(--orange-text);
    outline-offset: 3px;
}

.floating-cta--hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(140%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 22px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Keep the gentle fade, drop the slide animation */
    .floating-cta { transition: opacity 0.3s ease, visibility 0.3s; }
}
