:root {
    --ink: #0b0b0b;
    --muted: #5a5a5a;
    --line: #e6e6e6;
    --bg: #f7f7f4;
    --accent: #0b0b0b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9f9f6 0%, #ffffff 100%);
    background-image: radial-gradient(circle at 15% 10%, rgba(0, 0, 0, 0.04), transparent 40%),
                      radial-gradient(circle at 85% 0%, rgba(0, 0, 0, 0.03), transparent 40%),
                      repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 140px);
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

section {
    animation: fadeIn 0.8s ease-in-out;
}

.card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

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

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

h1, h2, h3 {
    font-family: "Poppins", sans-serif;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 150px;
}

.nav {
    display: flex;
    gap: 1.6rem;
    font-size: 0.95rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--line);
    transition: 0.3s ease;
    border-radius: 999px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s ease;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: var(--ink);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(20px);
}

#lang-display {
    min-width: 24px;
    text-align: center;
}

.header-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.2rem;
    transition: opacity 0.2s ease;
}

.header-social:hover {
    opacity: 0.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--ink);
    font-weight: 600;
    background: var(--ink);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn i {
    font-size: 0.85rem;
}}

.btn.primary {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

.btn.primary.btn-submit {
    background: var(--ink) !important;
    color: #ffffff !important;
    border: 2px solid var(--ink) !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 11, 11, 0.2);
}

.btn.primary.btn-submit:hover {
    background: var(--ink) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.hero {
    padding: 5rem 0 3.5rem;
    background: linear-gradient(to bottom, #fafaf9 0%, #f7f7f4 100%);
}

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

.hero-grid > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-grid > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--muted);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.hero-panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2.2rem;
    background: #ffffff;
}

.panel-profile {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-badge {
    position: absolute;
    top: 10px;
    right: calc(50% - 100px);
    background: var(--ink);
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(11, 11, 11, 0.15);
}

.panel-profile img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--ink);
    position: relative;
    filter: grayscale(100%);
    box-shadow: 0 16px 40px rgba(11, 11, 11, 0.18), 
                0 0 0 15px rgba(11, 11, 11, 0.05);
    margin: 0 auto 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-profile img:hover {
    transform: scale(1.05) rotate(2deg);
    filter: grayscale(0%);
    box-shadow: 0 20px 50px rgba(11, 11, 11, 0.25), 
                0 0 0 15px rgba(11, 11, 11, 0.08);
}

.panel-profile h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-title i {
    color: var(--ink);
}

.hero-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 1.5rem 0;
}

.hero-list {
    display: grid;
    gap: 1rem;
    font-size: 0.98rem;
}

.hero-list span {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink);
}

.hero-list span i {
    color: var(--ink);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.section {
    padding: 3.5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(to bottom, rgba(247, 247, 244, 0.3) 0%, rgba(247, 247, 244, 0.5) 100%);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

.card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.6rem;
    background: #ffffff;
    min-height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(11, 11, 11, 0.15);
    border-color: var(--ink);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: transparent !important;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(8deg);}

.card-icon i {
    background: transparent !important;
    color: var(--ink) !important;
}

.card h3 {
    font-size: 1.15rem;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2rem;
    background: #ffffff;
}

.form-group {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--ink);
}

.alert {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert.success {
    background: #f1f8f1;
    border: 1px solid #cbe6cb;
    color: #215b21;
}

.alert.error {
    background: #fff3f3;
    border: 1px solid #f1caca;
    color: #7a2a2a;
}

.footer {
    border-top: 2px solid var(--line);
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
    color: var(--muted);
    background: linear-gradient(to top, #fafaf9 0%, #ffffff 100%);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 2rem;
}
    transform: translateY(-2px);
.footer-grid strong {
    color: var(--ink);
}

.footer-grid p {
    margin: 0.5rem 0 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-grid div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    width: 80px;
    height: auto;
}

.footer-ig-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
}

.footer-ig-link:hover {
    opacity: 0.7;
}

.footer-divider {
    height: 1px;
    background: var(--line);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
    opacity: 0.7;
}
    animation: rise 0.8s ease both;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--ink);
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    padding: 2rem;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-nav a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 960px) {
    .hero-grid,
    .grid-3,
    .units-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .logo {
        order: 2;
        flex: 1;
    }

    .logo img {
        width: 140px !important;
    }

    .lang-toggle {
        order: 3;
    }

    .header-social {
        order: 4;
        margin-right: 1.2rem !important;
    }

    .header-cta {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 130px !important;
    }

    .header-social {
        margin-right: 1rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
