/* ============================================
   ADOBEL INSTAL·LACIONS — PREMIUM DESIGN SYSTEM
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────── */
:root {
  /* Brand Colors (from logo) */
  --primary: #E8943B;
  --primary-light: #F5A623;
  --primary-dark: #CC7A2A;
  --secondary: #8BAEB6;
  --secondary-light: #A8C8CF;

  /* Dark Theme */
  --bg-dark: #0B0F14;
  --bg-surface: #111820;
  --bg-card: rgba(17, 24, 32, 0.7);
  --bg-glass: rgba(232, 148, 59, 0.05);

  /* Text */
  --text-primary: #F0F4F8;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Accents */
  --accent-success: #2ECC71;
  --accent-danger: #FF6B35;
  --accent-glow: rgba(232, 148, 59, 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(232, 148, 59, 0.3);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-light);
}

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 65ch;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ─────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #0B0F14;
  box-shadow: 0 4px 20px rgba(232, 148, 59, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 148, 59, 0.5);
  color: #0B0F14;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--glass-border-hover);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(232, 148, 59, 0.1);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-phone {
  background: rgba(46, 204, 113, 0.1);
  border: 1.5px solid rgba(46, 204, 113, 0.3);
  color: var(--accent-success);
  font-size: 0.95rem;
  padding: 10px 20px;
}

.btn-phone:hover {
  background: rgba(46, 204, 113, 0.2);
  color: var(--accent-success);
  transform: translateY(-1px);
}

/* ── Header / Navbar ───────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(11, 15, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(11, 15, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  height: 45px;
  transition: transform var(--transition-fast);
}

.navbar-logo:hover {
  transform: scale(1.03);
}

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

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-smooth);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-switcher a {
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-switcher a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switcher a.active {
  color: var(--bg-dark);
  background: var(--primary);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 20, 0.9) 0%,
    rgba(11, 15, 20, 0.6) 40%,
    rgba(232, 148, 59, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-success);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-shape--1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero-shape--2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  right: 30%;
  animation: float 10s ease-in-out infinite reverse;
}

/* ── Services Section ──────────────────────── */
.services {
  padding: var(--section-padding);
  background: var(--bg-surface);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-hover), transparent);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header p {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
  cursor: default;
  aspect-ratio: 4/3;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 60px rgba(232, 148, 59, 0.15);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  filter: brightness(0.5) saturate(0.7);
}

.service-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.35) saturate(0.6);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(0deg, rgba(11, 15, 20, 0.95), transparent);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 148, 59, 0.15);
  border: 1px solid rgba(232, 148, 59, 0.3);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--primary);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: var(--bg-dark);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0;
  max-height: 0;
  transition: all var(--transition-smooth);
}

.service-card:hover p {
  opacity: 1;
  max-height: 100px;
  margin-top: 8px;
}

/* ── Why Us Section ────────────────────────── */
.why-us {
  padding: var(--section-padding);
  position: relative;
}

.why-us-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-us-header p {
  margin: 0 auto;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  background: var(--bg-glass);
}

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

.why-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 148, 59, 0.1);
  border: 1px solid rgba(232, 148, 59, 0.2);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.why-card h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto;
}

/* ── Stats Section ─────────────────────────── */
.stats {
  padding: 80px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.stats::before,
.stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-hover), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

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

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── About Section ─────────────────────────── */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.about-feature svg {
  color: var(--accent-success);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.95rem;
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.about-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), transparent, var(--secondary));
  z-index: -1;
  opacity: 0.3;
  filter: blur(30px);
}

/* ── Contact Section ───────────────────────── */
.contact {
  padding: var(--section-padding);
  background: var(--bg-surface);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-hover), transparent);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header p {
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 148, 59, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-check label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 148, 59, 0.1);
  border: 1px solid rgba(232, 148, 59, 0.2);
  border-radius: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info-card a {
  color: var(--text-secondary);
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-map {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.7) contrast(1.1) saturate(0.5);
  transition: filter var(--transition-smooth);
}

.contact-map:hover iframe {
  filter: brightness(0.85) contrast(1.1) saturate(0.7);
}

/* ── Footer ────────────────────────────────── */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(232, 148, 59, 0.15);
  border-color: var(--glass-border-hover);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--primary);
}

/* ── Cookie Banner ─────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 0;
  background: rgba(17, 24, 32, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border-hover);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}

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

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

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

.cookie-accept:hover {
  background: var(--primary-light);
}

.cookie-reject {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

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

/* ── Scroll Animations ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ─────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(232, 148, 59, 0.2); }
  50% { box-shadow: 0 0 40px rgba(232, 148, 59, 0.4); }
}

/* ── Legal Pages ───────────────────────────── */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── Success Message ───────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.visible {
  display: block;
  animation: fadeInUp 0.6s ease;
}

.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--accent-success);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  /* Hide nav-right in header on mobile, show only inside open menu */
  .nav-right {
    display: none;
  }

  .nav-right.mobile-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    gap: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .service-card {
    aspect-ratio: 3/2;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    order: -1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .contact-form {
    padding: 24px;
  }

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