/* ============================================================
   Mighty Way - CSS
   Professional Computer Systems Design & IT Services
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #060b17;
  --bg-secondary: #0b1225;
  --bg-surface: #111b36;
  --bg-surface-hover: #162244;
  --bg-elevated: #1a2750;
  --accent: #d49429;
  --accent-hover: #eaaa38;
  --accent-light: #f5d080;
  --accent-dark: #b0741d;
  --text-primary: #ebeff5;
  --text-secondary: #9aa8c0;
  --text-tertiary: #6b7894;
  --border: #1c2a4a;
  --border-light: #26365c;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;

  --light-bg: #f1f4f8;
  --light-bg-alt: #e8ecf3;
  --light-surface: #ffffff;
  --light-border: #d0d7e3;
  --light-text: #0f1729;
  --light-text-secondary: #475569;
  --light-text-muted: #7c8ba0;
  --light-accent: #b0741d;
  --light-accent-hover: #8a5915;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px rgba(212,148,41,0.25);

  --container-max: 1200px;
  --container-narrow: 860px;
  --header-height: 72px;
  --transition-fast: 160ms ease;
  --transition-base: 260ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

strong { font-weight: 600; color: var(--text-primary); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(6,11,23,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.header__logo:hover {
  text-decoration: none;
  color: var(--accent-hover);
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.header__logo-icon .logo-rect {
  fill: var(--accent);
}

.header__logo-icon .logo-text {
  fill: var(--bg-primary);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.nav__list li { margin: 0; }

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text-primary);
  background-color: var(--bg-surface);
  text-decoration: none;
}

.nav__link--active {
  color: var(--accent);
  background-color: var(--bg-surface);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  background:
    linear-gradient(135deg, var(--bg-primary) 0%, #091530 40%, #0c1a3a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,148,41,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,39,80,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.hero__hl {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.3;
  font-family: var(--font-sans);
}

.btn:hover { text-decoration: none; }

.btn--primary {
  background-color: var(--accent);
  color: #0a0f1a;
  box-shadow: 0 2px 12px rgba(212,148,41,0.3);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: #0a0f1a;
  box-shadow: 0 4px 20px rgba(212,148,41,0.45);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(212,148,41,0.06);
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* --- Section --- */
.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--bg-primary);
}

.section--medium {
  background-color: var(--bg-secondary);
}

.section--light {
  background-color: var(--light-bg);
  color: var(--light-text);
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light strong {
  color: var(--light-text);
}

.section--light .text-secondary {
  color: var(--light-text-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.section__title {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section--light .section__title {
  color: var(--light-text);
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.section--light .section__subtitle {
  color: var(--light-text-secondary);
}

.text-secondary {
  color: var(--text-secondary);
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- Service Card --- */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.card__desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* --- Light Card --- */
.card--light {
  background-color: var(--light-surface);
  border-color: var(--light-border);
}

.card--light:hover {
  border-color: var(--light-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card--light .card__icon {
  background-color: #fef3dc;
  color: var(--light-accent);
}

.card--light .card__title {
  color: var(--light-text);
}

.card--light .card__desc {
  color: var(--light-text-secondary);
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Process / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem 4rem;
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.step__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- About Page Styles --- */
.about-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.about-hero__title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.about-hero__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.info-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.info-block--light {
  background-color: var(--light-surface);
  border-color: var(--light-border);
  color: var(--light-text);
}

.info-block--light .info-block__title {
  color: var(--light-text);
}

.info-block--light p,
.info-block--light li {
  color: var(--light-text-secondary);
}

.info-block__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.info-block p {
  color: var(--text-secondary);
}

/* --- Contact Form --- */
.contact-form {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form--light {
  background-color: var(--light-surface);
  border-color: var(--light-border);
}

.contact-form--light .form__label {
  color: var(--light-text);
}

.contact-form--light .form__input,
.contact-form--light .form__textarea {
  background-color: var(--light-bg);
  border-color: var(--light-border);
  color: var(--light-text);
}

.contact-form--light .form__input:focus,
.contact-form--light .form__textarea:focus {
  border-color: var(--light-accent);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form__label--required::after {
  content: ' *';
  color: var(--error);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background-color: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,148,41,0.15);
  outline: none;
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.form__message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form__message--success {
  display: block;
  background-color: rgba(34, 197, 94, 0.12);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form__message--error {
  display: block;
  background-color: rgba(239, 68, 68, 0.12);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-tertiary);
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.legal-hero__title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.legal-hero__date {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.legal-content {
  padding: 3rem 0 5rem;
  background-color: var(--bg-primary);
}

.legal-content__card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.55rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content a {
  color: var(--accent);
  font-weight: 500;
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse .service-detail__text {
  direction: ltr;
}

.service-detail__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 260px;
  color: var(--accent);
}

.service-detail__visual svg {
  width: 100px;
  height: 100px;
}

.service-detail__text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-detail__text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.service-list__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 2px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #0c1a3a 0%, #091530 50%, #0b1225 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,148,41,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  position: relative;
}

.cta-banner__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 1.75rem;
  position: relative;
}

/* --- Contact Info List --- */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

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

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

.breadcrumb span {
  margin: 0 0.4rem;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detail--reverse {
    direction: ltr;
  }

  .service-detail__visual {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero__title { font-size: 2.4rem; }
  .about-hero__title { font-size: 2.2rem; }

  .section__title { font-size: 1.7rem; }
  .legal-hero__title { font-size: 1.8rem; }
  .legal-content__card { padding: 1.5rem; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: none;
    overflow-y: auto;
    z-index: 99;
  }

  .nav--open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav__link {
    display: block;
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .nav__toggle {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat__number { font-size: 2rem; }

  .contact-form {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr; }
  .legal-content__card { padding: 1.25rem; }
}

/* --- Print --- */
@media print {
  .header,
  .footer,
  .nav__toggle,
  .skip-link,
  .hero__pattern,
  .cta-banner {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000;
  }
}
