/* ============================================================
   homepage-dark.css — Design premium navy/auriu
   intreabaavocat.ro
   ============================================================ */

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

:root {
    --gold:        #C9A84C;
    --gold2:       #E8C97A;
    --gold-bg:     rgba(201, 168, 76, .1);
    --gold-border: rgba(201, 168, 76, .28);
    --dark:        #0D1B2E;
    --dark2:       #0E1F35;
    --dark3:       #13263F;
    --dark4:       #1A3050;
    --text:        rgba(255, 255, 255, .93);
    --muted:       rgba(255, 255, 255, .52);
    --subtle:      rgba(255, 255, 255, .22);
    --border:      rgba(255, 255, 255, .08);
    --border2:     rgba(255, 255, 255, .14);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: normal; }

/* ============================================================
   BUTOANE
   ============================================================ */

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #0D1B2E;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    font-family: inherit;
}

.btn-gold:hover {
    opacity: .9;
    transform: translateY(-1px);
    color: #0D1B2E;
    text-decoration: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border: 0.5px solid var(--border2);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--text);
    text-decoration: none;
}

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

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 60px;
    background: rgba(13, 27, 46, .92);
    backdrop-filter: blur(14px);
    border-bottom: 0.5px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    transition: color .15s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login {
    font-size: 13px;
    color: var(--muted);
    transition: color .15s;
}

.nav-login:hover { color: var(--text); }

/* Mobile nav */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: 0.5px solid var(--border2);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 16px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    padding: 100px 60px 0;
    text-align: center;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('{{ $heroBg ?? "/images/hero-bg.jpg" }}');
    background-size: cover;
    background-position: center;
    filter: brightness(.2) saturate(.5) hue-rotate(200deg);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(13, 27, 46, .4) 0%,
        rgba(13, 27, 46, .72) 50%,
        rgba(13, 27, 46, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 0.5px solid var(--gold-border);
    border-radius: 20px;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .06em;
    margin-bottom: 28px;
    background: rgba(201, 168, 76, .06);
}

.hero-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.hero h1 {
    font-size: 52px;
    font-weight: 400;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 em { color: var(--gold); }

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .6);
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 32px;
    border-top: 0.5px solid rgba(255, 255, 255, .09);
    flex-wrap: wrap;
    gap: 0;
}

.hero-stat {
    text-align: center;
    padding: 0 36px;
}

.hero-stat-n {
    font-size: 30px;
    font-weight: 400;
    font-family: Georgia, serif;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-l {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: .02em;
}

.hero-stat-div {
    width: 0.5px;
    height: 32px;
    background: rgba(255, 255, 255, .1);
}

/* ============================================================
   SECȚIUNI GENERALE
   ============================================================ */

.section {
    padding: 72px 60px;
    border-bottom: 0.5px solid var(--border);
}

.section--alt { background: var(--dark2); }

.sec-label {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 10px;
    text-align: center;
}

.sec-title {
    font-size: 32px;
    font-weight: 400;
    font-family: Georgia, serif;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: center;
}

.sec-sub {
    font-size: 15px;
    color: var(--muted);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-text .sec-title,
.about-text .sec-label { text-align: left; }

.about-text p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 0;
}

.about-card {
    background: var(--dark3);
    border: 0.5px solid var(--border2);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.about-stat {
    padding: 20px 0;
    border-bottom: 0.5px solid var(--border);
}

.about-stat:first-child { padding-top: 0; }
.about-stat:last-child { border-bottom: none; padding-bottom: 0; }

.about-stat-n {
    font-size: 40px;
    font-weight: 400;
    font-family: Georgia, serif;
    color: var(--gold);
    line-height: 1;
}

.about-stat-l {
    font-size: 13px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.5;
}

/* ============================================================
   TEAM
   ============================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team-card {
    background: var(--dark3);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: border-color .2s, transform .2s;
}

.team-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
}

.team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark4), var(--dark3));
    border: 1.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: Georgia, serif;
    color: var(--gold);
    margin: 0 auto 16px;
}

.team-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 5px;
}

.team-role {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================================
   WHY US
   ============================================================ */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.why-card {
    background: var(--dark3);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color .2s, transform .2s;
}

.why-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 7px;
}

.why-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 0.5px;
    background: var(--gold-border);
    z-index: 0;
}

.process-step {
    background: var(--dark3);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-bubble {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 1.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--gold);
    margin: 0 auto 16px;
    font-family: Georgia, serif;
}

.process-step h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   SERVICII
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-card {
    background: var(--dark3);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: border-color .2s;
}

.service-card:hover { border-color: var(--gold-border); }

.service-card.featured {
    border-color: var(--gold-border);
    background: linear-gradient(145deg, var(--dark3), var(--dark4));
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.service-title {
    font-size: 17px;
    font-weight: 500;
    font-family: Georgia, serif;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.service-price {
    font-size: 24px;
    font-weight: 400;
    font-family: Georgia, serif;
    color: var(--gold);
    margin-bottom: 16px;
}

.service-price span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-features li {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 9px;
}

.service-features li::before {
    content: '✓';
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALE
   ============================================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.testimonial-card {
    background: var(--dark3);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-quote {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
    margin-bottom: 18px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 0.5px solid var(--border);
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.testimonial-tag {
    font-size: 11px;
    color: var(--muted);
}

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

.faq-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.faq-item {
    border: 0.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s;
}

.faq-item.open { border-color: var(--gold-border); }

.faq-question {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    transition: background .15s;
}

.faq-question:hover { background: var(--dark3); }

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform .2s;
    font-weight: 300;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 3px;
}

.contact-item p {
    font-size: 13px;
    color: var(--muted);
}

.contact-cta-box {
    background: var(--gold-bg);
    border: 0.5px solid var(--gold-border);
    border-radius: 12px;
    padding: 20px;
}

.contact-cta-box p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.contact-form {
    background: var(--dark3);
    border: 0.5px solid var(--border2);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.form-input {
    padding: 10px 14px;
    background: var(--dark4);
    border: 0.5px solid var(--border2);
    border-radius: 7px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    transition: border-color .15s;
}

.form-input:focus { border-color: var(--gold-border); }

.form-textarea {
    padding: 10px 14px;
    background: var(--dark4);
    border: 0.5px solid var(--border2);
    border-radius: 7px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color .15s;
}

.form-textarea:focus { border-color: var(--gold-border); }

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

.site-footer {
    padding: 52px 60px 28px;
    border-top: 0.5px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    transition: color .15s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 0.5px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--subtle);
}

.footer-barou-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border: 0.5px solid var(--gold-border);
    border-radius: 5px;
    font-size: 11px;
    color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .site-nav    { padding: 16px 32px; }
    .hero        { padding: 80px 32px 0; }
    .section     { padding: 56px 32px; }
    .site-footer { padding: 40px 32px 24px; }
    .footer-top  { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid  { grid-template-columns: 1fr; }
    .about-card  { display: none; }
    .team-grid   { grid-template-columns: 1fr 1fr; }
    .why-grid    { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
    .process-steps::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-nav    { padding: 14px 20px; }
    .nav-links   { display: none; }
    .nav-mobile-toggle { display: flex; }
    .hero        { padding: 72px 20px 0; min-height: 480px; }
    .hero h1     { font-size: 34px; }
    .hero-sub    { font-size: 14px; }
    .hero-stat   { padding: 0 16px; }
    .hero-stat-n { font-size: 22px; }
    .section     { padding: 48px 20px; }
    .sec-title   { font-size: 26px; }
    .team-grid   { grid-template-columns: 1fr; }
    .why-grid    { grid-template-columns: 1fr; }
    .services-grid      { grid-template-columns: 1fr; }
    .testimonials-grid  { grid-template-columns: 1fr; }
    .site-footer        { padding: 36px 20px 20px; }
    .footer-top  { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row-2  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-btns   { flex-direction: column; align-items: stretch; }
    .hero-stats  { flex-wrap: wrap; gap: 16px; }
    .hero-stat-div { display: none; }
    .hero-stat   { width: 45%; }
}
