/* JIJ Consulting — static site styles (replaces the WordPress theme, Elementor and plugin CSS). */

:root {
  --teal: #006e65;
  --teal-dark: #01443e;
  --red: #c81717;
  --red-dark: #921010;
  --ink: #474747;
  --text: #333;
  --muted: #6b6b6b;
  --eyebrow: #959595;
  --grey-bg: #d8d8d8;
  --card-bg: #f7f7f7;
  --white: #fff;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--text); }
.skip:focus { left: 10px; top: 10px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Buttons */
.btn { display: inline-block; font-family: var(--heading); font-size: 17px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; line-height: 1;
  color: var(--white); background: var(--teal); padding: 15px 24px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.btn:hover, .btn:focus-visible { background: var(--teal-dark); }
.btn-red { background: var(--red); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dark); }

/* Header (sits on top of the hero / page banner) */
.site-header { position: relative; z-index: 2; padding-top: 28px; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo img { width: clamp(220px, 32vw, 420px); }
.nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--heading); font-size: 15px; }
.nav a { color: var(--white); text-decoration: none; opacity: .9; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-family: var(--heading);
  font-size: 20px; font-weight: 700; text-shadow: 0 0 10px rgba(0, 0, 0, .3); white-space: nowrap; }

/* Hero (home page) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--white);
  background: #2a1838 url("/assets/img/hero-poster.jpg") center / cover no-repeat; overflow: hidden; padding-bottom: 110px; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #b862b8 0%, #000 100%); opacity: .61; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center; width: 100%; padding-top: 40px; }
.hero h1 { font-size: clamp(29px, 3.6vw, 40px); font-weight: 900; margin-bottom: 18px; }
.hero .lead { font-family: var(--heading); font-size: 18px; line-height: 1.4; }
.hero .small { font-family: var(--heading); font-size: 13px; font-weight: 300; line-height: 1.4; margin-bottom: 28px; }

/* Contact card ("Let's work together ...") */
.contact-card { background: linear-gradient(180deg, rgba(53, 53, 53, .68) 0%, var(--teal) 100%); border-radius: 40px; padding: 30px 30px 34px;
  box-shadow: 0 0 40px 15px rgba(0, 0, 0, .06); color: var(--white); max-width: 400px; justify-self: end; width: 100%; }
.contact-card h2 { font-size: 23px; font-weight: 400; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; font-family: var(--heading); font-size: 15px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.contact-list .icon { margin-top: 4px; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .big { font-size: 20px; font-weight: 700; }

/* Angled section dividers (shapes from the original Elementor design) */
.shape { position: absolute; left: 0; width: 100%; line-height: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.shape svg { display: block; width: calc(100% + 2px); margin-left: -1px; fill: var(--white); }
.shape-top { top: -1px; }
.shape-bottom { bottom: -1px; }
.shape-mirror svg { transform: scaleX(-1); }
.shape-hero svg { height: clamp(36px, 5vw, 70px); }
.shape-arrow svg { height: clamp(60px, 9.5vw, 130px); }
.shape-v svg { height: clamp(40px, 10vw, 140px); }
.shape-contact svg { height: clamp(40px, 6vw, 80px); }

/* Section headings */
.section { position: relative; padding: 90px 0; }
.eyebrow { font-family: var(--heading); font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--eyebrow); text-align: center; margin: 0; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; text-transform: uppercase; color: var(--ink); text-align: center; margin: 6px 0 0; }
.section-sub { font-family: var(--heading); font-size: clamp(18px, 2vw, 25px); line-height: 1.4; color: var(--ink); text-align: center; margin: 4px 0 0; }

/* Why choose us */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 56px; text-align: center; }
.advantage-icon { width: 110px; height: 110px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center;
  margin: 0 auto 40px; font-size: 50px; }
.advantage h3 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.advantage p { font-family: var(--heading); font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--muted); margin: 0; }

/* Services: staff roles */
.services { background: var(--grey-bg); padding: 150px 0 190px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 56px 0 50px; }
.role { background: var(--white); border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; }
.role img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.role-body { padding: 20px 22px 24px; }
.role h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.role h3 .icon { color: var(--teal); }
.role p { font-size: 15px; line-height: 1.6; margin: 0; }
.center { text-align: center; }

/* How we work */
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.method-card { border: 3px solid var(--teal); border-radius: 23px; overflow: hidden; background: var(--card-bg); display: flex; flex-direction: column; text-align: center; }
.method-card img { width: 100%; aspect-ratio: 16 / 6.2; object-fit: cover; }
.method-card div { padding: 28px 40px 34px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.method-card h3 { font-size: 23px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.method-card p { font-size: 16px; line-height: 1.5; color: #555; flex: 1; }

/* Contact / footer band */
.contact { position: relative; color: var(--white); background: #3b2147 url("/assets/img/contact-bg.jpg") bottom center / cover no-repeat; padding: 140px 0 30px; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #682868 0%, #000 100%); opacity: .87; }
.contact > .wrap { position: relative; z-index: 2; }
.contact .shape { z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 70px; align-items: center; }
.contact-card.in-footer { justify-self: start; }
.contact h2.big { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 18px; }
.contact .intro { font-family: var(--heading); font-size: 18px; line-height: 1.45; }
.social { display: flex; gap: 6px; margin-top: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); font-size: 20px; border-radius: 3px; }
.social .fb { background: #3b5998; }
.social .li { background: #0077b5; }
.footer-note { margin-top: 70px; text-align: right; font-size: 12px; text-transform: uppercase; line-height: 2.2; }
.footer-note p { margin: 0; }

/* Inner pages (former popups) */
.page-banner { position: relative; color: var(--white); background: #2a1838 url("/assets/img/hero-poster.jpg") center / cover no-repeat; padding-bottom: 120px; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #b862b8 0%, #000 100%); opacity: .7; }
.page-banner h1 { position: relative; z-index: 2; font-size: clamp(30px, 4.2vw, 48px); font-weight: 900; margin-top: 60px; }
.article { max-width: 900px; margin: 0 auto; padding: 30px 20px 90px; font-size: 17px; line-height: 1.75; }
.article h2, .article h3 { font-weight: 700; text-transform: uppercase; color: var(--ink); margin: 1.8em 0 .7em; }
.article h2 { font-size: 24px; }
.article h3 { font-size: 19px; }
.article > :first-child { margin-top: 0; }
.article .lead-img { float: left; width: 300px; margin: 6px 30px 16px 0; border-radius: 8px; }
.article ul { padding-left: 1.3em; display: flow-root; }
.article li { margin: .3em 0; }
.article .clear { clear: both; }
.back { display: inline-block; margin-top: 30px; font-family: var(--heading); font-weight: 500; }

/* Narrow screens */
@media (max-width: 1024px) {
  .advantages { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 860px) {
  .nav { order: 3; width: 100%; margin-left: 0; gap: 18px; flex-wrap: wrap; }
  .header-phone { margin-left: auto; font-size: 18px; }
  .hero-grid, .contact-grid, .method-cards { grid-template-columns: 1fr; }
  .contact-card, .contact-card.in-footer { justify-self: stretch; max-width: none; }
  .contact-grid { gap: 40px; }
  .method-card div { padding: 24px 22px 28px; }
  .footer-note { text-align: left; margin-top: 50px; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 18px; }
  .site-header .wrap { gap: 14px; }
  .logo img { width: 210px; }
  .header-phone { width: 100%; margin-left: 0; order: 2; }
  .nav { font-size: 14px; gap: 6px 16px; }
  .hero { padding-bottom: 70px; }
  .hero-grid { padding-top: 30px; padding-bottom: 20px; }
  .section { padding: 70px 0; }
  .services { padding: 90px 0 110px; }
  .advantages, .roles { grid-template-columns: 1fr; }
  .contact-card { border-radius: 28px; padding: 24px 22px 28px; }
  .contact { padding-top: 80px; }
  .article .lead-img { float: none; width: 100%; margin: 0 0 20px; }
  .page-banner { padding-bottom: 80px; }
  .page-banner h1 { margin-top: 36px; }
}
