/* ==========================================================================
   Rizenda — startup & elegant theme layer (loaded after site.css).
   Light, airy, simple: soft indigo accent, generous whitespace, calm type
   (Inter Tight + a touch of Instrument Serif italic), pill buttons, soft cards.
   Remove this file (and its <link>) to go back to the base styles.
   ========================================================================== */
:root {
    --accent: #3f51f0;
    --accent-2: #2f3fd0;
    --accent-soft: #eef0ff;
    --navy: #0f1630;
    --dark: #0f1630;
    --ink: #121a33;
    --ink-2: #39435c;
    --muted: #5d6781;
    --faint: #98a1b8;
    --line: #e5e8f4;
    --line-2: #eef0f8;
    --paper: #ffffff;
    --tint: #f7f8fd;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(18, 26, 51, .04), 0 8px 24px -14px rgba(18, 26, 51, .12);
    --shadow-lg: 0 24px 48px -28px rgba(40, 55, 160, .35);
    --grad: var(--accent);
    --display: "Inter Tight", "Inter", system-ui, sans-serif;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --container: 1140px;
}

body { font-size: 16px; line-height: 1.75; color: var(--ink-2); background: #fff; }
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 600; letter-spacing: -.028em; color: var(--ink); }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; color: var(--accent); background: none; -webkit-background-clip: initial; background-clip: initial; }
h2 em, h1 em { font-size: 1.06em; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; height: 46px; padding: 0 1.4rem; font-weight: 550; font-size: .94rem; letter-spacing: -.005em; }
.btn-lg { height: 52px; padding: 0 1.75rem; font-size: 1rem; }
.btn-dark, .btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(63, 81, 240, .7); }
.btn-dark:hover, .btn-accent:hover { background: var(--accent-2); box-shadow: 0 14px 28px -12px rgba(63, 81, 240, .8); filter: none; transform: translateY(-1px); }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: #c9cfe8; background: var(--tint); }
.link-arrow { color: var(--accent); font-weight: 600; }

/* ---------- announcement + header ---------- */
.announce { background: var(--navy); font-size: .8rem; }
.site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: 72px; }
.logo-mark { border-radius: 10px; }
.nav-menu a { border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: .5rem .85rem; }
.nav-menu a:hover, .nav-menu a.active { background: var(--accent-soft); color: var(--accent); }
.nav-menu .sub { border-radius: 14px; box-shadow: var(--shadow-lg); border-color: var(--line); }
.nav-menu .sub a { border-radius: 9px; }

/* ---------- headings & rhythm ---------- */
.eyebrow { display: inline-flex; font-size: .76rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; text-transform: none; }
.eyebrow::before { display: none; }
.section { padding: 104px 0; }
.section.tint, .section.white, .section.soft { background: var(--tint); }
.section.white.bordered { border-top: 0; }
.section-head { margin-bottom: 48px; border: 0; padding: 0; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.12; }
.section-head p { font-size: 1.05rem; color: var(--muted); }
.lead { color: var(--muted); }

/* ---------- hero (centered, calm) ---------- */
.hero.hero-pro { padding: 88px 0 40px; background: radial-gradient(70% 55% at 50% 0%, rgba(63, 81, 240, .10), transparent 72%), #fff; border: 0; text-align: center; overflow: hidden; }
.hero-pro::before { display: none; }
.hero-center { display: flex; flex-direction: column; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .9rem .35rem .75rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: .84rem; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 1.6rem; max-width: 100%; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .16); flex-shrink: 0; }
.hero-pill i { color: var(--faint); }
a.hero-pill:hover { border-color: #c9cfe8; }
.hero-pro h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; max-width: 880px; margin: 0 auto .45em; font-weight: 600; }
.hero-pro .lead { font-size: 1.14rem; max-width: 620px; margin: 0 auto 2rem; }
.hero-pro .hero-actions { justify-content: center; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1.8rem 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-checks i { color: var(--accent); font-size: 1.1rem; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; text-align: left; }
.hero-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd5f5; }
.hero-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem; margin-bottom: 1.2rem; }
.hero-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.hero-card p { font-size: .94rem; color: var(--muted); margin: 0 0 1.2rem; flex: 1; }
.hero-card .go { font-size: .9rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; }
.hero-card:hover .go i { transform: translateX(3px); }
.hero-card .go i { transition: transform .2s var(--ease); }

/* ---------- key numbers ---------- */
.stat-row { padding: 56px 0 8px; border: 0; background: #fff; }
.stat-row .container { gap: 16px; }
.stat-row div { text-align: center; padding: 8px; border: 0; }
.stat-row div:first-child { padding-left: 8px; }
.stat-row strong { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.04em; color: var(--ink); background: none; -webkit-text-fill-color: initial; }
.stat-row span { font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 450; }

/* ---------- cards ---------- */
.card, .model, .sitemap-group, .hw-cat, .job-row, .form-card, .office-band, .product-card { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: none; }
a.card:hover, .card.hover:hover, .product-card:hover { transform: translateY(-3px); border-color: #cfd5f5; box-shadow: var(--shadow-lg); }
.icon-box, .service-card .icon-box, .model .top .icon-box { background: var(--accent-soft); color: var(--accent); border-radius: 12px; border: 0; }
.chip { border-radius: 999px; font-weight: 550; background: var(--line-2); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.facts .container, .fact i { border-radius: 14px; }
.fact i { background: var(--accent-soft); }
.step { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.step::before { border-radius: 12px; background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.steps { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }

/* project cards: image-led, borderless */
.project-card, .project-card:hover { border: 0; background: transparent; box-shadow: none; transform: none; }
.project-card .cover, .project-card .project-shot, .cover, .cover.gen { border-radius: var(--radius); }
.project-card .meta { margin-top: 1.2rem; }
.project-card h3 { font-size: 1.25rem; }
.cover.gen { background: linear-gradient(140deg, #eef0ff, #e3e7fb); }
.shot, .shot-phone, .showcase .shot { border-radius: 14px; box-shadow: var(--shadow-lg); }

/* ---------- page header ---------- */
.page-hero { background: radial-gradient(60% 120% at 50% 0%, rgba(63, 81, 240, .08), transparent 70%), #fff; border-bottom: 1px solid var(--line-2); padding: 64px 0 48px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); letter-spacing: -.035em; }

/* ---------- CTA ---------- */
.cta-block { background: radial-gradient(80% 140% at 100% 0%, rgba(99, 116, 255, .45), transparent 60%), var(--navy); border-radius: 24px; padding: 64px 56px; }
.cta-block::before { display: none; }
.cta-block h2 { color: #fff; }
.cta-block h2 em { color: #aab6ff; }
.cta-block .btn-light, .cta-block .btn-dark { background: #fff; color: var(--navy); box-shadow: none; }

/* ---------- forms ---------- */
input, select, textarea { border-radius: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(63, 81, 240, .12); outline: 0; }

/* ---------- footer & dark blocks ---------- */
.site-footer { background: var(--navy); color: #a8b1cf; padding-top: 80px; }
.site-footer h5 { color: #fff; }
.footer-news { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); border-radius: 16px; }
.footer-socials a { border-radius: 10px; }
.footer-socials a:hover { background: #fff; color: var(--navy); border-color: #fff; }
.footer-contact i { color: #9fabff; }
.section.dark, .process-dark { background: var(--navy); }
.section.dark h2 em, .site-footer em { color: #aab6ff; }
.wa-float { width: 52px; height: 52px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .hero-cards { grid-template-columns: 1fr; margin-top: 44px; }
    .steps:has(> :nth-child(5):last-child) { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
    .section { padding: 72px 0; }
    .cta-block { padding: 40px 26px; }
}
@media (max-width: 640px) {
    .hero.hero-pro { padding: 56px 0 24px; }
    .hero-checks { gap: .4rem 1rem; font-size: .82rem; }
    .stat-row { padding-top: 36px; }
}
