:root {
    --dia-primary: #4a6bff;
    --dia-secondary: #6c5ce7;
    --dia-accent: #00cec9;
    --dia-text: #2d3436;
    --dia-light: #f5f6fa;
    --dia-dark: #1e272e;
    --dia-success: #00b894;
    --dia-warning: #fdcb6e;
    --dia-danger: #d63031;
    --dia-gradient: linear-gradient(135deg, var(--dia-primary), var(--dia-secondary));
    --dia-text-gradient: linear-gradient(135deg, var(--dia-primary), var(--dia-accent));
}

*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif', serif;
    color: var(--dia-text);
    line-height: 1.6;
    background-color: var(--dia-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1560px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.dia-header_wrapper {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.dia-header_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.dia-header_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dia-primary);
}

.dia-header_logo i {
    font-size: 2rem;
    color: var(--dia-accent);
}

.dia-header_navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.dia-header_navigation a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dia-header_navigation a:hover {
    color: var(--dia-success);
}

.dia-header_navlist {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
}

.dia-header_mobilebtn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.dia-header_burgerline {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dia-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.dia-header_mobilebtn.active .dia-header_burgerline:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dia-header_mobilebtn.active .dia-header_burgerline:nth-child(2) {
    opacity: 0;
}

.dia-header_mobilebtn.active .dia-header_burgerline:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.dia-header_register {
    background: var(--dia-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dia-header_register:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.dia-header_mobilebtn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.dia-hero_wrapper {
    padding: 185px 0 80px;
    background: var(--dia-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.dia-hero_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dia-hero_content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.dia-hero_content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.dia-hero_form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.dia-hero_formgroup {
    position: relative;
    margin-bottom: 20px;
}

.dia-hero_formgroup input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Noto Serif', serif;
    transition: all 0.3s ease;
}

.dia-hero_formgroup input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.dia-hero_formgroup i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dia-primary);
}

.dia-hero_submit {
    width: 100%;
    padding: 15px;
    background: var(--dia-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.dia-hero_submit:hover {
    background: #00b5b2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.dia-hero_checkboxes {
    margin-top: 15px;
}

.dia-hero_checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.dia-hero_checkboxes a {
    color: var(--dia-accent);
    text-decoration: underline;
}

.dia-hero_image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.dia-hero_image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dia-about_wrapper {
    padding: 100px 0;
    background-color: white;
}

.dia-about_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dia-about_content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dia-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.dia-about_content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.dia-about_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.dia-about_statitem {
    text-align: center;
    padding: 20px;
    background: var(--dia-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.dia-about_statitem:hover {
    transform: translateY(-5px);
}

.dia-about_statitem i {
    font-size: 2rem;
    color: var(--dia-primary);
    margin-bottom: 10px;
}

.dia-about_statitem span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dia-primary);
    margin-bottom: 5px;
}

.dia-about_statitem p {
    font-size: 1rem;
    margin: 0;
    color: var(--dia-text);
}

.dia-about_image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dia-teachers_wrapper {
    padding: 100px 0;
    background: var(--dia-light);
}

.dia-teachers_container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dia-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dia-teachers_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dia-teachers_card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px 20px;
}

.dia-teachers_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dia-teachers_photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--dia-light);
}

.dia-teachers_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dia-teachers_card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dia-primary);
}

.dia-teachers_specialty {
    font-weight: 600;
    color: var(--dia-secondary);
    margin-bottom: 5px;
}

.dia-teachers_experience {
    color: var(--dia-text);
    opacity: 0.8;
    margin-bottom: 15px;
}

.dia-reviews_wrapper {
    padding: 100px 0;
    background: white;
}

.dia-reviews_container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dia-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dia-reviews_slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.dia-reviews_card {
    background: var(--dia-light);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.dia-reviews_card:hover {
    transform: translateY(-5px);
}

.dia-reviews_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.dia-reviews_avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.dia-reviews_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dia-reviews_info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.dia-reviews_rating {
    color: var(--dia-warning);
}

.dia-reviews_card p {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.dia-reviews_card p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--dia-primary);
    opacity: 0.2;
}

.dia-course_wrapper {
    padding: 100px 0;
    background: var(--dia-gradient);
    color: white;
}

.dia-course_container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dia-course_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.dia-course_item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dia-course_item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.dia-course_item i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--dia-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dia-course_item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.dia-course_item p {
    opacity: 0.9;
}

.dia-contacts_wrapper {
    padding: 100px 0;
    background: white;
}

.dia-contacts_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dia-contacts_content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dia-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.dia-contacts_content address p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-style: normal;
}

.dia-contacts_content i {
    color: var(--dia-primary);
    font-size: 1.2rem;
}

.dia-contacts_button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dia-gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    margin-top: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dia-contacts_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.dia-contacts_map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dia-contacts_map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff0000"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>') no-repeat center;
    z-index: 10;
    pointer-events: none;
}

.dia-contacts_map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(90%);
    transition: filter 0.3s ease;
}

.dia-contacts_map:hover iframe {
    filter: grayscale(0%) contrast(100%);
}

@media (max-width: 768px) {
    .dia-contacts_map {
        height: 300px;
    }

    .dia-contacts_map::before {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .dia-contacts_map {
        height: 250px;
    }
}

.dia-footer_wrapper {
    background: var(--dia-dark);
    color: white;
    padding: 70px 0 0;
}

.dia-footer_container {
    max-width: 1560px;
    width: 90%;
    margin: 0 auto;
}

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

.dia-footer_about {
    margin-bottom: 30px;
}

.dia-footer_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.dia-footer_logo i {
    font-size: 2rem;
    color: var(--dia-accent);
}

.dia-footer_about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.dia-footer_links h3, 
.dia-footer_legal h3, 
.dia-footer_contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.dia-footer_links h3::after, 
.dia-footer_legal h3::after, 
.dia-footer_contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--dia-accent);
}

.dia-footer_links ul, 
.dia-footer_legal ul {
    list-style: none;
}

.dia-footer_links li, 
.dia-footer_legal li {
    margin-bottom: 10px;
}

.dia-footer_links a, 
.dia-footer_legal a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.dia-footer_links a:hover, 
.dia-footer_legal a:hover {
    color: var(--dia-accent);
    opacity: 1;
}

.dia-footer_contact address p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.dia-footer_contact i {
    color: var(--dia-accent);
}

.dia-footer_copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.dia-cookies_notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 400px;
    width: calc(100% - 40px);
    padding: 20px;
    display: none;
    animation: slideInLeft 0.5s ease forwards;
}

.dia-cookies_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dia-cookies_content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dia-cookies_content a {
    color: var(--dia-primary);
    text-decoration: underline;
}

.dia-cookies_accept {
    background: var(--dia-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.dia-cookies_accept:hover {
    background: #3a5aed;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .dia-hero_container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dia-hero_content {
        order: 1;
        text-align: center;
    }
    
    .dia-hero_form {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .dia-about_container {
        grid-template-columns: 1fr;
    }
    
    .dia-about_content {
        text-align: center;
    }
    
    .dia-contacts_container {
        grid-template-columns: 1fr;
    }
    
    .dia-contacts_content {
        text-align: center;
    }
    
    .dia-contacts_button {
        margin: 30px auto 0;
    }
}

@media (max-width: 768px) {

    .dia-header_mobilebtn {
        display: block;
    }

    .dia-header_navlist {
        position: fixed;
        top: 0;
        right: 100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
    }

    .dia-header_navlist.active {
        right: 0;
    }

    .dia-header_mobilebtn {
        display: block;
    }

    .dia-header_register {
        margin: 10px 0;
    }
    
    .dia-hero_content h1 {
        font-size: 2.5rem;
    }
    
    .dia-about_stats {
        grid-template-columns: 1fr;
    }
    
    .dia-teachers_grid, 
    .dia-reviews_slider, 
    .dia-course_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dia-hero_content h1 {
        font-size: 2rem;
    }
    
    .dia-hero_form {
        padding: 20px;
    }
    
    .dia-footer_main {
        grid-template-columns: 1fr;
    }
    
    .dia-footer_about, 
    .dia-footer_links, 
    .dia-footer_legal, 
    .dia-footer_contact {
        text-align: center;
    }
    
    .dia-footer_links h3::after, 
    .dia-footer_legal h3::after, 
    .dia-footer_contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dia-teachers_container h2 {
        font-size: 1.8rem;
    }
    
    .dia-footer_links a, 
    .dia-footer_legal a {
        justify-content: center;
    }

    .dia-footer_contact address p {
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .dia-hero_content h1 {
        font-size: 1.8rem;
    }
    
    .dia-hero_formgroup input {
        padding: 12px 12px 12px 40px;
    }
    
    .dia-hero_formgroup i {
        left: 12px;
    }
    
    .dia-hero_submit {
        padding: 12px;
    }
}

.diapage-main_wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.diapage-hero_section {
    background: var(--dia-gradient);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.diapage-hero_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.diapage-hero_section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 1s ease;
}

.diapage-hero_section p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.diapage-cookies_section {
    padding: 80px 0;
}

.diapage-cookies_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.diapage-cookies_item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.diapage-cookies_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.diapage-cookies_item i {
    font-size: 2.5rem;
    color: var(--dia-primary);
    margin-bottom: 20px;
    background: var(--dia-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.diapage-cookies_item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dia-primary);
}

.diapage-cookies_item p {
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .diapage-cookies_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .diapage-hero_section {
        padding: 80px 0 40px;
    }

    .diapage-hero_section h1 {
        font-size: 2rem;
    }

    .diapage-cookies_container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .diapage-cookies_item {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .diapage-hero_section h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .diapage-hero_section i {
        font-size: 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diapage-privacy_wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.diapage-privacy_hero {
    background: var(--dia-gradient);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diapage-privacy_herocontent {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.diapage-privacy_hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: fadeInDown 0.8s ease;
}

.diapage-privacy_hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.diapage-privacy_content {
    padding: 80px 0;
    background-color: white;
}

.diapage-privacy_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.diapage-privacy_item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.diapage-privacy_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.diapage-privacy_iconbox {
    width: 80px;
    height: 80px;
    background: var(--dia-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.diapage-privacy_item:hover .diapage-privacy_iconbox {
    transform: rotate(15deg) scale(1.1);
    background: var(--dia-gradient);
}

.diapage-privacy_iconbox i {
    font-size: 2.2rem;
    background: var(--dia-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.4s ease;
}

.diapage-privacy_item:hover .diapage-privacy_iconbox i {
    color: white;
    background: none;
}

.diapage-privacy_item h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dia-primary);
    position: relative;
    padding-bottom: 10px;
}

.diapage-privacy_item h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--dia-accent);
}

.diapage-privacy_item p {
    display: flex;
    flex-direction: row;
    font-size: 1.1rem;
    line-height: 1.8;
    min-height: 120px;
}

@media (max-width: 1024px) {
    .diapage-privacy_item p {
        max-width: 90%;
    }
    
    .diapage-privacy_iconbox {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .diapage-privacy_hero {
        padding: 100px 0 60px;
    }

    .diapage-privacy_hero h1 {
        font-size: 2.2rem;
    }

    .diapage-privacy_item {
        text-align: center;
    }

    .diapage-privacy_iconbox {
        margin: 0 auto;
    }

    .diapage-privacy_item h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .diapage-privacy_item p {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .diapage-privacy_hero h1 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }

    .diapage-privacy_hero p {
        font-size: 1.1rem;
    }

    .diapage-privacy_container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dia-modal_success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dia-modal_success_inner {
    background: #ffffff;
    color: #222;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.dia-modal_success_inner p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.dia-modal_close {
    padding: 10px 20px;
    background: var(--dia-accent);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
