/* ==========================================================================
   DelPro Teknologi Nusantara - design tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #050b14;
    --navy-soft: #0c1826;
    --brand: #005c9b;
    --brand-light: #4fa8e0;
    --paper: #f7f9fb;
    --ink: #12181f;
    --slate: #5b6672;
    --line: #e3e8ed;
    --line-on-dark: rgba(255, 255, 255, 0.14);
    --white: #ffffff;

    --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --max: 1180px;
    --gutter: clamp(20px, 5vw, 56px);
    --section-y: clamp(64px, 10vw, 128px);

    --radius: 4px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 3px;
}

.wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand);
    margin: 0 0 0.75rem;
}

/* Node-shaped bullets */
.node-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--ink);
}
.node-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    background: var(--brand);
    transform: rotate(45deg);
}
.node-list--on-dark li { color: rgba(255,255,255,0.85); }
.node-list--on-dark li::before { background: var(--brand-light); }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 249, 251, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}
.brand img { height: 36px; width: auto; }
.site-nav {
    display: flex;
    gap: clamp(16px, 2vw, 32px);
    font-size: 0.95rem;
}
.site-nav a {
    text-decoration: none;
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 999px;
    padding: 6px 14px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch:hover { background: var(--brand); color: var(--white); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
    text-decoration: none;
    color: var(--ink);
    padding: 14px var(--gutter);
    border-top: 1px solid var(--line);
    font-size: 1rem;
}

@media (max-width: 860px) {
    .site-nav { display: none; }
    .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}
.hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,11,20,0.35) 0%, rgba(5,11,20,0.55) 55%, rgba(5,11,20,0.92) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-block: clamp(48px, 10vw, 96px);
    max-width: 760px;
}
.hero__kicker {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
}
.hero__headline {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    max-width: 16ch;
}
.hero__sub {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255,255,255,0.82);
    max-width: 58ch;
}
.hero__actions {
    margin-top: 2.25rem;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: var(--radius);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--primary { background: var(--brand); color: var(--white); border: 1px solid var(--brand); }
.btn--primary:hover { background: var(--brand-light); border-color: var(--brand-light); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn--ghost-dark:hover { background: var(--brand); color: var(--white); }

/* ---- Section scaffolding ---- */
.section { padding-block: var(--section-y); }
.section--dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section--dark .eyebrow { color: var(--brand-light); }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about > * { min-width: 0; }
.about p { color: var(--slate); max-width: 54ch; }
.about p + p { margin-top: 1rem; }
.about__mark {
    justify-self: end;
    align-self: start;
    width: clamp(180px, 20vw, 300px);
    opacity: 0.9;
}
.about__mark img { width: 100%; height: auto; }
@media (max-width: 760px) {
    .about { grid-template-columns: 1fr; }
    .about__mark { display: none; }
}

/* ---- Direction tabs ---- */
.tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.tabs__button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 4px;
    margin-right: clamp(20px, 3vw, 40px);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tabs__button:hover { color: var(--ink); }
.tabs__button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade-in 0.35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
}
.panel__grid > * { min-width: 0; }
.panel__desc { color: var(--slate); max-width: 52ch; margin-bottom: 1.5rem; grid-column: 1 / -1; }
.panel__col h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 1rem; }
@media (max-width: 700px) {
    .panel__grid { grid-template-columns: 1fr; }
}

/* ---- How we work - literal route ---- */
.route {
    position: relative;
    max-width: 640px;
    padding-left: 36px;
}
.route::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--line-on-dark);
}
.route__step { position: relative; padding-bottom: 40px; }
.route__step:last-child { padding-bottom: 0; }
.route__step::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--brand-light);
}
.route__step p { color: rgba(255,255,255,0.85); max-width: 54ch; }

.apart { margin-top: clamp(48px, 6vw, 72px); max-width: 640px; }
.apart h3 { font-size: 1.1rem; margin-bottom: 1.25rem; color: rgba(255,255,255,0.95); }

.how-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
}
.how-grid > * { min-width: 0; }
@media (max-width: 820px) {
    .how-grid { grid-template-columns: 1fr; }
}

/* ---- Sinayara teaser ---- */
.sinayara-teaser {
    background: var(--brand);
    color: var(--white);
    border-radius: 8px;
    padding: clamp(32px, 5vw, 56px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.sinayara-teaser__text .eyebrow { color: rgba(255,255,255,0.75); }
.sinayara-teaser__text h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.sinayara-teaser__text p { color: rgba(255,255,255,0.85); max-width: 48ch; }

/* ---- Companies ---- */
.companies__row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.companies__chip {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 22px;
    font-weight: 600;
    color: var(--ink);
    background: var(--white);
    font-size: 1rem;
}

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: var(--white); padding-top: var(--section-y); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 72px);
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line-on-dark);
}
.site-footer__grid > * { min-width: 0; }
.site-footer__logo { height: 34px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.site-footer h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 20ch; }
.site-footer__details { margin: 0; display: grid; gap: 20px; }
.site-footer__details dt { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.site-footer__details dd { margin: 0; font-size: 1.02rem; }
.site-footer__details a { text-decoration: none; }
.site-footer__details a:hover { color: var(--brand-light); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}

/* ---- Sinayara: features & audience grids ---- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
}
.feature-grid > * { min-width: 0; }
.feature-card {
    border-left: 2px solid var(--brand);
    padding-left: 24px;
}
.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: var(--ink);
}
@media (max-width: 700px) {
    .feature-grid { grid-template-columns: 1fr; }
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 32px);
}
.audience-grid > * { min-width: 0; }
.audience-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px;
}
.audience-card::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: var(--brand);
    transform: rotate(45deg);
    margin-bottom: 18px;
}
.audience-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.audience-card p { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 820px) {
    .audience-grid { grid-template-columns: 1fr; }
}

/* ---- Sinayara: product gallery ---- */
.shot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
}
.shot-grid > * { min-width: 0; }
.shot-grid__item--wide { grid-column: 1 / -1; }
.shot-card h3 { font-size: 1rem; margin-bottom: 6px; }
.shot-card p { color: var(--slate); font-size: 0.92rem; }
@media (max-width: 760px) {
    .shot-grid { grid-template-columns: 1fr; }
}

/* Fixed-ratio thumbnail: object-fit:cover means this can never stretch,
   regardless of what image is dropped in - the box sets the shape, not
   the image's own dimensions. */
.shot-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1400 / 781;
    padding: 0;
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 10px 22px rgba(18, 24, 31, 0.07);
    cursor: pointer;
    position: relative;
}
.shot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s var(--ease);
}
.shot-thumb:hover img { transform: scale(1.04); }
.shot-thumb:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.shot-thumb__zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(5, 11, 20, 0.65);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}
.shot-thumb:hover .shot-thumb__zoom,
.shot-thumb:focus-visible .shot-thumb__zoom { opacity: 1; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 20, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: clamp(16px, 5vw, 48px);
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox__img-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.lightbox__img {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
    color: var(--white);
    margin-top: 20px;
    text-align: center;
}
.lightbox__title { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.lightbox__body { color: rgba(255,255,255,0.75); font-size: 0.92rem; max-width: 60ch; margin-inline: auto; }
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }

/* ---- Sinayara: GEO add-on callout ---- */
.addon-card {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
}
.addon-card > * { min-width: 0; }
.shot-thumb--dark { border-color: var(--line-on-dark); background: var(--navy-soft); margin-bottom: 0; }
.addon-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--navy);
    background: var(--brand-light);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.addon-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.addon-card p { color: rgba(255,255,255,0.8); }
@media (max-width: 760px) {
    .addon-card { grid-template-columns: 1fr; }
    .addon-card .addon-media { order: -1; }
}

/* ---- Sinayara page ---- */
.sinayara-hero {
    background: var(--navy);
    color: var(--white);
    padding-block: clamp(72px, 12vw, 128px);
    position: relative;
}
.sinayara-hero .wrap { position: relative; z-index: 1; }
.sinayara-hero__mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--brand-light);
    border: 1px solid var(--line-on-dark);
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 28px;
}
.sinayara-hero__mark::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--brand-light);
    transform: rotate(45deg);
}
.sinayara-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 18ch; }
.sinayara-hero p { margin-top: 1.25rem; font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 52ch; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--slate);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.back-link:hover { color: var(--brand); }
