/* =========================================================
   Yarana Web Tech — main stylesheet
   Palette: brand green + electric blue + deep ink
   ========================================================= */

:root {
    --brand-1:       #0f9d58;
    --brand-2:       #1aa6ff;
    --brand-grad:    linear-gradient(135deg, #0f9d58 0%, #1aa6ff 100%);
    --brand-grad-soft: linear-gradient(135deg, rgba(15,157,88,.12), rgba(26,166,255,.12));

    --ink-900:       #0b1220;
    --ink-800:       #111a2e;
    --ink-700:       #1f2a44;
    --ink-500:       #475569;
    --ink-400:       #64748b;
    --ink-300:       #94a3b8;
    --ink-200:       #cbd5e1;
    --ink-100:       #e2e8f0;
    --ink-50:        #f1f5f9;

    --surface:       #ffffff;
    --surface-alt:   #f7faf8;
    --surface-dark:  #0b1220;

    --radius-sm:     10px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-xl:     32px;

    --shadow-sm:     0 2px 6px rgba(15,23,42,.06);
    --shadow-md:     0 8px 24px rgba(15,23,42,.08);
    --shadow-lg:     0 20px 40px rgba(15,23,42,.10);
    --shadow-brand:  0 14px 40px rgba(15,157,88,.35);

    --font-head:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;

    --nav-h:         72px;
    --container:     1200px;
}

/* =========================================================
   Reset + base
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink-800);
    background: var(--surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand-1); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

h1,h2,h3,h4,h5 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--ink-500); }

ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.skip-link { position:absolute; left:-9999px; top:8px; background:var(--ink-900); color:#fff; padding:10px 14px; border-radius:8px; z-index:9999; }
.skip-link:focus { left: 12px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15,157,88,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); color: #fff; }
.btn-ghost {
    background: transparent; color: var(--ink-900);
    border: 2px solid var(--ink-100);
}
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    z-index: 999;
    transition: all .3s ease;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.96);
    border-bottom-color: var(--ink-100);
    box-shadow: var(--shadow-sm);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); }
.brand:hover { color: var(--ink-900); }
.brand-mark { display: inline-flex; }
.brand-text { font-family: var(--font-head); font-size: 1.1rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text strong { font-weight: 800; letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: .75rem; color: var(--ink-400); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }

.primary-nav ul { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
    position: relative; color: var(--ink-700); font-weight: 500; padding: 6px 0;
    transition: color .2s ease;
}
.primary-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--brand-grad);
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--brand-1); }
.primary-nav a:not(.btn):hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { color: #fff !important; }
.nav-cta::after { display: none; }

.has-dropdown { position: relative; }
.has-dropdown .caret { font-size: .7em; margin-left: 2px; }
.has-dropdown .dropdown {
    position: absolute; top: calc(100% + 12px); left: -16px;
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px; min-width: 240px;
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s ease;
    border: 1px solid var(--ink-100);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { width: 100%; }
.dropdown a {
    padding: 10px 14px; border-radius: 10px;
    color: var(--ink-700); font-size: .95rem;
}
.dropdown a::after { display: none !important; }
.dropdown a:hover { background: var(--surface-alt); color: var(--brand-1); }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink-900); }
.nav-toggle .icon-menu, .nav-toggle .icon-close { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* =========================================================
   Sections
   ========================================================= */
section { padding: 100px 0; position: relative; }
section.compact { padding: 70px 0; }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-badge {
    display: inline-block; padding: 6px 14px;
    background: var(--brand-grad-soft);
    color: var(--brand-1);
    border-radius: 999px; font-size: .85rem; font-weight: 600;
    letter-spacing: .04em; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; }

.gradient-text {
    background: var(--brand-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    padding: calc(var(--nav-h) + 80px) 0 100px;
    background: radial-gradient(ellipse at top left, rgba(15,157,88,.08), transparent 50%),
                radial-gradient(ellipse at top right, rgba(26,166,255,.09), transparent 55%),
                #fff;
    overflow: hidden;
    position: relative;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-sm);
    color: var(--ink-700);
    border-radius: 999px;
    font-size: .85rem; font-weight: 600;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 4px rgba(15,157,88,.18); }
.hero h1 { margin: 22px 0 18px; }
.hero-sub { font-size: 1.1rem; margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 26px; border-top: 1px dashed var(--ink-100); }
.hero-stats .stat strong {
    font-family: var(--font-head); font-size: 1.85rem; font-weight: 800; color: var(--ink-900); display: block;
}
.hero-stats .stat span { font-size: .85rem; color: var(--ink-400); }

/* Hero visual — unique animated composition */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 520px; margin-left: auto; }
.hero-blob {
    position: absolute; inset: 0;
    background: var(--brand-grad);
    border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
    filter: blur(2px);
    opacity: .18;
    animation: morph 14s ease-in-out infinite;
}
.hero-visual .card-stack { position: absolute; inset: 0; }
.floating-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-head);
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}
.floating-card svg { width: 28px; height: 28px; color: var(--brand-1); }
.floating-card.fc-1 { top: 8%; left: 2%; animation-delay: 0s; }
.floating-card.fc-2 { top: 18%; right: 0%; animation-delay: 1.5s; }
.floating-card.fc-3 { top: 50%; left: -2%; animation-delay: 3s; }
.floating-card.fc-4 { bottom: 8%; right: 4%; animation-delay: 4.5s; }
.floating-card.fc-5 { bottom: 22%; left: 22%; animation-delay: 2s; }
.floating-card small { font-size: .7rem; color: var(--ink-400); display: block; font-weight: 500; margin-bottom: 2px; letter-spacing: .08em; text-transform: uppercase; }

.hero-orbit {
    position: absolute; inset: 10%;
    border: 2px dashed rgba(15,157,88,.25);
    border-radius: 50%;
    animation: spin 40s linear infinite;
}
.hero-orbit::before,
.hero-orbit::after {
    content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand-grad);
    box-shadow: 0 0 0 6px rgba(15,157,88,.18);
}
.hero-orbit::before { top: -7px; left: 50%; transform: translateX(-50%); }
.hero-orbit::after  { bottom: -7px; left: 50%; transform: translateX(-50%); }

@keyframes morph {
    0%,100% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg); }
    50%     { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; transform: rotate(180deg); }
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
@keyframes spin  { to { transform: rotate(360deg); } }

/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar {
    padding: 40px 0;
    background: var(--surface-alt);
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
}
.trust-bar p { text-align: center; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; align-items: center; opacity: .8; }
.trust-logos span { font-family: var(--font-head); font-weight: 700; color: var(--ink-400); font-size: 1.1rem; letter-spacing: -.02em; }

/* =========================================================
   Services grid
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; inset: 0;
    background: var(--brand-grad-soft);
    opacity: 0; transition: opacity .3s ease;
    pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-grad-soft);
    color: var(--brand-1);
    margin-bottom: 22px;
    transition: all .3s ease;
}
.service-icon svg { width: 34px; height: 34px; }
.service-card:hover .service-icon { background: var(--brand-grad); color: #fff; transform: scale(1.05) rotate(-4deg); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 20px; font-size: .95rem; }
.service-features { margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.service-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--ink-700); }
.service-features svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--brand-1); margin-top: 2px; }
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-family: var(--font-head); color: var(--brand-1);
}
.service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-link:hover svg { transform: translateX(4px); }

/* =========================================================
   About / highlights
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-highlights { display: flex; flex-direction: column; gap: 22px; margin: 30px 0; }
.about-highlight { display: flex; gap: 16px; align-items: flex-start; }
.about-highlight .icon-wrap {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
    background: var(--brand-grad-soft); color: var(--brand-1);
    display: inline-flex; align-items: center; justify-content: center;
}
.about-highlight .icon-wrap svg { width: 26px; height: 26px; }
.about-highlight h3 { font-size: 1.1rem; margin-bottom: 4px; }
.about-highlight p { font-size: .95rem; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-block; padding: 6px 14px;
    background: var(--surface-alt);
    border: 1px solid var(--ink-100);
    border-radius: 999px; font-size: .82rem; color: var(--ink-700);
    transition: all .2s ease;
}
.tag:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

.about-visual {
    position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
    background: var(--brand-grad-soft);
    display: flex; align-items: center; justify-content: center;
}
.about-visual .about-stats {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.about-visual .about-stats .stat {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-radius: 14px; padding: 14px 12px; text-align: center;
}
.about-visual .about-stats .stat strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink-900); font-weight: 800; }
.about-visual .about-stats .stat span { font-size: .7rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; }

/* =========================================================
   Portfolio
   ========================================================= */
.portfolio-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    padding: 10px 20px; border-radius: 999px;
    background: #fff; border: 1px solid var(--ink-100);
    color: var(--ink-700); font-weight: 500; font-size: .9rem;
    transition: all .2s ease;
}
.filter-btn.is-active, .filter-btn:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.portfolio-item {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all .3s ease;
    display: flex; flex-direction: column;
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.portfolio-thumb {
    aspect-ratio: 16/10;
    background: var(--brand-grad-soft);
    overflow: hidden; position: relative;
}
.portfolio-thumb img, .portfolio-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 22px; }
.portfolio-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-1); font-weight: 700; margin-bottom: 6px; }
.portfolio-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.portfolio-body p { font-size: .9rem; margin-bottom: 12px; }
.portfolio-tech { font-size: .8rem; color: var(--ink-400); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); padding: 32px;
    position: relative; transition: all .3s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.testimonial-card .qmark { color: var(--brand-1); opacity: .22; width: 48px; height: 48px; margin-bottom: 10px; }
.testimonial-card .stars { display: flex; gap: 2px; margin-bottom: 14px; color: #f5b301; }
.testimonial-card .stars svg { width: 16px; height: 16px; }
.testimonial-card p { color: var(--ink-700); font-size: 1rem; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand-grad);
    color: #fff; font-family: var(--font-head); font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    text-transform: uppercase;
}
.author-name { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); }
.author-title { font-size: .82rem; color: var(--ink-400); }

/* =========================================================
   Team
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team-card {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); overflow: hidden; text-align: center;
    transition: all .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-photo {
    aspect-ratio: 1/1; background: var(--brand-grad-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 22px; }
.team-body h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-role-line { font-size: .88rem; color: var(--brand-1); font-weight: 600; margin-bottom: 8px; }
.team-body p { font-size: .88rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-md); padding: 20px 24px;
    cursor: pointer; transition: all .2s ease;
}
.faq-item[open] { border-color: var(--brand-1); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-head); font-weight: 600; color: var(--ink-900);
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand-grad-soft); color: var(--brand-1);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all .2s ease; flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] summary::after { content: "−"; background: var(--brand-grad); color: #fff; }
.faq-item p { margin-top: 12px; font-size: .95rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon-wrap {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
    background: var(--brand-grad-soft); color: var(--brand-1);
    display: inline-flex; align-items: center; justify-content: center;
}
.contact-item .icon-wrap svg { width: 24px; height: 24px; }
.contact-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { margin: 0; font-size: .95rem; color: var(--ink-700); }
.contact-item small { font-size: .8rem; color: var(--ink-400); }

.contact-form {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); padding: 30px;
}
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ink-100);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: min(520px, 70vh);
    border: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    font: inherit; color: var(--ink-800);
    transition: all .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--brand-1); background: #fff;
    box-shadow: 0 0 0 4px rgba(15,157,88,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; font-size: .95rem; }
.alert-success { background: #d1fadf; color: #05603a; border: 1px solid #6ce9a6; }
.alert-error   { background: #fee4e2; color: #912018; border: 1px solid #fda29b; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
    background: var(--brand-grad);
    color: #fff;
    padding: 80px 0;
    position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-band::before { width: 320px; height: 320px; top: -120px; left: -80px; }
.cta-band::after  { width: 260px; height: 260px; bottom: -100px; right: -60px; }
.cta-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--brand-1); }
.cta-band .btn:hover { background: var(--ink-900); color: #fff; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
    padding: calc(var(--nav-h) + 80px) 0 80px;
    background: radial-gradient(ellipse at top, var(--brand-grad-soft), transparent 60%), #fff;
    text-align: center;
}
.page-hero .breadcrumb { font-size: .85rem; color: var(--ink-400); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--ink-500); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; }

/* =========================================================
   Blog
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.blog-card {
    background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column; transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-cover { aspect-ratio: 16/9; background: var(--brand-grad-soft); position: relative; }
.blog-cover::before {
    content: ""; position: absolute; inset: 20%;
    background: #fff; border-radius: 50%; opacity: .4;
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: .78rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-body p { font-size: .92rem; flex: 1; margin-bottom: 14px; }

.blog-post { max-width: 780px; margin: 0 auto; padding: 60px 0; }
.blog-post h1 { margin-bottom: 10px; }
.blog-post .post-meta { color: var(--ink-400); font-size: .9rem; margin-bottom: 30px; }
.blog-post .post-body { font-size: 1.05rem; color: var(--ink-700); line-height: 1.8; }
.blog-post .post-body p, .blog-post .post-body ul, .blog-post .post-body ol { margin-bottom: 18px; }
.blog-post .post-body ul, .blog-post .post-body ol { padding-left: 22px; list-style: revert; }
.blog-post .post-body strong { color: var(--ink-900); }

/* =========================================================
   Service detail
   ========================================================= */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.service-detail-visual {
    aspect-ratio: 1/1; background: var(--brand-grad-soft);
    border-radius: var(--radius-xl);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.service-detail-visual svg { width: 50%; height: 50%; color: var(--brand-1); }
.service-detail-visual::before {
    content: ""; position: absolute; inset: 15%;
    border: 2px dashed rgba(15,157,88,.22); border-radius: 50%;
    animation: spin 30s linear infinite;
}
.service-detail h2 { margin-bottom: 18px; }
.service-detail .lead { font-size: 1.1rem; margin-bottom: 24px; }
.service-detail .features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.service-detail .features li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-700); }
.service-detail .features svg { color: var(--brand-1); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.process-step {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg); padding: 28px 24px; position: relative;
}
.process-step .step-num {
    font-family: var(--font-head); font-size: 2.4rem; font-weight: 800;
    background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; margin-bottom: 10px; line-height: 1;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: .92rem; }

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.whatsapp-float {
    position: fixed; bottom: 22px; right: 22px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(37,211,102,.4);
    z-index: 998;
    animation: pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.wa-icon { width: 30px; height: 30px; }
@keyframes pulse {
    0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,.4); }
    50%     { box-shadow: 0 12px 30px rgba(37,211,102,.7); }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--ink-900);
    color: var(--ink-200);
    padding: 70px 0 20px;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: var(--ink-300); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-tag { color: var(--ink-300); margin-top: 14px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-family: var(--font-head); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-300); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact ul li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.footer-contact .mini { width: 16px; height: 16px; color: var(--brand-2); flex-shrink: 0; }
.subscribe-form { display: flex; gap: 8px; margin-top: 18px; }
.subscribe-form input {
    flex: 1; padding: 10px 14px; border-radius: 999px;
    border: 1px solid var(--ink-700); background: var(--ink-800);
    color: #fff; font-size: .88rem;
}
.subscribe-form input::placeholder { color: var(--ink-400); }
.subscribe-form input:focus { outline: none; border-color: var(--brand-2); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink-800); color: var(--ink-200);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.social-row a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-2px); }
.sicon { width: 18px; height: 18px; }

.footer-bottom {
    border-top: 1px solid var(--ink-800);
    padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: .88rem; color: var(--ink-400);
}
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: var(--ink-300); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .hero .container,
    .about-grid,
    .contact-wrap,
    .service-detail { grid-template-columns: 1fr; }
    .hero-visual { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
    section { padding: 70px 0; }
    .site-header { z-index: 1100; }
    .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
    .primary-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        height: calc(100vh - var(--nav-h));
        height: calc(100dvh - var(--nav-h));
        background: #fff; padding: 12px 16px 16px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1;
        transition: transform .3s ease;
        overflow-y: auto;
    }
    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .primary-nav li { width: 100%; }
    .primary-nav a { display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; font-size: .95rem; line-height: 1.25; }
    .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
    .primary-nav a.is-active, .primary-nav a:hover { background: var(--surface-alt); }
    .primary-nav a:not(.btn)::after { display: none; }
    .has-dropdown .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px; width: 100%; min-width: 0;
        box-shadow: none; border: 0; padding: 4px 0 4px 8px; margin-top: 2px;
    }
    .has-dropdown .dropdown a { padding: 7px 8px; font-size: .82rem; line-height: 1.25; }
    .nav-cta { justify-content: center; margin-top: 4px; padding: 10px 12px !important; }
    .hero-actions .btn { flex: 1; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =========================================================
   Video Demos page — full videos + shorts grid + modal player
   ========================================================= */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    background: #fff; border: 1px solid var(--ink-100);
    color: var(--ink-700); font-weight: 600; font-size: .9rem;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}
.chip:hover { border-color: var(--brand-1); color: var(--brand-1); transform: translateY(-1px); }
.chip .chip-icon { width: 16px; height: 16px; color: var(--brand-1); }
.demo-filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 16px;
}
.demo-filter {
    border: 1px solid var(--ink-100);
}
.demo-filter.is-active {
    border-color: var(--brand-1);
    color: var(--brand-1);
    box-shadow: var(--shadow-sm);
}

.empty-demos {
    text-align: center; padding: 60px 20px; background: var(--surface-alt);
    border-radius: var(--radius-md); color: var(--ink-500);
}
.empty-demos h2 { color: var(--ink-900); margin-bottom: 8px; }

/* -- Full video cards (16:9) -- */
.demo-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.demo-card {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
}
.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.demo-thumb {
    position: relative; display: block; width: 100%;
    aspect-ratio: 16 / 9; overflow: hidden;
    background: var(--ink-900); border: 0; padding: 0; cursor: pointer;
}
.demo-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.demo-card:hover .demo-thumb img { transform: scale(1.06); }

.demo-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #1f2a44, #0b1220);
    color: rgba(255,255,255,.45);
}
.demo-placeholder svg { width: 64px; height: 64px; }

.play-overlay {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: linear-gradient(180deg, rgba(11,18,32,.0) 0%, rgba(11,18,32,.45) 100%);
    transition: background .25s ease;
}
.demo-card:hover .play-overlay,
.short-card:hover .play-overlay { background: rgba(11,18,32,.55); }

.play-big {
    width: 72px; height: 72px; color: #fff;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.4));
    transition: transform .25s ease;
}
.demo-card:hover .play-big,
.short-card:hover .play-big { transform: scale(1.08); }

.duration-tag {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,.8); color: #fff;
    padding: 3px 8px; border-radius: 6px;
    font-size: .78rem; font-weight: 600; letter-spacing: .03em;
}

.demo-meta { padding: 18px 20px 22px; }
.demo-meta h3 {
    font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
    color: var(--ink-900); margin-bottom: 6px; line-height: 1.35;
}
.demo-meta p { font-size: .92rem; color: var(--ink-500); margin-bottom: 12px; }

.demo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tags .tag {
    display: inline-block; padding: 3px 10px;
    background: var(--surface-alt); color: var(--ink-700);
    border: 1px solid var(--ink-100);
    border-radius: 999px; font-size: .74rem; font-weight: 600;
}
.demo-tags .tag.category { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.demo-tags .tag.source   { background: #fef3c7; color: #92400e; border-color: #fde68a; }

/* -- Shorts grid (9:16) -- */
.shorts-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.short-card {
    background: #fff; border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.short-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.short-thumb {
    position: relative; display: block; width: 100%;
    aspect-ratio: 9 / 16;
    background: var(--ink-900); border: 0; padding: 0; cursor: pointer;
    overflow: hidden;
}
.short-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.short-card:hover .short-thumb img { transform: scale(1.06); }
.short-meta { padding: 14px 16px 18px; }
.short-meta h4 {
    font-family: var(--font-head); font-size: 1rem; font-weight: 700;
    color: var(--ink-900); margin-bottom: 6px; line-height: 1.35;
}
.short-meta .tag {
    display: inline-block; padding: 3px 10px;
    background: var(--surface-alt); border: 1px solid var(--ink-100);
    border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--ink-700);
}

/* -- Video modal player -- */
.video-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.video-modal.is-open { display: flex; animation: vmFade .25s ease; }
@keyframes vmFade { from { opacity: 0; } to { opacity: 1; } }

.video-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.82); backdrop-filter: blur(6px);
}
.video-modal-wrap {
    position: relative;
    width: 100%; max-width: 1100px;
    animation: vmScale .3s cubic-bezier(.4,0,.2,1);
}
@keyframes vmScale { from { transform: scale(.94); } to { transform: scale(1); } }

.video-modal-close {
    position: absolute; top: -46px; right: 0;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    display: grid; place-items: center;
    border: 0; cursor: pointer;
    transition: background .2s ease;
}
.video-modal-close:hover { background: rgba(255,255,255,.25); }
.video-modal-close svg { width: 20px; height: 20px; }

.video-modal-frame { background: #0b1220; border-radius: var(--radius-md); overflow: hidden; }
.video-modal-iframe-wrap {
    position: relative; width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.video-modal-iframe-wrap[data-orientation="portrait"] {
    aspect-ratio: 9 / 16;
    max-width: 420px; margin: 0 auto;
}
.video-modal-iframe-wrap iframe,
.video-modal-iframe-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
}
.video-modal-iframe-wrap video {
    object-fit: contain;
    background: #000;
}
.video-modal-frame h3 {
    color: #fff; font-family: var(--font-head);
    padding: 18px 22px; font-size: 1.05rem; font-weight: 600;
    margin: 0;
}

@media (max-width: 720px) {
    .video-modal-close { top: -44px; right: 0; }
    .video-modal-iframe-wrap[data-orientation="portrait"] { max-width: 100%; }
    .shorts-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .demo-grid { grid-template-columns: 1fr; }
}
