/*
Theme Name: REAB
Theme URI: https://reab.ro
Description: REAB Theme
Author: REAB
Template: twentytwentyone
Version: 1.0
Text Domain: reab
*/

:root {
    --cream: #FAF7F2;
    --warm-white: #FDF9F4;
    --terracotta: #C4714A;
    --terracotta-light: #E8A882;
    --terracotta-pale: #F5E6DC;
    --sage: #7A9E87;
    --sage-light: #B8D4C0;
    --sage-pale: #EAF2EC;
    --brown-dark: #3D2B1F;
    --brown-mid: #6B4C3B;
    --brown-light: #A07860;
    --text-main: #2C1F17;
    --text-soft: #7A6458;
    --border: rgba(196, 113, 74, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-main);
    overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.8s ease both;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brown-dark);
    letter-spacing: 0.04em;
}

.nav-logo span {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--terracotta);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--brown-mid);
    transform: translateY(-1px);
}

/* ─── HERO ─── */
#acasa {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    right: -10rem;
    top: -10rem;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--terracotta-pale) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-bg-leaves {
    position: absolute;
    left: -5rem;
    bottom: -5rem;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sage-pale) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--terracotta-pale);
    color: var(--terracotta);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--brown-dark);
    margin-bottom: 1.2rem;
    animation: fadeUp 0.8s 0.35s ease both;
}

.hero-title em {
    color: var(--terracotta);
    font-style: italic;
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s 0.5s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.65s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--terracotta);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(196, 113, 74, 0.35);
}

.btn-primary:hover {
    background: var(--brown-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 113, 74, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--brown-dark);
    padding: 0.9rem 2rem;
    border-radius: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s 0.4s ease both;
}

.hero-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(61, 43, 31, 0.1);
    max-width: 380px;
    width: 100%;
    border: 1px solid var(--border);
}

.hero-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--terracotta-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.hero-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.price-tag {
    display: inline-block;
    background: var(--terracotta);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-soft);
    letter-spacing: 0.04em;
}

.floating-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--sage);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(122, 158, 135, 0.4);
}

/* ─── SECTIONS COMMON ─── */
section {
    padding: 6rem 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1.5px;
    background: var(--terracotta);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.section-title em {
    color: var(--terracotta);
    font-style: italic;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 540px;
}

/* ─── CUI SE ADRESEAZĂ ─── */
#cui {
    background: var(--warm-white);
}

.cui-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.cui-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.cui-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: transform 0.35s;
}

.cui-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61, 43, 31, 0.1);
}

.cui-card:hover::after {
    transform: scaleX(1);
}

.cui-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cui-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
}

.cui-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ─── BENEFICII ─── */
#beneficii {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.beneficii-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.beneficii-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.beneficii-list li:hover {
    border-color: var(--terracotta-light);
    box-shadow: 0 4px 20px rgba(196, 113, 74, 0.1);
}

.check {
    color: var(--sage);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.beneficii-list span {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.5;
}

.sedinta-box {
    background: var(--brown-dark);
    border-radius: 2rem;
    padding: 2.5rem;
    color: white;
}

.sedinta-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.sedinta-box p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.sedinta-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--terracotta);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.step span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ─── SERVICII ─── */
#servicii {
    background: var(--warm-white);
}

.servicii-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.servicii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.serviciu-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.serviciu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(61, 43, 31, 0.12);
}

.serviciu-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.serviciu-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.icon-terra {
    background: var(--terracotta-pale);
}

.icon-sage {
    background: var(--sage-pale);
}

.serviciu-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 0.4rem;
}

.serviciu-card .tagline {
    font-size: 0.82rem;
    color: var(--terracotta);
    font-weight: 500;
    margin-bottom: 1rem;
}

.serviciu-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.serviciu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.73rem;
    padding: 0.3rem 0.8rem;
    background: var(--cream);
    border-radius: 2rem;
    color: var(--text-soft);
    border: 1px solid var(--border);
}

.serviciu-card .link {
    font-size: 0.83rem;
    color: var(--terracotta);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s;
}

.serviciu-card .link:hover {
    gap: 0.6rem;
}

/* ─── DESPRE ─── */
#despre {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.despre-visual {
    position: relative;
}

.despre-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 520px;
    background: linear-gradient(135deg, var(--terracotta-pale) 0%, var(--sage-pale) 100%);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.despre-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4714A' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.despre-badge-float {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: white;
    border-radius: 1.5rem;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(61, 43, 31, 0.15);
    border: 1px solid var(--border);
}

.despre-badge-float .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--terracotta);
}

.despre-badge-float .lbl {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.calificari {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 2rem 0;
}

.calificare {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: var(--warm-white);
    border-radius: 0.8rem;
    border: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-main);
}

.calificare-icon {
    color: var(--sage);
}

.misiune-box {
    background: var(--terracotta-pale);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--terracotta);
}

.misiune-box blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--brown-dark);
    line-height: 1.6;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--brown-dark);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

#contact .section-label {
    color: var(--terracotta-light);
}

#contact .section-label::before {
    background: var(--terracotta-light);
}

#contact .section-title {
    color: white;
}

#contact .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.8rem;
    background: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-icon.wa {
    background: #25D366;
}

.contact-method-info {
    display: flex;
    flex-direction: column;
}

.contact-method-label {
    font-size: 0.72rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-method-val {
    font-size: 1rem;
    font-weight: 500;
}

.contact-cta-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.contact-cta-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-cta-box p {
    font-size: 0.9rem;
    opacity: 0.65;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.price-display {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--terracotta-light);
    margin-bottom: 0.3rem;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--terracotta);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(196, 113, 74, 0.4);
}

.btn-cta-large:hover {
    background: var(--terracotta-light);
    transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
    background: #28180E;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .logo-f {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

footer .logo-f span {
    color: var(--terracotta-light);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 4rem 1.5rem;
    }

    #acasa {
        grid-template-columns: 1fr;
        padding: 7rem 1.5rem 3rem;
    }

    .hero-visual {
        display: none;
    }

    #beneficii,
    #despre,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .servicii-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .despre-badge-float {
        right: 0;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}
