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

:root {
 --primary-color: #22c55e; /* Green */
 --primary-dark: #16a34a;
 --secondary-color: #3b82f6; /* Blue */
 --accent-color: #f59e0b; /* Yellow/Orange */
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;

 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 
 --shadow-sm: 0 1px 2px 0 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: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Base & Reset --- */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

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

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

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

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

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

.section {
 padding: 80px 0;
}

.section.bg-light {
 background: var(--bg-light);
}

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 50px;
}

.section-label, .badge {
 display: inline-block;
 background: var(--bg-light);
 color: var(--primary-color);
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 1rem;
 border: 1px solid var(--primary-color);
}

.section-title, .page-header-section h1 {
 color: var(--text-dark);
 font-weight: 700;
}

.section-subtitle, .page-header-section p {
 font-size: 1.1rem;
 color: var(--text-light);
}

.grid-2 { display: grid; gap: 30px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 30px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 24px; grid-template-columns: 1fr; }

@media (min-width: 768px) {
 .grid-2 { grid-template-columns: repeat(2, 1fr); }
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
 .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
 .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- 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);
 height: 80px;
}

.header.scrolled {
 background: rgba(255,255,255,0.98);
 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(--text-dark);
}

.nav-links {
 display: none;
 list-style: none;
 gap: 32px;
}
@media (min-width: 768px) {
 .nav-links {
 display: flex;
 }
}

.nav-links a {
 font-weight: 600;
 color: var(--text-light);
 padding: 8px 0;
 position: relative;
 font-size: 1rem;
}
.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,
.nav-links a.active {
 color: var(--text-dark);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}

.nav-cta {
 display: none;
}
@media (min-width: 768px) {
 .nav-cta {
 display: inline-flex;
 }
}

/* --- Mobile Menu --- */
.nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
 z-index: 1001;
}
@media (min-width: 768px) {
 .nav-toggle {
 display: none;
 }
}
.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

.nav-links.active {
 display: flex;
 flex-direction: column;
 position: absolute;
 top: 80px;
 left: 0;
 right: 0;
 background: var(--bg-white);
 padding: 20px;
 box-shadow: var(--shadow-lg);
 gap: 1rem;
 text-align: center;
}
.nav-links.active .nav-cta {
 display: block;
 margin-top: 1rem;
}

/* --- Buttons --- */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}
.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-dark);
 transform: translateY(-2px);
 color: white;
}
.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(--primary-color);
 border-color: white;
}
.btn-white:hover {
 background: var(--bg-light);
 color: var(--primary-dark);
}

/* --- Hero --- */
.hero {
 min-height: 80vh;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 color: white;
 text-align: center;
 padding: 120px 0 80px;
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}
.hero-content {
 position: relative;
 z-index: 1;
}
.hero-title {
 color: white;
}
.hero .badge {
 background-color: rgba(255, 255, 255, 0.1);
 border-color: rgba(255, 255, 255, 0.5);
 color: white;
}
.hero-subtitle {
 max-width: 700px;
 margin: 0 auto 30px;
 opacity: 0.9;
 font-size: 1.1rem;
}
.hero-actions {
 display: flex;
 justify-content: center;
 gap: 1rem;
 flex-wrap: wrap;
}

/* Page Header */
.page-header-section {
 padding: 120px 0 60px;
 background: var(--bg-light);
 text-align: center;
}
.page-header-section p {
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

/* --- Cards --- */
.card {
 background: 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-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-title {
 font-size: 1.25rem;
 color: var(--text-dark);
}
.card-text {
 flex-grow: 1;
}

/* --- Media Object --- */
.media-object {
 display: grid;
 grid-template-columns: 1fr;
 gap: 40px;
 align-items: center;
}
.media-object.reverse .media-copy {
 order: 2;
}
@media (min-width: 768px) {
 .media-object {
 grid-template-columns: 1fr 1fr;
 }
}

.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.media-copy ul {
 list-style: none;
 padding: 0;
 margin: 1.5rem 0;
}
.media-copy li {
 padding-left: 25px;
 position: relative;
 margin-bottom: 1rem;
}
.media-copy li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: bold;
}

/* --- Timeline --- */
.timeline {
 display: grid;
 grid-template-columns: 1fr;
 gap: 30px;
 position: relative;
 max-width: 900px;
 margin: 0 auto;
}
@media(min-width: 768px) {
 .timeline {
 grid-template-columns: repeat(2, 1fr);
 }
 .timeline::before {
 content: '';
 position: absolute;
 top: 0;
 bottom: 0;
 left: 50%;
 width: 2px;
 background: var(--border-color);
 transform: translateX(-1px);
 }
}
.timeline-step {
 background: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 border-left: 4px solid var(--primary-color);
 box-shadow: var(--shadow-md);
}
.timeline-step h3 {
 color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonial-card .avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 margin: -60px auto 20px;
 border: 4px solid white;
 box-shadow: var(--shadow-md);
}
.testimonial-card {
 text-align: center;
 padding-top: 60px;
}
.testimonial-author {
 margin-top: 1rem;
}
.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-color), var(--secondary-color));
 color: white;
 text-align: center;
 padding: 60px 20px;
}
.cta-section .section-title, .cta-section .section-subtitle {
 color: white;
}

/* --- FAQ --- */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 background: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 margin-bottom: 1rem;
}
.faq-item summary {
 padding: 1.5rem;
 font-weight: 600;
 cursor: pointer;
 font-size: 1.1rem;
 position: relative;
 list-style: none; /* Hide default marker */
}
.faq-item summary::-webkit-details-marker {
 display: none;
}
.faq-item summary::after {
 content: '+';
 position: absolute;
 right: 1.5rem;
 font-size: 1.5rem;
 transition: transform 0.2s;
}
.faq-item[open] summary::after {
 transform: rotate(45deg);
}
.faq-item p {
 padding: 0 1.5rem 1.5rem;
 margin: 0;
}

/* --- Contact Page --- */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 50px;
}
@media (min-width: 992px) {
 .contact-layout {
 grid-template-columns: 2fr 1.5fr;
 }
}
.contact-info-item {
 display: flex;
 gap: 1rem;
 margin-bottom: 1.5rem;
 align-items: flex-start;
}
.contact-info-item svg {
 width: 24px;
 height: 24px;
 flex-shrink: 0;
 margin-top: 4px;
 color: var(--primary-color);
}
.contact-info-item h4 {
 margin-bottom: 0.25rem;
}
.contact-info-item p {
 margin: 0;
 color: var(--text-light);
}

.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 margin-top: 50px;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 border: none;
}
@media (max-width: 768px) {
 .map-container {
 height: 350px;
 }
}

/* --- Forms --- */
.form-grid { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-label, .form-group label {
 font-weight: 600;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-control, input[type="text"], input[type="email"], input[type="tel"], 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: var(--bg-white);
}
.form-control:focus, input:focus, textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
textarea.form-control, textarea {
 resize: vertical;
 min-height: 140px;
}
.checkbox-group {
 flex-direction: row;
 align-items: center;
 gap: 0.5rem;
}
.checkbox-group input[type="checkbox"] {
 width: auto;
}

/* Form validation */
.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;
}
.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; }
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}

/* --- Team --- */
.team-card {
 text-align: center;
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 1rem;
 object-fit: cover;
 box-shadow: var(--shadow-lg);
}
.team-name {
 margin-bottom: 0.25rem;
}
.team-title {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 0.5rem;
}
.team-bio {
 font-size: 0.9rem;
}

/* --- Legal Pages --- */
.legal-page {
 padding: 120px 0 80px;
}
.legal-page .container {
 max-width: 800px;
}
.legal-page h1 {
 margin-bottom: 0.5rem;
}
.legal-page > .container > p {
 margin-bottom: 2rem;
 color: var(--text-muted);
}
.legal-page section {
 margin-bottom: 2rem;
}
.legal-page h2 {
 font-size: 1.5rem;
 border-bottom: 2px solid var(--border-color);
 padding-bottom: 0.5rem;
 margin-bottom: 1rem;
}
.legal-page ul {
 padding-left: 20px;
 margin-bottom: 1rem;
}
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 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: auto;
}
.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.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;
 margin-bottom: 1.5rem;
}
.footer-social {
 display: flex;
 gap: 12px;
}
.footer-social a {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255,255,255,0.1);
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
}
.footer-social a:hover {
 background: var(--primary-color);
 transform: translateY(-2px);
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 letter-spacing: 0.5px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a0aec0; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 font-size: 0.9rem;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 4px;
 color: var(--primary-color);
}
.footer-contact-item a {
 color: #a0aec0;
}
.footer-contact-item a:hover {
 color: white;
}
.footer-divider {
 height: 1px;
 background: rgba(255,255,255,0.1);
 margin: 40px 0;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
}
.footer-copyright { font-size: 0.85rem; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 0.85rem; color: #a0aec0; }
.footer-legal-links a:hover { color: white; }

@media (max-width: 992px) {
 .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Cookie Banner --- */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-light);
 padding: 1rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
 flex-wrap: wrap;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner p {
 margin: 0;
 flex-grow: 1;
}
#cookie-banner a {
 color: var(--primary-color);
 text-decoration: underline;
}
#cookie-banner div {
 display: flex;
 gap: 1rem;
 flex-shrink: 0;
}