/* Lightbase Tech — site styles (from the "LightBase Tech v4" design). */
:root {
  --blue: #3F6E8C;
  --blue-dark: #2C4F66;
  --ink: #333;
  --text: #4A4A4A;
  --hero: #3B3A36;
  --footer: #2F2F2C;
  --footer-text: #BDBDB7;
  --rule: #45453F;
  --placeholder: #D9D8D3;
  --border: #CCC;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Open Sans', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
input, textarea, select, button { font-family: var(--sans); }
img, svg { display: block; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Hero / header ---------- */
.hero { position: relative; background: var(--hero); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 35%, rgba(63,110,140,0.45), transparent 60%),
    radial-gradient(ellipse at 15% 90%, rgba(63,110,140,0.25), transparent 55%),
    var(--hero);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(30,30,28,0.35), rgba(30,30,28,0.25)); }
.hero-art { position: absolute; right: 4%; top: 22%; width: min(38vw, 460px); opacity: 0.55; pointer-events: none; }

.site-header { position: relative; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--serif); font-size: 32px; line-height: 1; }
.brand-tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #E2E2DE; }
.nav { display: flex; gap: 34px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: #fff; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.6); }
.nav a[aria-current="page"] { border-bottom-color: #fff; }

.hero-body { position: relative; padding-top: 120px; padding-bottom: 200px; display: flex; flex-direction: column; gap: 22px; }
.hero-body.compact { padding-top: 80px; padding-bottom: 170px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; max-width: 720px; }
.hero p { margin: 0; font-size: 19px; line-height: 1.6; max-width: 560px; color: #F2F2EF; }
.wave { position: absolute; left: 0; bottom: -4px; width: 100%; height: 160px; }

.btn {
  display: inline-block; align-self: flex-start; background: var(--blue); color: #fff; border: none;
  padding: 16px 40px; border-radius: 6px; font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- Content ---------- */
.intro { max-width: 900px; width: 100%; margin: 0 auto; padding: 48px 32px 24px; text-align: center; display: flex; flex-direction: column; gap: 20px; }
h2.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); color: var(--blue); line-height: 1.3; }
.intro p, .lead { margin: 0; font-size: 17px; line-height: 1.8; }

.services { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px 40px; scroll-margin-top: 24px; }
.service { display: flex; flex-direction: column; gap: 16px; }
.service-art { aspect-ratio: 16 / 9; background: #E9EEF2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-art svg { width: 100%; height: 100%; }
.service h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }
.service p { margin: 0; line-height: 1.75; }
.more { font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

.band { background: var(--blue); color: #fff; }
.band-inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 44px; }
.band h2 { margin: 0; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; text-align: center; }
.values.left { text-align: left; }
.value { display: flex; flex-direction: column; gap: 10px; }
.value-title { font-size: 19px; font-weight: 600; }
.value-body { line-height: 1.7; color: #EEF3F6; }

.split { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; }
.split .copy { display: flex; flex-direction: column; gap: 18px; }
.split .copy p { margin: 0; font-size: 17px; line-height: 1.8; }
.split .art { aspect-ratio: 4 / 3; max-height: 400px; background: #E9EEF2; overflow: hidden; }
.split .art svg { width: 100%; height: 100%; }

.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: #E2E2DE; border: 1px solid #E2E2DE; }
.clients div { background: #fff; padding: 22px 24px; font-family: var(--serif); font-size: 18px; color: var(--ink); }

.cta { background: #F4F4F1; }
.cta-inner { padding-top: 64px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); }

/* ---------- Form ---------- */
.contact { max-width: 760px; width: 100%; margin: 0 auto; padding: 80px 32px; display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.contact-head { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.contact-head p { margin: 0; line-height: 1.7; }
.form { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--border); font-size: 15px; color: var(--text); background: #fff; border-radius: 0;
}
.form input, .form select { height: 48px; padding: 0 14px; }
.form select { padding: 0 10px; }
.form textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,110,140,0.15); }
.form .btn { align-self: center; margin-top: 6px; padding: 16px 44px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-error { margin: 0; color: #A33A2B; text-align: center; font-size: 15px; }
.form-error:empty { display: none; }
.thanks { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.thanks-title { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.thanks p { margin: 0; line-height: 1.7; }
.link-btn { background: none; border: none; color: var(--blue); font-size: 15px; cursor: pointer; text-decoration: underline; }
.privacy { margin: 0; font-size: 13px; color: #7A7974; text-align: center; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--footer-text); margin-top: auto; }
.footer-top { padding-top: 48px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand span { font-family: var(--serif); font-size: 22px; color: #fff; }
.footer-brand a { color: var(--footer-text); }
.footer-brand a:hover { color: #fff; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: #fff; }
.footer-nav a:hover { color: var(--footer-text); }
.footer-bottom { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--rule); font-size: 13px; }

@media (max-width: 640px) {
  .wrap, .intro, .contact { padding-left: 16px; padding-right: 16px; }
  .brand-name { font-size: 26px; }
  .nav { gap: 22px; font-size: 15px; }
  .hero-body { padding-top: 64px; padding-bottom: 150px; }
  .hero-body.compact { padding-top: 48px; padding-bottom: 130px; }
  .hero p { font-size: 17px; }
  .hero-art { display: none; }
  .wave { height: 100px; }
  .btn { padding: 14px 28px; letter-spacing: 1.5px; }
  .contact { padding-top: 56px; padding-bottom: 56px; }
  .grid2 { grid-template-columns: 1fr; }
}
