/* ==========================================================================
   TC COMPUTER - Core Design System & Base Styles
   Target Domain: tccomputerservice.com
   Reference Aesthetic: iteo.com (98%+ Visual and Structural Accuracy)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #ff6500;
  --color-primary-hover: #e05800;
  --color-primary-light: #fff2eb;
  --color-dark: #27272e;
  --color-dark-alt: #1e1e24;
  --color-dark-surface: #141418;
  --color-text-main: #27272e;
  --color-text-muted: #525258;
  --color-text-subtle: #8e8e93;
  --color-text-light: #a9a9ab;
  --color-white: #ffffff;
  --color-border-light: #e9e9ea;
  --color-border-subtle: #f0f0f2;
  --color-border-dark: #3a3a42;
  --color-bg-light: #f2f3f7;
  --color-bg-subtle: #f8f9fa;

  /* Typography */
  --font-family-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Layout & Spacing */
  --header-height: 5.5rem;
  --container-max-width: 2400px;
  --scroll-margin-top: 110px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-orange: 0 10px 30px rgba(255, 101, 0, 0.25);
}

@media (max-width: 991px) {
  :root {
    --header-height: 4.5rem;
    --scroll-margin-top: 96px;
  }
}

/* Base Reset & Box Sizing */
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  color: var(--color-text-main);
}

*, *::before, *::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}

* ::selection {
  color: var(--color-white);
  text-shadow: none;
  background: var(--color-primary);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-white);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body.freeze {
  height: 100%;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 400;
  margin: 0;
  color: inherit;
}

p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  transition: color var(--transition-fast);
}

img, video, svg {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* Accessibility Helpers */
.sr-only, .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 4px;
}

/* Grid & Layout System */
.l-container {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: calc(13.33333px + 1.38889vw);
  padding-right: calc(13.33333px + 1.38889vw);
  max-width: var(--container-max-width);
}

@media (max-width: 480px) {
  .l-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 768px) {
  .l-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .l-container {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
  .l-container--no-right-padding {
    padding-right: 0;
  }
}

@media (min-width: 1660px) {
  .l-container {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.l-container--full {
  max-width: 100%;
}

.l-block {
  max-width: 100%;
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(3rem, 6vw, 6.5rem);
  padding-bottom: clamp(3rem, 6vw, 6.5rem);
}

.l-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2rem;
}

@media (min-width: 992px) {
  .l-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Section Header Typography */
.c-header--block {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--color-dark);
  grid-column: 1 / -1;
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

/* Link Decor underline hover animation matching iteo */
.c-link-decor {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size var(--transition-normal), color var(--transition-fast);
}

.c-link-decor:hover,
.c-link-decor--active {
  background-size: 100% 2px;
  color: var(--color-primary);
}

/* Spacer block */
.block-spacer {
  height: clamp(2rem, 5vw, 5rem);
  width: 100%;
}
.block-spacer--8 {
  height: clamp(2.5rem, 6vw, 6rem);
}
.block-spacer--10 {
  height: clamp(3rem, 8vw, 8rem);
}
