:root {
    --navy: #1E293B;
    --navy-dark: #0F172A;
    --timber: #78350F;
    --timber-light: #B45309;
    --orange: #F97316;
    --orange-dark: #EA580C;
    --gold: #D97706;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --content-width: 72rem;
    --narrow-width: 56rem;
    --body-font: 'Open Sans', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

*, *::before { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: #111827; font-family: var(--body-font); line-height: 1.6; }
img { max-width: 100%; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--space-4); color: var(--navy); font-family: var(--heading-font); line-height: 1.2; }
p { margin: 0 0 var(--space-4); }
ul { margin: 0; padding: 0; list-style: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12); }
.nav-container, .container { width: min(100% - 2rem, var(--content-width)); margin-inline: auto; }
.narrow-container { width: min(100% - 2rem, var(--narrow-width)); margin-inline: auto; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; color: var(--navy); font: 700 1.5rem/1.2 var(--heading-font); text-decoration: none; }
.brand img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.brand-name { margin-left: var(--space-3); }
.nav-links { display: flex; gap: var(--space-8); align-items: center; }
.nav-links a, .footer a { color: var(--gray-700); font-weight: 600; text-decoration: none; }
.nav-links a:hover, .footer a:hover { color: var(--orange); }
.menu-toggle { display: none; border: 0; padding: 0.5rem; background: transparent; color: var(--navy); cursor: pointer; }
.menu-icon { display: block; width: 1.5rem; height: 0.125rem; margin: 0.3rem 0; background: currentColor; }
.mobile-menu { display: none; padding: 0 1rem 1rem; background: var(--white); }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--gray-700); font-weight: 600; text-decoration: none; border-top: 1px solid var(--gray-200); }
.mobile-menu a:hover { color: var(--orange); }

.hero, .cta { color: var(--white); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.hero-home { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-dark); }
.hero-home::before { position: absolute; z-index: -2; inset: -1rem; content: ''; background: url('../assets/04e935cb-fd4f-4ff8-a4a8-6d6856dfe05a.jpg') center 55% / cover no-repeat; filter: blur(5px); transform: scale(1.04); }
.hero-home::after { position: absolute; z-index: -1; inset: 0; content: ''; background: rgba(15, 23, 42, 0.7); }
.hero h1, .cta h2 { color: var(--white); }
.hero { padding: 4rem 0; }
.hero-large { padding: 5rem 0 7rem; }
.hero-content { text-align: left; }
.hero-home .hero-content { text-align: center; }
.hero p { color: #E5E7EB; font-size: 1.25rem; }
.hero-home p { font-size: 1.5rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.hero-actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }
.hero-home .hero-content { position: relative; z-index: 1; }

.button { display: inline-block; border: 0; border-radius: 0.5rem; padding: 0.75rem 1.5rem; background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.button:hover { background: var(--orange-dark); transform: translateY(-2px); }
.button-secondary { background: var(--white); color: var(--navy); }
.button-secondary:hover { background: var(--gray-100); }
.button-wide { width: 100%; }

.section { padding: var(--space-16) 0; }
.section-muted { background: var(--gray-50); }
.section-heading { margin-bottom: var(--space-12); text-align: center; }
.section-heading h2 { margin-bottom: var(--space-2); font-size: clamp(2rem, 4vw, 2.75rem); }
.section-heading p { color: var(--gray-600); font-size: 1.125rem; }
.content-grid { display: grid; gap: var(--space-8); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .info-card, .form-panel, .approach-panel { background: var(--white); border: 2px solid var(--gray-200); border-radius: 0.5rem; padding: var(--space-6); }
.service-card { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.service-card:hover { border-color: var(--orange); box-shadow: 0 15px 30px rgba(31, 41, 59, 0.2); transform: translateY(-5px); }
.icon-tile, .trust-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: var(--space-4); border-radius: 0.5rem; background: var(--orange); color: var(--white); font-size: 1.25rem; font-weight: 700; }
.trust-grid { text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-icon { border-radius: 50%; margin-bottom: var(--space-3); }
.trust-item h3, .service-card h3, .info-card h3 { font-size: 1.25rem; }
.trust-item p, .service-card p, .info-card p, .body-copy { color: var(--gray-700); }
.check-list li { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--gray-700); }
.check-mark { flex: 0 0 1.5rem; color: var(--orange); font-size: 1.125rem; font-weight: 700; }
.approach-panel { border-color: var(--orange); }
.approach-panel h3 { font-size: 1.5rem; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.area-group h3 { color: var(--timber); font-size: 1.25rem; }
.area-group li { margin-bottom: var(--space-2); color: var(--gray-700); }
.cta { padding: var(--space-16) 0; text-align: center; }
.centered { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.cta p { color: #E5E7EB; font-size: 1.125rem; }

.service-detail { padding: 0 0 var(--space-16); margin-bottom: var(--space-16); border-bottom: 2px solid var(--gray-200); }
.service-detail:last-child { margin-bottom: 0; }
.service-detail h2 { display: flex; align-items: center; gap: var(--space-4); font-size: clamp(2rem, 4vw, 2.75rem); }
.service-detail h2 span { font-size: 2.25rem; }
.service-detail > p { margin-bottom: var(--space-6); color: var(--gray-700); font-size: 1.125rem; }
.service-detail h3 { color: var(--timber); font-size: 1.25rem; }
.service-list li { display: flex; gap: var(--space-3); margin-bottom: var(--space-2); color: var(--gray-700); }
.note { border-left: 4px solid var(--orange); border-radius: 0.5rem; padding: var(--space-6); background: var(--white); }
.service-summary { max-width: 52rem; margin: 0 auto var(--space-8); color: var(--gray-700); text-align: center; }
.work-gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: var(--space-4); margin-top: var(--space-12); }
.work-gallery figure { min-height: 13rem; margin: 0; overflow: hidden; border-radius: 0.5rem; background: var(--gray-200); }
.work-gallery figure:first-child { grid-row: span 2; }
.work-gallery img { width: 100%; height: 100%; object-fit: cover; }
.technology-panel { border-left: 4px solid var(--orange); padding: var(--space-6); background: var(--gray-50); }

.form-panel { padding: 2rem; }
.form-panel h2 { font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-bottom: var(--space-6); }
.field { margin-bottom: var(--space-6); }
.field label { display: block; margin-bottom: var(--space-2); color: var(--navy); font-size: 0.875rem; font-weight: 600; }
.form-control { width: 100%; border: 2px solid var(--gray-300); border-radius: 0.5rem; padding: 0.625rem 1rem; background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15); }
textarea.form-control { min-height: 8rem; resize: vertical; }
.field-help, .privacy-note { color: var(--gray-500); font-size: 0.875rem; }
.upload-area { border: 2px dashed var(--navy); border-radius: 0.5rem; padding: var(--space-6); background: var(--gray-50); text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.upload-area:hover, .upload-area.dragover { border-color: var(--orange); background: #FEF3F2; }
.upload-area input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.upload-icon { margin-bottom: var(--space-2); font-size: 2.25rem; }
.upload-title { color: var(--navy); font-weight: 600; }
.file-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.file-item { display: flex; align-items: center; gap: var(--space-2); border-radius: 0.25rem; padding: var(--space-2); background: #ECFDF5; color: var(--gray-700); font-size: 0.875rem; }
.consent { display: flex; align-items: flex-start; gap: var(--space-3); color: var(--gray-700); font-size: 0.875rem; }
.consent input { margin-top: 0.25rem; accent-color: var(--orange); }
.tips-grid { margin-top: var(--space-12); }
.tip { border-left: 4px solid; border-radius: 0.25rem; padding: var(--space-6); }
.tip-blue { border-color: #60A5FA; background: #EFF6FF; }
.tip-green { border-color: #4ADE80; background: #F0FDF4; }
.tip h3 { font-size: 1.125rem; }

.footer { padding: var(--space-12) 0; background: var(--navy); color: var(--white); }
.footer h3, .footer h4 { color: var(--white); }
.footer p, .footer a { color: #D1D5DB; }
.footer .footer-link-accent { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); margin-bottom: var(--space-8); }
.footer-links li { margin-bottom: var(--space-2); }
.footer-bottom { border-top: 1px solid #4B5563; padding-top: var(--space-8); text-align: center; color: var(--gray-400); font-size: 0.875rem; }
.footer-bottom p:last-child { margin-top: var(--space-2); color: var(--gray-500); font-size: 0.75rem; }

@media (max-width: 48rem) {
    .nav-row { min-height: 3.25rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu.is-open { display: block; }
    .nav-row > .button { display: none; }
    .brand-name { font-size: 1.1rem; }
    .brand img { width: 2.25rem; height: 2.25rem; }
    .hero-home { padding: 4rem 0; }
    .cards-3, .cards-2, .area-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
    .section, .cta { padding: var(--space-12) 0; }
    .form-panel { padding: var(--space-6); }
    .service-detail h2 { align-items: flex-start; }
    .work-gallery { grid-template-columns: 1fr 1fr; }
    .work-gallery figure:first-child { grid-row: auto; grid-column: span 2; }
}

@media (min-width: 48.0625rem) {
    .hero-content { text-align: left; }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F1F1F1; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--timber); }
