/* IT & T CONSULTING LIMITED — Corporate landing styles */

:root {
  --color-bg: #f8f7f4;
  --color-bg-alt: #efede8;
  --color-bg-dark: #0f1a24;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #4a5568;
  --color-text-on-dark: #e8ecf0;
  --color-accent: #1e6b5c;
  --color-accent-hover: #165a4d;
  --color-accent-light: #e8f4f1;
  --color-border: #d4d0c8;
  --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 12px 48px rgba(15, 26, 36, 0.1);
  --header-h: 72px;
  --container: min(1120px, calc(100% - 2.5rem));
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
}

h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container.narrow {
  max-width: 760px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: var(--container);
  margin-inline: auto;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  line-height: 1.2;
}

.logo:hover {
  color: var(--color-text);
}

.logo-mark {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.logo-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a:hover {
  color: var(--color-accent);
}

.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-text);
  transition: transform var(--transition), opacity var(--transition);
}

.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);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(30, 107, 92, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(15, 26, 36, 0.05), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.stat-card span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.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-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-dark .section-label,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(232, 236, 240, 0.85);
}

.section-dark .section-footnote {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--color-text);
}

.two-col {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.prose-wide {
  max-width: 900px;
}

/* Company facts */
.company-facts {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

@media (min-width: 600px) {
  .company-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.company-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.company-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Service grid */
.service-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Split sections */
.split-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split-grid.reverse {
    direction: rtl;
  }

  .split-grid.reverse > * {
    direction: ltr;
  }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
}

.visual-panel {
  background: linear-gradient(145deg, var(--color-bg-dark), #1a3344);
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 280px;
}

.panel-inner span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.three-col {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .three-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

.process-steps li {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  background: linear-gradient(180deg, var(--color-accent), #2d8f7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.process-steps p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefits-grid article {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.benefits-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Industries */
.industry-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .industry-list {
    grid-template-columns: 1fr 1fr;
  }
}

.industry-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.industry-list strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

/* Engagement */
.engagement-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.engagement-grid article {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.engagement-grid p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
}

.faq-list details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Contact */
.section-contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-details p {
  margin-bottom: 1rem;
}

.activity-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.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.4rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 1rem 0 0;
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand .logo-mark {
  font-size: 1.5rem;
  color: #6ec4b4;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 40ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--color-text-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #6ec4b4;
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.6;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .company-facts {
    grid-template-columns: 1fr;
  }
}
