/* I.T. ARCHITECTURE SOLUTIONS LTD — landing styles */

:root {
  --bg: #0c1118;
  --bg-elevated: #141c27;
  --bg-card: #1a2433;
  --surface: #f4f6f9;
  --text: #e8edf4;
  --text-muted: #9aa8bc;
  --text-dark: #1a2433;
  --accent: #3d9ed9;
  --accent-soft: rgba(61, 158, 217, 0.15);
  --accent-glow: rgba(61, 158, 217, 0.35);
  --gold: #c9a962;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --container: min(1120px, 92vw);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6bb8e8;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 17, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e5a8a 100%);
  box-shadow: 0 0 24px var(--accent-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-ltd {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--text);
}

.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(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #52aae3;
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-nav {
  padding: 10px 18px;
  background: var(--accent-soft);
  color: var(--accent) !important;
  border: 1px solid rgba(61, 158, 217, 0.3);
}

.btn-nav:hover {
  background: var(--accent);
  color: #fff !important;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 169, 98, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.hero-card dl {
  margin: 0;
}

.hero-card div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-card dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-card dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Metrics */
.metrics {
  padding: 48px 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metrics article strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.metrics article p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section.alt-block {
  background: var(--bg-elevated);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header h2,
.split h2,
.deep-dive h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.85fr;
}

.prose p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--text);
}

.columns-2 {
  column-count: 2;
  column-gap: 40px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(61, 158, 217, 0.35);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Deep dive */
.deep-dive-inner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding-left: 44px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: none;
}

.process-steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-steps h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.process-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-grid article {
  padding: 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.industry-grid h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.industry-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.tech-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.compliance-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.compliance-aside h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.compliance-aside ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.compliance-aside li + li {
  margin-top: 8px;
}

/* Outcomes */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.outcomes-grid article {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.outcomes-grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.outcomes-grid p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quote {
  margin: 0;
  padding: 40px 48px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  margin: 0 0 16px;
  color: var(--text);
}

.quote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial-grid p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-grid cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 800px;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-address {
  font-style: normal;
  margin: 24px 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-address strong {
  color: var(--text);
}

.contact-details {
  margin: 0;
}

.contact-details div {
  margin-bottom: 12px;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.contact-details dd {
  margin: 4px 0 0;
}

.muted {
  color: var(--text-muted);
  font-style: italic;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .split.reverse,
  .compliance-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .cards-grid,
  .industry-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .columns-2 {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px;
  }

  .metrics-grid,
  .cards-grid,
  .industry-grid,
  .testimonial-grid,
  .process-steps,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .deep-dive-inner {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav ul {
    flex-wrap: wrap;
  }
}
