@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
 --primary-color: #22c55e;
 --primary-dark: #16a34a;
 --secondary-color: #3f3f46;
 --text-dark: #3f3f46;
 --text-light: #71717a;
 --bg-light: #f5f5f4;
 --bg-white: #ffffff;
 --border-color: #e5e5e5;
 --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
 --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
 --radius-md: 8px;
 --radius-lg: 12px;
 --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;
 overflow-x: hidden;
}

.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.2;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); }

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;
 object-fit: cover;
}

.section {
 padding-top: clamp(48px, 8vw, 96px);
 padding-bottom: clamp(48px, 8vw, 96px);
}
.section.pt-0 { padding-top: 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--bg-light); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: white; }

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 48px;
}
.section-label {
 display: inline-block;
 background: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
}
.section-subtitle {
 font-size: 1.1rem;
 line-height: 1.7;
}

/* Header */
.header {
 position: fixed;
 top: 0; left: 0; right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.header.scrolled {
 background: white;
 box-shadow: var(--shadow-md);
}
.nav {
 height: 80px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 align-items: center;
 gap: 32px;
 list-style: none;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 position: relative;
 padding: 8px 0;
}
.nav-links a:not(.btn)::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).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: 6px 0;
 transition: var(--transition);
}

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

/* Hero */
.hero {
 position: relative;
 min-height: 70vh;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 color: white;
 text-align: center;
 padding: 80px 0;
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(40,40,40,0.7), rgba(40,40,40,0.5));
}
.hero-content {
 position: relative;
 max-width: 800px;
}
.hero-title {
 font-size: clamp(2.5rem, 6vw, 4rem);
 color: white;
 margin-bottom: 20px;
}
.hero-subtitle {
 font-size: clamp(1.1rem, 2vw, 1.25rem);
 color: rgba(255,255,255,0.9);
 max-width: 700px;
 margin: 0 auto 32px;
}
.hero-actions {
 display: flex;
 gap: 16px;
 justify-content: center;
 flex-wrap: wrap;
}
.hero-simple {
 padding: clamp(60px, 10vw, 120px) 0;
 text-align: center;
 background-color: var(--bg-light);
}

/* Grids & Cards */
.grid-2, .grid-3 {
 display: grid;
 gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
 background: 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(-8px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-title {
 font-size: 1.25rem;
 margin-bottom: 12px;
}
.card-text {
 flex-grow: 1;
 margin-bottom: 20px;
}
.card-button {
 color: var(--primary-color);
 font-weight: 600;
 align-self: flex-start;
}
.card-meta {
 font-size: 0.9rem;
 color: var(--text-dark);
 font-weight: 500;
 background-color: var(--bg-light);
 padding: 4px 12px;
 border-radius: var(--radius-md);
 display: inline-block;
 margin-top: auto;
}

/* Feature card */
.feature-card {
 background: white;
 padding: 28px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 border-left: 4px solid var(--primary-color);
}
.feature-card h3 {
 margin-bottom: 12px;
}

/* 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-visual { grid-column: 2 / 3; }
.media-object.reverse .media-copy { grid-column: 1 / 2; grid-row: 1 / 2;}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.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;
}

/* Team Section */
.team-card {
 text-align: center;
 padding: 24px;
 background: var(--bg-light);
 border-radius: var(--radius-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 border: 4px solid white;
 box-shadow: var(--shadow-md);
}
.team-name { font-size: 1.2rem; }
.team-role {
 font-weight: 500;
 color: var(--primary-color);
 margin: 4px 0 8px;
}
.team-bio { font-size: 0.9rem; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card {
 background: var(--bg-light);
 padding: 32px;
 border-radius: var(--radius-lg);
}
.testimonial-card p {
 font-style: italic;
 font-size: 1.1rem;
 margin-bottom: 24px;
}
.testimonial-author {
 display: flex;
 align-items: center;
 gap: 16px;
}
.avatar {
 width: 60px;
 height: 60px;
 border-radius: 50%;
}
.testimonial-author strong { color: var(--text-dark); }
.testimonial-author span { font-size: 0.9rem; }

/* Contact page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 48px;
 align-items: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; color: var(--text-dark); margin-bottom: 4px; }

.form-group { margin-bottom: 20px; }
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 14px 18px;
 font-size: 1rem;
 font-family: inherit;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background: white;
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 12px;
}
.checkbox-group input { width: auto; }
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem; }
.form-submit { width: 100%; }
.map-container {
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

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

/* Legal pages */
.legal-page { padding: 48px 0; }
.legal-page h1 { margin-bottom: 24px; }
.legal-page section { margin-bottom: 32px; }
.legal-page h2 { margin-bottom: 16px; font-size: 1.5rem; }
.legal-page ul { margin-left: 20px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin-top: 20px;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); color: var(--text-dark); }

/* Logo grid */
.logo-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 gap: 30px;
 align-items: center;
 justify-items: center;
}
.logo-item {
 background: white;
 padding: 20px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
 text-align: center;
 color: var(--text-light);
 font-weight: 500;
}

/* CTA Section */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 600px; margin: 0 auto 32px; }

/* Footer */
.footer {
 background-color: var(--secondary-color);
 color: #a1a1aa;
 padding: 60px 0 30px;
 margin-top: clamp(48px, 8vw, 96px);
 font-size: 0.9rem;
}
.footer a { color: #d4d4d8; }
.footer a:hover { color: white; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.3rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: block;
}
.footer-description { line-height: 1.7; }
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-divider {
 height: 1px;
 background: rgba(255,255,255,0.1);
 margin: 30px 0;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 16px;
}
.footer-copyright { font-size: 0.85rem; color: #71717a; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: #71717a; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--secondary-color);
 color: white;
 padding: 16px 24px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--primary-color); font-weight: 500;}
#cookie-banner div { display: flex; gap: 12px; }
#cookie-banner button {
 padding: 8px 16px;
 border-radius: var(--radius-md);
 border: none;
 cursor: pointer;
 background: var(--primary-color);
 color: white;
 font-weight: 500;
}
#cookie-banner button:last-child {
 background-color: #52525b;
}

/* Responsive */
@media (max-width: 992px) {
 .grid-3 { grid-template-columns: 1fr 1fr; }
 .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .media-object.reverse .media-visual { grid-column: 1 / 2; grid-row: 1 / 2; }
 .media-object.reverse .media-copy { grid-row: 2 / 3; }
 .contact-layout { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0; right: -100%;
 width: 300px; height: 100vh;
 background: white;
 flex-direction: column;
 align-items: flex-start;
 padding: 100px 30px 30px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-cta {
 width: 100%;
 text-align: center;
 }
 .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
 .grid-3 { grid-template-columns: 1fr; }
 .hero-actions { flex-direction: column; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; }
 #cookie-banner { flex-direction: column; text-align: center; }
}