:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --primary-dark: #0a3c6b;
 --secondary-color: #0891b2; /* Tech Cyan */
 --text-dark: #2d3748;
 --text-light: #4a5568; /* Steel Gray */
 --bg-light: #f7fafc;
 --bg-white: #ffffff;
 --bg-dark: #1a202c;
 --border-color: #e2e8f0;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
 --section-padding: clamp(60px, 12vw, 120px);
 --container-width: 1140px;
 --radius: 8px;
 --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 color: var(--text-light);
 background-color: var(--bg-white);
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 color: var(--text-dark);
 line-height: 1.2;
 margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
 width: 90%;
 max-width: var(--container-width);
 margin: 0 auto;
}

.container-narrow { max-width: 800px; }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 transition: var(--transition);
 border-bottom: 1px solid transparent;
}
.header.scrolled {
 background: rgba(255, 255, 255, 0.95);
 border-bottom-color: var(--border-color);
}
.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 90px;
 max-width: 1400px;
 padding: 0 40px;
 margin: 0 auto;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links ul { display: flex; align-items: center; gap: 50px; }
.nav-links a { font-weight: 500; color: var(--text-light); font-size: 1rem; position: relative; padding: 10px 0;}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; }

/* Lots of Air - Hero */
.hero {
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: var(--bg-white);
 padding: var(--section-padding) 0;
}
.hero-content {
 text-align: center;
 max-width: 700px;
}
.hero-title {
 margin-bottom: 1.5rem;
}
.hero-subtitle {
 font-size: 1.25rem;
 color: var(--text-light);
 margin-bottom: 2.5rem;
}

/* Sections */
.section { padding: var(--section-padding) 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff;}
.bg-dark h1, .bg-dark h2 { color: #fff; }
.bg-dark p { color: #a0aec0; }

.section-header {
 text-align: center;
 margin-bottom: clamp(40px, 8vw, 80px);
}
.section-label {
 display: inline-block;
 font-size: 0.875rem;
 font-weight: 600;
 color: var(--primary-color);
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 1rem;
}
.section-title {
 margin-bottom: 1rem;
}

/* Lots of Air - Layout */
.section-airy { padding: var(--section-padding) 0; }
.text-center { text-align: center; }

.airy-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: clamp(30px, 5vw, 60px);
}
@media (min-width: 768px) {
 .airy-grid {
 grid-template-columns: repeat(3, 1fr);
 }
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: clamp(30px, 5vw, 60px);
 max-width: 900px;
 margin: 0 auto;
}
@media (min-width: 768px) {
 .team-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

/* Cards */
.card {
 background-color: var(--bg-white);
 border-radius: var(--radius);
 border: 1px solid var(--border-color);
 overflow: hidden;
 transition: var(--transition);
}
.card:hover { 
 transform: translateY(-10px);
 box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body { padding: 2rem; }
.card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card-text { margin-bottom: 1.5rem; }
.card-link {
 font-weight: 600;
 color: var(--primary-color);
 display: inline-block;
}

/* Split Section */
.split-section {
 display: grid;
 grid-template-columns: 1fr;
 gap: clamp(40px, 8vw, 80px);
 align-items: center;
}
@media (min-width: 992px) {
 .split-section {
 grid-template-columns: 1fr 1fr;
 }
 .split-section.reverse {
 grid-template-columns: 1fr 1fr;
 }
 .split-section.reverse .split-content { grid-row: 1; grid-column: 1; }
 .split-section.reverse .split-image { grid-row: 1; grid-column: 2; }
}
.split-image img {
 width: 100%;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.split-content ul {
 list-style: disc;
 padding-left: 20px;
 margin-top: 1.5rem;
 margin-bottom: 2rem;
}
.split-content li { margin-bottom: 0.75rem; }

/* Buttons */
.btn {
 display: inline-block;
 padding: 1rem 2.5rem;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius);
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
 text-align: center;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-3px);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
}

/* Testimonial Section */
.section-testimonial {
 background-color: var(--bg-light);
 padding: var(--section-padding) 0;
}
.section-testimonial blockquote {
 text-align: center;
 font-size: clamp(1.25rem, 3vw, 1.75rem);
 font-style: italic;
 font-weight: 400;
 color: var(--text-dark);
 line-height: 1.5;
 max-width: 750px;
 margin: 0 auto;
 position: relative;
}
.section-testimonial cite {
 display: block;
 font-size: 1rem;
 font-style: normal;
 font-weight: 600;
 margin-top: 2rem;
}
.testimonial-avatar {
 width: 100px;
 height: 100px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 2rem;
 display: block;
 box-shadow: var(--shadow);
}

/* CTA Section */
.section-cta { padding: var(--section-padding) 0; }
.section-cta h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.section-cta p { max-width: 600px; margin: 0 auto 2rem; }

/* Team Section */
.team-card { text-align: center; padding: 2rem; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; }
.team-name { font-size: 1.25rem; }
.team-title { color: var(--primary-color); font-weight: 500; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.9rem; }

/* Values Section */
.values-list {
 display: grid;
 gap: clamp(30px, 5vw, 60px);
}
.value-item { text-align: center; }
.value-item h3 { font-size: 1.25rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
 border-bottom: 1px solid var(--border-color);
 padding: 1.5rem 0;
}
.faq-item summary {
 font-size: 1.2rem;
 font-weight: 600;
 cursor: pointer;
 list-style: none; /* remove default arrow */
 position: relative;
 padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
 content: '+';
 position: absolute;
 right: 0;
 top: 50%;
 transform: translateY(-50%);
 font-size: 1.5rem;
 color: var(--primary-color);
 transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin-top: 1rem; padding-left: 1rem; }

/* Contact Page */
.contact-grid {
 display: grid;
 gap: clamp(40px, 8vw, 100px);
}
@media (min-width: 992px) {
 .contact-grid {
 grid-template-columns: 2fr 1fr;
 }
}
.contact-info-item { margin-bottom: 2.5rem; }
.contact-info-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); margin-bottom: 0.5rem; }
.contact-info-item p { margin: 0; line-height: 1.6; }

.section-airy-map {
 margin: var(--section-padding) auto;
 max-width: var(--container-width);
 padding: 0 5%;
}

.map-container {
 height: 450px;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Legal Page */
.legal-page { padding: calc(var(--section-padding) + 90px) 0 var(--section-padding); }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.legal-page th, .legal-page td { border: 1px solid var(--border-color); padding: 0.75rem; text-align: left; }
.legal-page th { background-color: var(--bg-light); }

/* Footer */
.footer {
 background-color: var(--bg-dark);
 color: #a0aec0;
 padding: var(--section-padding) 0 3rem;
 margin-top: var(--section-padding);
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 4rem;
 margin-bottom: 4rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--bg-white); display: block; margin-bottom: 1rem; }
.footer-description { font-size: 0.9rem; }
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: var(--bg-white);
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 1rem; }
.footer-links a, .footer-contact a { color: #a0aec0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--bg-white); }
.footer-bottom {
 border-top: 1px solid #4a5568;
 padding-top: 2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
}
.footer-copyright { font-size: 0.875rem; margin: 0; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: 0.875rem; color: #a0aec0; }
.footer-legal a:hover { color: var(--bg-white); }

/* Form Styles */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
 width: 100%;
 padding: 0.9rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 background-color: var(--bg-white);
 font-family: var(--font-main);
 font-size: 1rem;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.2);
}
.checkbox-group { display: flex; align-items: start; gap: 0.5rem; }
.checkbox-group label { font-weight: 400; font-size: 0.9rem; }
.checkbox-group input { margin-top: 4px; }

.input-error { border-color: #dc2626 !important; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; }
.spinner {
 display: inline-block;
 width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%; border-top-color: #fff;
 animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--bg-dark);
 color: #fff;
 padding: 1.5rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
 flex-wrap: wrap;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--secondary-color); }
#cookie-banner div { display: flex; gap: 1rem; }
#cookie-banner button {
 padding: 0.5rem 1rem;
 border: 1px solid var(--secondary-color);
 background: transparent;
 color: var(--secondary-color);
 border-radius: var(--radius);
 cursor: pointer;
}
#cookie-banner button:first-child {
 background: var(--secondary-color);
 color: #fff;
}

/* Animations */
.card-animated, .animated-image {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.card-animated.visible, .animated-image.visible {
 opacity: 1;
 transform: translateY(0);
}
.card-animated:nth-child(2) { transition-delay: 0.1s; }
.card-animated:nth-child(3) { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 991px) {
 .nav-toggle {
 display: block;
 background: none; border: none; cursor: pointer;
 width: 30px; height: 22px; position: relative; z-index: 1001;
 }
 .nav-toggle span {
 display: block; width: 100%; height: 2px;
 background-color: var(--text-dark);
 border-radius: 2px; position: absolute;
 transition: transform 0.3s, opacity 0.3s;
 }
 .nav-toggle span:nth-child(1) { top: 0; }
 .nav-toggle span:nth-child(2) { top: 10px; }
 .nav-toggle span:nth-child(3) { top: 20px; }
 .nav-links.active + .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
 .nav-links.active + .nav-toggle span:nth-child(2) { opacity: 0; }
 .nav-links.active + .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
 
 .nav-links {
 position: fixed; top: 0; right: 0;
 width: 100%; height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 display: flex;
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 }
 .nav-links.active { transform: translateX(0); }
 .nav-links ul { flex-direction: column; gap: 40px; }
 .nav-links a { font-size: 1.5rem; }
 .nav-container { height: 80px; padding: 0 20px;}
}
@media (max-width: 767px) {
 .airy-grid { grid-template-columns: 1fr; }
 .team-grid { grid-template-columns: 1fr; }
 .footer-grid { text-align: center; }
 .footer-bottom { flex-direction: column; text-align: center; }
}