:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --primary-dark: #093a65;
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --text-dark: #1a202c;
 --text-light: #4a5568;
 --text-on-dark: #e2e8f0;
 --bg-light: #f7fafc;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 scroll-padding-top: 80px;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

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

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

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1rem;
 padding-right: 1rem;
}

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

/* --- Header & Navigation --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 height: 70px;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--primary-color);
}
.nav-links {
 display: flex;
 gap: 2rem;
 list-style: none;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 padding: 0.5rem 0;
 position: relative;
}
.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::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1100;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

/* --- Hero & Page Hero --- */
.hero, .page-hero {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 min-height: 70vh;
 padding: clamp(4rem, 10vw, 8rem) 1rem;
 background-size: cover;
 background-position: center;
 text-align: center;
}
.hero::before, .page-hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(13, 79, 139, 0.7), rgba(0, 0, 0, 0.6));
}
.hero-content, .page-hero-content {
 position: relative;
 z-index: 2;
 max-width: 800px;
}
.hero-title, .page-hero h1 { margin: 1rem 0; }
.hero-subtitle, .page-hero p {
 font-size: clamp(1rem, 2vw, 1.25rem);
 max-width: 650px;
 margin-left: auto;
 margin-right: auto;
 opacity: 0.9;
}
.hero-buttons, .section-cta-button {
 margin-top: 2rem;
 display: flex;
 justify-content: center;
 gap: 1rem;
 flex-wrap: wrap;
}
.section-cta-button { margin-top: 3rem; }

/* --- Buttons --- */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.875rem 1.75rem;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}
.btn-primary {
 background-color: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--bg-white);
 border-color: var(--bg-white);
}
.page-hero .btn-secondary {
 color: var(--primary-color);
 background-color: var(--bg-white);
 border-color: var(--bg-white);
}

.page-hero .btn-secondary:hover,
.btn-secondary:hover {
 background-color: var(--bg-light);
 color: var(--primary-dark);
 border-color: var(--bg-light);
}
.btn.btn-large {
 padding: 1rem 2.5rem;
 font-size: 1.1rem;
}

/* --- Sections --- */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.bg-light { background-color: var(--bg-light); }
.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 3rem;
}
.section-label {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 0.25rem 0.75rem;
 border-radius: 999px;
 font-size: 0.8rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { max-width: 600px; margin: 0 auto; color: var(--text-light); }

/* --- Grids --- */
.grid-2 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 768px) {
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 576px) {
 .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cards --- */
.card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
 overflow: hidden;
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-icon {
 color: var(--primary-color);
 margin: 1.5rem 1.5rem 0;
}
.card-icon svg { width: 48px; height: 48px; }
.card-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { margin-bottom: 0.75rem; }
.card-text { color: var(--text-light); flex-grow: 1; margin-bottom: 1rem; font-size: 0.95rem; }
.read-more {
 font-weight: 600;
 color: var(--primary-color);
 align-self: flex-start;
 margin-top: auto;
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.blog-card .card-meta {
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--secondary-color);
 margin-bottom: 0.5rem;
}

/* --- Media Object --- */
.media-object {
 display: grid;
 align-items: center;
 gap: 3rem;
 grid-template-columns: 1fr;
}
@media (min-width: 768px) {
 .media-object { grid-template-columns: 1fr 1fr; }
 .media-object.reverse .media-visual { order: 1; }
}
.media-visual img {
 width: 100%;
 height: auto;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.feature-list {
 list-style: none;
 margin: 1.5rem 0;
}
.feature-list li {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 margin-bottom: 0.75rem;
}
.feature-list svg {
 color: var(--secondary-color);
 width: 20px;
 height: 20px;
 flex-shrink: 0;
}

/* --- Feature Cards & Testimonials --- */
.feature-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-md);
 padding: 1rem;
 text-align: center;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card img {
 width: 100%;
 height: 150px;
 object-fit: cover;
 border-radius: var(--radius-sm);
 margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; }

.testimonial-card {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.testimonial-rating { color: #f59e0b; font-size: 1.25rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 1.5rem; color: var(--text-dark); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; color: var(--text-dark); }
.testimonial-location { font-size: 0.9rem; }

/* --- CTA Section --- */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: white;
 padding: clamp(3rem, 8vw, 5rem) 1rem;
 text-align: center;
 border-radius: var(--radius-lg);
 margin: 0 auto;
}
.container-cta { max-width: 1200px; padding: 0 1rem; }
.cta-section .section-title { color: white; }
.cta-section .section-subtitle { color: var(--text-on-dark); }
.cta-section .btn-primary { background-color: white; color: var(--primary-color); }
.cta-section .btn-primary:hover { background-color: var(--bg-light); }

/* --- Footer --- */
.footer {
 background-color: var(--text-dark);
 color: var(--text-on-dark);
 padding: clamp(3rem, 8vw, 5rem) 0 2rem;
 margin-top: 5rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 2rem;
 margin-bottom: 3rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 1rem; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; opacity: 0.7; }
.footer-heading { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 1.5rem; text-transform: uppercase; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: var(--text-on-dark); opacity: 0.7; transition: var(--transition); }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: white; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--secondary-color); }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { color: white; opacity: 0.7; transition: var(--transition); }
.footer-social a:hover { opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 24px; height: 24px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.6; }
.footer-legal { list-style: none; display: flex; gap: 1.5rem; }
.footer-legal a { color: inherit; }

/* --- Contact & Forms --- */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
}
@media(min-width: 992px) {
 .contact-layout { grid-template-columns: 2fr 1.5fr; }
}
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-dark); }
.contact-form input, .contact-form textarea {
 width: 100%;
 padding: 0.875rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: var(--font-main);
 font-size: 1rem;
 transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.1);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.checkbox-group { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-group input { width: auto; }
.checkbox-group a { text-decoration: underline; }
.contact-details { margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item svg { width: 24px; height: 24px; color: var(--primary-color); flex-shrink: 0; }
.contact-item a { color: var(--primary-color); font-weight: 500;}
.map-section { padding-top:0; }
.map-container {
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }
.input-error {
 border-color: #e53e3e !important;
 box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}
.field-error { color: #e53e3e; font-size: 0.875rem; margin-top: 0.25rem; }
.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; }

/* --- Other Pages --- */
.legal-page .container { max-width: 800px; padding-top: 5rem; padding-bottom: 5rem; }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page p, .legal-page ul { margin-bottom: 1.5rem; }
.legal-page ul { padding-left: 1.5rem; }
.legal-page section { margin-bottom: 2rem; }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; }
.thank-you-icon { width: 80px; height: 80px; color: var(--secondary-color); margin-bottom: 1.5rem; }
.thank-you-actions { margin-top: 2.5rem; }
.certifications-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.certification-item { text-align: center; }
.certification-item svg { width: 48px; height: 48px; color: var(--secondary-color); margin-bottom: 1rem; }
.team-card { text-align: center; padding: 2rem 1.5rem; background-color: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--bg-white); box-shadow: var(--shadow-md); }
.team-name { margin-bottom: 0.25rem; }
.team-title { color: var(--secondary-color); font-weight: 500; margin-bottom: 1rem; }
.team-bio { font-size: 0.9rem; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { padding: 1.5rem 0; cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-dark); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; transition: transform 0.2s; }
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.5rem 0; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
 font-size: 0.9rem;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 0.75rem;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
 font-weight: 600;
}

/* --- Animations --- */
.animated-card, .animated-media, .animated-grid, .animated-testimonial { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animated-card.is-visible, .animated-media.is-visible, .animated-grid.is-visible, .animated-testimonial.is-visible { opacity: 1; transform: translateY(0); }
.animated-grid .feature-card, .animated-grid .card { transition-delay: calc(0.1s * var(--i)); }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--text-dark);
 color: white;
 padding: 1rem;
 display: none;
 justify-content: space-between;
 align-items: center;
 z-index: 2000;
 gap: 1rem;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; }
#cookie-banner button {
 padding: 0.5rem 1rem;
 border-radius: var(--radius-md);
 border: none;
 cursor: pointer;
}
#accept-cookies { background-color: var(--secondary-color); color: white; }
#decline-cookies { background-color: var(--accent-color); color: white; }

/* --- Responsive --- */
@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0; right: -100%;
 width: 100%; height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 2rem;
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-links a { font-size: 1.5rem; }
 body.nav-open { overflow: hidden; }
}
@media (max-width: 576px) {
 .footer-bottom { flex-direction: column; text-align: center; }
 .hero-buttons { flex-direction: column; }
}