/* ResponsiTech Solutions — Static Marketing Site
   Placeholder design. Colors and copy are subject to change. */

:root {
  --navy: #0b2545;
  --navy-700: #13315c;
  --blue: #1d6fb8;
  --teal: #0fa3a3;
  --accent: #f5a623;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 37, 69, 0.14);
  --container: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { box-shadow: 0 10px 24px rgba(245, 166, 35, 0.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; font-weight: 800; letter-spacing: -1px;
}
.brand__logo { height: 58px; width: auto; max-width: 320px; object-fit: contain; }
.brand__tagline { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; line-height: 1.25; max-width: 160px; }
.footer-brand .brand__logo {
  height: 52px; max-width: 280px;
  background: #fff; padding: 10px 14px; border-radius: 8px;
}

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--navy); transition: 0.3s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.92) 0%, rgba(19, 49, 92, 0.86) 55%, rgba(29, 111, 184, 0.78) 130%), url("../img/hero-factory.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 163, 163, 0.45), transparent 70%);
}
.hero__inner { padding: 96px 0 104px; max-width: 760px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.18rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.hero .eyebrow { color: var(--accent); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.93), rgba(19, 49, 92, 0.88)), url("../img/opex.jpg") center/cover no-repeat;
  color: #fff; padding: 70px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 640px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* Stat bar */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat__label { color: var(--muted); font-size: 0.95rem; }

/* Cards / grid */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(29,111,184,0.12), rgba(15,163,163,0.12));
  color: var(--blue); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__link { display: inline-block; margin-top: 16px; font-weight: 600; }

/* Service detail blocks */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media {
  border-radius: var(--radius); min-height: 280px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center; color: rgba(255,255,255,0.6);
  font-size: 3rem; box-shadow: var(--shadow);
}
.service-block ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.service-block li { padding: 7px 0 7px 30px; position: relative; color: var(--muted); }
.service-block li::before {
  content: "\2713"; position: absolute; left: 0; top: 7px;
  color: var(--teal); font-weight: 800;
}

/* Two-column intro */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.media-panel {
  border-radius: var(--radius); min-height: 360px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: var(--shadow-lg);
}

/* Values / list */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { padding: 10px 0 10px 32px; position: relative; }
.tick-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 10px;
  width: 20px; height: 20px; color: var(--teal); font-weight: 800;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; text-align: center; border-radius: 18px;
  padding: 56px 32px; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item__icon {
  flex: 0 0 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(29,111,184,0.1); color: var(--blue); font-size: 1.2rem;
}
.info-item h4 { margin: 0 0 2px; }
.info-item p { margin: 0; color: var(--muted); }

form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 600; font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,184,0.15); }
textarea { resize: vertical; min-height: 130px; }

.map-embed {
  margin-top: 36px; min-height: 260px; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eef3f8, #eef3f8 14px, #e6edf4 14px, #e6edf4 28px);
  display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line);
}

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}

.note {
  background: #fff8e9; border: 1px dashed var(--accent); color: #7a5b16;
  padding: 10px 16px; border-radius: 8px; font-size: 0.85rem; text-align: center;
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Data tables (work lists) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; background: var(--white); min-width: 720px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.data thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
table.data tbody tr:hover { background: var(--bg-soft); }
table.data td:last-child { white-space: nowrap; }

/* Status / type badges */
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}
.badge--open { background: rgba(15,163,163,0.14); color: #0b7c7c; }
.badge--soon { background: rgba(245,166,35,0.16); color: #9a6b08; }
.badge--online { background: rgba(29,111,184,0.14); color: #14589a; }
.badge--offline { background: rgba(123,97,255,0.14); color: #5a3fd6; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured::after {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--navy); font-size: 0.72rem; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan h3 { margin-bottom: 4px; }
.plan__price { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin: 10px 0 2px; }
.plan__price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan__note { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--muted); border-top: 1px solid var(--line); }
.plan li:first-child { border-top: none; }
.plan li::before { content: "\2713"; position: absolute; left: 0; top: 8px; color: var(--teal); font-weight: 800; }
.plan .btn { margin-top: auto; text-align: center; }

/* Highlight info row */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Hero checklist */
.hero__list { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 8px; }
.hero__list li { padding-left: 30px; position: relative; color: rgba(255,255,255,0.92); font-weight: 500; }
.hero__list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* Industries we serve grid */
.industry-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px;
}
.industry {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 12px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(29,111,184,0.4); }
.industry__icon { font-size: 1.7rem; line-height: 1; margin-bottom: 10px; }
.industry__name { font-size: 0.8rem; font-weight: 600; color: var(--navy); line-height: 1.3; }

@media (max-width: 1024px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px)  { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

/* Checkbox / consent groups for forms */
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.checkbox-grid label, .consent label {
  font-weight: 400; font-size: 0.92rem; color: var(--ink);
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0; cursor: pointer;
}
.checkbox-grid input[type="checkbox"], .consent input[type="checkbox"] {
  width: auto; margin-top: 4px; flex: 0 0 auto;
}
.form-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--bg-soft); }
.form-group > h4 { margin: 0 0 14px; font-size: 1.05rem; }
.form-fieldset-label { font-weight: 700; color: var(--navy); margin: 4px 0 10px; display: block; }
.price-tag {
  display: inline-block; background: rgba(15,163,163,0.12); color: #0b7c7c;
  font-weight: 700; padding: 6px 16px; border-radius: 999px; font-size: 0.95rem;
}
.form-alert {
  padding: 12px 16px; border-radius: 8px; font-size: 0.92rem; margin-bottom: 18px;
  border: 1px solid transparent;
}
.form-alert.success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.form-alert.error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.form-alert.hidden { display: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Clickable industry tiles + enquiry modal */
.industry { cursor: pointer; }
.industry:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 37, 69, 0.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 34px 32px 30px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); position: relative;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: #ef4444; color: #fff; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.15s ease;
}
.modal__close:hover { background: #dc2626; }
.modal__eyebrow {
  display: block; text-align: center; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--teal);
  margin-bottom: 4px;
}
.modal__title { text-align: center; color: var(--accent); font-size: 1.25rem; margin-bottom: 20px; }

/* Social links */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0 0; align-items: center; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.social a:hover { background: var(--accent); color: var(--navy); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social--light a { background: rgba(29, 111, 184, 0.1); color: var(--blue); }
.social--light a:hover { background: var(--blue); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .plans, .feature-row { grid-template-columns: 1fr; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; width: 100%; }
  .nav__cta { margin: 8px 0 0; }
}

@media (max-width: 560px) {
  .grid--3, .grid--2, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand__logo { height: 50px; max-width: 240px; }
  .brand__tagline { display: none; }
}
