/* INOS Technic – home page additions (loads after main.css, leaves main.css untouched)
   Brand: blue #28aae2 · gray #8A8D93 · black #1A1D23 */

:root {
  --inos-blue: #28aae2;
  --inos-blue-dark: #1E8FC0;
  --inos-gray: #8A8D93;
  --inos-black: #1A1D23;
  --inos-line: #EEF1F4;
  --inos-soft: #F5F7F9;
}

[hidden] { display: none !important; }
html { scroll-padding-top: 1.5em; }

#main section { scroll-margin-top: 1em; }
#main > .inner > section { margin-bottom: 4.5em; }
#main > .inner > section:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--inos-blue);
  margin-bottom: 0.9em;
}

h2 { letter-spacing: -0.02em; }
.lead { color: var(--inos-gray); max-width: 38em; margin-top: -1em; }

/* Banner --------------------------------------------------------------- */
#banner .actions { flex-wrap: wrap; }
#banner .button.primary,
.button.primary { background-color: var(--inos-blue); box-shadow: none; color: #fff !important; }
#banner .button.primary:hover,
.button.primary:hover { background-color: var(--inos-blue-dark); }

.badges { list-style: none; padding: 0; margin: 2em 0 0 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.badges li {
  border: 1px solid var(--inos-line);
  border-radius: 2em;
  padding: 0.45em 1em 0.45em 0.9em;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(26, 29, 35, 0.7);
  background: #fff;
}
.badges li:before { content: "\2713"; color: var(--inos-blue); margin-right: 0.55em; font-weight: 800; }

#banner .image.object { position: relative; }
#banner .image.object img { border-radius: 1.5em; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); }
#banner .chip {
  position: absolute; top: 1em; left: 1em;
  font-style: normal; font-size: 0.65em; font-weight: 700; letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.92); border-radius: 2em; padding: 0.55em 1.1em; color: var(--inos-black);
}

/* About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3em; align-items: start; }
.about-grid p { color: #6b6f76; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; margin-top: 2em; }
.stat { background: var(--inos-soft); border: 1px solid var(--inos-line); border-radius: 1em; padding: 1.2em 1.1em; }
.stat strong { display: block; font-size: 0.95em; line-height: 1.25; color: var(--inos-black); font-weight: 700; }
.stat span { display: block; margin-top: 0.5em; font-size: 0.75em; color: var(--inos-gray); font-weight: 500; line-height: 1.3; }
.about-img, .gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 1.2em; }
.about-img img { display: block; width: 100%; height: 100%; min-height: 20em; object-fit: cover; }
.about-img figcaption {
  position: absolute; left: 1em; bottom: 1em; background: #fff; border-radius: 2em;
  padding: 0.5em 1.1em; font-size: 0.7em; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* Solutions ------------------------------------------------------------ */
.posts.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3em 2.5em; margin: 2em 0 0 0; width: 100%; }
.posts.two-col article { width: auto; margin: 0; position: relative; }
.posts.two-col article:before, .posts.two-col article:after { display: none !important; }
.posts.two-col article .image { margin: 0 0 1.5em 0; }
.posts.two-col article .image img { width: 100%; height: 15em; object-fit: cover; border-radius: 1em; }
.posts.two-col article .num {
  position: absolute; top: 1em; left: 1em; background: var(--inos-black); color: #fff;
  font-size: 0.7em; font-weight: 700; border-radius: 2em; padding: 0.35em 0.9em;
}
.posts.two-col article p { color: #6b6f76; }

/* Industries ----------------------------------------------------------- */
.ind-hero {
  position: relative; height: 18em; border-radius: 1.5em 1.5em 0 0; overflow: hidden;
  background-size: cover; background-position: center;
}
.ind-hero:before { content: ''; position: absolute; inset: 0; background: rgba(26, 29, 35, 0.72); }
.ind-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 1.5em 2.5em; }
.ind-hero .eyebrow { font-size: 0.7em; color: rgba(255,255,255,.65); }
.ind-hero h2 { color: #fff; max-width: 16em; margin: 0; line-height: 1.05; }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9em; margin: -3em 1.2em 0; position: relative; z-index: 2; }
.ind { background: #fff; border: 1px solid var(--inos-line); border-radius: 1em; padding: 1.3em 1.1em; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.ind .icon { display: flex; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--inos-soft); color: var(--inos-blue); margin-bottom: 0.9em; }
.ind .icon:before { margin: 0; line-height: 1; }
.ind h4 { margin: 0; font-size: 0.85em; font-weight: 700; line-height: 1.25; color: var(--inos-black); }
.ind p { margin: 0.5em 0 0; font-size: 0.72em; color: var(--inos-gray); line-height: 1.4; }

/* Projects ------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.gallery img { display: block; width: 100%; height: 14em; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0.8em; bottom: 0.8em; background: rgba(26,29,35,.85); color: #fff;
  font-size: 0.68em; font-weight: 700; letter-spacing: 0.08em; border-radius: 2em; padding: 0.4em 1em;
}

/* Why us --------------------------------------------------------------- */
.why-box { border-radius: 1.5em; overflow: hidden; background-size: cover; background-position: center; }
.why-overlay { background: rgba(26, 29, 35, 0.93); padding: 3.5em 3em; color: #fff; }
.why-overlay h2 { color: #fff; margin-bottom: 1.4em; max-width: 14em; line-height: 1.05; }
.why-overlay .eyebrow { font-size: 0.7em; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; }
.why-item { display: flex; gap: 1.1em; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1em; padding: 1.5em; }
.why-item .n { font-size: 1.4em; font-weight: 800; color: var(--inos-blue); line-height: 1; }
.why-item h4 { margin: 0; color: #fff; font-size: 1em; font-weight: 700; }
.why-item p { margin: 0.5em 0 0; color: rgba(255,255,255,.62); font-size: 0.85em; line-height: 1.6; }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3em; align-items: start; background: var(--inos-soft); border-radius: 1.5em; padding: 3em; }
.contact-grid h2 { line-height: 1.05; }
.contact-grid p { color: #6b6f76; }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0; }
.contact-list li { padding: 0.5em 0 0.5em 2.2em; position: relative; font-size: 0.95em; }
.contact-list li:before { position: absolute; left: 0; top: 0.55em; color: var(--inos-blue); width: 1.5em; text-align: center; }
.contact-list a { border-bottom: 0; font-weight: 600; }
.turnkey { position: relative; border-radius: 1em; overflow: hidden; height: 9em; margin-top: 1.5em; }
.turnkey img { width: 100%; height: 100%; object-fit: cover; }
.turnkey:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.35) 60%, transparent 100%); }
.turnkey div { position: absolute; z-index: 2; left: 1em; top: 50%; transform: translateY(-50%); background: var(--inos-black); color: #fff; padding: 0.8em 1.1em; border-radius: 0.8em; line-height: 1.3; }
.turnkey strong { display: block; font-size: 0.85em; }
.turnkey span { font-size: 0.7em; color: rgba(255,255,255,.6); }
.form-box { background: #fff; border: 1px solid var(--inos-line); border-radius: 1.2em; padding: 2em; box-shadow: 0 16px 48px rgba(0,0,0,.07); }
.form-box label { font-size: 0.68em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--inos-gray); margin-bottom: 0.5em; }
.form-box input[type="text"], .form-box input[type="email"], .form-box textarea { background: var(--inos-soft); }
.form-box input:focus, .form-box textarea:focus { border-color: var(--inos-blue) !important; box-shadow: 0 0 0 1px var(--inos-blue) !important; }
.wa-submit { width: 100%; margin-top: 1.4em; background: var(--inos-black); color: #fff !important; box-shadow: none; }
.wa-submit:hover { background: #000 !important; }
.wa-submit .icon:before { color: #25D366; margin-right: 0.3em; }
.form-note { font-size: 0.72em; color: var(--inos-gray); margin: 1em 0 0; line-height: 1.5; }
.rfq-ok { text-align: center; padding: 1.5em 0; }
.rfq-ok > .icon:before { font-size: 3em; color: #25D366; }
.rfq-ok h3 { margin: 0.6em 0 0.3em; }
.rfq-ok p { max-width: 24em; margin: 0 auto 1.5em; font-size: 0.9em; }
.edit-link { display: block; margin-top: 1.2em; font-size: 0.8em; color: var(--inos-gray); border-bottom: 0; }

/* Sidebar -------------------------------------------------------------- */
.side-logo { display: block; width: 11em; max-width: 100%; margin: 0 auto; }
#sidebar .side-quote p { font-size: 0.95em; color: #6b6f76; }
#sidebar .contact li a { border-bottom: 0; }

/* Floating WhatsApp ---------------------------------------------------- */
.wa-float {
  position: fixed; right: 1.4em; bottom: 1.4em; z-index: 9990; width: 3.4em; height: 3.4em; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45); border-bottom: 0; transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon:before { font-size: 1.7em; color: #fff; margin: 0; }

/* Responsive ----------------------------------------------------------- */
@media screen and (max-width: 1280px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { padding: 2em; }
  .why-overlay { padding: 2.5em 1.8em; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 736px) {
  .posts.two-col { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); margin: -3em 0.6em 0; }
  .stats { grid-template-columns: 1fr; }
  #main > .inner > section { margin-bottom: 3em; }
}
@media screen and (max-width: 480px) {
  .ind-grid, .gallery { grid-template-columns: 1fr; }
  .contact-grid { padding: 1.4em; }
  .form-box { padding: 1.3em; }
  .form-box .fields .field.half { width: 100%; }
}

/* Fixes ---------------------------------------------------------------- */
.why-box { padding: 0 !important; }
.turnkey strong { color: #fff; }
.contact-list a { color: var(--inos-black); }
.contact-list a:hover { color: var(--inos-blue); }
.form-box .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em 1.2em; margin: 0; width: 100%; }
.form-box .fields .field { width: auto !important; margin: 0 !important; padding: 0 !important; }
.form-box .fields .field:not(.half) { grid-column: 1 / -1; }
@media screen and (max-width: 480px) { .form-box .fields { grid-template-columns: 1fr; } }

/* Mobile overflow guards */
.about-grid > *, .contact-grid > *, .posts.two-col > * { min-width: 0; }
.posts.two-col .actions { margin-left: 0; margin-right: 0; flex-wrap: wrap; }
@media screen and (max-width: 736px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .posts.two-col { grid-template-columns: minmax(0, 1fr); }
}

/* data-scroll reveal uses a skew transform that widens off-screen elements; keep it from causing sideways scroll */
/* only on html: setting it on body too makes body a second scroll container (double scrollbar) */
html { overflow-x: hidden; }
body { overflow: visible; }
/* 'clip' trims the skewed reveal elements without creating a scroll container */
#main { overflow-x: clip; }

/* ===== Sub pages (about, solutions, projects) ===== */
.is-current { color: var(--inos-blue) !important; font-weight: 700; }
.crumbs { font-size: 0.75em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--inos-gray); margin-bottom: 2em; }
.crumbs a { border-bottom: 0; color: var(--inos-gray); }
.crumbs a:hover { color: var(--inos-blue); }
.crumbs span { margin: 0 0.5em; opacity: .6; }
.crumbs strong { color: var(--inos-black); }
.sub-hero { margin-bottom: 4em; }
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3em; align-items: center; }
.sub-hero h1 { font-weight: 800; line-height: 0.98; letter-spacing: -0.025em; margin-bottom: 0.5em; }
.sub-hero .eyebrow { font-size: 0.7em; }
.lead-lg { font-size: 1.15em; line-height: 1.6; color: #6b6f76; }
.sub-hero-img { margin: 0; border-radius: 1.5em; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.sub-hero-img img { display: block; width: 100%; height: 26em; object-fit: cover; }
.sub-section { margin-bottom: 4.5em; }
.two-col-text { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3em; align-items: start; }
.two-col-text p { color: #6b6f76; line-height: 1.85; }
.stats-stack { grid-template-columns: 1fr; margin-top: 0; }
.panel { background: var(--inos-soft); border: 1px solid var(--inos-line); border-radius: 1.2em; padding: 2em; }
.panel h3 { margin-bottom: 1em; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 0.65em 0 0.65em 2em; border-bottom: 1px solid var(--inos-line); font-weight: 500; }
.check-list li:last-child { border-bottom: 0; }
.check-list li:before { content: "\2713"; position: absolute; left: 0; top: 0.65em; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--inos-blue); color: #fff; font-size: 0.75em; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; margin-top: 0.15em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6em; }
.chips li { border: 1px solid var(--inos-line); background: #fff; border-radius: 2em; padding: 0.7em 1.3em; font-weight: 600; font-size: 0.9em; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.badges.big li { font-size: 0.9em; padding: 0.65em 1.4em 0.65em 1.2em; }
.what-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5em; margin-top: 2em; }
.what-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.what-card { position: relative; display: block; border: 1px solid var(--inos-line); border-radius: 1.2em; overflow: hidden; background: #fff; color: inherit; border-bottom: 1px solid var(--inos-line); transition: transform .3s ease, box-shadow .3s ease; }
.what-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.what-card img { display: block; width: 100%; height: 11em; object-fit: cover; }
.what-card h3 { margin: 1em 1.2em 0.3em; font-size: 1.05em; }
.what-card p { margin: 0 1.2em 1.3em; font-size: 0.85em; color: var(--inos-gray); line-height: 1.5; }
.what-card h3:last-child { margin-bottom: 1.2em; }
.what-card .num { position: absolute; top: 0.8em; left: 0.8em; background: var(--inos-black); color: #fff; font-size: 0.7em; font-weight: 700; border-radius: 2em; padding: 0.35em 0.9em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; margin-top: 2em; counter-reset: s; }
.step { background: var(--inos-soft); border: 1px solid var(--inos-line); border-radius: 1.1em; padding: 1.5em; }
.step .n { color: var(--inos-blue); font-weight: 800; font-size: 1.4em; }
.step h4 { margin: 0.5em 0 0.4em; }
.step p { margin: 0; font-size: 0.85em; color: #6b6f76; line-height: 1.55; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.proj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); gap: 0.9em; }
.g-item { display: block; border-radius: 1em; overflow: hidden; border-bottom: 0; background: var(--inos-soft); aspect-ratio: 4 / 3; cursor: zoom-in; }
.g-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.pager a { display: block; border: 1px solid var(--inos-line); border-radius: 1.1em; padding: 1.3em 1.6em; background: #fff; border-bottom: 1px solid var(--inos-line); }
.pager a:hover { border-color: var(--inos-blue); }
.pager a.next { text-align: right; }
.pager small { display: block; color: var(--inos-gray); letter-spacing: .12em; font-weight: 700; font-size: 0.7em; margin-bottom: 0.4em; }
.pager strong { font-size: 1.1em; color: var(--inos-black); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2em; background: var(--inos-black); color: #fff; border-radius: 1.5em; padding: 2.5em 3em; margin-bottom: 1em; }
.cta-band h2 { color: #fff; margin: 0 0 0.4em; line-height: 1.1; }
.cta-band p { margin: 0; color: rgba(255,255,255,.65); }
.cta-band .actions { flex-shrink: 0; margin: 0; }
.cta-band .button:not(.primary) { box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); color: #fff !important; }
.cta-band .button:not(.primary):hover { background: rgba(255,255,255,.1); }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10,12,16,.94); display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: .5em; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 3em; height: 3em; border-radius: 50%; font-size: 1.4em; line-height: 1; cursor: pointer; box-shadow: none; padding: 0; }
.lb button:hover { background: var(--inos-blue); }
.lb-x { top: 1em; right: 1em; } .lb-p { left: 1em; top: 50%; transform: translateY(-50%); } .lb-n { right: 1em; top: 50%; transform: translateY(-50%); }
.lb-c { position: absolute; bottom: 1em; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .8em; letter-spacing: .1em; }
html.lb-open { overflow: hidden; }
@media screen and (max-width: 980px) {
  .sub-hero-grid, .two-col-text { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .what-grid.three { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 2em; }
}
@media screen and (max-width: 736px) {
  .what-grid, .mini-gallery, .steps, .pager { grid-template-columns: minmax(0, 1fr); }
  .sub-hero-img img { height: 16em; }
  .pager a.next { text-align: left; }
  .lb button { width: 2.6em; height: 2.6em; }
}
.cta-band { padding: 2.5em 3em !important; border-top: 0 !important; }
.cta-band, .why-box.sub-section { border-top: 0; }
@media screen and (max-width: 980px) { .cta-band { padding: 2em !important; } }

/* ===== Brand dot pattern (decorative background) =====
   Sits behind all content (z-index -1 inside .inner's stacking context), is cropped by #main's edge
   and kept faint so text stays fully readable. */
#main { position: relative; }
#main > .inner { position: relative; z-index: 0; }
#banner, #solutions, #projects, .sub-hero { position: relative; }
#banner::before, #solutions::before, #projects::before, .sub-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 38em; height: 38em; background: center / contain no-repeat;
}
/* hero: animated ripple, half of the circle cut by the right edge */
#banner::before, .sub-hero::before {
  background-image: url(../../inos/dots-anim.svg);
  right: -14em; top: -10em; opacity: .22;
}
/* sections further down: static dots, slowly turning, cut by the left / right edge */
#solutions::before { background-image: url(../../inos/dots.svg); left: -19em; top: 6em; opacity: .10; animation: dots-turn 240s linear infinite; }
#projects::before  { background-image: url(../../inos/dots.svg); right: -19em; top: -2em; opacity: .10; animation: dots-turn 240s linear infinite reverse; }
@keyframes dots-turn { to { transform: rotate(360deg); } }
@media screen and (max-width: 736px) {
  #banner::before, .sub-hero::before { width: 22em; height: 22em; right: -9em; top: -6em; opacity: .2; }
  #solutions::before, #projects::before { width: 22em; height: 22em; opacity: .08; }
  #solutions::before { left: -11em; } #projects::before { right: -11em; }
}
@media (prefers-reduced-motion: reduce) {
  #solutions::before, #projects::before { animation: none; }
}

/* keep the last block inside #main so the sidebar column and the page end together */
.cta-band { margin-bottom: 0 !important; }
