:root {
    --ia-bg: #f0f7ff;
    --ia-bg-elevated: #e8f4fc;
    --ia-surface: #ffffff;
    --ia-border-subtle: #c5dceb;
    --ia-accent: #5b9bd5;
    --ia-accent-soft: rgba(91, 155, 213, 0.2);
    --ia-accent-strong: #4a8ac4;
    --ia-text: #1a3a52;
    --ia-text-muted: #5a7a8e;
    --ia-danger: #e07a7a;
    --ia-radius-sm: 6px;
    --ia-radius-md: 12px;
    --ia-radius-lg: 18px;
    --ia-shadow-soft: 0 18px 50px rgba(91, 155, 213, 0.15);
    --ia-shadow-subtle: 0 10px 30px rgba(91, 155, 213, 0.1);
    --ia-font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: var(--ia-font-sans);
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 50%, #ddeef9 100%);
    color: var(--ia-text);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.max-width {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* Top navigation bar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 220, 235, 0.6);
}

.nav-bar {
    position: relative;
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    gap: 1rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-brand-logo {
    height: 30px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.nav-brand-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--ia-text);
}

.nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-link-trigger {
    display: block;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    color: var(--ia-text-muted);
    transition: color 0.2s ease;
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link-trigger:hover,
.nav-item.is-active .nav-link {
    color: var(--ia-text);
}

.nav-link-trigger {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

.nav-chevron {
    font-size: 0.65em;
    opacity: 0.8;
    margin-left: 0.15em;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Hover dropdowns - with bridge to prevent gap */
.nav-has-dropdown > .nav-link::after,
.nav-has-dropdown > .nav-link-trigger::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 200px;
    margin-top: 4px;
    padding: 0.4rem 0;
    background: var(--ia-surface);
    border: 1px solid var(--ia-border-subtle);
    border-radius: var(--ia-radius-sm);
    box-shadow: 0 8px 24px rgba(26, 58, 82, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--ia-text-muted);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
    background: var(--ia-accent-soft);
    color: var(--ia-text);
}

/* Login dropdown - align right */
.nav-login .nav-dropdown {
    left: auto;
    right: 0;
    transform: translateY(-4px);
}

.nav-login:hover .nav-dropdown {
    transform: translateY(0);
}

/* Module “home” back bar (timesheet / payroll; hidden on module index.php) */
.nav-module-back {
    border-bottom: 1px solid rgba(197, 220, 235, 0.55);
    background: rgba(255, 255, 255, 0.88);
}
.nav-module-back-link {
    display: inline-block;
    padding: 0.4rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ia-text-muted);
    text-decoration: none;
}
.nav-module-back-link:hover {
    color: var(--ia-accent-strong);
    text-decoration: underline;
}

/* Timesheet / Payroll nav: “(Logged in as Username)” chip — 90% of .nav-link (0.9rem); username bold, red, capitalize */
.nav-user-chip {
    margin-left: 0.25rem;
    align-self: center;
    flex-shrink: 0;
}
.nav-user-chip-inner {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    padding: 0.22rem 0.42rem;
    background: #ff9800;
    color: #1a1a1a;
    border-radius: var(--ia-radius-sm, 6px);
    font-size: calc(0.9rem * 0.9);
    line-height: 1.2;
    max-width: 14rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.nav-user-chip-paren {
    font-weight: 400;
    opacity: 0.95;
}
.nav-user-chip-text {
    font-weight: 400;
    white-space: nowrap;
    opacity: 0.95;
}
.nav-user-chip-name {
    margin-left: 0.25em;
    font-weight: 700;
    color: #c62828;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
}

/* Timesheet & payroll module headers (use .header-inner / .brand / .site-nav) */
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.65rem 1.5rem;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header .brand:hover {
    text-decoration: none;
}

.site-header .brand-logo {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    border-radius: 6px;
}

.site-header .brand-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--ia-text);
}

.site-header .site-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .site-nav a {
    display: block;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    color: var(--ia-text-muted);
    text-decoration: none;
}

.site-header .site-nav a:hover {
    color: var(--ia-text);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--ia-border-subtle);
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--ia-text);
    transform: translateX(-50%);
    transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle span:nth-child(1) {
    top: 10px;
}

.nav-toggle span:nth-child(2) {
    top: 15px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

.nav-toggle.is-open span:nth-child(1) {
    top: 15px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    top: 15px;
    transform: translateX(-50%) rotate(-45deg);
}

.site-main {
    padding-block: 2.5rem 3.5rem;
}

.hero {
    padding-block: 2.5rem 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.8rem;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 155, 213, 0.4);
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.15), rgba(232, 244, 252, 0.95));
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ia-text-muted);
    margin-bottom: 0.8rem;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ia-accent);
    box-shadow: 0 0 0 6px rgba(50, 197, 255, 0.25);
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
    margin: 0 0 0.75rem;
}

.hero h1 span {
    background: linear-gradient(120deg, var(--ia-accent-strong), var(--ia-accent));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    color: var(--ia-text-muted);
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ia-accent), var(--ia-accent-strong));
    color: #ffffff;
    box-shadow: var(--ia-shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 60px rgba(91, 155, 213, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--ia-border-subtle);
    color: var(--ia-text-muted);
}

.btn-ghost:hover {
    border-color: var(--ia-accent);
    background: rgba(255, 255, 255, 1);
    color: var(--ia-text);
}

.hero-meta {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.78rem;
    color: var(--ia-text-muted);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-stat strong {
    font-size: 1rem;
    color: var(--ia-text);
}

.hero-panel {
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.12), rgba(255, 255, 255, 0.95));
    border-radius: 1.6rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(197, 220, 235, 0.8);
    box-shadow: var(--ia-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--ia-text-muted);
}

.hero-dot-row {
    display: flex;
    gap: 0.3rem;
}

.hero-dot-row span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
}

.hero-dot-row span:nth-child(1) {
    background: #ff6b6b;
}

.hero-dot-row span:nth-child(2) {
    background: #f5c84a;
}

.hero-dot-row span:nth-child(3) {
    background: #45d483;
}

.hero-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.hero-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
}

.hero-panel-label {
    font-size: 0.8rem;
    color: var(--ia-text-muted);
}

.hero-pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.2);
    color: var(--ia-accent-strong);
    border: 1px solid rgba(91, 155, 213, 0.5);
}

.section {
    padding-block: 1.5rem 0.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ia-text-muted);
}

.section-title {
    font-size: 1.4rem;
    margin: 0.1rem 0 0.2rem;
}

.section-subtitle {
    margin: 0;
    color: var(--ia-text-muted);
    font-size: 0.9rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--ia-radius-md);
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--ia-border-subtle);
    box-shadow: var(--ia-shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.9rem;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.35), rgba(91, 155, 213, 0.15));
    color: var(--ia-accent-strong);
    font-size: 0.76rem;
    font-weight: 600;
}

.card h3 {
    margin: 0.1rem 0;
    font-size: 1rem;
}

.card p {
    margin: 0;
    color: var(--ia-text-muted);
}

.card-footer {
    margin-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--ia-text-muted);
}

.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--ia-accent);
    text-decoration: none;
}

.link-inline::after {
    content: '→';
    font-size: 0.8em;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pill {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ia-border-subtle);
    font-size: 0.78rem;
    color: var(--ia-text-muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--ia-radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid var(--ia-border-subtle);
    box-shadow: var(--ia-shadow-subtle);
    font-size: 0.9rem;
}

.testimonial p {
    margin: 0;
}

.testimonial strong {
    display: block;
    margin-top: 0.7rem;
}

.testimonial span {
    font-size: 0.8rem;
    color: var(--ia-text-muted);
}

.cta-band {
    margin-top: 2.8rem;
    padding: 1.2rem 1.4rem;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.2), rgba(232, 244, 252, 0.95));
    border: 1px solid rgba(197, 220, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.cta-band-text {
    font-size: 0.95rem;
}

.layout-two-column {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 2rem;
}

.prose h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.prose p {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--ia-text-muted);
}

.timeline {
    border-left: 1px dashed rgba(91, 155, 213, 0.4);
    padding-left: 1rem;
    margin-top: 0.4rem;
}

.timeline-item {
    margin-bottom: 0.9rem;
}

.timeline-item h3 {
    margin: 0;
    font-size: 0.95rem;
}

.timeline-item span {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--ia-text-muted);
}

.timeline-item p {
    margin: 0.3rem 0 0;
    color: var(--ia-text-muted);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.filter-chip {
    border-radius: 999px;
    border: 1px solid var(--ia-border-subtle);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    color: var(--ia-text-muted);
}

.filter-chip.is-active {
    border-color: var(--ia-accent);
    background: rgba(91, 155, 213, 0.2);
    color: var(--ia-accent-strong);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--ia-radius-md);
    overflow: hidden;
    border: 1px solid var(--ia-border-subtle);
    display: flex;
    flex-direction: column;
    box-shadow: var(--ia-shadow-subtle);
}

.project-body {
    padding: 0.95rem 1.05rem 1rem;
    font-size: 0.88rem;
}

.project-body h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.project-body p {
    margin: 0.15rem 0;
    color: var(--ia-text-muted);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.badge {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(232, 244, 252, 0.9);
    border: 1px solid var(--ia-border-subtle);
    font-size: 0.75rem;
    color: var(--ia-text-muted);
}

.project-footer {
    padding: 0.8rem 1.05rem;
    border-top: 1px solid var(--ia-border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--ia-text-muted);
}

.load-more {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 2rem;
}

.form-field {
    margin-bottom: 0.85rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    color: var(--ia-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid var(--ia-border-subtle);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ia-text);
    font-family: inherit;
    font-size: 0.9rem;
}

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

.form-help {
    font-size: 0.78rem;
    color: var(--ia-text-muted);
    margin-top: 0.15rem;
}

.map-embed {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--ia-shadow-subtle);
    border: 1px solid var(--ia-border-subtle);
}

.site-footer {
    border-top: 1px solid var(--ia-border-subtle);
    padding-block: 1.8rem 1.2rem;
    background: linear-gradient(to top, #e8f4fc, rgba(240, 247, 255, 0.98));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.3fr 1.5fr 1.5fr;
    gap: 1.5rem;
    font-size: 0.86rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.footer-grid p {
    margin: 0.3rem 0;
    color: var(--ia-text-muted);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
}

.footer-links a {
    color: var(--ia-text-muted);
    font-size: 0.86rem;
}

.footer-bottom {
    border-top: 1px solid var(--ia-border-subtle);
    margin-top: 1.2rem;
    padding-top: 0.7rem;
    font-size: 0.78rem;
    color: var(--ia-text-muted);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.fade-up {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 280ms ease, transform 280ms ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .layout-two-column,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid,
    .testimonial-grid,
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nav-bar-inner {
        flex-wrap: nowrap;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 1.5rem 1rem;
        background: rgba(255, 255, 255, 0.99);
        border-bottom: 1px solid var(--ia-border-subtle);
        box-shadow: 0 8px 24px rgba(26, 58, 82, 0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.is-open {
        max-height: 85vh;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-item {
        border-bottom: 1px solid rgba(197, 220, 235, 0.35);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link,
    .nav-link-trigger {
        padding: 0.7rem 0;
        font-size: 0.95rem;
    }

    /* Remove hover bridge on mobile */
    .nav-has-dropdown > .nav-link::after,
    .nav-has-dropdown > .nav-link-trigger::after {
        display: none;
    }

    .nav-has-dropdown .nav-dropdown {
        position: static;
        transform: none;
        min-width: auto;
        margin: 0 0 0 1rem;
        padding: 0.25rem 0 0.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }

    .nav-has-dropdown.is-open .nav-dropdown {
        max-height: 400px;
    }

    .nav-dropdown a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .card-grid,
    .testimonial-grid,
    .project-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

