:root {
 --primary-color: #3a7ca5;
 --primary-dark: #2f6484;
 --secondary-color: #d94e67;
 --bg-dark: #1a2a45;
 --bg-light: #f4f6f8;
 --text-dark: #333333;
 --text-light: #666666;
 --border-color: #e0e0e0;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
 --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
 --radius-md: 8px;
 --radius-lg: 12px;
 --transition: all 0.3s ease-in-out;
}

*, *::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-color: #ffffff;
 -webkit-font-smoothing: antialiased;
}

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

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

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

p {
 margin-bottom: 1.5rem;
 color: var(--text-light);
}

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

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

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

.section {
 padding: 80px 0;
}

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

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

.section-label {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.section-title {
 color: var(--text-dark);
}

.section-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
 max-width: 600px;
 margin: 0 auto;
}

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

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

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

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

.nav-links a {
 font-weight: 600;
 color: var(--text-light);
 font-size: 1rem;
 padding: 8px 0;
 position: relative;
}

.nav-links a:hover,
.nav-links a.active {
 color: var(--primary-color);
 text-decoration: none;
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: 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: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: white;
 padding: 80px 0;
 background-size: cover;
 background-position: center;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(26, 42, 69, 0.8), rgba(26, 42, 69, 0.6));
}

.hero-content {
 position: relative;
}

.hero-title {
 color: white;
 font-weight: 700;
}

.hero-subtitle {
 font-size: 1.25rem;
 max-width: 800px;
 margin: 1rem auto 0;
 color: rgba(255, 255, 255, 0.9);
 line-height: 1.7;
}

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

.feature-card {
 text-align: center;
 padding: 30px;
 background-color: #fff;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 transition: var(--transition);
}

.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}

.feature-icon {
 width: 64px;
 height: 64px;
 margin: 0 auto 20px;
 background-color: var(--primary-color);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}

.feature-icon svg {
 width: 32px;
 height: 32px;
}

.card-title {
 font-size: 1.25rem;
 font-weight: 600;
}

.card-text {
 font-size: 1rem;
 line-height: 1.6;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 60px;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr;
}
@media(min-width: 769px){
 .media-object.reverse .media-visual {
 grid-column: 2;
 grid-row: 1;
 }
}

.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 object-fit: cover;
 width: 100%;
 height: 400px;
}

.read-more-link {
 font-weight: 600;
 margin-top: 1rem;
 display: inline-block;
}

/* CTA banner */
.cta-banner {
 background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
 color: white;
 text-align: center;
 border-radius: var(--radius-lg);
 margin: 80px auto;
 padding: 60px 40px;
 max-width: 1200px;
}

.cta-title {
 color: white;
}
.cta-text {
 color: rgba(255,255,255,0.9);
 max-width: 700px;
 margin: 1rem auto 0;
 font-size: 1.1rem;
}

/* Content Pages */
.page-header-section {
 background-color: var(--bg-dark);
 color: white;
 padding: 80px 0;
 text-align: center;
}
.page-header-section h1 { color: white; }
.page-header-section .section-subtitle { color: rgba(255,255,255,0.8); }

.content-section {
 padding-top: 60px;
}
.content-body {
 max-width: 800px;
}

.content-body h2 {
 margin-top: 3rem;
 padding-bottom: 0.5rem;
 border-bottom: 2px solid var(--border-color);
}
.content-body h3 {
 margin-top: 2rem;
}
.content-body ul {
 list-style-position: inside;
 margin-bottom: 1.5rem;
 padding-left: 1rem;
}
.content-body li {
 margin-bottom: 0.75rem;
}

.content-figure {
 margin: 1rem 0 2rem;
}
.content-figure img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 width: 100%;
 height: 400px;
 object-fit: cover;
}
.content-figure figcaption {
 text-align: center;
 font-size: 0.9rem;
 color: var(--text-light);
 margin-top: 0.75rem;
}

/* Team Section */
.team-card {
 background: white;
 border-radius: var(--radius-lg);
 padding: 30px;
 text-align: center;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid white;
 box-shadow: var(--shadow-md);
}
.team-name {
 font-size: 1.25rem;
 margin-bottom: 0.25rem;
}
.team-title {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
}
.team-bio {
 font-size: 0.95rem;
 color: var(--text-light);
 line-height: 1.6;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
}
.contact-info-block {
 margin-bottom: 2rem;
}
.contact-info-block .footer-contact-item {
 margin-bottom: 1.5rem;
 font-size: 1rem;
}
.contact-info-block .footer-contact-item svg {
 color: var(--primary-color);
}
.form-group {
 margin-bottom: 1.5rem;
}
.form-label {
 display: block;
 font-weight: 600;
 margin-bottom: 0.5rem;
}
.form-control {
 width: 100%;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 font-family: var(--font-main);
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.2);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.form-group-checkbox {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin-bottom: 1.5rem;
}
.form-group-checkbox input {
 margin-top: 5px;
}
.form-group-checkbox label {
 font-size: 0.9rem;
 color: var(--text-light);
}

.btn {
 display: inline-block;
 padding: 12px 24px;
 font-weight: 600;
 border-radius: var(--radius-md);
 text-align: center;
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
}

.btn-primary {
 background-color: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 color: white;
 text-decoration: none;
 transform: translateY(-2px);
}

.btn-secondary {
 background-color: transparent;
 border-color: var(--border-color);
 color: var(--text-dark);
}
.btn-secondary:hover {
 background-color: var(--bg-light);
 color: var(--text-dark);
 text-decoration: none;
}

.map-container {
 height: 350px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin-top: 2rem;
 box-shadow: var(--shadow-sm);
 border: 1px solid var(--border-color);
}

/* Footer */
.footer {
 background-color: var(--bg-dark);
 color: #a9b4c7;
 padding: 80px 0 30px;
 margin-top: 80px;
}
.footer a {
 color: #a9b4c7;
}
.footer a:hover {
 color: white;
}
.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;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 1rem;
}
.footer-contact-item {
 display: flex;
 gap: 12px;
 align-items: flex-start;
 margin-bottom: 1rem;
 font-size: 0.95rem;
}
.footer-contact-item svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--primary-color);
}
.footer-divider {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 margin: 40px 0;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.footer-copyright {
 font-size: 0.9rem;
 color: #a9b4c7;
}
.footer-social {
 display: flex;
 gap: 16px;
}
.footer-social a {
 color: #a9b4c7;
}
.footer-social a:hover {
 color: white;
}
.footer-social svg {
 width: 20px;
 height: 20px;
}
.thank-you-section {
 min-height: 50vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.text-center { text-align: center; }
.thank-you-icon {
 color: var(--primary-color);
 margin-bottom: 2rem;
}
.thank-you-icon svg {
 width: 80px;
 height: 80px;
 margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--bg-dark);
 color: white;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
 color: #e0e0e0;
}
.cookie-banner a {
 color: white;
 font-weight: 600;
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}
.cookie-table-container {
 overflow-x: auto;
}
.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-color: var(--bg-light);
}

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

@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 100%;
 height: 100vh;
 background-color: var(--bg-dark);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active {
 right: 0;
 }
 .nav-links a {
 color: white;
 font-size: 1.5rem;
 }
 .nav-toggle.active span:nth-child(1) {
 transform: translateY(8px) rotate(45deg);
 }
 .nav-toggle.active span:nth-child(2) {
 opacity: 0;
 }
 .nav-toggle.active span:nth-child(3) {
 transform: translateY(-8px) rotate(-45deg);
 }
 .nav-toggle.active span {
 background-color: white;
 }
 
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-brand {
 margin-bottom: 20px;
 }
 .footer-contact-item {
 justify-content: center;
 }
 .footer-bottom {
 flex-direction: column;
 gap: 20px;
 }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}

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