/* ==========================================================================
   Dreams Event - main stylesheet
   Design tokens, base typography, layout primitives, header, footer and
   shared components used across every page of the site.
   ========================================================================== */

:root {
    /* Brand palette */
    --brand-50:  #eef6ff;
    --brand-100: #d9ecff;
    --brand-400: #38bdf8;
    --brand-500: #0ea5e9;
    --brand-600: #0284c7;
    --brand-700: #0369a1;

    --accent:    #f59e0b;
    --accent-dk: #d97706;

    --ink:       #0f172a;
    --ink-soft:  #334155;
    --muted:     #64748b;
    --line:      #e2e8f0;

    --bg:        #ffffff;
    --bg-alt:    #f8fafc;
    --bg-dark:   #0b1220;
    --bg-dark-2: #111c30;

    --white:     #ffffff;
    --radius:    18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.06);
    --shadow-md: 0 12px 30px rgba(15,23,42,.10);
    --shadow-lg: 0 24px 60px rgba(15,23,42,.16);

    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .98rem;
    padding: 14px 26px;
    border-radius: 999px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px rgba(2,132,199,.28); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(2,132,199,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand__mark {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    display: grid; place-items: center; color: #fff; font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(2,132,199,.35);
}
.brand span em { color: var(--brand-600); font-style: normal; }

.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
    padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--ink-soft);
    transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--brand-600); background: var(--brand-50); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(56,189,248,.35), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(245,158,11,.18), transparent 55%),
        linear-gradient(160deg, #0b1220 0%, #0e1b33 55%, #0b1220 100%);
    overflow: hidden;
    padding: clamp(72px, 11vw, 128px) 0 clamp(80px, 12vw, 140px);
}
.hero__grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(700px 500px at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(700px 500px at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.25); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(90deg, #7dd3fc, #38bdf8 40%, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; }
.hero__stat .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stat .lbl { font-size: .88rem; color: rgba(255,255,255,.65); }

/* Hero visual card cluster */
.hero__visual { position: relative; }
.hero-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px; padding: 26px; backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.hero-card .emoji { font-size: 3.4rem; }
.hero-card h3 { color: #fff; font-size: 1.25rem; margin: 12px 0 6px; }
.hero-card p { color: rgba(255,255,255,.72); font-size: .95rem; }
.hero-card + .hero-card { margin-top: 18px; }
.float-chip {
    position: absolute; background: #fff; color: var(--ink);
    border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.chip-1 { top: -22px; left: -18px; }
.chip-2 { bottom: -22px; right: -14px; }
.chip-1 .ic { background: var(--brand-50); }
.chip-2 .ic { background: #fff7ed; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--brand-600); color: #fff; padding: 16px 0; overflow: hidden; }
.strip__track { display: flex; gap: 44px; white-space: nowrap; animation: scroll 26s linear infinite; width: max-content; }
.strip__track span { font-weight: 700; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 44px; font-size: 1.02rem; }
.strip__track span::after { content: "•"; opacity: .5; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative; overflow: hidden;
}
.service::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-500), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.9rem; background: var(--brand-50); margin-bottom: 20px;
}
.service h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .98rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__panel {
    background: linear-gradient(150deg, var(--brand-600), var(--brand-700));
    border-radius: 24px; padding: 40px; color: #fff; box-shadow: var(--shadow-lg);
}
.about__panel .big { font-size: 3rem; margin-bottom: 8px; }
.about__panel .stat { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.about__panel .stat + p { color: rgba(255,255,255,.8); margin-top: 6px; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.about__list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.about__list .tick {
    flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
    background: var(--brand-50); color: var(--brand-600); font-size: .9rem;
}
.about__text h3 { font-size: 1.6rem; margin-bottom: 14px; }
.about__text p { margin-bottom: 16px; }
.about__text .muted { color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px;
    position: relative; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .n {
    font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
    color: var(--brand-100); -webkit-text-stroke: 1.5px var(--brand-400); line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(120deg, #0e1b33, #0b1220);
    border-radius: 26px; padding: clamp(40px, 6vw, 64px);
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
    box-shadow: var(--shadow-lg);
}
.cta-banner::before {
    content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%);
    top: -160px; right: -80px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.78); position: relative; }
.cta-banner .cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.t-card .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.t-card blockquote { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 22px; }
.t-card .who { display: flex; align-items: center; gap: 13px; }
.t-card .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.t-card .who b { display: block; color: var(--ink); font-size: .98rem; }
.t-card .who small { color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.contact__info > p { color: var(--muted); margin-bottom: 30px; }
.info-card { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-card .ic { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-50); }
.info-card b { display: block; color: var(--ink); font-family: var(--font-display); margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--muted); font-size: .96rem; }
.info-card a:hover { color: var(--brand-600); }

.contact-form {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: .97rem; color: var(--ink); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-success {
    display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
    padding: 14px 16px; border-radius: 12px; margin-top: 16px; font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 64px 0 30px; }
    .footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr 1.1fr; gap: 34px; margin-bottom: 44px; }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand p { color: #94a3b8; max-width: 320px; font-size: .95rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col a { display: block; color: #94a3b8; padding: 6px 0; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--brand-400); }
.footer__social { display: flex; gap: 12px; margin-top: 6px; }
.footer__social a {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.footer__social a:hover { background: var(--brand-600); border-color: var(--brand-600); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: #94a3b8; font-size: .9rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 150;
    width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--brand-600); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand-700); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .hero__visual { max-width: 460px; }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-banner { grid-template-columns: 1fr; text-align: center; }
    .cta-banner .cta__actions { justify-content: center; }
    .contact__grid { grid-template-columns: 1fr; gap: 34px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    /* Two-row mobile header: brand + CTA on row 1, full-bleed scrollable links on row 2 */
    .nav { flex-wrap: wrap; justify-content: space-between; align-items: center; height: auto; padding-top: 10px; padding-bottom: 4px; row-gap: 4px; }
    .brand { order: 1; }
    .nav__cta { order: 2; }
    .nav__cta .btn { padding: 10px 16px; font-size: .86rem; }
    nav[aria-label="Primary"] { order: 3; flex: 1 0 100%; min-width: 0; }
    .nav__links {
        flex-wrap: nowrap; justify-content: flex-start; gap: 4px;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        margin: 0 -24px; padding: 0 24px 6px;
        scrollbar-width: none;
    }
    .nav__links::-webkit-scrollbar { display: none; }
    .nav__links li { flex: none; }
    .nav__links a { white-space: nowrap; padding: 8px 13px; }
    .hero h1 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
    .strip { padding: 12px 0; }
    .cards-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .cards-grid, .t-grid, .steps, .about__list, .form-row { grid-template-columns: 1fr; }
    .hero__stats { gap: 22px; }
    .float-chip { display: none; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .strip__track { animation: none; }
}
