:root {
 --primary-color: #2563eb;
 --primary-dark: #1d4ed8;
 --secondary-color: #f3f4f6;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --text-muted: #9ca3af;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --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, Helvetica, Arial, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 -webkit-font-smoothing: antialiased;
}

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

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

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(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

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

a:hover {
 color: var(--primary-dark);
}

ul {
 list-style: none;
}

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

/* Header */
.header {
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 position: fixed;
 width: 100%;
 top: 0;
 z-index: 1000;
 transition: box-shadow 0.3s ease;
}

.header.scrolled {
 box-shadow: var(--shadow-md);
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}

.nav-menu {
 display: flex;
}

.nav-links {
 display: flex;
 gap: 32px;
}

.nav-link {
 font-weight: 500;
 color: var(--text-light);
 position: relative;
 padding: 5px 0;
}

.nav-link.active, .nav-link:hover {
 color: var(--text-dark);
}

.nav-link::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: width 0.3s;
}

.nav-link.active::after, .nav-link:hover::after {
 width: 100%;
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: 16px;
}
.header-phone-btn {
 font-weight: 500;
 color: var(--text-dark);
 display: none;
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 padding: 140px 0 80px;
 background-color: var(--bg-light);
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 48px;
}
.hero-title {
 margin-bottom: 24px;
}
.hero-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: 32px;
 max-width: 550px;
}
.hero-actions {
 display: flex;
 gap: 16px;
}
.hero-image-container {
 display: flex;
 justify-content: center;
 align-items: center;
}
.hero-image {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 max-width: 500px;
 object-fit: cover;
 aspect-ratio: 4/3;
}

/* Buttons */
.btn {
 display: inline-flex;
 padding: 12px 24px;
 font-weight: 600;
 border-radius: var(--radius-md);
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
 font-size: 1rem;
 text-align: center;
}
.btn-sm {
 padding: 8px 16px;
 font-size: 0.9rem;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
 border-color: var(--primary-color);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 border-color: var(--primary-dark);
 color: var(--bg-white);
 transform: translateY(-2px);
}
.btn-secondary {
 background-color: var(--bg-white);
 color: var(--primary-color);
 border-color: var(--border-color);
}
.btn-secondary:hover {
 background-color: var(--secondary-color);
 border-color: var(--text-muted);
 color: var(--text-dark);
}
.btn-white {
 background-color: var(--bg-white);
 color: var(--primary-color);
}
.btn-white:hover {
 background-color: rgba(255,255,255,0.9);
 transform: translateY(-2px);
}
.btn-text {
 font-weight: 600;
 color: var(--primary-color);
}
.btn-full {
 width: 100%;
 justify-content: center;
}

/* Sections */
.section {
 padding: 80px 0;
}
.bg-light {
 background-color: var(--bg-light);
}
.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}
.section-label {
 display: inline-block;
 padding: 4px 12px;
 background-color: var(--primary-color);
 color: white;
 font-weight: 600;
 border-radius: var(--radius-lg);
 font-size: 0.8rem;
 margin-bottom: 16px;
 text-transform: uppercase;
}

.section-title {
 margin-bottom: 16px;
}
.section-subtitle {
 color: var(--text-light);
 font-size: 1.1rem;
}

/* Partners Section */
.partners-section {
 padding: 40px 0;
 background-color: var(--bg-white);
}
.partners-title {
 text-align: center;
 font-weight: 600;
 color: var(--text-muted);
 margin-bottom: 24px;
}
.partners-logos {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 40px;
 flex-wrap: wrap;
}
.partner-logo {
 height: 30px;
 max-width: 120px;
 object-fit: contain;
 filter: grayscale(100%);
 opacity: 0.7;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0);
 opacity: 1;
}

/* Grid layout */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 24px;
}

/* Card */
.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-title {
 margin-bottom: 12px;
}
.card-text {
 color: var(--text-light);
 flex-grow: 1;
 margin-bottom: 16px;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object.reverse .media-image {
 order: 2;
}
.media-image img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 aspect-ratio: 4/3;
 object-fit: cover;
}
.media-content .section-subtitle {
 margin-bottom: 24px;
}
.feature-list {
 margin-top: 24px;
}
.feature-list li {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 color: var(--text-light);
}
.feature-list svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--primary-color);
}
.feature-list strong {
 color: var(--text-dark);
}

/* Timeline/Process */
.timeline-container {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 32px;
 position: relative;
 margin-top: 40px;
}
.timeline-container::before {
 content: '';
 position: absolute;
 top: 20px;
 left: 16.66%;
 right: 16.66%;
 height: 2px;
 background-color: var(--border-color);
 z-index: 1;
}
.timeline-step {
 text-align: center;
 position: relative;
 z-index: 2;
}
.timeline-number {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-light);
}
.timeline-title {
 margin-bottom: 8px;
}
.timeline-text {
 color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
 background-color: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 padding: 24px;
}
.testimonial-card p {
 font-style: italic;
 margin-bottom: 20px;
 color: var(--text-light);
}
.testimonial-author {
 display: flex;
 align-items: center;
 gap: 12px;
}
.testimonial-author img {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 object-fit: cover;
}
.testimonial-author strong {
 display: block;
 color: var(--text-dark);
}
.testimonial-author span {
 font-size: 0.9rem;
 color: var(--text-muted);
}

/* CTA Section */
.cta-section {
 background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
 padding: 80px 0;
 text-align: center;
 color: white;
 border-radius: var(--radius-lg);
 margin: 80px auto;
 max-width: 1200px;
}
.cta-section .container {
 max-width: 800px;
}
.cta-title {
 color: white;
 margin-bottom: 16px;
}
.cta-text {
 font-size: 1.1rem;
 opacity: 0.9;
 margin-bottom: 32px;
}

/* Footer */
.footer {
 background-color: var(--text-dark);
 color: var(--text-muted);
 padding: 60px 0 30px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: inline-block;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.7;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
}
.footer-links li {
 margin-bottom: 12px;
}
.footer-links a, .footer-contact a {
 color: var(--text-muted);
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact a:hover {
 color: white;
}

.footer-contact li {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin-bottom: 12px;
 font-size: 0.9rem;
}
.footer-contact svg {
 width: 16px;
 height: 16px;
 flex-shrink: 0;
 margin-top: 4px;
 color: var(--primary-color);
}
.footer-bottom {
 border-top: 1px solid #374151;
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-legal-links {
 display: flex;
 gap: 20px;
}
.footer-legal-links a {
 color: var(--text-muted);
}
.footer-legal-links a:hover {
 color: white;
}

/* Page Header */
.page-header-section {
 padding: 120px 0 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.page-title {
 font-size: clamp(2.2rem, 5vw, 3rem);
}
.page-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 16px auto 0;
}

/* FAQ */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
 padding: 20px 0;
}
.faq-item:last-child {
 border-bottom: none;
}
.faq-question {
 font-size: 1.1rem;
 margin-bottom: 12px;
}
.faq-answer {
 color: var(--text-light);
}

/* Team */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name {
 font-size: 1.2rem;
 margin-bottom: 4px;
}
.team-role {
 color: var(--text-muted);
}

/* Value Cards */
.value-card {
 background-color: var(--bg-white);
 border: 1px solid var(--border-color);
 padding: 24px;
 border-radius: var(--radius-lg);
 text-align: center;
}
.value-card h3 {
 margin-bottom: 12px;
 color: var(--primary-color);
}
.value-card p {
 color: var(--text-light);
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 50px;
}
.contact-heading {
 margin-bottom: 24px;
}
.form-group {
 margin-bottom: 20px;
}
.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
}
.form-control {
 width: 100%;
 padding: 12px 16px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 background-color: var(--bg-white);
 font-size: 1rem;
 font-family: inherit;
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 10px;
}
.checkbox-group label {
 margin: 0;
 font-weight: 400;
 font-size: 0.9rem;
 color: var(--text-light);
}

.contact-info-list {
 margin-top: 24px;
}
.contact-info-list li {
 margin-bottom: 20px;
}
.contact-info-list li strong {
 display: block;
 margin-bottom: 4px;
}
.contact-info-list li span, .contact-info-list li a {
 color: var(--text-light);
}
.map-container {
 margin: 60px 0;
 height: 400px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

/* Legal Pages */
.legal-page {
 padding: 120px 0 80px;
}
.legal-page .container {
 max-width: 800px;
}
.legal-page h1 {
 font-size: 2.5rem;
 margin-bottom: 16px;
}
.legal-page h2 {
 font-size: 1.5rem;
 margin-top: 40px;
 margin-bottom: 16px;
}
.legal-page p {
 margin-bottom: 16px;
 line-height: 1.7;
 color: var(--text-light);
}
.legal-page ul {
 list-style: disc;
 padding-left: 20px;
 margin-bottom: 16px;
}
.legal-page li {
 margin-bottom: 10px;
 color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 20px;
 right: 20px;
 max-width: 500px;
 background-color: var(--text-dark);
 color: var(--bg-white);
 padding: 20px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-lg);
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
}
.cookie-banner a {
 color: var(--bg-white);
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}

/* Form Validation Styles */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}

.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], input[type="submit"][disabled] {
 opacity: 0.7;
 cursor: not-allowed;
}

/* Responsive */
@media screen and (max-width: 992px) {
 .grid-3, .timeline-container, .contact-grid {
 grid-template-columns: 1fr;
 }
 .hero-container {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .hero-image-container {
 order: -1;
 margin-bottom: 32px;
 }
 .hero-subtitle {
 margin-left: auto;
 margin-right: auto;
 }
 .hero-actions {
 justify-content: center;
 }
 .media-object, .media-object.reverse {
 grid-template-columns: 1fr;
 }
 .media-object.reverse .media-image {
 order: -1;
 }
 .media-image {
 margin-bottom: 32px;
 }
 .timeline-container::before {
 display: none;
 }
}

@media screen and (max-width: 768px) {
 .nav-btn, .header-phone-btn {
 display: none;
 }
 .nav-toggle {
 display: block;
 }
 .nav-menu {
 position: absolute;
 top: 70px;
 left: 0;
 right: 0;
 background-color: var(--bg-white);
 box-shadow: var(--shadow-md);
 flex-direction: column;
 padding: 20px;
 transform: translateY(-100%);
 opacity: 0;
 visibility: hidden;
 transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
 }
 .nav-menu.active {
 transform: translateY(0);
 opacity: 1;
 visibility: visible;
 }
 .nav-links {
 flex-direction: column;
 align-items: center;
 gap: 20px;
 }
 .nav-actions {
 order: 2;
 }
 .nav-logo {
 order: 1;
 }
 .nav-toggle {
 order: 3;
 }
 .footer-grid {
 text-align: center;
 }
 .footer-contact li {
 justify-content: center;
 }
 .footer-bottom {
 flex-direction: column;
 gap: 16px;
 }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 bottom: 10px;
 left: 10px;
 right: 10px;
 }
}