/* Kinetic Solutions — site styles
   Brand colours sampled from the logo: indigo #332A7C, teal #0096B0 */

:root {
  --indigo: #332a7c;
  --indigo-deep: #1f1a52;
  --indigo-soft: #e9e7f6;
  --ink: #1b1835;
  --ink-2: #4a4766;
  --teal: #0096b0;
  --teal-ink: #00738a;
  --teal-soft: #dff3f6;
  --mist: #f4f5fa;
  --line: #dcdcea;
  --white: #ffffff;

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;

  --r-photo: 22px;
  --r-ui: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-ink); }
a:hover { color: var(--indigo); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.lead-sm { font-size: 1.125rem; color: var(--ink-2); max-width: 38em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--indigo); color: var(--white); padding: 10px 16px; border-radius: var(--r-ui);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 12px 20px; border-radius: var(--r-ui); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-deep); color: var(--white); }
.btn-ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-ghost:hover { background: var(--indigo); color: var(--white); }
.btn-light { background: var(--white); color: var(--indigo); }
.btn-light:hover { background: var(--teal-soft); color: var(--indigo-deep); }

.text-link { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { height: 58px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a:not(.btn):hover { background: var(--mist); color: var(--indigo); }
.site-nav a[aria-current='page'] { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.bars, .bars::before, .bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
}
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .brand img { height: 42px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    display: none; padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 14px 8px; }
  .site-nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Photos ----------
   Every photo sits on a brand gradient, so if an image fails to load
   the frame still looks intentional. */
.photo {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--r-photo);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 55%, var(--teal) 140%);
  aspect-ratio: 3 / 2;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.img-missing img { visibility: hidden; }
.photo.img-missing::after {
  content: ''; position: absolute; inset: 0;
  background: url('/images/logo-white.png') center / 55% no-repeat; opacity: .14;
}

/* ---------- Hero ---------- */
.hero { background: var(--mist); padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }

.hero-media { position: relative; }
.photo-hero { aspect-ratio: 4 / 4.4; border-radius: 28px 28px 28px 120px; }

.clock-card {
  position: absolute; left: clamp(-48px, -3vw, -16px); bottom: -36px; width: min(320px, 82%);
  background: var(--indigo-deep); color: var(--white);
  border-radius: 18px; padding: 20px 22px 18px;
  box-shadow: 0 24px 50px -20px rgba(31, 26, 82, 0.55);
}
.clock-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; }
.clock-row + .clock-row { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.clock-city { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.clock-time {
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem;
  color: #6fd6e6; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.clock-status { margin: 10px 0 0; font-size: 0.9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.clock-status::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #45d39a; margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(69, 211, 154, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(69, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(69, 211, 154, 0); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .photo-hero { aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 80px; }
  .clock-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
}

/* ---------- Coverage strip ---------- */
.coverage { padding: var(--section) 0 calc(var(--section) * .7); }
.coverage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.coverage-head h2 { max-width: 16em; }
.coverage-head p { max-width: 38em; color: var(--ink-2); margin: 0; }
.zone-picker { display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); }
.zone-picker select { min-width: 220px; }

.strip { position: relative; padding: 8px 0; }
.strip-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; margin-bottom: 12px; }
.strip-label { font-weight: 500; font-size: 0.95rem; }
.strip-track { position: relative; height: 34px; background: var(--mist); border-radius: 8px; overflow: hidden; }
.strip-track .seg { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.seg-you { background: repeating-linear-gradient(-45deg, #c9c6e3 0 6px, #dcdaee 6px 12px); }
.seg-night { background: var(--teal); }
.seg-day { background: var(--indigo); }
.strip-axis { margin-bottom: 0; }
.strip-ticks { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-2); }
.strip-ticks span { width: 0; white-space: nowrap; display: flex; justify-content: center; }
.strip-ticks span:first-child { justify-content: flex-start; }
.strip-ticks span:last-child { justify-content: flex-end; }
.strip-now {
  position: absolute; top: -4px; bottom: 26px; width: 2px; background: #e0457b;
  left: calc(170px + 16px); transform: translateX(-1px);
}
.strip-now span {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; font-weight: 600; color: #c12f63;
}
.strip-note { font-size: 0.9rem; color: var(--ink-2); margin-top: 18px; }

@media (max-width: 640px) {
  .strip-row { grid-template-columns: 1fr; gap: 6px; }
  .strip-label:empty { display: none; }
  .strip-now { display: none; }
}

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Services (home) ---------- */
.services { padding: var(--section) 0; background: var(--white); border-top: 1px solid var(--line); }
.service-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.service-panel { display: flex; flex-direction: column; }
.service-panel p { color: var(--ink-2); }
.service-link { text-decoration: none; color: inherit; }
.service-link .photo { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.service-link .photo img { transition: transform .5s ease; }
.service-link:hover .photo img { transform: scale(1.04); }
.service-link h3 { font-size: 1.35rem; }
.service-link:hover h3 { color: var(--indigo); }
.service-panel .text-link { margin-top: auto; }
@media (max-width: 900px) { .service-panels { grid-template-columns: 1fr; max-width: 560px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process { padding: var(--section) 0; background: var(--indigo-deep); color: var(--white); }
.process h2, .process h3 { color: var(--white); }
.process .section-head p { color: rgba(255, 255, 255, 0.75); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 64px 28px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; background: var(--teal); color: var(--white);
}
.steps li::after {
  content: ''; position: absolute; top: 21px; left: 56px; right: 12px; height: 2px;
  background: rgba(255, 255, 255, 0.22);
}
.steps li:last-child::after { display: none; }
.steps p { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::after { display: none; }
}

/* ---------- Why ---------- */
.why { padding: var(--section) 0; }
.why-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.photo-tall { aspect-ratio: 4 / 5; border-radius: 120px 22px 22px 22px; }
.reasons { margin: 28px 0 0; display: grid; gap: 26px; }
.reasons div { padding-left: 20px; border-left: 3px solid var(--teal); }
.reasons dt { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 4px; }
.reasons dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .photo-tall { aspect-ratio: 16 / 10; border-radius: 80px 22px 22px 22px; }
}

/* ---------- Models ---------- */
.models { padding: var(--section) 0; background: var(--mist); }
.model-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.model { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.model p { color: var(--ink-2); margin: 0; }
.model-featured { background: var(--indigo); border-color: var(--indigo); }
.model-featured h3 { color: var(--white); font-size: 1.45rem; }
.model-featured p { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--indigo) 0%, var(--indigo-deep) 60%, #0d4f6a 100%); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 4vw, 48px); }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 34em; }
.cta-mark { width: 96px; height: 96px; filter: brightness(0) invert(1); opacity: .9; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-mark { width: 64px; height: 64px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--mist); padding: clamp(40px, 6vw, 80px) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.photo-page { aspect-ratio: 5 / 4; border-radius: 22px 22px 100px 22px; }
.crumbs { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .photo-page { aspect-ratio: 16 / 10; } }

/* ---------- Service tasks ---------- */
.tasks { padding: var(--section) 0; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.task { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.task h3 { color: var(--indigo); }
.task p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .task-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .task-grid { grid-template-columns: 1fr; } }

.split { padding: 0 0 var(--section); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.photo-wide { aspect-ratio: 4 / 3; }
.pill-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--teal-soft); color: var(--teal-ink); font-weight: 500; padding: 8px 16px; border-radius: 999px; }
.sub { margin-top: 8px; }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } }

.others { padding: var(--section) 0; background: var(--mist); }
.small-title { font-size: 1.4rem; margin-bottom: 24px; }
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.other {
  display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center;
  background: var(--white); border-radius: 18px; padding: 14px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); transition: border-color .15s;
}
.other:hover { border-color: var(--indigo); color: var(--ink); }
.other .photo { aspect-ratio: 4 / 3; border-radius: 12px; }
.other-text { display: grid; gap: 6px; padding-right: 10px; }
.other-text strong { font-family: var(--font-display); font-size: 1.1rem; }
.other-text span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .other-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .other { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.values { padding: var(--section) 0; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.value { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 32px; }
.value p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr; }
  .value:nth-child(odd) { border-right: 0; }
  .value:nth-child(even) { padding-left: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--mist); padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list span { color: var(--ink-2); }
.photo-contact { aspect-ratio: 16 / 10; }
.form-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.5rem; }
form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-ui); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-errors { background: #fdecef; color: #9b1c3f; border-radius: var(--r-ui); padding: 12px 16px; margin-bottom: 18px; }
.form-errors p { margin: 0; }
.form-errors p + p { margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.notice-ok h2 { color: var(--indigo); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .contact-list li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 404 / admin ---------- */
.notfound { padding: var(--section) 0; text-align: center; }
.notfound img { margin: 0 auto 24px; }
.notfound .lead { margin: 0 auto; }
.admin { padding: 56px 0 var(--section); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
td.msg { min-width: 280px; white-space: pre-wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #15123a; color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1fr; gap: 36px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-head { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #6fd6e6; }
.footer-base { margin-top: 48px; padding-bottom: 24px; font-size: 0.85rem; }
.footer-base p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}
.whatsapp:hover { background: #1eb457; color: var(--white); }
