/* main.css - Reset, variables, typography, utilities */

:root {
  --color-primary: #E63946;
  --color-primary-light: #FF6B6B;
  --color-primary-dark: #C62839;
  --color-dark: #1A1A2E;
  --color-dark-secondary: #16213E;
  --color-dark-deep: #0D0D1A;
  --color-accent: #FFD166;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-bg-soft: #F4F6FB;
  --color-text: #1A1A1A;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-success: #06D6A0;
  --color-border: #E5E7EB;

  --font-family: 'Roboto', sans-serif;

  --container-max: 1200px;
  --container-padding: 20px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.16);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.2);
  --shadow-red: 0 8px 24px rgba(230,57,70,0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 50px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

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

.section__title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-dark);
  position: relative;
  line-height: 1.2;
}

.section__title::after {
  content: '';
  display: block;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 18px auto 0;
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.section__title.visible::after,
.section__title--static::after {
  width: 80px;
}

.section__subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: -30px auto 40px;
  line-height: 1.5;
}

.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;
}
