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

body {
    font-family: 'Caveat', cursive;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('bg.avif');
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    background-position: center calc(100% - 140px);
}

header {
    margin: 24px 24px 0 24px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-group { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.brand-text { 
    font-size: 2rem; 
    font-weight: 700; 
    letter-spacing: -0.5px;
}

.brand-logo { 
    height: 32px; 
    width: auto; 
    display: block; 
    filter: invert(1); 
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px; 
}

.lang-switcher {
    font-size: 1.1rem;
}

.lang-switcher a {
    color: inherit;
    text-decoration: none;
    font-weight: normal;
    transition: opacity 0.3s ease;
}

.lang-switcher a:hover {
    opacity: 0.6;
}

main {
    margin: 24px 24px auto 24px;
    padding: 20px 40px 80px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main h1 { 
    font-size: 3rem; 
    font-weight: 700; 
    margin-bottom: 40px; 
    line-height: 1.2; 
    max-width: 800px;
}

.links-container { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 650px;
}

.clients-grid .example-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.example-link {
    display: inline-block;
    background: transparent; 
    color: #000000; 
    text-decoration: none;
    padding: 14px 30px; 
    font-weight: 500;
    
    border: 2px solid #000000; 
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; 
    
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-link:hover {
    background: #000000; 
    color: #ffffff; 
    border-radius: 15px 255px 15px 225px / 255px 15px 225px 15px; 
    transform: translateY(-3px) rotate(-1deg);
}

.header-btn {
    padding: 10px 24px;
    font-size: 1.15rem;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.4rem;
    font-weight: 700;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.quote-form input, 
.quote-form textarea {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    padding: 12px 20px;
    color: #000000;
    background: transparent;
    border: 2px solid #000000; 
    border-radius: 15px 255px 15px 225px / 255px 15px 225px 15px; 
    outline: none;
    transition: all 0.3s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.quote-form input:focus, 
.quote-form textarea:focus {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; 
}

.quote-form textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form button {
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: 'Caveat', cursive;
}

footer { 
    background: #000000; 
    margin-top: 48px; 
    padding: 40px 20px; 
    text-align: center; 
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-socials a:hover { 
    opacity: 0.5; 
}

@media (max-width: 768px) {
    header { 
        flex-direction: row; 
        justify-content: space-between; 
        padding: 20px; 
    }
    
    .header-btn { 
        display: none; 
    }

    .header-right { flex-direction: row; gap: 15px; } 
    main h1 { font-size: 2rem; }
    .links-container { flex-direction: column; width: 100%; }
    .clients-grid { grid-template-columns: 1fr; }
    .example-link { width: 100%; text-align: center; }
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    color: #ffffff; 
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-logo {
    height: 24px;
    width: auto;
    display: block;
}
