/* ═══════════════════════════════════════════
   TIMILUC SRL — Homepage
   Hero, stats, services, marquee, advantages,
   process, testimonials, FAQ, CTA.
   ═══════════════════════════════════════════ */

/* ═══ HERO ═══ */
.tml-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--tml-bg);
    overflow: hidden;
    text-align: center;
    padding: 24px;
}

.tml-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.tml-hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(1, 11, 20, 0.3) 50%, rgba(1, 11, 20, 0.95) 100%);
}

.tml-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tml-hero-logo {
    font-family: var(--tml-font-serif);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.15em;
    line-height: 1;
    background: linear-gradient(to bottom, var(--tml-gold-dim), var(--tml-gold-light), var(--tml-gold-dim));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    opacity: 0;
    animation: tmlHeroReveal 2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes tmlHeroReveal {
    from {
        opacity: 0;
        filter: blur(15px) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        filter: blur(0) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
        transform: scale(1);
    }
}

.tml-hero-line {
    width: 120px;
    height: 2px;
    margin: 1.5rem 0;
    background: linear-gradient(to right, transparent, var(--tml-gold), transparent);
    opacity: 0.6;
    animation: tmlSlideUp 0.8s ease-out 1.2s both;
}

.tml-hero-slogan {
    font-size: clamp(0.65rem, 0.9vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: clamp(0.2em, 0.4vw, 0.45em);
    color: var(--tml-gold);
    font-weight: 500;
    opacity: 0.8;
    animation: tmlSlideUp 0.8s ease-out 1.4s both;
}

.tml-hero-desc {
    max-width: 500px;
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    line-height: 1.8;
    color: var(--tml-muted);
    font-weight: 300;
    margin-top: 2rem;
    animation: tmlSlideUp 0.8s ease-out 1.6s both;
}

.tml-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    animation: tmlSlideUp 0.8s ease-out 1.8s both;
}

@keyframes tmlSlideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
/* .tml-btn-cy and .tml-btn-gld moved to global-styles.css (shared across all pages) */

/* Scroll indicator */
.tml-hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0.25;
    animation: tmlBounce 2s ease-in-out infinite;
}

@keyframes tmlBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.tml-hero-scroll span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #fff;
}

.tml-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: #fff;
}


/* ═══ STATS ═══ */
.tml-stats {
    background: var(--tml-bg);
    padding: clamp(50px, 8vw, 90px) 24px;
    position: relative;
    overflow: hidden;
}

.tml-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tml-stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 600px) {
    .tml-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.tml-stat-num {
    font-family: var(--tml-font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(to bottom, var(--tml-gold-light), var(--tml-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.tml-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--tml-muted);
}


/* ═══ SERVICES ═══ */
.tml-svc { background: var(--tml-bg2); }

.tml-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

@media (max-width: 800px) {
    .tml-svc-grid { grid-template-columns: 1fr; }
}

.tml-svc-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 40px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.tml-svc-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tml-svc-card.featured {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.15);
}

@media (min-width: 801px) {
    .tml-svc-card.featured { margin-top: -20px; }
}

/* Tag B2B */
.tml-svc-card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tml-svc-card-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tml-gold);
    animation: tmlPulse 2s ease-in-out infinite;
}

@keyframes tmlPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.tml-svc-card-tag span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--tml-gold);
}

.tml-svc-ico {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.tml-svc-card:hover .tml-svc-ico {
    transform: scale(1.1);
}

.tml-svc-card h3 {
    font-family: var(--tml-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tml-white);
    margin-bottom: 0.5rem;
}

.tml-svc-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
    transition: background 0.3s;
}

.tml-svc-card p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

/* Expandable details */
.tml-svc-extra {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
}

.tml-svc-extra.open {
    grid-template-rows: 1fr;
}

.tml-svc-extra-inner {
    overflow: hidden;
}

.tml-svc-extra-content {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tml-svc-extra-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tml-svc-extra-content li {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 0 5px 16px;
    position: relative;
    font-weight: 300;
}

.tml-svc-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.tml-svc-order-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: inherit;
    background: transparent;
}

.tml-svc-order-btn:hover { opacity: 0.8; }

.tml-svc-toggle {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    font-family: inherit;
    margin-top: auto;
    align-self: flex-start;
}

.tml-svc-toggle:hover {
    background: rgba(255, 255, 255, 0.04);
}


/* ═══ MARQUEE ═══ */
.tml-mq {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(1, 11, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 0;
    overflow: hidden;
}

.tml-mq-track {
    display: inline-flex;
    animation: tmlMarquee 45s linear infinite;
    white-space: nowrap;
}

.tml-mq-track:hover {
    animation-play-state: paused;
}

.tml-mq-track span {
    font-family: var(--tml-font-serif);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    color: transparent;
    padding: 0 clamp(12px, 2vw, 28px);
    opacity: 0.2;
    text-transform: uppercase;
}

@keyframes tmlMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══ ADVANTAGES ═══ */
.tml-adv { background: var(--tml-bg); }

.tml-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 3rem;
}

@media (max-width: 800px) {
    .tml-adv-grid { grid-template-columns: 1fr; }
}

.tml-adv-card {
    padding: clamp(24px, 3vw, 36px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s;
    cursor: default;
}

.tml-adv-card:hover {
    border-color: rgba(0, 206, 209, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.tml-adv-card-ico {
    color: var(--tml-cyan);
    margin-bottom: 1.25rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.tml-adv-card:hover .tml-adv-card-ico {
    opacity: 1;
}

.tml-adv-card h4 {
    font-family: var(--tml-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tml-white);
    margin-bottom: 0.5rem;
}

.tml-adv-card p {
    font-size: 0.78rem;
    color: var(--tml-muted);
    line-height: 1.7;
    font-weight: 300;
}


/* ═══ PROCESS ═══ */
.tml-proc { background: var(--tml-bg2); }

.tml-proc-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    max-width: 700px;
}

.tml-proc-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    position: relative;
    padding-bottom: 40px;
}

.tml-proc-step:last-child { padding-bottom: 0; }

.tml-proc-num-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tml-proc-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 206, 209, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tml-font-serif);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    color: var(--tml-cyan);
    background: var(--tml-bg2);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.tml-proc-step:hover .tml-proc-num {
    background: rgba(0, 206, 209, 0.1);
    border-color: var(--tml-cyan);
}

.tml-proc-line {
    flex: 1;
    width: 1px;
    background: rgba(0, 206, 209, 0.08);
    margin-top: 8px;
}

.tml-proc-info h4 {
    font-family: var(--tml-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tml-white);
    margin-bottom: 0.4rem;
    margin-top: 0.75rem;
}

.tml-proc-info p {
    font-size: 0.82rem;
    color: var(--tml-muted);
    line-height: 1.7;
    font-weight: 300;
}


/* ═══ TESTIMONIALS ═══ */
.tml-test {
    background: var(--tml-bg);
    overflow: hidden;
}

.tml-test-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    margin-top: 3rem;
}

.tml-test-track {
    display: inline-flex;
    gap: 24px;
    animation: tmlMarquee 40s linear infinite;
}

.tml-test-track:hover {
    animation-play-state: paused;
}

.tml-test-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}

.tml-test-stars {
    display: flex;
    gap: 4px;
    color: var(--tml-gold);
    margin-bottom: 1rem;
}

.tml-test-txt {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.tml-test-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tml-white);
}

.tml-test-loc {
    font-size: 0.68rem;
    color: var(--tml-muted);
    margin-top: 2px;
}


/* ═══ FAQ ═══ */
.tml-faq-sec { background: var(--tml-bg2); }

.tml-faq-inner {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: left;
}

.tml-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tml-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--tml-font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tml-white);
    transition: color 0.25s;
}

.tml-faq-q:hover {
    color: var(--tml-cyan);
}

.tml-faq-chev {
    flex-shrink: 0;
    color: var(--tml-cyan-dim);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.tml-faq-item.open .tml-faq-chev {
    transform: rotate(180deg);
}

.tml-faq-a {
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.76, 0, 0.24, 1), padding 0.35s;
    max-height: 0;
    padding: 0;
}

.tml-faq-item.open .tml-faq-a {
    max-height: 280px;
    padding: 0 0 20px;
}

.tml-faq-a p {
    font-size: 0.82rem;
    color: var(--tml-muted);
    line-height: 1.75;
    font-weight: 300;
}


/* ═══ CTA BAND ═══ */
/* CTA Band styles moved to global-styles.css (shared across all pages) */
