/* Suryainfosystems — theme layer on top of Bootstrap 5 */
:root {
  --ink: #0e1626;
  --ink-2: #162033;
  --ink-3: #24304a;
  --paper: #fbf8f3;
  --paper-2: #f3ede3;
  --line: #e6dfd3;
  --body: #454d5e;
  --muted: #667085;
  --sun-1: #ffc24b;
  --sun-2: #ff8a3d;
  --sun-3: #f0533f;
  --accent-ink: #b4470f;
  --on-dark: #e8ebf2;
  --on-dark-muted: #a8b2c6;
  --sun: linear-gradient(120deg, var(--sun-1), var(--sun-2) 55%, var(--sun-3));
  --radius: 18px;
  --font-head: "Sora", system-ui, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--body);
  --bs-body-bg: var(--paper);
  --bs-link-color-rgb: 180, 71, 15;
  --bs-link-hover-color-rgb: 14, 22, 38;
  --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h3 { font-family: var(--font-head); color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.18; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 2px solid var(--sun-2); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: #fff; color: var(--ink); padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { top: .75rem; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.eyebrow { font: 600 .78rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--sun); }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--sun-1); }
.lead { font-size: 1.2rem; font-weight: 400; color: var(--body); }
.section-dark .lead, .page-hero .lead, .hero .lead { color: var(--on-dark-muted); }
.sun-text { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { --bs-btn-border-radius: 999px; font: 600 .97rem var(--font-head); padding: .8rem 1.55rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn-sun { background: var(--sun); color: var(--ink); border: 0; }
.btn-sun:hover, .btn-sun:focus-visible { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(255, 138, 61, .75); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--ink-3); color: #fff; }
.link-arrow { font: 600 .95rem var(--font-head); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Navbar */
.site-nav { background: rgba(14, 22, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); padding: .8rem 0; }
.site-nav .navbar-brand img { height: 38px; width: auto; display: block; }
.site-nav .nav-link { color: var(--on-dark); font-size: .96rem; font-weight: 500; padding: .5rem .95rem !important; position: relative; }
.site-nav .nav-link:hover { color: var(--sun-1); }
.site-nav .nav-link.active { color: var(--sun-1); }
.site-nav .navbar-toggler { border-color: rgba(255, 255, 255, .3); color: #fff; padding: .4rem .55rem; }
.site-nav .btn { padding: .55rem 1.2rem; font-size: .9rem; }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark-muted); padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -280px; background: radial-gradient(circle, rgba(255, 138, 61, .3), rgba(240, 83, 63, .08) 45%, transparent 68%); pointer-events: none; }
.hero h1 { color: #fff; }
.hero .container { position: relative; }
.hero-art { width: 100%; height: auto; display: block; }
.hero-note { font-size: .92rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 2rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note .icon { color: var(--sun-1); }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark-muted); padding: clamp(8rem, 12vw, 10rem) 0 clamp(3.5rem, 6vw, 5rem); }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(255, 138, 61, .28), transparent 66%); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.page-hero .lead { max-width: 56ch; }
.page-hero .container { position: relative; }

/* Stack strip */
.stack { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.stack ul { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.2rem; list-style: none; margin: 0; padding: 0; font: 600 .92rem var(--font-head); color: var(--muted); }
.stack li:first-child { color: var(--ink); }

/* Cards */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-x p:last-child { margin-bottom: 0; }
a.card-x { display: block; color: inherit; text-decoration: none; }
a.card-x:hover, .card-x.lift:hover { transform: translateY(-4px); border-color: #e9c9a6; box-shadow: 0 22px 40px -28px rgba(14, 22, 38, .4); }
.card-x h3 { margin-bottom: .6rem; }
.card-x.feature { background: var(--ink); border-color: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.card-x.feature h3 { color: #fff; font-size: 1.55rem; }
.card-x.feature::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -150px; background: radial-gradient(circle, rgba(255, 138, 61, .4), transparent 68%); }
.card-x.feature > * { position: relative; z-index: 1; }
.tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #fff1e0; color: var(--accent-ink); margin-bottom: 1.2rem; }
.tile .icon { width: 23px; height: 23px; }
.feature .tile, .section-dark .tile { background: rgba(255, 194, 75, .13); color: var(--sun-1); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: .65rem; padding: .32rem 0; }
.ticks .icon { color: var(--accent-ink); margin-top: .3rem; width: 1.05em; height: 1.05em; }
.section-dark .ticks .icon, .feature .ticks .icon { color: var(--sun-1); }

/* Dark panels */
.panel-dark { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 1.7rem; height: 100%; }
.panel-dark p:last-child { margin-bottom: 0; }

/* Project scoper */
.scoper { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -44px rgba(14, 22, 38, .5); }
.scoper fieldset { margin-bottom: 1.5rem; }
.scoper legend { font: 600 .98rem var(--font-head); color: var(--ink); margin-bottom: .65rem; float: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s; background: #fff; }
.chips label:hover { border-color: var(--sun-2); }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + label { outline: 2px solid var(--sun-2); outline-offset: 2px; }
.scoper-out { background: var(--ink); color: var(--on-dark-muted); border-radius: 18px; padding: 1.8rem; height: 100%; display: flex; flex-direction: column; }
.scoper-out h3 { color: #fff; font-size: 1.3rem; }
.scoper-out .kicker { font: 600 .74rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sun-1); margin-bottom: .6rem; }
.scoper-out .btn { margin-top: auto; align-self: flex-start; }
.scoper-out .ticks { margin-bottom: 1.4rem; }
.scoper-out .ticks .icon { color: var(--sun-1); }

/* Process */
.step { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--line); height: 100%; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 3rem; height: 2px; background: var(--sun); }
.step .num { font: 600 .85rem var(--font-head); color: var(--accent-ink); display: block; margin-bottom: .6rem; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--ink); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); color: var(--on-dark-muted); }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -280px; background: radial-gradient(circle, rgba(255, 138, 61, .5), transparent 66%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }

/* Accordion */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-color: var(--ink); --bs-accordion-active-color: var(--ink); --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 2px var(--sun-2); --bs-accordion-color: var(--body); }
.accordion-button { font: 600 1.02rem var(--font-head); padding: 1.15rem .25rem; }
.accordion-body { padding: 0 .25rem 1.25rem; }

/* Forms */
.form-control, .form-select { border-color: var(--line); border-radius: 12px; padding: .72rem .95rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--sun-2); box-shadow: 0 0 0 3px rgba(255, 138, 61, .2); }
.form-label { font: 600 .9rem var(--font-head); color: var(--ink); margin-bottom: .4rem; }
.contact-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .tile { margin: 0; flex: none; }
.contact-row strong { display: block; font: 600 .95rem var(--font-head); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 4.5rem 0 1.8rem; font-size: .96rem; margin-top: clamp(4rem, 8vw, 6rem); }
.site-footer.flush { margin-top: 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sun-1); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .22rem 0; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer-base { border-top: 1px solid var(--ink-3); margin-top: 3rem; padding-top: 1.4rem; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* Scroll reveal: only hidden once JS has confirmed it can show them again */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: .75rem 0 .5rem; }
  .site-nav .btn { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
