/*
Theme Name: Conqil Blank
Author: MJ
Version: 1.4
Description: Minimal blank theme for CONQIL rebuild
*/

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

:root {
  --bg: #0b0f14;
  --bg-soft: #10161d;
  --card: rgba(10,14,19,0.82);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.78);
  --text-muted: rgba(255,255,255,0.56);
  --accent: #1887ff;
  --accent-hover: #2d94ff;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,0.32);
  --content: 1200px;
  --content-narrow: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

.page-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

main.page-shell > * {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content,
.post-content,
.wp-site-blocks,
main.page-shell .wp-block-post-content {
  margin: 0;
  padding: 0;
  max-width: none;
}

main.page-shell p,
main.page-shell h1,
main.page-shell h2,
main.page-shell h3,
main.page-shell ul {
  margin-top: 0;
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.container-narrow {
  width: min(var(--content-narrow), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  width: 100%;
  padding: 88px 0;
}

.section-dark {
  background: var(--bg);
}

.section-soft {
  background: linear-gradient(180deg, #0d131a 0%, #0b0f14 100%);
}

.section-top-divider {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

p,
li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.58;
}

.lead {
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.muted {
  color: var(--text-muted);
}

/* HEADER */
.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav ul,
.primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a,
.primary-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.main-nav .current-menu-item > a,
.main-nav a:hover,
.primary-menu .current-menu-item > a,
.primary-menu a:hover {
  color: var(--accent);
}

/* BUTTONS */
.btn,
.btn-primary {
  min-width: 154px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(24,135,255,0.25);
}

.btn:hover,
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
}

/* HERO */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
  background: #0b0f14;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.48) 42%, rgba(0,0,0,0.68) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 90px;
}

.hero-content {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin: 0 0 20px;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.22);
}

.hero-content .tagline {
  margin: 0 auto 30px;
  max-width: 720px;
  font-size: clamp(1rem, 1.45vw, 1.26rem);
  font-weight: 500;
  color: rgba(255,255,255,0.86);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* PAIN / PROMISE */
.pain-promise {
  position: relative;
  margin-top: 0;
  z-index: 3;
  padding-top: 44px;
}

.pp-flex {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.pp-box {
  padding: 34px 34px 30px;
  border-radius: var(--radius-lg);
  background: rgba(10,14,19,0.86);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pp-box h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.accent {
  color: var(--accent);
}

.pp-list {
  margin: 0;
  padding-left: 1.1rem;
}

.pp-list li + li {
  margin-top: 12px;
}

/* GRIDS / CARDS */
.grid-2,
.contact-panel {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contact-panel {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.card,
.contact-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  margin: 0;
}

.card-link-text {
  display: inline-block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent);
  font-weight: 700;
}

.card img,
.contact-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

/* SERVICES SNAPSHOT */
.services-snapshot h2,
.services-snapshot .lead {
  text-align: center;
}

.services-snapshot .lead {
  max-width: 860px;
  margin: 0 auto 40px;
}

/* CONTACT */
.contact-card h3 {
  margin-bottom: 14px;
}

.contact-card p {
  margin: 0 0 14px;
}

/* FOOTER */
.site-footer {
  background: #070a0f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 34px 24px 44px;
}

.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  height: 42px;
  width: auto;
  margin: 0 auto 16px;
  opacity: 0.95;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-inner {
    width: calc(100% - 32px);
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
  }

  .logo img {
    height: 40px;
  }

  .main-nav ul,
  .primary-menu {
    gap: 1rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .grid-2,
  .pp-flex,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: min(var(--content), calc(100% - 36px));
  }

  .section {
    padding: 72px 0;
  }

  .hero-inner {
    padding: 30px 18px 60px;
  }

  .hero-content .tagline {
    font-size: 1rem;
  }

  .pain-promise {
    padding-top: 26px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 260px;
  }
}
