:root {
 --primary-color: #3b82f6;
 --primary-dark: #2563eb;
 --secondary-color: #6b7280;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
 --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);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
 scroll-behavior: smooth;
}

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

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.3;
}
.section-title, .page-title { font-size: clamp(2rem, 5vw, 2.75rem); }
.card-title, .stat-title, h3 { font-size: 1.25rem; }

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

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

.section {
 padding: 80px 0;
 scroll-margin-top: 70px;
}
.bg-light { background: var(--bg-light); }

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 48px;
}
.section-label {
 display: inline-block;
 font-size: 0.875rem;
 font-weight: 600;
 padding: 4px 12px;
 background-color: var(--primary-color);
 color: white;
 border-radius: 99px;
 margin-bottom: 16px;
 text-transform: uppercase;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 height: 70px;
}
.nav {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 list-style: none;
 display: flex;
 gap: 32px;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 8px 0;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: 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: 1001;
}
.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 padding: 120px 0;
 min-height: 80vh;
 display: flex;
 align-items: center;
 text-align: center;
 background: linear-gradient(to right, #e0f2fe, #f0f9ff);
}
.hero-content {
 max-width: 800px;
}
.badge {
 display: inline-block;
 background: rgba(255,255,255,0.7);
 border: 1px solid var(--border-color);
 color: var(--primary-color);
 padding: 6px 16px;
 border-radius: 99px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 24px;
}
.hero-title {
 color: var(--text-dark);
 font-size: clamp(2.5rem, 6vw, 4rem);
 margin-bottom: 24px;
}
.hero-subtitle {
 font-size: 1.25rem;
 margin-bottom: 32px;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}
.hero-actions { display: flex; justify-content: center; gap: 16px; }

/* Buttons */
.btn {
 display: inline-block;
 padding: 14px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
}
.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background: white;
 color: var(--primary-color);
 border-color: var(--border-color);
}
.btn-secondary:hover {
 border-color: var(--primary-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}

/* Page Headers */
.page-header-section {
 padding: 140px 0 80px;
 background: var(--bg-light);
 text-align: center;
}
.page-title {
 font-size: clamp(2.2rem, 5vw, 3.5rem);
 margin-bottom: 16px;
}
.page-subtitle {
 font-size: 1.2rem;
 max-width: 700px;
 margin: 0 auto;
}

/* Stats Section */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
 text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
 font-size: 3.5rem;
 font-weight: 700;
 color: var(--primary-color);
 margin-bottom: 8px;
}
.stat-title { margin-bottom: 8px; }

/* Grid & Cards */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-body {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-title { margin-bottom: 12px; }
.card-text { margin-bottom: 24px; flex-grow: 1; }
.card-button {
 align-self: flex-start;
 font-weight: 600;
}
.card-button:hover {
 text-decoration: underline;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}
.media-object.reverse .media-visual { grid-column: 2 / 3; }
.media-object.reverse .media-copy { grid-column: 1 / 2; grid-row: 1; }
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: 400px;
 object-fit: cover;
}
.media-copy ul {
 list-style: none;
 padding-left: 0;
 margin: 24px 0;
}
.media-copy li {
 padding-left: 28px;
 position: relative;
 margin-bottom: 12px;
}
.media-copy li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: 700;
}

/* Testimonials */
.testimonials-slider {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 30px;
}
.testimonial-card {
 background: white;
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.testimonial-text {
 font-style: italic;
 margin-bottom: 24px;
 font-size: 1.1rem;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
}
.author-name { margin-bottom: 2px; font-size: 1rem;}
.author-info { font-size: 0.9rem; color: var(--secondary-color);}

/* CTA Section */
.cta-section {
 background: var(--primary-color);
 color: white;
 padding: 60px 0;
 text-align: center;
}
.cta-content .section-title, .cta-content .section-subtitle {
 color: white;
}
.newsletter-form {
 display: flex;
 gap: 10px;
 max-width: 500px;
 margin: 30px auto 0;
}
.newsletter-form input {
 flex-grow: 1;
 padding: 14px;
 border: none;
 border-radius: var(--radius-md);
}
.newsletter-form .btn {
 border: 2px solid white;
}
.newsletter-form .btn:hover {
 background: white;
 color: var(--primary-color);
}

/* Team Section */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 30px;
 text-align: center;
}
.team-member {
 transition: var(--transition);
}
.team-member:hover {
 transform: translateY(-5px);
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 box-shadow: var(--shadow-lg);
}
.team-name { font-size: 1.2rem; margin-bottom: 4px; }
.team-role { color: var(--primary-color); font-weight: 500;}

/* Values Section */
.values-section .grid-3 {
 text-align: center;
}
.value-card {
 background: white;
 padding: 30px;
 border-radius: var(--radius-lg);
 border: 1px solid var(--border-color);
}
.value-card h3 {
 color: var(--primary-color);
 margin-bottom: 12px;
}
.partners-section { padding-top: 80px; }
.partner-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-logos img { height: 40px; width: auto; max-width: 120px; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.partner-logos img:hover { filter: grayscale(0); opacity: 1; }

/* Service Detail */
.service-detail h4 {
 margin-top: 24px;
 margin-bottom: 12px;
}
.service-detail .btn { margin-top: 24px; }

/* FAQ Section */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 width: 100%;
 background: none;
 border: none;
 text-align: left;
 padding: 20px 0;
 font-size: 1.1rem;
 font-weight: 600;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 color: var(--text-dark);
}
.faq-question::after {
 content: '+';
 font-size: 1.5rem;
 color: var(--primary-color);
 transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
 transform: rotate(45deg);
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
 padding-bottom: 20px;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 60px;
}
.contact-form-wrapper h2, .contact-info-wrapper h2 {
 font-size: 1.75rem;
 margin-bottom: 30px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-item h3 { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 8px;}

/* Map Section */
.map-container {
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

/* Legal & Thank You Page */
.legal-page, .thank-you-section { padding: 140px 0 80px; }
.legal-page h1, .thank-you-section h1 { margin-bottom: 24px; }
.legal-page h2 { margin: 32px 0 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.legal-page ul { margin: 16px 0; padding-left: 20px; }
.text-center { text-align: center; }
.thank-you-section .hero-actions { margin-top: 32px; }
.cookie-table {width: 100%; border-collapse: collapse; margin: 24px 0;}
.cookie-table th, .cookie-table td {border: 1px solid var(--border-color); padding: 12px; text-align: left;}
.cookie-table th { background: var(--bg-light); }

/* Footer */
.footer {
 background: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: block;
 margin-bottom: 16px;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
}
.footer-heading {
 color: white;
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 20px;
 text-transform: uppercase;
}
.footer-links ul, .footer-legal {
 list-style: none;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact a {
 color: #a0aec0;
}
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover {
 color: white;
}
.footer-contact p { margin-bottom: 12px; }
.footer-bottom {
 border-top: 1px solid #4a5568;
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 24px; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: white;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--primary-color); }
#cookie-banner div { display: flex; gap: 10px;}
#cookie-banner button {
 padding: 8px 16px;
 border-radius: var(--radius-md);
 cursor: pointer;
}
#accept-cookies {
 background-color: var(--primary-color);
 color: white;
 border: none;
}
#decline-cookies {
 background-color: transparent;
 color: white;
 border: 1px solid white;
}

/* Form Validation Styles */
.input-error {
 border-color: #ef4444 !important;
}
.field-error {
 color: #ef4444;
 font-size: 0.875rem;
 margin-top: 5px;
}
.checkbox-group .field-error { margin-left: 26px; }

.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;
}

/* Animations */
.animated-element {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-section.is-visible .animated-element,
.animated-element.is-visible {
 opacity: 1;
 transform: translateY(0);
}

.animated-section {
 opacity: 0;
 transition: opacity 1s ease;
}

.animated-section.is-visible {
 opacity: 1;
}

.animated-section.is-visible .card,
.animated-section.is-visible .stat-item,
.animated-section.is-visible .team-member,
.animated-section.is-visible .value-card,
.animated-section.is-visible .faq-item {
 opacity: 0;
 transform: translateY(30px);
 animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

.animated-section.is-visible .grid-3 .card:nth-child(1),
.animated-section.is-visible .stats-grid .stat-item:nth-child(1) { animation-delay: 0.1s; }
.animated-section.is-visible .grid-3 .card:nth-child(2),
.animated-section.is-visible .stats-grid .stat-item:nth-child(2) { animation-delay: 0.2s; }
.animated-section.is-visible .grid-3 .card:nth-child(3),
.animated-section.is-visible .stats-grid .stat-item:nth-child(3) { animation-delay: 0.3s; }
/* ... and so on for grids */

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .testimonials-slider {
 grid-template-columns: 1fr 1fr;
 }
 .contact-layout {
 grid-template-columns: 1fr;
 }
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background: white;
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 25px;
 transition: right 0.4s ease-in-out;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links.active {
 right: 0;
 }
 .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
 .media-object, .media-object.reverse {
 grid-template-columns: 1fr;
 }
 .media-object.reverse .media-visual { grid-row: 1; }
 
 .stats-grid, .grid-3, .testimonials-slider {
 grid-template-columns: 1fr;
 }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
 #cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}