:root {
 --primary-color: #374151; /* Dark Gray */
 --primary-dark: #1f2937; /* Darker Gray */
 --secondary-color: #6b7280; /* Medium Gray */
 --text-dark: #111827;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --radius-md: 6px;
 --radius-lg: 8px;
 --transition: all 0.3s ease;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 --font-serif: 'Source Serif Pro', serif;
}

*, *::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.7;
 color: var(--text-dark);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-serif);
 font-weight: 600;
 line-height: 1.3;
 color: var(--text-dark);
 margin-top: 1.5em;
 margin-bottom: 0.75em;
}

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

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

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

p {
 margin-bottom: 1.5rem;
}

ul, ol {
 margin-left: 20px;
 margin-bottom: 1.5rem;
}

ul li, ol li {
 margin-bottom: 0.75rem;
}

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

.text-container {
 max-width: 800px;
}

/* Header & Nav */
.header {
 position: sticky;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255,255,255,0.95);
 backdrop-filter: blur(8px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}

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

.nav-logo {
 font-family: var(--font-serif);
 font-size: 1.75rem;
 font-weight: 600;
 color: var(--text-dark);
 text-decoration: none;
}
.nav-logo:hover {
 text-decoration: none;
}

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

.nav-links a {
 font-weight: 500;
 color: var(--text-light);
 padding: 8px 0;
 position: relative;
 text-decoration: none;
}

.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-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
 z-index: 1001;
}

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

/* Main Content */
.section {
 padding: 60px 0;
}

.page-header {
 margin-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1.5rem;
}

.page-header h1 {
 margin-top: 0;
}

.content-article p, .content-article li {
 color: var(--text-light);
 font-size: 1.05rem;
}

.text-link {
 font-weight: 500;
}

.team-bio {
 padding: 1.5rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 margin-bottom: 1.5rem;
 background: var(--bg-light);
}

.team-bio h3 {
 margin-top: 0;
}

/* Forms */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 margin-top: 2rem;
}

.form-group {
 margin-bottom: 20px;
}

.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
}

.form-control {
 width: 100%;
 padding: 12px 16px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background-color: var(--bg-white);
}

.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

textarea.form-control {
 resize: vertical;
 min-height: 120px;
}

.checkbox-group {
 display: flex;
 align-items: flex-start;
 gap: 10px;
}
.checkbox-group input {
 margin-top: 5px;
}
.checkbox-group label {
 font-size: 0.9rem;
 color: var(--text-muted);
}

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 500;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 1px solid transparent;
 text-decoration: none;
}
.btn:hover {
 text-decoration: none;
}

.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-dark);
}

.contact-info-container h3 {
 margin-top: 0;
}
.contact-info-block {
 margin-bottom: 2rem;
}
.contact-info-block p {
 margin-bottom: 0.5rem;
}

.map-container {
 width: 100%;
 height: 250px;
 border-radius: 8px;
 overflow: hidden;
 border: 1px solid var(--border-color);
 margin-top: 2rem;
}

/* Footer */
.footer {
 background: var(--primary-dark);
 color: #d1d5db;
 padding: 60px 0 30px;
 margin-top: 60px;
 font-size: 0.9rem;
}

.footer a {
 color: #d1d5db;
}
.footer a:hover {
 color: white;
}

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

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}

.footer-logo {
 font-family: var(--font-serif);
 font-size: 1.5rem;
 font-weight: 600;
 color: white;
 margin-bottom: 16px;
 display: inline-block;
 text-decoration: none;
}
.footer-logo:hover{
 text-decoration: none;
}

.footer-description {
 line-height: 1.6;
 color: #9ca3af;
}

.footer-heading {
 font-family: var(--font-main);
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 margin-top: 0;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.footer-links {
 list-style: none;
 padding: 0;
 margin: 0;
}

.footer-links li {
 margin-bottom: 12px;
}

.footer-contact-item {
 margin-bottom: 12px;
}
.footer-contact-item strong {
 color: white;
}

.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: #9ca3af;
 margin-bottom: 0;
}

.footer-legal-links a {
 font-size: 0.85rem;
 color: #9ca3af;
 text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--primary-dark);
 color: var(--bg-light);
 padding: 16px 24px;
 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: white;
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 12px;
 flex-shrink: 0;
}
.cookie-buttons button {
 padding: 8px 16px;
 background: var(--secondary-color);
 color: white;
 border: none;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
}
.cookie-buttons button:hover {
 background: #9ca3af;
}
.cookie-buttons button:first-child {
 background-color: white;
 color: var(--primary-dark);
}
.cookie-buttons button:first-child:hover {
 background-color: var(--border-color);
}
/* 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;
}
.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;
}

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

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 280px;
 height: 100vh;
 background: white;
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 24px;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active {
 right: 0;
 }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}