:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;

    /* Triad Color Scheme: Deep Blue, Amber/Gold, Deep Red */
    --color-primary: #0D47A1; /* Deep Blue */
    --color-primary-dark: #002171;
    --color-primary-light: #5472d3;
    --color-primary-rgb: 13, 71, 161; /* For RGBA */

    --color-accent1: #FFC107; /* Amber/Gold */
    --color-accent1-dark: #C79100;
    --color-accent1-rgb: 255, 193, 7; /* For RGBA */

    --color-accent2: #C62828; /* Deep Red */
    --color-accent2-dark: #8E0000;

    --color-text-dark: #212529;
    --color-text-light: #FFFFFF;
    --color-text-medium: #495057;
    --color-text-muted: #6c757d;

    --color-background-light: #F8F9FA;
    --color-background-medium: #E9ECEF;
    --color-background-dark: #1A202C; /* Very Dark Blue/Charcoal */
    --color-background-card: #FFFFFF;

    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    --gradient-accent: linear-gradient(135deg, var(--color-accent1), #FFD54F);

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --box-shadow-light: 0 2px 4px rgba(0, 0, 0, 0.07);
    --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-dark: 0 10px 25px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s;
    --header-height: 70px;
}

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

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

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.main-wrapper {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
}
.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

.text-light { color: var(--color-text-light) !important; }
.text-light p, .text-light .lead { color: var(--color-text-light) !important; opacity: 0.9; }
.text-light a:not(.btn) { color: var(--color-accent1) !important; }
.text-light a:not(.btn):hover { color: var(--color-text-light) !important; }

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--color-accent1);
    border-radius: 2px;
}
.section-dark .section-title, .section-primary-gradient .section-title { color: var(--color-text-light); }
.section-dark .section-title::after, .section-primary-gradient .section-title::after { background-color: var(--color-accent1); }


a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
a:hover {
    color: var(--color-primary-dark);
    text-decoration: none; /* Often preferred to remove underline on hover for modern look */
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding { padding-top: 70px; padding-bottom: 70px; }
.section-padding-sm { padding-top: 35px; padding-bottom: 35px; }
.section-no-padding { padding: 0; }
.text-center { text-align: center; }

.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem; /* Gutter compensation */
    margin-right: -1rem; /* Gutter compensation */
}
.column {
    padding-left: 1rem; /* Gutter */
    padding-right: 1rem; /* Gutter */
    margin-bottom: 2rem; /* Default vertical spacing for stacked columns */
    flex: 1 1 100%; /* Default to full width, allow shrinking/growing */
}
/* Remove bottom margin for the last column if it's the only one or last in a row */
.columns > .column:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .columns {
        /* On larger screens, items in .columns will stay side-by-side unless flex-wrap: wrap is re-added */
    }
    /* Specific column width helpers */
    .column.is-two-thirds { flex: 0 0 66.6667%; max-width: 66.6667%; }
    .column.is-one-third { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .column.is-half { flex: 0 0 50%; max-width: 50%; }

    /* Grid-like structures */
    .features-grid .column,
    .news-grid .column,
    .event-grid .column,
    .awards-grid .column,
    .workshop-grid .column,
    .values-grid .column,
    .team-grid .column {
        flex-basis: calc(33.333% - 2rem); /* Approx 3 columns with gutter */
        flex-grow: 0;
        margin-bottom: 2rem; /* Keep margin for wrapped items */
    }
     .testimonials .column {
        flex-basis: calc(50% - 2rem);
        flex-grow: 0;
    }
}
@media (min-width: 992px) {
    /* Adjust for larger screens if needed, e.g., 4 columns */
     .values-grid .column {
        flex-basis: calc(25% - 2rem);
    }
}
@media (max-width: 767px) {
    .columns .column { /* Ensure single column stacking on mobile */
        flex-basis: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem;
    }
    .columns .column:last-child {
        margin-bottom: 0;
    }
}


/* Header & Navigation */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-light);
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo img { height: 40px; }
.main-nav .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}
.main-nav .nav-menu li { margin-left: 30px; }
.main-nav .nav-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.main-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; width: 0; height: 2px;
    background-color: var(--color-accent1);
    transition: width var(--transition-speed) ease;
}
.main-nav .nav-menu a:hover::after, .main-nav .nav-menu a.active::after { width: 100%; }
.main-nav .nav-menu a:hover { color: var(--color-primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.nav-toggle span { display: block; width: 22px; height: 2px; background-color: var(--color-text-dark); margin: 5px 0; transition: all var(--transition-speed) ease; border-radius: 2px; }

@media (max-width: 768px) {
    .main-nav .nav-menu {
        display: none; flex-direction: column; position: absolute;
        top: var(--header-height); left: 0; width: 100%;
        background-color: var(--color-background-light); box-shadow: var(--box-shadow-medium);
        padding: 15px 0; text-align: center;
    }
    .main-nav .nav-menu.active { display: flex; }
    .main-nav .nav-menu li { margin: 12px 0; }
    .nav-toggle { display: block; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Footer */
.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 50px 0 30px;
}
.site-footer .footer-content { text-align: center; }
.site-footer .footer-nav { margin-bottom: 25px; }
.site-footer .footer-nav a {
    color: var(--color-text-light); opacity: 0.75; margin: 0 12px; font-size: 0.9rem;
    transition: opacity var(--transition-speed) ease, color var(--transition-speed) ease;
}
.site-footer .footer-nav a:hover { opacity: 1; color: var(--color-accent1); }
.site-footer .social-links { margin-bottom: 25px; }
.site-footer .social-links a {
    color: var(--color-text-light); opacity: 0.75; margin: 0 10px; font-size: 0.95rem; font-weight: 500;
    transition: opacity var(--transition-speed) ease, color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.site-footer .social-links a:hover { opacity: 1; color: var(--color-accent1); transform: translateY(-2px); }
.site-footer .copyright { font-size: 0.8rem; opacity: 0.6; margin-top: 20px; }

/* Buttons (Global) */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block; font-family: var(--font-primary); font-weight: 600; text-align: center;
    vertical-align: middle; cursor: pointer; user-select: none; background-color: transparent;
    border: 2px solid transparent; padding: 0.65rem 1.4rem; font-size: 0.95rem; line-height: 1.5;
    border-radius: var(--border-radius-md); transition: all var(--transition-speed) ease-in-out;
    text-transform: uppercase; letter-spacing: 0.5px; box-shadow: var(--box-shadow-light);
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    text-decoration: none; transform: translateY(-2px); box-shadow: var(--box-shadow-medium);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active { transform: translateY(0); box-shadow: none; }

.btn-primary { color: var(--color-text-light); background-color: var(--color-primary); border-color: var(--color-primary); }
.btn-primary:hover { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-text-light); }
.btn-secondary { color: var(--color-primary); background-color: transparent; border-color: var(--color-primary); }
.btn-secondary:hover { color: var(--color-text-light); background-color: var(--color-primary); border-color: var(--color-primary); }
.btn-accent { color: var(--color-text-dark); background-color: var(--color-accent1); border-color: var(--color-accent1); }
.btn-accent:hover { background-color: var(--color-accent1-dark); border-color: var(--color-accent1-dark); color: var(--color-text-dark); }
.btn-lg { padding: 0.8rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-hero { /* Already defined with accent color in HTML example */ }

.read-more {
    font-family: var(--font-primary); font-weight: 600; color: var(--color-primary);
    display: inline-block; margin-top: 0.75rem;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.read-more:hover { color: var(--color-primary-dark); transform: translateX(4px); text-decoration: underline; }
.read-more::after { content: ' →'; }

/* Forms (Global) */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-text-dark); }
.contact-form .form-label.text-light { color: var(--color-text-light); opacity: 0.95; }

.form-control {
    display: block; width: 100%; padding: 0.7rem 1rem; font-size: 0.95rem; font-family: var(--font-secondary);
    line-height: 1.5; color: var(--color-text-dark); background-color: var(--color-background-card);
    background-clip: padding-box; border: 1px solid #ced4da; border-radius: var(--border-radius-md);
    transition: border-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
}
.form-control:focus {
    border-color: var(--color-primary-light); outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
}
.form-control::placeholder { color: #6c757d; opacity: 1; }
textarea.form-control { min-height: 120px; resize: vertical; }

.form-check { display: flex; align-items: center; margin-bottom: 1rem; }
.form-check-input {
    width: 1.15em; height: 1.15em; margin-right: 0.5em; background-color: var(--color-background-card);
    border: 1px solid rgba(0,0,0,.25); appearance: none; border-radius: var(--border-radius-sm);
    cursor: pointer; position: relative;
}
.form-check-input:checked { background-color: var(--color-primary); border-color: var(--color-primary); }
.form-check-input:checked::before {
    content: '✓'; font-size: 0.9em; color: var(--color-text-light); position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 1;
}
.form-check-label { margin-bottom: 0; font-size: 0.9rem; }
.contact-form .form-check-label.text-light { color: var(--color-text-light); }
.contact-form .text-light-link { color: var(--color-accent1) !important; text-decoration: underline; }
.contact-form .text-light-link:hover { color: var(--color-text-light) !important; }

.form-page-style .form-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.form-page-style .form-row .form-group.column { flex: 1; min-width: calc(50% - 0.75rem); }
@media (max-width: 768px) { .form-page-style .form-row .form-group.column { min-width: 100%; } }

/* Cards (Global) */
.card {
    background-color: var(--color-background-card); border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-medium); overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--box-shadow-dark); }

.card-image, .image-container {
    width: 100%; overflow: hidden; position: relative;
    display: flex; justify-content: center; align-items: center;
}
.project-slider .card-image { height: 280px; }
.news-card .card-image { height: 200px; }
.event-card .card-image { height: 200px; }
.workshop-card .card-image { height: 200px; }
.feature-item .image-container { height: 180px; margin-bottom: 1.5rem; }
.team-member-card .card-image {
    width: 150px; height: 150px; border-radius: 50%;
    margin: 1.5rem auto 1rem; border: 4px solid var(--color-background-light);
}

.card-image img, .image-container img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--transition-speed) ease;
}
.card:hover .card-image img, .card:hover .image-container img { transform: scale(1.05); }

.card-content {
    padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; text-align: center;
}
.card-content h3 { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--color-primary); }
.card-content p { font-size: 0.9rem; color: var(--color-text-medium); flex-grow: 1; margin-bottom: 1rem; }
.card-content .btn, .card-content .read-more { margin-top: auto; align-self: center; }

/* Sliders */
.slider-container { position: relative; }
.custom-slider { display: flex; transition: transform var(--transition-speed) ease-in-out; }
.custom-slider .slide { min-width: 100%; padding: 0 10px; } /* Default: 1 slide */

@media (min-width: 768px) { .project-slider .slide { min-width: calc(50% - 20px); } } /* 2 slides */
@media (min-width: 992px) { .project-slider .slide { min-width: calc(33.333% - 20px); } } /* 3 slides */

.slider-prev, .slider-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4); color: var(--color-text-light); border: none;
    padding: 8px 12px; font-size: 1.3rem; border-radius: 50%; cursor: pointer; z-index: 10;
    transition: background-color var(--transition-speed) ease;
}
.slider-prev:hover, .slider-next:hover { background-color: rgba(0,0,0,0.7); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* Hero Section */
.hero-section {
    position: relative; padding: 100px 0; display: flex; align-items: center; justify-content: center;
    background-position: center center; background-size: cover; background-repeat: no-repeat;
    color: var(--color-text-light); /* IMPORTANT: Hero text white */
    margin-top: var(--header-height); /* Offset for fixed header */
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)); z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: 3rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-text-light);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem; margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto;
    color: var(--color-text-light); opacity: 0.9;
}
[data-parallax-bg] { background-attachment: fixed; }

/* About Section (#nosotros) */
#nosotros .column p { font-size: 1rem; line-height: 1.8; }
#nosotros .image-container img { border-radius: var(--border-radius-lg); box-shadow: var(--box-shadow-medium); }

/* Innovation Section */
#innovacion .feature-item .image-container img { border-radius: var(--border-radius-md); }
#innovacion .feature-title { font-size: 1.4rem; margin-bottom: 0.5rem; }

/* News Section */
#noticias { background-color: var(--color-background-medium); }
.news-card .news-date { display: block; font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1.2rem; }

/* Events Section */
.event-card .event-date { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.5rem; }

/* Awards Section */
.award-item .image-container {
    width: 100px; height: 100px; margin: 0 auto 1rem auto; border-radius: var(--border-radius-md);
    background-color: rgba(255,255,255,0.08); padding: 10px;
}
.award-item .image-container img { object-fit: contain; }
.award-title { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Clientele Section */
#clientes { background-color: var(--color-background-medium); }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 25px; margin-bottom: 2.5rem; }
.client-logos img { max-height: 50px; width: auto; opacity: 0.65; transition: opacity var(--transition-speed) ease; }
.client-logos img:hover { opacity: 1; }
.testimonial-card {
    background-color: var(--color-background-card); padding: 1.8rem; border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light); text-align: center; margin-bottom: 1.5rem;
}
.testimonial-card p { font-style: italic; font-size: 1rem; margin-bottom: 1rem; color: var(--color-text-medium); }
.testimonial-card cite { display: block; font-weight: 600; color: var(--color-text-dark); font-style: normal; }

/* External Resources Section */
#recursos-externos .external-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.link-card {
    background-color: var(--color-background-card); padding: 1.5rem; border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light); transition: box-shadow var(--transition-speed) ease; display: flex; flex-direction: column;
}
.link-card:hover { box-shadow: var(--box-shadow-medium); }
.link-card h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.link-card h4 a { color: var(--color-primary); }
.link-card h4 a:hover { color: var(--color-primary-dark); }
.link-card p { font-size: 0.85rem; color: var(--color-text-muted); flex-grow: 1; }

/* Contact Section (#contacto on index) */
.contact-form-container {
    max-width: 650px; margin: 0 auto;
    background-color: rgba(255,255,255,0.08); /* More subtle glass */
    padding: 2rem; border-radius: var(--border-radius-lg);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 6px 20px 0 rgba(var(--color-primary-rgb), 0.2);
}
#contacto .form-control { background-color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25); }
#contacto .form-control:focus { background-color: #fff; border-color: var(--color-accent1); box-shadow: 0 0 0 0.2rem rgba(var(--color-accent1-rgb), 0.25); }
#contacto .form-check-input { background-color: rgba(255,255,255,0.75); }
#contacto .form-check-input:checked { background-color: var(--color-accent1); border-color: var(--color-accent1); }
.contact-details { margin-top: 2.5rem; }
.contact-details p { margin-bottom: 0.5rem; opacity: 0.9; }

/* Page Title Section (for sub-pages) */
.page-title-section {
    position: relative; padding: 80px 0 50px; background-position: center center;
    background-size: cover; background-repeat: no-repeat; color: var(--color-text-light);
    margin-top: var(--header-height);
}
.page-title-section .hero-overlay {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    /* Identical to main hero overlay, inherited */
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.page-title-section .container { position: relative; z-index: 2; }
.page-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-text-light); text-shadow: 1px 1px 3px rgba(0,0,0,0.4); }
.page-subtitle { font-size: 1.15rem; color: var(--color-text-light); opacity: 0.85; }

/* About Page */
#nuestro-equipo .team-member-card h3 { font-size: 1.3rem; }
.team-member-role { font-weight: 500; color: var(--color-text-muted); margin-bottom: 0.5rem; font-size: 0.9rem;}
.team-member-bio { font-size: 0.85rem; }
.value-icon { margin: 0 auto 1rem auto; width: 60px; height: 60px; }
.value-icon img { width: 100%; height: 100%; object-fit: contain; }
.value-title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--color-primary); }
#por-que-argentina h4 { color: var(--color-accent1); margin-top: 1rem; margin-bottom: 0.5rem; font-size: 1.2rem; }

/* Contact Page */
#contact-form-page .contact-form-container { background-color: var(--color-background-card); padding: 2.5rem; border-radius: var(--border-radius-lg); box-shadow: var(--box-shadow-medium); }
.contact-icon { width: 45px; height: 45px; margin: 0 auto 1rem auto; filter: invert(27%) sepia(49%) saturate(3065%) hue-rotate(196deg) brightness(93%) contrast(101%); }
#contact-details-page h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 0.75rem; }
#map-section iframe { display: block; }

/* Privacy & Terms Pages */
.content-юридического-документа { padding-top: 2rem; } /* Class from HTML */
.page-title-section + .content-юридического-документа { padding-top: 2rem; } /* If .page-title-section exists */
main:not(:has(.page-title-section)) > .content-юридического-документа { padding-top: calc(var(--header-height) + 40px); } /* If no .page-title-section */

.content-юридического-документа h2 { font-size: 1.5rem; color: var(--color-primary); margin-top: 1.8rem; margin-bottom: 0.8rem; border-bottom: 1px solid var(--color-background-medium); padding-bottom: 0.4rem; }
.content-юридического-документа h3 { font-size: 1.25rem; color: var(--color-primary-dark); margin-top: 1.3rem; margin-bottom: 0.6rem; }
.content-юридического-документа p, .content-юридического-документа ul { margin-bottom: 0.9rem; line-height: 1.75; font-size:0.95rem; }
.content-юридического-документа ul { list-style-position: outside; padding-left: 20px; }
.content-юридического-документа ul li { margin-bottom: 0.4rem; }
.last-updated { font-style: italic; color: var(--color-text-muted); margin-bottom: 1.5rem; text-align: right; font-size: 0.9rem; }

/* Success Page */
body.success-page { display: flex; flex-direction: column; min-height: 100vh; } /* Requires class on body */
.success-page .main-wrapper { flex-grow: 1; display: flex; flex-direction: column; }
.success-page main { flex-grow: 1; display: flex; align-items: center; justify-content: center; }
#success-message .success-page-content { padding: 2rem; }
#success-message .success-icon { width: 70px; height: 70px; fill: #4CAF50; /* Green */ margin-bottom: 1.5rem; }
#success-message h1 { color: var(--color-primary); font-size: 2rem; }

/* Utility Classes */
.section-dark { background-color: var(--color-background-dark); color: var(--color-text-light); }
.section-dark .section-title, .section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-text-light); }
.section-dark p, .section-dark .lead { color: var(--color-text-light); opacity: 0.85; }
.section-dark a:not(.btn) { color: var(--color-accent1); }
.section-dark a:not(.btn):hover { color: var(--color-text-light); }

.section-light-accent { background-color: var(--color-background-medium); }
.section-primary-gradient { background: var(--gradient-primary); color: var(--color-text-light); }
.section-primary-gradient .section-title, .section-primary-gradient h1, .section-primary-gradient h2, .section-primary-gradient h3, .section-primary-gradient h4 { color: var(--color-text-light); }
.section-primary-gradient p, .section-primary-gradient .lead { color: var(--color-text-light); opacity: 0.9; }
.section-primary-gradient a:not(.btn) { color: var(--color-accent1); }
.section-primary-gradient a:not(.btn):hover { color: var(--color-text-light); }

/*[data-scrollreveal] { visibility: hidden; }*/

/* Responsive Adjustments */
@media (max-width: 991px) {
    h1 { font-size: 2.4rem; } .hero-title { font-size: 2.6rem; }
    h2 { font-size: 1.9rem; } .page-title { font-size: 2.2rem; }
    .section-padding { padding-top: 60px; padding-bottom: 60px; }
    .features-grid .column, .news-grid .column, .event-grid .column,
    .awards-grid .column, .workshop-grid .column, .team-grid .column {
        flex-basis: calc(50% - 2rem); /* 2 columns for tablets */
    }
    .values-grid .column { flex-basis: calc(50% - 2rem); }
}

@media (max-width: 768px) {
    .container { width: 95%; }
    h1 { font-size: 2rem; } .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.15rem; }
    h2 { font-size: 1.7rem; } .page-title { font-size: 2rem; }
    .section-title { margin-bottom: 2.5rem; }
    .section-padding { padding-top: 50px; padding-bottom: 50px; }
    .contact-form-container { padding: 1.5rem; }
     .features-grid .column, .news-grid .column, .event-grid .column,
    .awards-grid .column, .workshop-grid .column, .team-grid .column,
    .values-grid .column, .testimonials .column {
        flex-basis: 100%; /* Stack to 1 column */
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.7rem; } .hero-subtitle { font-size: 1.05rem; }
    .btn-hero { padding: 0.7rem 1.6rem; font-size: 0.9rem; }
    .slider-prev, .slider-next { display: none; }
    .page-title-section { padding: 60px 0 40px; }
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; }
}

/* Cookie Consent Popup (mostly inline in HTML as requested) */
#cookieConsentPopup p { font-size: 0.9em; }
#acceptCookieConsent { font-size: 0.85em; }