:root {
    --bg: #f8f4ec;
    --bg-soft: #f3eee3;
    --card: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --accent-gold: #b58b2b;
    --accent-gold-soft: #e3cf98;
    --accent-olive: #6f8b3a;
    --border: #e4ddcf;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

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

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #fdf7ea 0, #f8f4ec 38%, #f5f1e8 100%);
    color: var(--text);
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    padding: 4rem 0;
    background: var(--bg-soft);
}

.section-soft {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.5);
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(248, 244, 236, 0.96);
    border-bottom: 1px solid rgba(229, 221, 204, 0.9);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.6rem 0;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
}

.logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-circle::before {
    content: "";
    width: 14px;
    height: 22px;
    border-radius: 50% 50% 45% 45%;
    background: linear-gradient(145deg, #7c9141, #a5b866);
    clip-path: polygon(50% 0, 90% 40%, 60% 100%, 40% 100%, 10% 40%);
}

.logo-text-main {
    font-family: "Playfair Display", serif;
    font-size: 1.02rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Language selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.language-selector a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--muted);
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.language-selector a.active,
.language-selector a:hover {
    border-color: var(--accent-gold-soft);
    color: var(--accent-gold);
}

.flag {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent-gold-soft);
}
.flag-en { background: linear-gradient(135deg, #0b5ed7, #e63946); }
.flag-es { background: linear-gradient(180deg, #c1121f 0 35%, #f7c948 35% 65%, #c1121f 65% 100%); }
.flag-fr { background: linear-gradient(90deg, #0052b4 0 33%, #ffffff 33% 66%, #d80027 66% 100%); }
.flag-de { background: linear-gradient(180deg, #000000 0 33%, #dd0000 33% 66%, #ffce00 66% 100%); }
.flag-pt { background: linear-gradient(90deg, #006600 0 45%, #ff0000 45% 100%); }
.flag-ru { background: linear-gradient(180deg, #ffffff 0 33%, #0052b4 33% 66%, #d80027 66% 100%); }

.menu-toggle,
.language-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(181, 139, 43, 0.4);
    border-radius: 999px;
    padding: 0.23rem 0.7rem;
    font-size: 0.86rem;
    cursor: pointer;
    color: var(--muted);
}

.language-dropdown {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: 3.1rem;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 0.4rem 0.7rem;
}

.language-dropdown a {
    display: block;
    padding: 0.3rem 0.2rem;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--muted);
}
.language-dropdown a:hover {
    color: var(--accent-gold);
}

.language-dropdown.open {
    display: block;
}

/* Hero */
.hero {
    padding-top: 4.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-olive);
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 3vw, 3rem);
    margin: 0 0 0.75rem;
    color: #14213d;
}

.lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 32rem;
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlights {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.kpi {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.kpi-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-top: 0.1rem;
}

/* Hero image */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--card);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card-overlay {
    padding: 1.4rem 1.6rem 1.6rem;
}

.hero-card-title {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
}

.hero-card-text {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease-out;
}

.button.primary {
    background: var(--accent-olive);
    color: #ffffff;
}

.button.primary:hover {
    background: #5d7530;
}

.button.ghost {
    background: transparent;
    border-color: rgba(181, 139, 43, 0.55);
    color: var(--accent-gold);
}

.button.ghost:hover {
    background: rgba(255, 255, 255, 0.6);
}

.button.small {
    padding: 0.45rem 1.1rem;
    font-size: 0.83rem;
}

/* Sections */
.section h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

.section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.section-header p {
    margin: 0;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: flex-start;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Info card */
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: var(--muted);
}

.info-card.soft {
    background: linear-gradient(135deg, #fdf7ea, #f2f8ea);
}

/* Rich text */
.rich-text p {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rich-text ol {
    padding-left: 1.1rem;
}

.rich-text li {
    margin-bottom: 0.4rem;
}

/* Newsletter & social strip */
.newsletter-block,
.social-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.muted {
    color: var(--muted);
}

.social-icons {
    display: flex;
    gap: 0.7rem;
}

.social-icons a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 139, 43, 0.7);
    color: var(--accent-gold);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.15s ease-out;
}

.social-icons a:hover {
    transform: translateY(-2px);
    color: var(--accent-olive);
    border-color: var(--accent-olive);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(229, 221, 204, 0.9);
    background: rgba(250, 247, 241, 0.9);
    padding: 1rem 0 1.2rem;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-mark {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid var(--accent-gold);
    background: radial-gradient(circle at 30% 20%, #fdf7ea 0, #f4e4b5 50%, #d6b15d 100%);
}

.footer-name {
    font-family: "Playfair Display", serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Contact section */
.contact-section {
    max-width: 650px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.contact-section h1 {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contact-section p {
    color: var(--muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-family: inherit;
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .section-grid,
    .cards-grid,
    .newsletter-block,
    .social-strip {
        grid-template-columns: minmax(0, 1fr);
        display: grid;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 0.6rem 1.5rem 1rem;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle,
    .language-toggle {
        display: inline-flex;
    }

    .language-selector {
        display: none;
    }
}


.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

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

.footer-inner {
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}
.form-alert {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-alert ul {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
}

.form-alert.form-success {
    background: #ecfdf3;
    border: 1px solid #16a34a33;
    color: #166534;
}

.form-alert.form-error {
    background: #fef2f2;
    border: 1px solid #dc262633;
    color: #991b1b;
}

.hero-card {
    position: relative;
    overflow: hidden;          /* clips any stray shapes */
    border-radius: 24px;
}

/* If a pseudo-element is creating a weird shape, kill it */
.hero-card::before,
.hero-card::after {
    content: none !important;
}

/* Make sure the photo fills nicely */
.hero-photo {
    display: block;
    width: 100%;
    height: auto;
}


