/* ==========================================================================
   W&C Computer Limited — brand tokens
   Colors lifted from the company's own Gamma theme ("Lux"): deep forest
   teal + warm peach accent, Quattrocento headings.
   ========================================================================== */
:root {
  --teal-900: #123332;
  --teal-800: #1c4241;
  --teal-700: #234f4e;
  --teal-600: #2d615f;
  --cream: #f9eee7;
  --cream-dim: #ece0d7;
  --peach: #ef9c82;
  --peach-light: #ffd9be;
  --peach-dark: #d97e5f;
  --ink: #16302f;

  --font-head: "Quattrocento", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow-card: 0 10px 30px -12px rgba(18, 51, 50, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section {
  padding: 88px 0;
}

.section--dark {
  background: var(--teal-800);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--peach-light);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach-dark);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--peach);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--teal-700);
  margin-bottom: 0;
}

.section--dark .section-head p {
  color: var(--cream-dim);
}

/* ---------------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--peach);
  color: var(--teal-900);
}

.btn-primary:hover {
  background: var(--peach-light);
  box-shadow: 0 10px 24px -8px rgba(239, 156, 130, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: rgba(249, 238, 231, 0.55);
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(249, 238, 231, 0.08);
}

.btn-dark-outline {
  background: transparent;
  border-color: var(--teal-800);
  color: var(--teal-800);
}

.btn-dark-outline:hover {
  background: var(--teal-800);
  color: var(--cream);
}

/* ---------------------------------- header ---------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 51, 50, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(249, 238, 231, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--peach), var(--peach-dark));
  color: var(--teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  flex: none;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream-dim);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--cream);
  border-color: var(--peach);
}

.nav-cta-item {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-dim);
  font-size: 0.92rem;
  font-weight: 500;
}

.header-phone svg {
  color: var(--peach);
  flex: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 920px) {
  .nav-links,
  .header-phone,
  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--teal-900);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(249, 238, 231, 0.1);
  }

  .site-header.is-open .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(249, 238, 231, 0.08);
  }

  .nav-cta-item {
    display: block;
    margin-top: 10px;
  }

  .site-header.is-open .nav-links a.btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 26px;
    border-bottom: none;
  }
}

/* ---------------------------------- breadcrumb ---------------------------------- */
.breadcrumb {
  padding: 110px 0 0;
  font-size: 0.86rem;
  color: var(--cream-dim);
}

.breadcrumb a {
  color: var(--peach);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  margin: 0 8px;
  color: rgba(249, 238, 231, 0.4);
}

/* ---------------------------------- product hero ---------------------------------- */
.product-hero {
  background: var(--teal-800);
  color: var(--cream);
  padding-bottom: 72px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

@media (max-width: 860px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }
}

.product-hero h1 {
  color: var(--cream);
  font-size: clamp(2rem, 4.2vw, 2.8rem);
}

.product-hero p.lead {
  color: var(--cream-dim);
  font-size: 1.08rem;
  max-width: 540px;
}

.product-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* ---------------------------------- feature list ---------------------------------- */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--teal-700);
}

.feature-list svg {
  flex: none;
  margin-top: 3px;
  color: var(--peach-dark);
}

/* ---------------------------------- hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(18, 51, 50, 0.92) 25%, rgba(18, 51, 50, 0.72) 65%, rgba(28, 66, 65, 0.55)), url("../images/JDHvZS1vp2iRKeCRq3NuD.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 680px;
  padding: 90px 0 60px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--cream);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--cream-dim);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-trust {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(249, 238, 231, 0.18);
}

.hero-trust-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-trust-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--cream-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------------------------------- timeline ---------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

.timeline-step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.timeline-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--teal-900);
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: 16px;
}

.timeline-step .step-year {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-800);
  margin-bottom: 8px;
}

.timeline-step p {
  color: var(--teal-700);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------------------------------- service groups ---------------------------------- */
.service-group {
  margin-bottom: 72px;
}

.service-group:last-child {
  margin-bottom: 0;
}

.service-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.service-group-head h3 {
  font-size: 1.5rem;
  color: var(--teal-800);
  margin-bottom: 0;
}

.service-group-media {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .service-group-media {
    grid-template-columns: 1fr;
  }
  .service-group-media .service-cards {
    order: 2;
  }
}

.service-group-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-cards {
  display: grid;
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid rgba(28, 66, 65, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(239, 156, 130, 0.16);
  color: var(--peach-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex: none;
}

.card h4 {
  font-size: 1.05rem;
  color: var(--teal-800);
  margin-bottom: 6px;
}

.card p {
  font-size: 0.92rem;
  color: var(--teal-700);
  margin: 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

.philosophy {
  margin-top: 40px;
  padding: 32px;
  background: rgba(239, 156, 130, 0.08);
  border-left: 4px solid var(--peach);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--teal-800);
  font-size: 1.02rem;
}

.philosophy p {
  margin: 0;
}

/* ---------------------------------- clients ---------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 760px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

.client-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  background: var(--teal-900);
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card.is-logo {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
}

.client-card.is-logo img {
  flex: 1;
  min-height: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 32px;
  background: #fff;
}

.client-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(18, 51, 50, 0.88), transparent);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.98rem;
}

.client-card.is-logo figcaption {
  position: static;
  flex: none;
  padding: 14px 18px;
  background: var(--teal-800);
  color: var(--cream);
  text-align: center;
}

.client-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--teal-700);
}

/* ---------------------------------- team ---------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-card {
  background: var(--teal-900);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}

.team-card .card-icon {
  margin: 0 auto 16px;
  background: rgba(255, 217, 190, 0.14);
  color: var(--peach-light);
}

.team-card h4 {
  color: var(--peach-light);
  font-size: 1rem;
  margin-bottom: 8px;
}

.team-card p {
  color: var(--cream-dim);
  font-size: 0.86rem;
  margin: 0;
}

/* ---------------------------------- stats ---------------------------------- */
.stats-band {
  background: var(--peach);
  color: var(--teal-900);
}

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

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-weight: 600;
  margin-bottom: 2px;
}

.stat-sub {
  font-size: 0.86rem;
  opacity: 0.8;
}

/* ---------------------------------- contact ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .card-icon {
  background: rgba(255, 217, 190, 0.14);
  color: var(--peach-light);
  margin-bottom: 0;
}

.contact-item h4 {
  color: var(--peach-light);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin: 0;
}

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

.contact-card {
  background: var(--teal-900);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-card h3 {
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--cream-dim);
  margin-bottom: 24px;
}

.contact-card .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ---------------------------------- footer ---------------------------------- */
.site-footer {
  background: var(--teal-900);
  color: var(--cream-dim);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-grid h4 {
  color: var(--peach-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-grid ul a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(249, 238, 231, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(249, 238, 231, 0.6);
}

/* ---------------------------------- reveal-on-scroll ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------- skip link ---------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--peach);
  color: var(--teal-900);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  left: 24px;
  top: 16px;
}
