/* IT ASSIST SUPPORT & INSTALLATION LTD — Landing styles */

:root {
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-surface-alt: #eef2f6;
  --color-dark: #0c1524;
  --color-dark-soft: #152238;
  --color-text: #1a2433;
  --color-text-muted: #4d5f73;
  --color-accent: #0d6e8c;
  --color-accent-hover: #0a5870;
  --color-accent-light: #e6f3f7;
  --color-border: #d4dde6;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(12, 21, 36, 0.06);
  --shadow-lg: 0 12px 48px rgba(12, 21, 36, 0.1);
  --header-h: 72px;
  --container: min(1120px, 100% - 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 68ch;
  margin: 0 0 2rem;
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--color-text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--color-text);
}

.columns-2 {
  column-count: 1;
  column-gap: 2.5rem;
}

@media (min-width: 768px) {
  .columns-2 {
    column-count: 2;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-accent), #148f9e);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-dark);
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-accent);
}

.nav-cta {
  color: var(--color-accent) !important;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(13, 110, 140, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(20, 143, 158, 0.08), transparent),
    linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 72ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--color-border);
}

.hero-stats dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.section-dark {
  background: var(--color-dark);
  color: #c8d4e0;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #5ec4db;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }

  .split.reverse {
    direction: rtl;
  }

  .split.reverse > * {
    direction: ltr;
  }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 140, 0.25);
}

.card h3 {
  margin: 0 0 0.75rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* Features */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.feature:last-child {
  border-bottom: none;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  background: linear-gradient(135deg, var(--color-accent), #148f9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature h3 {
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Highlight box */
.highlight-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.highlight-box h3 {
  margin: 0 0 1rem;
}

.highlight-box ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.highlight-box li {
  margin-bottom: 0.5rem;
}

/* Pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1000px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline li {
  background: var(--color-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.timeline h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: #fff;
}

.timeline p {
  margin: 0;
  font-size: 0.92rem;
  color: #9eb0c4;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.capability-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.capability-grid ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.capability-grid li {
  margin-bottom: 0.4rem;
}

/* Case cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.case-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.case-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Map placeholder */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(145deg, var(--color-accent-light), #d8e8ee);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.map-placeholder span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  text-align: center;
  padding: 1rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1rem 0;
  color: var(--color-dark);
  list-style-position: outside;
}

.faq-list summary::-webkit-details-marker {
  color: var(--color-accent);
}

.faq-list p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* Contact */
.section-contact {
  background: var(--color-surface);
}

.contact-block {
  font-style: normal;
  margin: 2rem 0 0;
  padding: 1.5rem;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 110, 140, 0.15);
}

.contact-block p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.form-note {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #8fa3b8;
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.5fr auto;
    align-items: start;
  }
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
}

.footer-legal p {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #8fa3b8;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}
