:root {
 --primary-color: #2c3e50;
 --primary-dark: #1a252f;
 --secondary-color: #3498db;
 --text-dark: #212529;
 --text-light: #5a6268;
 --text-muted: #888888;
 --bg-light: #f8f9fa;
 --bg-white: #ffffff;
 --border-color: #e9ecef;
 --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
 --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.06);
 --radius-md: 8px;
 --radius-lg: 12px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 --section-padding: 120px;
 --container-width: 1140px;
 --grid-gap: 60px;
}

*, *::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-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 1.5rem;
}

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

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

ul { list-style: none; }

.container {
 max-width: var(--container-width);
 margin: 0 auto;
 padding: 0 40px;
}

.container-small {
 max-width: 800px;
 margin: 0 auto;
 padding: 0 40px;
}

.section { padding: var(--section-padding) 0; }
.section.pt-0 { padding-top: 0; }
.bg-light { background: var(--bg-light); }

.section-header.centered {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 60px;
}
.section-header.wide-gap { margin-bottom: 80px; }

.section-label {
 display: inline-block;
 background-color: var(--primary-color);
 color: var(--bg-white);
 padding: 8px 20px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 500;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.section-title { margin-bottom: 1.5rem; }
.section-subtitle {
 font-size: 1.15rem;
 color: var(--text-light);
 max-width: 650px;
 margin: 0 auto;
}

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: transparent;
 transition: background-color 0.4s ease, box-shadow 0.4s ease;
 padding: 10px 0;
}
.header.scrolled {
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
}

.nav {
 display: flex;
 align-items: center;
 justify-content: space-between;
 height: 80px;
}
.nav-logo {
 font-size: 1.75rem;
 font-weight: 700;
 color: var(--text-dark);
}
.header.scrolled .nav-logo { color: var(--text-dark); }
.nav-links {
 display: flex;
 gap: 50px;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-light);
 font-size: 1rem;
 padding: 8px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0px;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
 color: var(--text-dark);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.header.scrolled .nav-links a { color: var(--text-light); }
.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active { color: var(--text-dark); }

.nav-toggle { display: none; }

/* Hero Airy */
.hero-airy {
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 background-color: var(--primary-dark);
 color: var(--bg-white);
 padding: 80px 0;
}
.hero-airy-content h1 {
 color: var(--bg-white);
 font-size: clamp(3rem, 6vw, 5rem);
 max-width: 800px;
 margin-bottom: 2rem;
}
.hero-airy .btn { margin-top: 2rem; }

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

/* Stats */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: var(--grid-gap);
 text-align: center;
 max-width: 900px;
 margin: 60px auto 0;
}
.stat-item .stat-number {
 font-size: 3.5rem;
 font-weight: 700;
 color: var(--primary-color);
}
.stat-item .stat-caption {
 font-size: 1rem;
 color: var(--text-light);
}

/* Cards Grid Airy */
.cards-grid {
 display: grid;
 gap: var(--grid-gap);
}
.cards-grid.airy-grid {
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cards-grid.columns-3 {
 grid-template-columns: repeat(3, 1fr);
}

.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-md);
}
.card-body {
 padding: 40px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-title {
 font-size: 1.35rem;
 margin-bottom: 1rem;
}
.card-text {
 color: var(--text-light);
 flex-grow: 1;
 margin-bottom: 2rem;
}
.card-meta{
 font-size: 0.85rem;
 color: var(--text-muted);
 margin-bottom: 1rem;
}
.card-button {
 display: inline-block;
 font-weight: 600;
 color: var(--secondary-color);
 align-self: flex-start;
}
.card-button:hover {
 color: var(--primary-dark);
 text-decoration: underline;
}

/* Media Object Airy */
.media-object-airy {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: var(--grid-gap);
 align-items: center;
}
.media-object-airy.reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object-airy.reverse .media-visual-airy {
 grid-column: 2;
 grid-row: 1;
}
.media-visual-airy img {
 width: 100%;
 height: auto;
 border-radius: var(--radius-lg);
 object-fit: cover;
}
.media-copy-airy h3 {
 font-size: 2.25rem;
}
.media-copy-airy p {
 color: var(--text-light);
 margin-bottom: 1.5rem;
}
.media-copy-airy ul {
 padding-left: 20px;
 list-style: ' ';
 margin-bottom: 2rem;
}
.media-copy-airy li {
 padding-left: 10px;
 margin-bottom: 1rem;
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 2px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 25px;
}
.timeline-step {
 padding: 10px 0 30px 80px;
 position: relative;
}
.timeline-number {
 position: absolute;
 left: 0;
 top: 10px;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 font-weight: 700;
 border: 4px solid var(--bg-light);
 z-index: 1;
}
.timeline-step h3 { font-size: 1.25rem; }
.timeline-step p { color: var(--text-light); margin-bottom: 0; }

/* Testimonial Airy */
.testimonial-airy {
 text-align: center;
 padding: 60px 0;
}
.testimonial-airy blockquote {
 max-width: 750px;
 margin: 0 auto;
 border: 0;
}
.testimonial-airy p {
 font-size: 1.75rem;
 font-weight: 500;
 line-height: 1.6;
 margin-bottom: 2.5rem;
}
.testimonial-airy cite {
 font-style: normal;
 color: var(--text-light);
}

/* Contact Form Airy */
.contact-form-container-airy { 
 max-width: 800px;
 margin: 0 auto;
}
.contact-form {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 30px;
}
.form-group { margin-bottom: 0; }
.form-group.form-group-full { grid-column: 1 / -1; }
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 10px;
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 16px 20px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 font-family: var(--font-main);
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
textarea { resize: vertical; min-height: 150px; }
.btn.full-width { width: 100%; }

.checkbox-group {
 display: flex;
 align-items: flex-start;
 gap: 12px;
}
.checkbox-group input[type="checkbox"] {
 width: auto;
 margin-top: 5px;
 accent-color: var(--secondary-color);
 width: 1.25em;
 height: 1.25em;
}
.checkbox-group label {
 font-size: 0.9rem;
 color: var(--text-light);
 font-weight: 400;
}
.checkbox-group a { font-weight: 500;}

/* Footer */
.footer {
 background: var(--primary-dark);
 color: #a0a0a0;
 padding: 80px 0 40px;
 margin-top: var(--section-padding);
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 60px;
 margin-bottom: 60px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--bg-white);
 display: block;
 margin-bottom: 1.5rem;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: var(--bg-white);
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links li, .footer-contact li {
 margin-bottom: 1rem;
}
.footer-links a, .footer-contact a, .footer-contact span, .footer-contact li {
 color: #a0a0a0;
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact a:hover {
 color: var(--bg-white);
}
.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 40px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-legal-links { display: flex; gap: 30px; }
.footer-legal-links a { color: #a0a0a0; }
.footer-legal-links a:hover { color: white; }

/* Page Header */
.page-header-section {
 padding: 160px 0 100px;
 text-align: center;
}
.container.centered { text-align: center; }
.page-title {
 font-size: clamp(2.5rem, 5vw, 4rem);
 margin-bottom: 1.5rem;
}
.page-subtitle {
 font-size: 1.15rem;
 color: var(--text-light);
 max-width: 600px;
 margin: 0 auto;
}

/* Team Section */
.team-section {
 background-color: var(--bg-light);
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 max-width: 900px;
 margin: 0 auto;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 margin: 0 auto 20px;
 object-fit: cover;
 box-shadow: var(--shadow-md);
}
.team-member h3 {
 font-size: 1.25rem;
 margin-bottom: 8px;
}
.team-role {
 color: var(--text-light);
}

/* Articole page */
.search-bar-airy {
 max-width: 700px;
 margin: 0 auto 80px;
}
.search-bar-airy input {
 width: 100%;
 padding: 20px 30px;
 font-size: 1.1rem;
 border: 1px solid var(--border-color);
 border-radius: 50px;
}
.search-bar-airy input:focus {
 outline: none;
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.pagination {
 display: flex;
 justify-content: center;
 gap: 12px;
 margin-top: 80px;
}
.pagination a, .pagination span {
 padding: 10px 18px;
 color: var(--primary-color);
 text-decoration: none;
 font-weight: 500;
 border-radius: var(--radius-md);
 border: 1px solid transparent;
}
.pagination a.active, .pagination a:hover {
 background: var(--primary-color);
 color: white;
 border-color: var(--primary-color);
}
.pagination span {
 color: var(--text-muted);
}

/* Contact Page Layout */
.contact-layout-airy {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: var(--grid-gap);
}
.contact-details-airy h3 {
 font-size: 1.5rem;
}
.contact-details-airy p {
 color: var(--text-light);
 margin-bottom: 2rem;
}
.contact-info-list li {
 margin-bottom: 1.5rem;
}
.contact-info-list strong {
 display: block;
 margin-bottom: 5px;
}
.contact-info-list span, .contact-info-list a {
 color: var(--text-light);
}
.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-sm);
 margin: 60px 0;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 border: none;
}
.legal-content p, .legal-content ul, .legal-content h2{ margin-bottom: 1.5rem; }
.legal-content ul { list-style: disc; padding-left: 20px; }
.legal-content li { 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 15px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
}

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 20px;
 right: 20px;
 background: var(--primary-dark);
 color: white;
 padding: 20px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 max-width: 600px;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
#cookie-banner > div { display: flex; gap: 10px; }
.btn-cookie, .btn-cookie-decline {
 padding: 10px 20px;
 border: none;
 border-radius: var(--radius-md);
 cursor: pointer;
 font-weight: 600;
}
.btn-cookie { background: var(--secondary-color); color: white; }
.btn-cookie-decline { background: transparent; color: white; border: 1px solid #5a6268;}

/* 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: 8px;
 display: block;
}
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-10px); }
 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 (max-width: 992px) {
 .cards-grid.columns-3 {
 grid-template-columns: 1fr 1fr;
 }
 .media-object-airy, .media-object-airy.reverse {
 grid-template-columns: 1fr;
 gap: 50px;
 }
 .media-object-airy.reverse .media-visual-airy {
 grid-column: 1;
 grid-row: 1;
 }
 .contact-layout-airy {
 grid-template-columns: 1fr;
 }
}
@media (max-width: 768px) {
 :root {
 --section-padding: 80px;
 --grid-gap: 40px;
 }
 .container { padding: 0 20px; }
 
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
 z-index: 1001;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
 }
 body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
 body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
 body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

 .nav-links {
 position: fixed;
 top: 0;
 right: 0;
 width: 100%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 40px;
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 font-size: 1.5rem;
 }
 body.nav-open .nav-links {
 transform: translateX(0);
 }
 .nav-links a { font-size: 1.5rem; color: var(--text-dark); }
 .header.scrolled {
 background: rgba(255, 255, 255, 0.95);
 }
 .nav-logo, .header.scrolled .nav-logo { color: var(--text-dark); }
 
 .stats-grid { grid-template-columns: 1fr; }
 .cards-grid.airy-grid, .cards-grid.columns-3 { grid-template-columns: 1fr; }
 .contact-form { grid-template-columns: 1fr; }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-bottom {
 flex-direction: column;
 gap: 20px;
 }
 #cookie-banner {
 flex-direction: column;
 text-align: center;
 left: 10px;
 right: 10px;
 bottom: 10px;
 }
}