/* NeoSolis theme. Replaces style2.css + responsive.css. Spec: docs/superpowers/specs/2026-10-08-blemo-style-redesign-design.md (section 8) */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/roboto-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fira-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-latin-400-italic.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --blue: #0F62B3;
  --blue-d: #0A447E;
  --blue-l: #E3EEF9;
  --orange: #F28C28;
  --grey: #F3F4F6;
  --line: #E4E7EB;
  --text: #1A1A1A;
  --head-h: 84px;
}
@media (max-width: 767px) {
  :root { --head-h: 64px; }
}

/* ---------- Base ---------- */
body {
  padding-top: var(--head-h);
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
h1, h2, h3, h4, h5, h6 { font-family: Roboto, Helvetica, Arial, sans-serif; color: var(--text); }
a { color: var(--blue); transition: color .2s, background-color .2s; }
a:hover, a:focus { color: var(--orange); text-decoration: none; }
/* Focus ring for keyboard users only: a mouse click (e.g. on a menu link) leaves no ring behind */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.st-border { display: none; } /* old template decoration */
section[id] { scroll-margin-top: var(--head-h); } /* native anchor jumps (e.g. from the privacy page) land below the fixed header */

/* Privacy pages and legal modals */
.section-title { margin: 32px 0 12px; }
.section-title h1 { margin: 0; font-size: 24px; font-weight: 900; color: var(--blue); overflow-wrap: break-word; }
#services { padding: 96px 0; }

/* Section heads: bold title + coloured subtitle */
.section-head { margin-bottom: 44px; text-align: center; }
.section-head-left { margin-bottom: 0; text-align: left; }
.section-head h1 { margin: 0; font-size: 32px; font-weight: 900; line-height: 1.15; }
.section-sub { margin: 6px 0 0; font: 400 21px/1.35 Roboto, sans-serif; color: var(--blue); }
#why .section-sub, #contact .section-sub { color: var(--orange); }

.btn-main { display: inline-block; margin-top: 28px; padding: 12px 22px; border-radius: 4px; background: var(--blue); font: 500 14px Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.btn-accent { background: var(--orange); }
.btn-main:hover, .btn-main:focus { background: var(--blue-d); color: #fff; }

/* Text column + photo column. Grids sit inside .container, never on it: its clearfix pseudo-elements would become grid items. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.split-flip { grid-template-columns: 7fr 5fr; }
.split-body > p { margin: 16px 0 0; color: #333; }

.photo-tile { position: relative; overflow: hidden; border-radius: 8px; background: #ccc center / cover; box-shadow: 0 6px 18px rgba(10, 40, 80, .12); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 13px; background: var(--blue); line-height: 1.3; color: #fff; }
.tile-label strong { display: block; font: 500 18px/1.2 Roboto, sans-serif; }
.tile-label span { font: 400 13px Roboto, sans-serif; opacity: .85; }

/* ---------- Header ---------- */
.st-navbar { min-height: var(--head-h); margin: 0; border: 0; border-radius: 0; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.st-navbar .logo { float: left; padding: 20px 0; } /* float, not inline-block: no baseline gap under the logo */
.st-navbar .logo img { display: block; width: auto; height: 44px; margin-left: -6px; } /* the PNG has transparent padding around the letters */
.st-navbar .navbar-toggle { margin: 25px 0; border: 0; border-radius: 0; }
.st-navbar .navbar-toggle .icon-bar { background: var(--blue); }
.st-navbar .nav > li > a {
  margin-left: 30px;
  padding: 32px 0;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.st-navbar .nav > li > a:focus { background: none; } /* Bootstrap paints #eee behind a clicked (focused) nav link */
.st-navbar .nav > li > a:hover,
.st-navbar .nav > li > a:focus-visible { background: none; color: var(--blue); }
.st-navbar .nav > li.active > a { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); }
.st-navbar .nav > li.lang-switch { margin-left: 36px; }
.st-navbar .nav > li.lang-switch > a { display: inline-block; margin: 0; font-size: 14px; color: #888; }
.st-navbar .lang-switch span { margin: 0 7px; color: #bbb; }
.st-navbar .lang-switch a.current { font-weight: 500; color: var(--blue); }

@media (min-width: 768px) and (max-width: 991px) {
  .st-navbar .logo { padding: 24px 0; }
  .st-navbar .logo img { height: 36px; }
  .st-navbar .nav > li > a { margin-left: 16px; font-size: 13px; }
  .st-navbar .nav > li.lang-switch { margin-left: 20px; }
}
@media (max-width: 767px) {
  .st-navbar .logo { margin-left: 15px; padding: 14px 0; } /* Bootstrap pulls .navbar-header 15px outward below 768px */
  .st-navbar .logo img { height: 36px; }
  .st-navbar .navbar-toggle { margin: 15px 5px 15px 0; }
  .st-navbar .navbar-collapse { border-top: 1px solid var(--line); }
  .st-navbar .navbar-nav { margin: 0; }
  .st-navbar .nav > li > a { margin: 0; padding: 14px 0; }
  .st-navbar .nav > li.active > a { padding-left: 12px; box-shadow: inset 3px 0 0 var(--orange); }
  .st-navbar .nav > li.lang-switch { margin: 0; padding-bottom: 8px; }
  .st-navbar .nav > li.lang-switch > a { padding: 10px 0; }
}

/* ---------- Hero ---------- */
#home-carousel .hero-slide { display: grid; grid-template-columns: 1fr 1fr; height: 600px; }
#home-carousel .hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding % is of the panel (half the page): this lines the text up with the 1140px container */
  padding: 0 60px 90px calc(100% - 570px);
  background: var(--blue);
  color: #fff;
}
#home-carousel .hero-panel h1,
#home-carousel .hero-panel h2 { margin: 0; font-size: 46px; font-weight: 700; line-height: 1.08; text-transform: uppercase; color: #fff; }
#home-carousel .hero-panel p { max-width: 500px; margin: 24px 0 0; font: 400 20px/1.45 Roboto, sans-serif; color: rgba(255, 255, 255, .92); }
#home-carousel .hero-img { background-position: center; background-size: cover; }

.hero-ctrl { position: absolute; z-index: 2; left: 0; bottom: 56px; display: flex; align-items: center; gap: 22px; font: 500 14px Roboto, sans-serif; letter-spacing: .08em; color: #fff; }
.hero-next { display: block; color: #fff; }
.hero-next svg { display: block; width: 190px; height: 34px; transition: transform .3s; }
.hero-next:hover svg, .hero-next:focus-visible svg { transform: translateX(8px); }
.hero-current { color: var(--orange); }

@media (min-width: 992px) and (max-width: 1199px) {
  #home-carousel .hero-slide { height: 520px; }
  #home-carousel .hero-panel { padding-left: calc(100% - 470px); }
  #home-carousel .hero-panel h1,
  #home-carousel .hero-panel h2 { font-size: 38px; }
  #home-carousel .hero-panel p { font-size: 18px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  #home-carousel .hero-slide { height: 440px; }
  #home-carousel .hero-panel { padding: 0 32px 80px calc(100% - 360px); }
  #home-carousel .hero-panel h1,
  #home-carousel .hero-panel h2 { font-size: 30px; }
  #home-carousel .hero-panel p { font-size: 17px; }
  .hero-ctrl { bottom: 36px; }
  .hero-next svg { width: 140px; }
}
@media (max-width: 767px) {
  #home-carousel .hero-slide { grid-template-columns: 1fr; grid-template-rows: 220px auto; height: auto; }
  #home-carousel .hero-img { grid-row: 1; }
  #home-carousel .hero-panel { grid-row: 2; justify-content: flex-start; min-height: 320px; padding: 32px 20px 88px; } /* min-height: slides with shorter text keep the page from jumping */
  #home-carousel .hero-panel h1,
  #home-carousel .hero-panel h2 { font-size: 28px; }
  #home-carousel .hero-panel p { margin-top: 18px; font-size: 16px; }
  .hero-ctrl { bottom: 28px; }
  .hero-next svg { width: 120px; height: 28px; }
}

/* ---------- Why NeoSolis ---------- */
#why { padding: 88px 0 84px; text-align: center; }
.why-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
.why-item { padding: 4px 28px; }
.why-item + .why-item { border-left: 1px solid var(--orange); }
.why-item svg { width: 46px; height: 46px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-item h2 { margin: 16px 0 10px; font: 500 18px/1.35 Roboto, sans-serif; }
.why-item p { margin: 0; font-size: 15px; color: #444; }
#why .section-head { margin-bottom: 0; }

/* ---------- About ---------- */
#services.about { padding: 96px 0; border-top: 1px solid var(--line); }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; margin-top: 10px; padding-left: 26px; color: #333; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ticks b { font-family: Roboto, sans-serif; font-weight: 500; color: var(--text); }
.about-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.about-tiles .photo-tile { aspect-ratio: 3 / 4.4; }
.about-tiles .photo-tile:nth-child(2) { margin-top: 48px; }

/* ---------- Industries ---------- */
#industries { padding: 96px 0; background: var(--grey); }
.industry-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.industry-tiles .photo-tile { aspect-ratio: 4 / 3; }
.industry-tiles .tile-label { padding: 10px 14px; }
.industry-tiles .tile-label strong { font-size: 16px; }

/* ---------- Brands: logo wall + partner band ---------- */
#our-works.brands { padding: 96px 0 0; background: #fff; }
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 124px; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-tile img { display: block; width: 100%; max-width: 150px; height: 60px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile span { font: 500 10.5px Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a8f96; }
.partner-band { margin-top: 80px; padding: 64px 0; background: var(--blue-l); }
.partner-band .split { grid-template-columns: 1fr 1fr; }
.partner-kicker { display: block; margin-bottom: 10px; font: 500 13px Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.partner-band h2 { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.2; }
.partner-band .split-body > p { margin-top: 8px; font: 400 19px/1.4 Roboto, sans-serif; color: var(--blue); }
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-partner { height: 110px; padding: 18px 20px; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(10, 40, 80, .08); }
.brand-partner img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Quotes ---------- */
#testimonial.quotes { position: relative; overflow: hidden; padding: 96px 0; background: #fff; text-align: center; }
.quotes-label { display: block; font: 500 13px Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
#quote-carousel { max-width: 860px; margin: 18px auto 0; }
/* quotes differ in length: a fixed slot keeps the indicators still, and short quotes sit in its middle */
#quote-carousel .item { min-height: 190px; }
#quote-carousel .item.active,
#quote-carousel .item.next,
#quote-carousel .item.prev { display: flex; flex-direction: column; justify-content: center; }
#quote-carousel blockquote { margin: 0; padding: 0; border: 0; font: 400 28px/1.45 Roboto, sans-serif; color: var(--blue-d); }
.quotes-who { margin: 22px 0 0; font: 500 13px Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.quotes-who span { margin-left: 8px; color: #888; }
#quote-carousel .carousel-indicators { position: static; display: flex; justify-content: center; gap: 8px; width: auto; margin: 26px 0 0; }
#quote-carousel .carousel-indicators li,
#quote-carousel .carousel-indicators .active { width: 28px; height: 13px; margin: 0; border: 5px solid transparent; border-width: 5px 0; border-radius: 0; background: var(--line); background-clip: padding-box; } /* 3px bar, 13px click target */
#quote-carousel .carousel-indicators .active { background-color: var(--orange); }
.quotes-deco { position: absolute; width: 220px; height: 220px; fill: none; stroke-width: 9; stroke-linecap: square; }
.quotes-deco-r { top: -40px; right: -40px; stroke: var(--blue); }
.quotes-deco-l { bottom: -40px; left: -40px; stroke: var(--orange); }

/* ---------- Contact ---------- */
#contact.contact { padding: 88px 0; background: var(--grey); }
.contact .split { grid-template-columns: 7fr 5fr; align-items: start; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 26px; font: 500 20px Roboto, sans-serif; }
.contact-lines a { color: var(--text); }
.contact-lines a:hover, .contact-lines a:focus { color: var(--orange); }
.contact-lines i { margin-right: 10px; color: var(--orange); }
.contact-address { padding-top: 8px; }
.contact-address h2 { margin: 0 0 10px; font: 500 13px Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.contact-address address { margin: 0; font-style: normal; color: #333; }
.contact-address a { display: inline-block; margin-top: 12px; font: 500 14px Roboto, sans-serif; }

/* ---------- Footer ---------- */
#footer { padding: 54px 0 46px; background: var(--blue-l); font-size: 14px; line-height: 1.75; color: #333; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
#footer h2 { margin: 0 0 8px; font: 700 15px Roboto, sans-serif; }
#footer p { margin: 0; }
#footer a { color: #333; }
#footer a:hover, #footer a:focus { color: var(--orange); }
.footer-brand { text-align: center; }
.footer-brand img { display: block; height: 64px; margin: 0 auto; }
.footer-brand span { font: 500 12px Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.footer-nav { justify-self: end; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-bar { padding: 14px 0; background: var(--blue); font: 400 13px Roboto, sans-serif; color: rgba(255, 255, 255, .9); }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 16px; }
.footer-bar p { margin: 0; }
.footer-legal a { margin-left: 26px; color: #fff; }
.footer-legal a:hover, .footer-legal a:focus { color: var(--orange); }

/* ---------- Legal modals ---------- */
.modal .modal-header { border: 0; background: var(--blue); }
.modal .modal-title { font: 700 18px Roboto, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.modal .modal-header .close { opacity: .8; text-shadow: none; color: #fff; }
.modal .modal-body { overflow-x: hidden; overflow-wrap: break-word; }
.modal .legal-content { font-size: 15px; line-height: 1.75; color: #333; }
.modal .legal-content h4 { font-size: 16px; font-weight: 700; }
.modal .legal-content h5 { margin: 0; font-size: 15px; font-weight: 700; }
.modal .section-title h1 { font-size: 20px; }
.legal-text-raw { white-space: pre-wrap; }
.panel-default > .panel-heading { background: var(--blue-l); }
.panel-title a { color: var(--blue); }
@media (min-width: 992px) {
  .modal-lg { width: auto; max-width: 1100px; margin-left: 15px; margin-right: 15px; }
}
@media (min-width: 1130px) {
  .modal-lg { margin-left: auto; margin-right: auto; }
}

/* ---------- Cookie banner (overrides cookie.css) ---------- */
#consent .btn.primary { border-color: var(--orange); border-radius: 4px; background: var(--orange); font-family: Roboto, sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
#consent .btn.primary:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ---------- Scroll to top ---------- */
.scroll-up { position: fixed; z-index: 999; right: 24px; bottom: 24px; display: none; }
.scroll-up ul { margin: 0; padding: 0; list-style: none; }
.scroll-up a { display: block; width: 42px; height: 42px; border-radius: 4px; background: var(--blue); font-size: 20px; line-height: 40px; text-align: center; color: #fff; }
.scroll-up a:hover, .scroll-up a:focus { background: var(--orange); color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .scroll-up { display: none !important; }
  .split, .split-flip, .partner-band .split, .contact .split { grid-template-columns: 1fr; gap: 40px; }
  .split-flip .split-body { order: -1; } /* heading before the photos once the columns stack */
  .why-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .why-item:nth-child(odd) { border-left: 0; }
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; order: -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  #services, #services.about, #industries, #testimonial.quotes, #contact.contact { padding: 64px 0; }
  #why { padding: 64px 0; }
  #our-works.brands { padding-top: 64px; }
  .section-head h1 { font-size: 26px; }
  .section-sub { font-size: 18px; }
  .why-row { grid-template-columns: 1fr; row-gap: 0; margin-top: 28px; }
  .why-item { padding: 24px 0; border-left: 0; }
  .why-item + .why-item { border-left: 0; border-top: 1px solid var(--line); }
  .about-tiles { gap: 10px; }
  .about-tiles .photo-tile:nth-child(2) { margin-top: 24px; }
  .about-tiles .tile-label { padding: 8px 10px; }
  .about-tiles .tile-label strong { font-size: 14px; }
  .about-tiles .tile-label span { display: none; }
  .industry-tiles { gap: 10px; }
  .industry-tiles .tile-label { padding: 8px 10px; }
  .industry-tiles .tile-label strong { font-size: 13px; }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .brand-tile { height: 92px; padding: 8px; }
  .brand-tile img { height: 40px; }
  .partner-band { margin-top: 56px; padding: 48px 0; }
  .partner-band h2 { font-size: 22px; }
  .partner-logos { gap: 10px; }
  .brand-partner { height: 80px; padding: 10px; }
  #quote-carousel .item { min-height: 250px; }
  #quote-carousel blockquote { font-size: 20px; }
  .quotes-deco { width: 120px; height: 120px; }
  .contact-lines { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand img { height: 44px; }
  .footer-nav { justify-self: center; }
  .footer-bar-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal a { margin: 0 12px; }
}
