/* ============================================================
   Tech IT Easy — site styles
   Brand colors pulled from logo.png: navy #0013A1, blue #67A2F4
   ============================================================ */

:root {
  --navy: #0013a1;
  --navy-dark: #000d74;
  --blue: #67a2f4;
  --blue-soft: #eaf2fe;
  --ink: #10142b;
  --body: #4a5068;
  --footer-bg: #060a26;
  --line: #e3e8f2;
  --bg-soft: #f5f8fe;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(16, 20, 43, 0.07);
  --shadow-md: 0 10px 30px rgba(16, 20, 43, 0.12);
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
}

h1, h2, h3 {
  font-family: "Quicksand", "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--navy); }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--blue);
  color: var(--ink);
}

.btn-secondary:hover {
  background: #4f91f1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(16, 20, 43, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 48px; width: auto; }

.main-nav { margin-right: auto; }

.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover { color: var(--navy); }

.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

.main-nav .mobile-extras { display: none; }

.header-phone {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--navy); }

.header-cta { padding: 10px 24px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 720px);
  padding: 90px 0;
  background: var(--footer-bg) url("../assets/hero-bg.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 8, 40, 0.72) 0%, rgba(4, 8, 40, 0.35) 55%, rgba(4, 8, 40, 0.15) 100%);
}

.hero .container { position: relative; }

.hero-title {
  color: var(--white);
  margin-bottom: 0.1em;
}

.hero-sub {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  display: inline-block;
  position: relative;
  margin: 0 0 0.6em;
}

.hero-sub .underline {
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 20px;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 480px;
  margin-bottom: 2em;
}

.hero .btn-primary { font-size: 1.05rem; padding: 15px 36px; }

/* ---------- Who We Are ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.photo-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
  width: 100%;
  object-fit: cover;
}

.who-we-are .btn { margin-top: 8px; }

/* ---------- Equipment grid ---------- */

.equipment { background: var(--bg-soft); }

.equipment h2 { text-align: center; margin-bottom: 44px; }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.equipment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.equipment-card img {
  height: 92px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: 18px;
}

.equipment-card h3 { margin: 0; color: var(--ink); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  text-align: center;
  padding: 60px 0;
}

.cta-band h2 { color: var(--white); margin-bottom: 1em; }

.cta-band .btn-secondary { font-size: 1.05rem; }

/* ---------- Stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 42px 20px;
}

.stat-number {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-weight: 500;
  color: var(--body);
  margin: 0;
}

/* ---------- Statement ---------- */

.statement { background: var(--bg-soft); }

.statement-text {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq h2 { text-align: center; margin-bottom: 40px; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item + .faq-item { border-top: 1px solid var(--line); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover { background: var(--blue-soft); }

.faq-question .chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 20px;
}

/* ---------- Forms ---------- */

.contact-form { max-width: 680px; margin: 0 auto; }

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #c9d2e3;
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(103, 162, 244, 0.35);
}

.form-row textarea { min-height: 140px; resize: vertical; }

.form-actions { text-align: center; margin-top: 24px; }

.form-status {
  margin: 18px auto 0;
  max-width: 680px;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #e7f6ec;
  color: #14532d;
  border: 1px solid #b5e3c4;
}

.form-status.error {
  display: block;
  background: #fdeaea;
  color: #8a1f1f;
  border: 1px solid #f2c4c4;
}

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot { margin: 18px 0 0; display: flex; justify-content: center; }

.get-in-touch h2 { text-align: center; margin-bottom: 36px; }

/* ---------- Contact info row (home) ---------- */

.contact-info { background: var(--bg-soft); text-align: center; }

.contact-info h2 { margin-bottom: 40px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.info-item h3 { font-size: 1.3rem; margin-bottom: 6px; }

.info-item p, .info-item a {
  color: var(--body);
  text-decoration: none;
  margin: 0;
}

.info-item a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Page banner (contact/terms/privacy) ---------- */

.page-banner {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 320px at 85% 15%, rgba(103, 162, 244, 0.28), transparent 65%),
    radial-gradient(700px 260px at 10% 110%, rgba(103, 162, 244, 0.16), transparent 60%),
    linear-gradient(115deg, var(--footer-bg) 0%, #0a1668 55%, var(--navy) 100%);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0,
    rgba(255, 255, 255, 0.045) 2px,
    transparent 2px,
    transparent 90px
  );
}

.page-banner .container { position: relative; }

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0;
}

.page-banner.centered { text-align: center; }

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-details h2 { font-size: 1.4rem; margin-bottom: 18px; }

.contact-details ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-details li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--navy);
}

.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */

.legal-content { max-width: 820px; }

.legal-content h2 {
  font-size: 1.35rem;
  margin: 1.8em 0 0.5em;
}

.legal-content h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: #aab1cc;
  padding: 52px 0 36px;
  text-align: center;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-nav a:hover { color: var(--blue); }

.footer-contact {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 2;
}

.footer-contact a { color: #cdd4ea; text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }

.footer-copy { margin: 0; font-size: 0.88rem; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .two-col,
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }

  .statement .two-col { gap: 28px; }
}

@media (max-width: 820px) {
  section { padding: 56px 0; }

  .nav-toggle { display: block; }

  .header-phone { display: none; }
  .header-cta { display: none; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    margin-right: 0;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }

  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: none; }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: none;
  }

  .main-nav.open .mobile-extras,
  .main-nav .mobile-extras {
    border-bottom: none;
    padding: 16px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .main-nav .mobile-extras .header-phone {
    display: inline-block;
    padding: 0;
  }

  .main-nav .mobile-extras .header-cta {
    display: inline-block;
    padding: 12px 28px;
    color: var(--white);
    font-size: 1rem;
  }

  .equipment-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid, .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .equipment-grid { gap: 16px; }
  .equipment-card { padding: 24px 12px 20px; }
  .equipment-card img { height: 70px; }
}

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