/* IT AND MARKETING SOLUTIONS LIMITED — Landing styles */

:root {
  --color-bg: #f7f6f3;
  --color-surface: #ffffff;
  --color-surface-alt: #eef0eb;
  --color-dark: #0f1a24;
  --color-dark-soft: #1a2d3d;
  --color-accent: #1d6b5c;
  --color-accent-hover: #155a4d;
  --color-accent-light: #e8f4f1;
  --color-text: #2a3238;
  --color-text-muted: #5c6770;
  --color-border: #d8ddd6;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 26, 36, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 26, 36, 0.1);
  --max-width: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  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);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  min-height: var(--header-h);
}

.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: 44px;
  height: 44px;
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  letter-spacing: -0.02em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.logo-text small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.section-dark {
  background: var(--color-dark);
  color: #e8ecef;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow-light {
  color: #7eb8a8;
}

.section-contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
}

.section-intro,
.section-footnote {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.section-footnote {
  margin-top: 2rem;
  font-size: 0.9375rem;
  text-align: center;
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.two-col {
  column-count: 1;
  column-gap: 2.5rem;
}

@media (min-width: 768px) {
  .two-col {
    column-count: 2;
  }
}

.split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 340px;
  }
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(29, 107, 92, 0.12), transparent),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-dark);
  font-weight: 600;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.hero-card address {
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-full {
  width: 100%;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  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(29, 107, 92, 0.35);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.highlight-box,
.standards-list {
  background: var(--color-accent-light);
  border: 1px solid rgba(29, 107, 92, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.highlight-box h3,
.standards-list h3 {
  margin-top: 0;
}

.highlight-box ul,
.standards-list ul {
  margin: 0;
  padding-left: 1.25rem;
}

.highlight-box li,
.standards-list li {
  margin-bottom: 0.5rem;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feature {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7eb8a8;
  margin-bottom: 0.5rem;
}

.feature p {
  margin: 0;
  color: #b8c4cc;
  font-size: 0.98rem;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding: 0 0 2.5rem 4rem;
  border-left: 2px solid var(--color-border);
  margin-left: 1.25rem;
}

.process-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.35rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.process-list h3 {
  margin-top: 0;
}

.process-list p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Industries */
.industry-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.industry-grid article {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.industry-grid p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* Stories */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.story p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Insights */
.insights-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.insight {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.insight time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
}

.insight p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-list summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--color-dark);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-block {
  font-style: normal;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.legal-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 1rem 0 0;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #b8c4cc;
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  color: #fff;
  margin: 0 0 0.5rem;
}

.site-footer address {
  font-style: normal;
  margin-top: 1rem;
  opacity: 0.85;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer nav a {
  color: #b8c4cc;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #fff;
}

.site-footer nav li {
  margin-bottom: 0.5rem;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
