/* ============================================
   ARGENTAIT IT AGENCY - STYLESHEET
   ============================================ */

/* ─── 1. GOOGLE FONTS IMPORT ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&family=Playfair+Display:wght@400&display=swap');

/* ─── 2. CSS RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  line-height: 1.6;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* ─── 3. CSS CUSTOM PROPERTIES ─── */
:root {
  /* Colors */
  --bg-dark: #010B19;
  --bg-darker: #020810;
  --bg-light: #F4F4F4;
  --bg-white: #FFFFFF;
  --text-primary: #F4F4F4;
  --text-secondary: rgba(244, 244, 244, 0.7);
  --text-dark: #010B19;
  --accent-blue: #0055FE;
  --accent-glow: rgba(0, 85, 254, 0.4);
  --accent-subtle: rgba(0, 85, 254, 0.1);
  --nav-bg: rgba(1, 11, 25, 0.95);
  --border-subtle: rgba(244, 244, 244, 0.1);
  --border-light: rgba(1, 11, 25, 0.15);

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 100px;
  --space-2xl: 140px;

  /* Container */
  --container-max: 1400px;
  --container-padding: 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(0, 85, 254, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(0, 85, 254, 0.5);

  /* Z-index layers */
  --z-base: 1;
  --z-above: 10;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-cookie: 400;
  --z-top: 1000;
}

/* ─── 4. BASE STYLES ─── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background-color: var(--accent-blue);
  color: var(--text-primary);
}

::-moz-selection {
  background-color: var(--accent-blue);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: rgba(244, 244, 244, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 244, 244, 0.35);
}

/* ─── 5. TYPOGRAPHY CLASSES ─── */

/* Font families */
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

.font-body {
  font-family: var(--font-body);
}

/* Display sizes */
.text-display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.text-display-l {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Headings */
.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

/* Body text */
.body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

.body-large {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

/* Label / Caption */
.label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.caption {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ─── 6. LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
}

.section {
  position: relative;
  width: 100%;
}

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

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

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

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


/* ─── 7. NAVIGATION ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

.header--scrolled {
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

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

/* Logo */
.logo {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  z-index: calc(var(--z-header) + 1);
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.7;
}

/* Desktop Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-blue);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}

.nav__link--active {
  color: var(--text-primary);
}

.nav__link--active::after {
  width: 100%;
}

/* CTA Button in Nav */
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: var(--accent-blue);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color var(--transition-fast),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
}

.nav__cta:hover {
  background-color: #0044cc;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: calc(var(--z-header) + 2);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform var(--transition-base),
              opacity var(--transition-base);
  transform-origin: center;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── 8. FOOTER ─── */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
}

/* Footer CTA Section */
.footer__cta {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}

.footer__cta-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer__cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__cta-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  color: var(--accent-blue);
  text-decoration: none;
  position: relative;
  transition: opacity var(--transition-fast);
}

.footer__cta-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-blue);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.footer__cta-link:hover {
  opacity: 0.8;
}

.footer__cta-link:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* Footer Bottom Bar */
.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-sm) 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.footer__legal-link {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer__legal-link:hover {
  color: var(--text-primary);
}

.footer__legal-separator {
  width: 3px;
  height: 3px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  opacity: 0.5;
}

/* ─── 9. BUTTONS ─── */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-base),
              transform var(--transition-fast),
              border-color var(--transition-fast);
}

.btn:active {
  transform: scale(0.98);
}

/* Primary button (blue pill) */
.btn--primary {
  background-color: var(--accent-blue);
  color: var(--text-primary);
  border: 1px solid var(--accent-blue);
}

.btn--primary:hover {
  background-color: #0044cc;
  border-color: #0044cc;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Secondary button (outlined) */
.btn--secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn--secondary:hover {
  background-color: rgba(244, 244, 244, 0.05);
  border-color: rgba(244, 244, 244, 0.3);
}

/* Button on light background */
.btn--on-light.btn--secondary {
  color: var(--text-dark);
  border-color: var(--border-light);
}

.btn--on-light.btn--secondary:hover {
  background-color: rgba(1, 11, 25, 0.05);
  border-color: rgba(1, 11, 25, 0.4);
}

/* Button sizes */
.btn--sm {
  padding: 10px 24px;
  font-size: 12px;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 14px;
}

/* ─── 10. CARDS ─── */

/* Service Card */
.service-card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background-color: transparent;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 85, 254, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: rgba(0, 85, 254, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-sm);
  position: relative;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  position: relative;
}

.service-card__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-blue);
  text-decoration: none;
  position: relative;
  transition: gap var(--transition-fast);
}

.service-card__link:hover {
  gap: 14px;
}

/* Project Card */
.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.project-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 11, 25, 0.9) 0%,
    rgba(1, 11, 25, 0.4) 40%,
    transparent 70%
  );
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  z-index: 2;
}

.project-card__category {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-xs);
}

.project-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-primary);
}

/* Testimonial Card */
.testimonial-card {
  padding: var(--space-lg) var(--space-md);
  border-left: 2px solid var(--accent-blue);
  background: linear-gradient(90deg, rgba(0, 85, 254, 0.05) 0%, transparent 30%);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-card__author {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── 11. FORM INPUTS ─── */
.form-group {
  position: relative;
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-primary);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  outline: none;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.form-input::placeholder {
  color: rgba(244, 244, 244, 0.35);
}

.form-input:focus {
  border-bottom-color: var(--accent-blue);
  box-shadow: 0 1px 0 0 var(--accent-blue);
}

/* Light background variant */
.form-input--light {
  color: var(--text-dark);
  border-bottom-color: var(--border-light);
}

.form-input--light::placeholder {
  color: rgba(1, 11, 25, 0.4);
}

.form-input--light:focus {
  border-bottom-color: var(--accent-blue);
  box-shadow: 0 1px 0 0 var(--accent-blue);
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form select */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(244,244,244,0.5)' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
  cursor: pointer;
}


/* ─── 12. COOKIE CONSENT BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
  z-index: var(--z-cookie);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--text-primary);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ─── 13. COOKIE SETTINGS MODAL ─── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
}

.cookie-modal--open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-modal__content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: var(--space-lg);
  z-index: 1;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.cookie-modal--open .cookie-modal__content {
  transform: translateY(0);
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.cookie-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
  text-transform: uppercase;
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition-fast),
              border-color var(--transition-fast);
  flex-shrink: 0;
}

.cookie-modal__close:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cookie-modal__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* Cookie Category */
.cookie-category {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.cookie-category__name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-primary);
}

.cookie-category__badge {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 2px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
}

.cookie-category__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  padding-right: 60px;
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background-color: rgba(244, 244, 244, 0.15);
  border-radius: 24px;
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background-color: var(--text-primary);
  border-radius: 50%;
  transition: transform var(--transition-base);
}

.toggle__input:checked + .toggle__slider {
  background-color: var(--accent-blue);
}

.toggle__input:checked + .toggle__slider::before {
  transform: translateX(20px);
}

.toggle__input:disabled + .toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle__input:focus-visible + .toggle__slider {
  box-shadow: 0 0 0 2px var(--bg-dark), 0 0 0 4px var(--accent-blue);
}

/* Cookie Modal Footer */
.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

/* ─── 14. SECTION BACKGROUNDS ─── */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

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

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

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

/* Section divider */
.section-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-subtle);
  border: none;
}

.section-light .section-divider,
.section-white .section-divider {
  background-color: var(--border-light);
}

/* ─── 15. ANIMATIONS ─── */

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clipReveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation variants */
.animate-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.animate-fade.animated {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.animate-clip {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.8s ease, clip-path 0.8s ease;
}

.animate-clip.animated {
  opacity: 1;
  clip-path: inset(0 0% 0 0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-fade,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale,
  .animate-clip {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ─── 16. RESPONSIVE ─── */

/* Tablet breakpoint: 1024px */
@media (max-width: 1024px) {
  .text-display-xl {
    font-size: clamp(42px, 7vw, 80px);
  }

  .text-display-l {
    font-size: clamp(36px, 4.5vw, 56px);
  }

  .h1 {
    font-size: clamp(32px, 3.5vw, 48px);
  }

  .h2 {
    font-size: clamp(26px, 2.8vw, 36px);
  }

  .service-card {
    padding: var(--space-md);
  }

  .testimonial-card {
    padding: var(--space-md);
  }
}

/* Mobile breakpoint: 768px */
@media (max-width: 768px) {
  /* Typography */
  .text-display-xl {
    font-size: clamp(36px, 10vw, 56px);
  }

  .text-display-l {
    font-size: clamp(30px, 7vw, 42px);
  }

  .h1 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .h2 {
    font-size: clamp(24px, 5vw, 30px);
  }

  .h3 {
    font-size: 22px;
  }

  .body-large {
    font-size: 18px;
  }

  /* Header */
  .header__inner {
    height: 64px;
  }

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    background-color: var(--bg-dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base),
                visibility var(--transition-base);
  }

  .nav--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .nav__link {
    font-size: 18px;
    letter-spacing: 0.08em;
    padding: var(--space-xs) var(--space-sm);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: var(--space-md);
    padding: 14px 32px;
    font-size: 14px;
  }

  /* Footer */
  .footer__cta {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }

  /* Cookie modal */
  .cookie-modal__content {
    padding: var(--space-md);
    max-height: 90vh;
  }

  .cookie-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal__footer .btn {
    width: 100%;
  }

  /* Cards */
  .service-card {
    padding: var(--space-md) var(--space-sm);
  }

  .project-card__title {
    font-size: 20px;
  }

  /* Buttons */
  .btn {
    padding: 12px 28px;
    font-size: 12px;
  }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
  .text-display-xl {
    font-size: 32px;
  }

  .text-display-l {
    font-size: 28px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}


/* ─── 17. UTILITY CLASSES ─── */

/* ── Display ── */
.u-flex {
  display: flex;
}

.u-inline-flex {
  display: inline-flex;
}

.u-grid {
  display: grid;
}

.u-block {
  display: block;
}

.u-inline-block {
  display: inline-block;
}

.u-hidden {
  display: none !important;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Flex helpers ── */
.u-flex-col {
  flex-direction: column;
}

.u-flex-wrap {
  flex-wrap: wrap;
}

.u-items-start {
  align-items: flex-start;
}

.u-items-center {
  align-items: center;
}

.u-items-end {
  align-items: flex-end;
}

.u-justify-start {
  justify-content: flex-start;
}

.u-justify-center {
  justify-content: center;
}

.u-justify-between {
  justify-content: space-between;
}

.u-justify-end {
  justify-content: flex-end;
}

.u-flex-1 {
  flex: 1;
}

.u-gap-xs {
  gap: var(--space-xs);
}

.u-gap-sm {
  gap: var(--space-sm);
}

.u-gap-md {
  gap: var(--space-md);
}

.u-gap-lg {
  gap: var(--space-lg);
}

/* ── Grid helpers ── */
.u-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.u-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.u-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.u-grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ── Spacing ── */
.u-p-xs {
  padding: var(--space-xs);
}

.u-p-sm {
  padding: var(--space-sm);
}

.u-p-md {
  padding: var(--space-md);
}

.u-p-lg {
  padding: var(--space-lg);
}

.u-p-xl {
  padding: var(--space-xl);
}

.u-pt-xs {
  padding-top: var(--space-xs);
}

.u-pt-sm {
  padding-top: var(--space-sm);
}

.u-pt-md {
  padding-top: var(--space-md);
}

.u-pt-lg {
  padding-top: var(--space-lg);
}

.u-pt-xl {
  padding-top: var(--space-xl);
}

.u-pt-2xl {
  padding-top: var(--space-2xl);
}

.u-pb-xs {
  padding-bottom: var(--space-xs);
}

.u-pb-sm {
  padding-bottom: var(--space-sm);
}

.u-pb-md {
  padding-bottom: var(--space-md);
}

.u-pb-lg {
  padding-bottom: var(--space-lg);
}

.u-pb-xl {
  padding-bottom: var(--space-xl);
}

.u-pb-2xl {
  padding-bottom: var(--space-2xl);
}

.u-mb-xs {
  margin-bottom: var(--space-xs);
}

.u-mb-sm {
  margin-bottom: var(--space-sm);
}

.u-mb-md {
  margin-bottom: var(--space-md);
}

.u-mb-lg {
  margin-bottom: var(--space-lg);
}

.u-mb-xl {
  margin-bottom: var(--space-xl);
}

.u-mt-xs {
  margin-top: var(--space-xs);
}

.u-mt-sm {
  margin-top: var(--space-sm);
}

.u-mt-md {
  margin-top: var(--space-md);
}

.u-mt-lg {
  margin-top: var(--space-lg);
}

.u-mt-xl {
  margin-top: var(--space-xl);
}

/* ── Text colors ── */
.u-text-primary {
  color: var(--text-primary);
}

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

.u-text-dark {
  color: var(--text-dark);
}

.u-text-blue {
  color: var(--accent-blue);
}

/* ── Background colors ── */
.u-bg-dark {
  background-color: var(--bg-dark);
}

.u-bg-darker {
  background-color: var(--bg-darker);
}

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

.u-bg-white {
  background-color: var(--bg-white);
}

/* ── Text alignment ── */
.u-text-left {
  text-align: left;
}

.u-text-center {
  text-align: center;
}

.u-text-right {
  text-align: right;
}

/* ── Width ── */
.u-w-full {
  width: 100%;
}

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

/* ── Position ── */
.u-relative {
  position: relative;
}

.u-absolute {
  position: absolute;
}

/* ── Overflow ── */
.u-overflow-hidden {
  overflow: hidden;
}

/* ─── BACK TO TOP BUTTON ─── */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background-color var(--transition-fast),
              border-color var(--transition-fast);
  z-index: var(--z-above);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ─── 18. LEGAL PAGE STYLES ─── */
.legal-page {
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
}

.legal-page__header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.legal-page__date {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Table of Contents */
.legal-toc {
  background-color: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
}

.legal-toc__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.legal-toc__list {
  list-style: none;
  counter-reset: toc;
}

.legal-toc__item {
  counter-increment: toc;
  margin-bottom: var(--space-xs);
}

.legal-toc__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 4px 0;
}

.legal-toc__link::before {
  content: counter(toc, decimal-leading-zero) ".";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--accent-blue);
  min-width: 28px;
  flex-shrink: 0;
}

.legal-toc__link:hover {
  color: var(--text-primary);
}

/* Legal Section */
.legal-section {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
}

.legal-section:nth-child(even) {
  background: linear-gradient(90deg, rgba(0, 85, 254, 0.03) 0%, transparent 50%);
  margin-left: calc(-1 * var(--container-padding));
  margin-right: calc(-1 * var(--container-padding));
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.legal-section__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.legal-section__number {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.legal-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-primary);
  text-transform: uppercase;
}

.legal-section__content {
  padding-left: calc(28px + var(--space-sm));
}

.legal-section__content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.legal-section__content ul,
.legal-section__content ol {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.legal-section__content li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.legal-section__content a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.legal-section__content a:hover {
  color: var(--text-primary);
}

/* ─── RESPONSIVE: Legal Pages ─── */
@media (max-width: 768px) {
  .legal-page {
    padding-top: 100px;
    padding-bottom: var(--space-xl);
  }

  .legal-toc {
    padding: var(--space-md);
  }

  .legal-section__content {
    padding-left: 0;
  }

  .legal-section__number {
    font-size: 12px;
  }

  .legal-section__title {
    font-size: 20px;
  }

  .legal-section__header {
    gap: var(--space-xs);
  }

  .legal-section:nth-child(even) {
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}

/* ─── COOKIE TABLE ─── */
.cookie-table-wrapper {
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.cookie-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.cookie-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.cookie-table tbody td {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.cookie-table tbody td:first-child {
  font-family: monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
}

.cookie-table tbody td:nth-child(4) {
  white-space: nowrap;
}

.cookie-table tbody tr:nth-child(even) {
  background-color: rgba(0, 85, 254, 0.02);
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

@media print {
  .cookie-table-wrapper {
    border-color: #ccc;
  }

  .cookie-table thead th {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    border-bottom-color: #ccc !important;
  }

  .cookie-table tbody td {
    color: #333 !important;
    border-bottom-color: #ddd !important;
  }

  .cookie-table tbody td:first-child {
    color: #000 !important;
  }
}

/* ─── RESPONSIVE: Utilities ─── */
@media (max-width: 768px) {
  .u-grid-2,
  .u-grid-3,
  .u-grid-4 {
    grid-template-columns: 1fr;
  }

  .u-md-flex-col {
    flex-direction: column;
  }

  .u-md-text-center {
    text-align: center;
  }

  .u-md-hidden {
    display: none !important;
  }

  .u-md-block {
    display: block !important;
  }
}

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

/* ─── PRINT STYLES ─── */
@media print {
  .header,
  .cookie-banner,
  .cookie-modal,
  .back-to-top {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .section-dark,
  .section-darker {
    background: white !important;
    color: black !important;
  }
}
