/* ===================== GLOBAL ===================== */

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fdfdfd;
    color: #2b2b2b;
    line-height: 1.6;
}

/* ===================== LINKS (GLOBAL IN HEADER ONLY) ===================== */

header a {
    color: #ffffff;
}

header a:hover {
    color: #d4af37;
}

/* ===================== LINKS (CONTENT AREA) ===================== */

main a {
    color: #003b73;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 59, 115, 0.25);
    transition: all 0.3s ease;
}

main a:hover {
    color: #d4af37;
    border-bottom: 1px solid #d4af37;
}

/* ===================== EXTERNAL / IMPORTANT LINK (Wikipedia etc.) ===================== */

.external-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #003b73, #0057a3);
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border: 1px solid rgba(212,175,55,0.35);
}

.external-link:hover {
    background: linear-gradient(135deg, #0057a3, #003b73);
    color: #d4af37 !important;
    transform: translateY(-1px);
}
/* ===================== HEADER (PREMIUM STYLE) ===================== */

header {
    background: linear-gradient(135deg, #001b3a, #003b73, #0057a3);
    color: white;
    padding: 20px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border-bottom: 2px solid rgba(212,175,55,0.35);
}

/* ===================== LOGO ===================== */

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 100%;
}

.logo-container img {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

/* ===================== TITLE ===================== */

.site-title {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5e6b3;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.4),
        0 0 12px rgba(212,175,55,0.15);
    max-width: 1000px;
}

/* ===================== NAV ===================== */

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #d4af37;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ===================== MAIN ===================== */

main {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 25px;
    color: #1a1a1a;
}

h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #111;
}

h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    color: #003b73;
}

/* ===================== FAQ ===================== */

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d8d8d8;
}

.faq-question {
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #b8860b;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    line-height: 1;
    color: #8c6b2f;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
    color: #b8860b;
}

.faq-answer {
    display: none;
    margin-top: 15px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    padding-top: 10px;
}


/* ===================== CARD (LUXURY PANEL) ===================== */

.card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);
    position: relative;
}

/* subtle top accent line */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8860b, #d4af37);
    border-radius: 14px 14px 0 0;
}

/* ===================== PROFILE ===================== */

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

.profile-photo {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #d4af37;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ===================== TEXT ===================== */

p {
    margin: 10px 0;
}

/* ===================== LIST ===================== */

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* ===================== FOOTER ===================== */

footer {
    background: #0b1a2b;
    color: #cfcfcf;
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    margin-top: 50px;
    border-top: 2px solid rgba(212,175,55,0.3);
}

/* ===================== FOOTER LINKS ===================== */

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: #8a6a2f;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
}


/* ===================== MOBILE ===================== */

@media (max-width: 768px) {

    header {
        padding: 20px;
        justify-content: center;
        text-align: center;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .card {
        padding: 18px;
    }
}

/* ===================== CONTACT FORM RESTORE ===================== */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2d3d;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #cfd6df;
    font-size: 1rem;
    background: #ffffff;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0057a3;
    box-shadow: 0 0 0 4px rgba(0,87,163,0.08);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form button {
    display: inline-block;
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #003b73, #0057a3);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.contact-form button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0057a3, #003b73);
}

.contact-form button:active {
    transform: translateY(0);
}

/* ===================== FORM STATUS ===================== */

#form-status {
    margin-top: 15px;
    font-weight: 600;
    color: #003b73;
}

/* ===================== HONEYPOT ===================== */

.honeypot {
    display: none;
}

.privacy-note {
    margin-top: 18px;
    font-size: 0.92rem;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

.privacy-note a {
    color: #8a6a2f;
    font-weight: 600;
}

/* ===================== Скрытый текст с кнопкой "Lire plus" =====================  */

.expandable-text {
    position: relative;
    overflow: hidden;
    max-height: 11em; /* примерно 7 строк */
    line-height: 1.6em;
    transition: max-height 0.3s ease;
}

.expandable-text.expanded {
    max-height: 5000px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 8px;
    color: #0057b8;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* ===================== MOBILE ===================== */

@media (max-width: 768px) {

    .contact-form {
        padding: 20px;
    }

    .contact-form button {
        width: 100%;
    }
}