/* ===== Claremont AI Site Styles ===== */

/* ===== Root Variables ===== */
:root {
    --primary-color: #12344d;
    --secondary-color: #1e5fa3;
    --accent-color: #f39200;
    --light-bg: #f5f7fa;
    --border-color: #ddd;
    --text-color: #333;
    --light-text: #666;
    --success-bg: #d4edda;
    --error-bg: #f8d7da;
}

/* ===== Global Styles ===== */
:root {
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== Links (Accessibility) ===== */
a {
    color: #0056b3;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #003d82;
    text-decoration: none;
}

a:focus {
    outline: 2px solid #f39200;
    outline-offset: 2px;
}

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== Header & Navigation ===== */
.site-header {
    background-color: var(--primary-color);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.brand:hover {
    color: white;
    opacity: 0.9;
    text-decoration: none;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
}

.site-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    position: relative;
}

.site-nav a:hover {
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

.site-nav a:focus {
    outline: 2px solid #f39200;
    outline-offset: 2px;
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-color);
}

.site-nav .nav-cta {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 16px !important;
    border-radius: 4px;
    font-weight: 600;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    background-color: #ffb134;
    color: var(--primary-color);
    opacity: 1;
}

/* ===== Breadcrumbs ===== */
.breadcrumb-nav {
    background-color: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-nav .breadcrumb {
    margin: 0;
    padding: 0;
}

.breadcrumb-nav .breadcrumb li {
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--light-text);
}

.breadcrumb a {
    color: #003d82;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #003d82;
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--light-text);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 36px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== Main Sections ===== */
.section {
    padding: 44px 20px;
}

.section-alt {
    background-color: var(--light-bg);
}

.section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.section .lead {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    row-gap: 22px;
}

.service-card {
    background: white;
    padding: 22px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--light-text);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    row-gap: 20px;
}

.resource-intro {
    max-width: 850px;
    margin: 0 auto 24px;
}

.resource-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 22px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary-color);
}

.resource-card h2 {
    color: var(--primary-color);
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.resource-card p {
    color: #555;
    line-height: 1.75;
    flex: 1;
}

.resource-card .btn {
    align-self: flex-start;
    margin-top: 8px;
    color: #fff;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 48px 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .eyebrow {
    font-size: 0.9rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-points {
    list-style: none;
    padding: 0;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-points li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.hero-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.hero-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-card-copy {
    padding: 25px;
}

.hero-card-copy h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.hero-card-copy p {
    color: var(--light-text);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:focus {
    outline: 2px solid #f39200;
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #d87c00;
}

.primary-cta {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-cta:hover {
    background-color: #d87c00;
}

.primary-cta:focus {
    outline: 2px solid #003d82;
    outline-offset: 2px;
}

.secondary-cta {
    background-color: transparent;
    color: white;
    padding: 15px 32px;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.secondary-cta:focus {
    outline: 2px solid #f39200;
    outline-offset: 2px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 16px;
}

.site-footer h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.site-footer p {
    margin: 0;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer ul li {
    margin: 0 0 10px;
    padding: 0;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #e8e8e8;
    text-decoration: underline;
}

.site-footer small {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* ===== Forms ===== */
.contact-form {
    max-width: 500px;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    margin-top: 24px;
}

.contact-layout > * {
    min-width: 0;
}

.other-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    margin-top: 24px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 95, 163, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

#form-message.success {
    background-color: var(--success-bg);
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background-color: var(--error-bg);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Utilities ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ===== Responsive Grids ===== */
.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-details-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.constrained-img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quote-card {
    width: 100%;
    padding: clamp(24px, 4vw, 40px);
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border: 1px solid rgba(30, 95, 163, 0.16);
    border-left: 6px solid var(--accent-color);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(18, 52, 77, 0.12);
}

.quote-card blockquote {
    margin: 0;
}

.quote-card blockquote::before {
    content: "\201C";
    display: block;
    color: var(--accent-color);
    font-family: Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.75;
    margin-bottom: 16px;
}

.quote-card blockquote p {
    max-width: 70ch;
    margin: 0;
    color: var(--primary-color);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    line-height: 1.75;
}

.quote-card figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #dfe5ec;
    color: var(--light-text);
    font-size: 0.95rem;
}

.quote-card cite {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 700;
}

.quote-card--featured {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .quote-card {
        padding: 24px;
    }

    .quote-card blockquote::before {
        font-size: 3.25rem;
    }
}

@media print {
    .quote-card {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        box-shadow: none;
    }
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .site-nav a {
        font-size: 0.85rem;
    }

    .site-nav .nav-cta {
        padding: 6px 12px !important;
        font-size: 0.85rem;
    }

    .page-header {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .hero {
        padding: 30px 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-cta,
    .secondary-cta {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 36px 20px;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .brand span {
        display: none;
    }

    .site-nav {
        gap: 10px;
        font-size: 0.8rem;
    }

    .site-nav a {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .page-header {
        padding: 24px 15px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header .lead {
        font-size: 0.9rem;
    }

    .hero {
        padding: 24px 15px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero .lead {
        font-size: 0.95rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .section {
        padding: 24px 15px;
    }

    .section h2 {
        font-size: 1.4rem;
    }

    .breadcrumb {
        gap: 5px;
        font-size: 0.85rem;
    }

    .breadcrumb li:not(:last-child)::after {
        margin-left: 5px;
    }

    .constrained-img {
        max-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .breadcrumb-nav {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .btn,
    .primary-cta,
    .secondary-cta {
        border: 1px solid black;
    }
}

/* ===== Homepage ===== */
.ai-home .site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #dfe6eb;
    box-shadow: 0 4px 18px rgba(18, 52, 77, 0.06);
}

.ai-home .brand {
    color: var(--primary-color);
}

.ai-home .site-nav a {
    color: var(--primary-color);
    font-weight: 600;
}

.ai-home .site-nav a:hover,
.ai-home .site-nav a[aria-current="page"] {
    color: var(--secondary-color);
}

.ai-home .site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--accent-color);
}

.ai-home .site-nav .nav-cta {
    background: var(--primary-color);
    border-radius: 999px;
    color: #fff;
    padding: 9px 18px !important;
}

.ai-home .site-nav .nav-cta:hover,
.ai-home .site-nav .nav-cta:focus {
    background: #1d5568;
    color: #fff;
    opacity: 1;
}

.ai-home .ai-home-hero {
    background: linear-gradient(125deg, #12344d 0%, #174f5c 100%);
    padding: 0 20px;
}

.ai-home .ai-home-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    padding: 72px 0;
}

.ai-home-hero-copy h1 {
    max-width: 13ch;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.ai-home .ai-home-hero .eyebrow,
.ai-home .ai-home-contact .eyebrow {
    color: #ffd166;
}

.ai-home .ai-home-hero .lead {
    max-width: 58ch;
    margin-bottom: 0;
    color: #e4edf2;
    font-size: 1.15rem;
    line-height: 1.75;
}

.ai-home .ai-home-hero .hero-actions {
    gap: 12px;
    margin: 28px 0 26px;
}

.ai-home .ai-home-hero .primary-cta {
    background: #ffd166;
    color: #12344d;
}

.ai-home .ai-home-hero .primary-cta:hover,
.ai-home .ai-home-hero .primary-cta:focus {
    background: #ffe09a;
    color: #12344d;
}

.ai-home .ai-home-hero .secondary-cta {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.ai-home .ai-home-hero .secondary-cta:hover,
.ai-home .ai-home-hero .secondary-cta:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ai-home-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.ai-home-proof span {
    display: grid;
    gap: 2px;
}

.ai-home-proof strong {
    color: #fff;
    font-size: 0.96rem;
}

.ai-home-proof small {
    color: #d3e1e8;
    font-size: 0.82rem;
}

.ai-home-visual {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    background: #e9f0f3;
    box-shadow: 0 24px 60px rgba(5, 23, 35, 0.28);
}

.ai-home-visual img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.ai-home-visual-note {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(7, 28, 43, 0.16);
}

.ai-home-visual-note span {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.ai-home-visual-note p {
    margin: 4px 0 0;
    color: #506575;
}

.ai-home .section {
    padding: 72px 20px;
}

.ai-home-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.ai-home-section-heading h2,
.ai-home-approach h2 {
    margin: 0 0 12px;
    color: var(--primary-color);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.ai-home-section-heading > p:last-child,
.ai-home-approach-grid > div:first-child > p:not(.eyebrow) {
    max-width: 68ch;
    color: #526675;
    font-size: 1.05rem;
}

.ai-home .ai-home-capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ai-home-capability-card {
    min-height: 245px;
    padding: 25px 22px;
    border: 1px solid #e0e8ed;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(18, 52, 77, 0.06);
}

.ai-home-capability-card:hover {
    border-color: #b7cbd7;
    box-shadow: 0 14px 32px rgba(18, 52, 77, 0.11);
}

.ai-home-card-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #2b7a78;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.ai-home-capability-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.ai-home-capability-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.ai-home-capability-card h3 a:hover,
.ai-home-capability-card h3 a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.ai-home-capability-card p,
.ai-home-resource-card p {
    margin: 0;
    color: #526675;
    line-height: 1.7;
}

.ai-home .ai-home-approach {
    background: #f2f6f8;
}

.ai-home-approach-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.ai-home-approach-grid .eyebrow,
.ai-home-resources .eyebrow {
    color: #2b7a78;
}

.ai-home-approach-grid > div:first-child > p:not(.eyebrow) {
    margin: 16px 0 24px;
    line-height: 1.8;
}

.ai-home .ai-home-approach .secondary-cta {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ai-home .ai-home-approach .secondary-cta:hover,
.ai-home .ai-home-approach .secondary-cta:focus {
    background: #e3edf2;
    color: var(--primary-color);
}

.ai-home-approach-panel {
    padding: 30px;
    border: 1px solid #dfe8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18, 52, 77, 0.08);
}

.ai-home-approach-panel h3 {
    margin: 0 0 16px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.ai-home-approach-panel ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-home-approach-panel li {
    position: relative;
    padding-left: 28px;
    color: #425968;
}

.ai-home-approach-panel li::before {
    position: absolute;
    left: 0;
    color: #2b7a78;
    content: "\2713";
    font-weight: 700;
}

.ai-home-resources-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.ai-home-resources-heading > a,
.ai-home-resource-card > a {
    color: #1e5fa3;
    font-weight: 700;
    text-decoration: none;
}

.ai-home-resources-heading > a:hover,
.ai-home-resource-card > a:hover {
    text-decoration: underline;
}

.ai-home .ai-home-resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ai-home-resource-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 24px;
    border: 1px solid #e0e8ed;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(18, 52, 77, 0.06);
}

.ai-home-resource-card h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.18rem;
}

.ai-home-resource-card > a {
    margin-top: auto;
    padding-top: 18px;
}

.ai-home-contact {
    padding: 50px 20px;
    background: linear-gradient(120deg, #12344d, #174f5c);
    color: #fff;
}

.ai-home-contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.ai-home-contact h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.ai-home-contact-inner > div > p:last-child {
    margin: 0;
    color: #e4edf2;
}

.ai-home-contact .primary-cta {
    flex: 0 0 auto;
    background: #ffd166;
    color: #12344d;
}

.ai-home-contact .primary-cta:hover,
.ai-home-contact .primary-cta:focus {
    background: #ffe09a;
    color: #12344d;
}

@media (max-width: 900px) {
    .ai-home .ai-home-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-home-approach-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ai-home .ai-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 48px 0;
    }

    .ai-home .ai-home-hero .hero-actions {
        flex-direction: row;
    }

    .ai-home .ai-home-hero .primary-cta,
    .ai-home .ai-home-hero .secondary-cta {
        width: auto;
    }

    .ai-home .section {
        padding: 52px 20px;
    }

    .ai-home .ai-home-resource-grid {
        grid-template-columns: 1fr;
    }

    .ai-home-contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-home-contact .primary-cta {
        width: auto;
    }
}

@media (max-width: 480px) {
    .ai-home .ai-home-capability-grid {
        grid-template-columns: 1fr;
    }

    .ai-home .ai-home-hero .hero-actions {
        flex-direction: column;
    }

    .ai-home .ai-home-hero .primary-cta,
    .ai-home .ai-home-hero .secondary-cta {
        width: 100%;
    }

    .ai-home-visual,
    .ai-home-visual img {
        min-height: 290px;
        height: 290px;
    }

    .ai-home-resources-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle[hidden],
.site-nav[hidden] {
    display: none;
}

.nav-toggle:focus-visible,
.site-nav a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.nav-toggle-icon {
    display: grid;
    gap: 4px;
    width: 18px;
}

.nav-toggle-icon span {
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .nav-toggle:not([hidden]) {
        display: inline-flex;
        margin-left: auto;
    }

    .ai-home .nav-toggle {
        color: var(--primary-color);
        border-color: var(--primary-color);
        background: #fff;
    }

    .site-nav {
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        background: var(--primary-color);
    }

    .site-nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.08);
    }

    .ai-home .site-nav a:not(.nav-cta),
    .ai-home .site-nav a:not(.nav-cta):hover {
        color: #fff;
    }

    .site-nav .nav-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .contact-form {
        max-width: none;
    }
}
