/* ============================================
   Studio Tecnico Geom. Rizzello - Stylesheet
   ============================================ */

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

:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2440;
    --primary-light: #2a5a8c;
    --accent: #c8a951;
    --accent-hover: #b8953d;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

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

a:hover {
    color: var(--accent);
}

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

ul {
    list-style: none;
}

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

/* --- Header --- */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background-color: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #fff;
    margin-left: 15px;
}

.header-top a:hover {
    color: var(--accent);
}

.header-top i {
    margin-right: 5px;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: -2px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Navigation --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background-color: var(--bg-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.92), rgba(15, 36, 64, 0.88)),
                url('../img/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    margin-top: 110px;
    padding: 60px 20px;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 169, 81, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 12px auto 0;
}

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

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon {
    background-color: var(--primary);
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card .btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-card .btn-link:hover {
    color: var(--primary);
}

/* --- Why Choose Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item .icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
}

.feature-item h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* --- About Page --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    background-color: var(--bg-light);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    border: 2px dashed var(--border);
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.stat-item .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-item span:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Services Detail Page --- */
.service-detail {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-detail:nth-child(even) {
    background-color: var(--bg-light);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-detail-header .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-detail h2 {
    font-size: 1.5rem;
}

.service-detail p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.service-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group .error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-card .icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 20px;
    height: 300px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- News Page --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.news-card-image {
    height: 200px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2.5rem;
    position: relative;
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card-body {
    padding: 25px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body h3 a {
    color: var(--primary);
}

.news-card-body h3 a:hover {
    color: var(--accent);
}

.news-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-card .btn-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-top: 110px;
}

.page-header h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.8;
    font-size: 1.05rem;
}

.breadcrumb {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer h3::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
    margin-top: 8px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--accent);
}

/* --- WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.85rem;
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cookie-btn-accept {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.cookie-btn-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Area Clienti --- */
.login-screen {
    max-width: 450px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.login-screen .login-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.login-screen h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.login-screen p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.login-form {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: inherit;
}

.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary);
}

.login-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: none;
}

.login-error.show {
    display: block;
}

.client-area {
    display: none;
    padding: 50px 0;
}

.client-area.visible {
    display: block;
}

.client-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.client-area-header h2 {
    font-size: 1.5rem;
}

.btn-logout {
    background: none;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-logout:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.download-card .file-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.download-card .file-info {
    flex: 1;
}

.download-card .file-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.download-card .file-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.download-card .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.download-card .btn-download:hover {
    background: var(--primary-dark);
    color: #fff;
}

.download-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-light);
}

.download-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.4;
}

.download-empty p {
    font-size: 1rem;
}

/* --- Article Page --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta span i {
    margin-right: 5px;
    color: var(--accent);
}

.article-meta .category-badge {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 35px 0 15px;
    padding-top: 10px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 10px;
}

.article-content p {
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 20px 25px;
    color: var(--text);
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content strong {
    color: var(--primary);
}

.article-content .info-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.article-content .info-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.article-nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.article-back:hover {
    color: var(--accent);
}

.related-articles {
    border-top: 2px solid var(--bg-light);
    padding-top: 30px;
}

.related-articles h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.related-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.related-card:hover {
    background: var(--border);
}

.related-card h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.related-card span {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Privacy page --- */
.privacy-content {
    padding: 40px 0;
}

.privacy-content h2 {
    font-size: 1.4rem;
    margin: 30px 0 10px;
}

.privacy-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .hero {
        margin-top: 80px;
    }

    .page-header {
        margin-top: 80px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 5px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: 70vh;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .page-header {
        margin-top: 70px;
        padding: 35px 20px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .service-detail {
        padding: 25px;
    }

    .contact-form {
        padding: 20px;
    }
}
