/* Arrelam — Landing "Pròximament"
   Colors i tipografia del projecte */

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

:root {
    /* Colors Arrelam */
    --color-primary: #3A5A40;
    --color-primary-hover: #2E4832;
    --color-bg: #F2F0EB;
    --color-bg-alt: #E8E5DF;
    --color-text: #2B2D26;
    --color-text-light: #666666;
    --color-accent: #B8860B;
    --color-border: rgba(43, 45, 38, 0.1);
    --color-surface: #ffffff;

    /* Tipografia Arrelam */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-serif: 'Fraunces', serif;

    /* Spacing */
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── SR Only (accessibilitat) ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Header / Logo ── */
header {
    text-align: center;
    animation: fadeInDown 0.8s ease-out both;
}

.landing__brand {
    text-decoration: none;
}

.landing__brand-name {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -1px;
    display: inline-block;
    margin-bottom: 2.5rem;
}

/* ── Container ── */
.landing {
    text-align: center;
    max-width: 580px;
    width: 100%;
}

/* ── Heading ── */
.landing__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s 0.15s ease-out both;
}

/* ── Subtitle ── */
.landing__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s 0.3s ease-out both;
}

/* ── Coming soon ── */
.landing__coming {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s 0.35s ease-out both;
}

/* ── Divider ── */
.landing__divider {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border: none;
    border-radius: 2px;
    margin: 0 auto 2rem;
    opacity: 0.3;
    animation: fadeInUp 0.8s 0.4s ease-out both;
}

/* ── Services list ── */
.landing__services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s 0.5s ease-out both;
}

.landing__services li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(58, 90, 64, 0.08);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
}

.landing__services li:hover {
    background: rgba(58, 90, 64, 0.14);
}

/* ── Contact ── */
.landing__contact {
    animation: fadeInUp 0.8s 0.6s ease-out both;
}

.landing__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-surface);
    background: var(--color-primary);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.landing__contact a:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.landing__contact a:active {
    transform: translateY(0);
}

.landing__contact-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ── Footer ── */
.landing__footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    animation: fadeInUp 0.8s 0.7s ease-out both;
}

/* ── Background decoration ── */
.bg-roots {
    position: fixed;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 90vw;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* ── Animations ── */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ── Responsive ── */
@media (max-width: 480px) {
    body {
        padding: 1.5rem;
    }

    .landing__logo {
        width: 200px;
        margin-bottom: 2rem;
    }

    .landing__services {
        gap: 0.4rem;
    }

    .landing__services li {
        font-size: 0.78rem;
        padding: 0.35rem 0.8rem;
    }

    .landing__contact a {
        padding: 0.75rem 1.6rem;
        font-size: 0.95rem;
    }
}
