/* E Creative Brand Stories - Nicex-inspired theme */

@import url('fonts-ro.css');

:root {
  --bg: #0a0a0a;
  --bg-light: #111111;
  --text: #f5f5f0;
  --text-muted: #999;
  --accent: #FFB900;
  --accent-hover: #FFCA33;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  --transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html[lang="ro"] body {
  font-feature-settings: 'locl' 1;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 1001;
}

.logo span {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 1001;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--accent);
}

.lang-switch span {
  color: var(--border);
  user-select: none;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px;
  margin: -12px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  touch-action: manipulation;
}

.menu-toggle:hover { color: var(--accent); }

/* ── Fullscreen Nav ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay ul {
  text-align: center;
}

.nav-overlay li {
  overflow: hidden;
  margin: 8px 0;
}

.nav-overlay a {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.nav-overlay.active a {
  transform: translateY(0);
}

.nav-overlay li:nth-child(1) a { transition-delay: 0.05s; }
.nav-overlay li:nth-child(2) a { transition-delay: 0.1s; }
.nav-overlay li:nth-child(3) a { transition-delay: 0.15s; }
.nav-overlay li:nth-child(4) a { transition-delay: 0.2s; }
.nav-overlay li:nth-child(5) a { transition-delay: 0.25s; }
.nav-overlay li:nth-child(6) a { transition-delay: 0.3s; }
.nav-overlay li:nth-child(7) a { transition-delay: 0.35s; }

.nav-overlay a:hover,
.nav-overlay a.active {
  color: var(--accent);
}

.nav-contact {
  position: absolute;
  bottom: 48px;
  left: 48px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.nav-contact a:hover { color: var(--accent); }

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.slide-overlay--dark {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.slide-bg--motto {
  background-position: center 35%;
}

.slide-bg--content {
  background-position: center center;
}

.slide-bg--story {
  background-position: center center;
}

.slide-content--story h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
}

.slide-content--story h1 em {
  color: var(--accent);
  font-weight: 600;
}

.slide-content--motto h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.slide-content--motto h1 em {
  color: var(--accent);
  font-weight: 700;
}

.slide-content--motto h1 {
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 48px;
  right: 48px;
  z-index: 2;
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-transform: none;
}

.slide-content h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s, gap 0.3s;
}

.slide-link:hover {
  color: var(--accent);
  gap: 20px;
}

.slide-link::after {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.slide-link:hover::after { width: 60px; }

.slide-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.section-actions .cta-btn {
  margin-top: 0;
}

.slider-dots {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.slider-dot.active {
  background: var(--accent);
  width: 60px;
}

.slider-counter {
  position: absolute;
  bottom: 48px;
  left: 48px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  z-index: 10;
}

/* ── Sections ── */
.section {
  padding: 120px 48px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 800px;
}

.section-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 64px;
}

.service-card {
  background: var(--bg-light);
  padding: 48px 36px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  background: #161616;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ── Line Icons ── */
.line-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.line-icon--lg {
  width: 36px;
  height: 36px;
}

.line-icon--accent {
  color: var(--accent);
}

.service-icon {
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-item .line-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.result-card .line-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  color: var(--accent);
}

/* ── Service Hub Cards ── */
.service-card-link {
  display: block;
  transition: transform 0.4s;
}

.service-card-link:hover {
  transform: translateY(-4px);
}

.service-card-link .service-card {
  height: 100%;
}

.service-card-link .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s;
}

.service-card-link:hover .card-arrow {
  gap: 14px;
}

/* ── Service Detail Page ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.service-nav-links a {
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.service-nav-links a:hover,
.service-nav-links a.active {
  border-color: var(--accent);
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card ul {
  margin-top: 16px;
}

.service-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Features List ── */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Differentiation ── */
.diff-section {
  background: var(--bg-light);
  text-align: center;
}

.diff-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
}

.diff-item {
  padding: 12px 28px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: border-color 0.3s, color 0.3s;
}

.diff-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.diff-arrow {
  color: var(--accent);
  align-self: center;
  display: flex;
  align-items: center;
}

.diff-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 160px 48px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 185, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  margin: 0 auto 24px;
}

.cta-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 48px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s, color 0.4s;
}

.cta-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Page Hero ── */
.page-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  margin-top: var(--header-h);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.page-hero h1 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 900px;
}

.page-hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── About ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro .section-text {
  max-width: none;
}

.about-image {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* ── Results ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.result-card {
  background: var(--bg-light);
  padding: 40px 32px;
  text-align: center;
}

.result-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.result-card .line-icon {
  display: block;
}

.result-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Testimonials ── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial {
  padding: 40px;
  border-left: 2px solid var(--accent);
  background: var(--bg-light);
}

.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  margin-top: 64px;
}

.team-card {
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 24px;
  filter: grayscale(30%);
  transition: filter 0.5s;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
}

.team-role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Process ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  padding: 32px 16px;
  border-top: 1px solid var(--border);
}

.process-step .step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Radio Page ── */
.radio-hero-content {
  max-width: 700px;
}

.radio-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}

.radio-logo-area {
  text-align: center;
  padding: 64px;
  border: 1px solid var(--border);
}

.radio-logo-area h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.contact-detail {
  margin-bottom: 24px;
}

.contact-detail label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--text-muted);
}

.contact-detail a:hover { color: var(--accent); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--accent-hover);
}

/* ── Footer ── */
.footer {
  padding: 80px 48px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.footer--extended {
  display: block;
}

.footer-newsletter {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.footer-newsletter__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-newsletter__copy {
  flex: 1;
  min-width: 240px;
}

.footer-newsletter__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

.footer-newsletter__form {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: min(100%, 420px);
  max-width: 480px;
}

.footer-newsletter__form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}

.footer-newsletter__form input[type="email"]:focus {
  border-color: var(--accent);
}

.footer-newsletter__form button {
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
}

.footer-newsletter__form button:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.footer-newsletter__form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer-newsletter__legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 16px 0 0;
  line-height: 1.6;
}

.footer-newsletter__legal a {
  color: var(--accent);
}

.footer-newsletter__legal a:hover {
  text-decoration: underline;
}

.footer-newsletter__message {
  flex: 1 1 100%;
  font-size: 0.8rem;
  margin: 12px 0 0;
  line-height: 1.5;
}

.footer-newsletter__message--success { color: #4ade80; }
.footer-newsletter__message--error { color: #f87171; }
.footer-newsletter__message--info { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 0.8; }

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-company {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-company__name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-nav a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-contact a:hover { color: var(--accent); }

.footer-badges .footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-legal a {
  display: inline-flex;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-legal a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-legal img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-legal-links a:hover { color: var(--accent); }

/* ── Legal pages ── */
.legal-content h2 {
  margin-top: 40px;
}

.legal-content h2:first-of-type {
  margin-top: 16px;
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 185, 0, 0.35);
}

.blog-card__image {
  display: block;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: var(--text);
  transition: color 0.3s;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card__body > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.3s;
}

.blog-card__link:hover {
  opacity: 0.8;
}

/* ── Cookie consent ── */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  padding: 16px;
  background: rgba(10, 10, 10, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 6px;
}

.cookie-consent__text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

.cookie-consent__text a {
  color: var(--accent);
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.cookie-btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.cookie-btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cookie-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-intro,
  .radio-features,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .footer-newsletter__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter__form {
    max-width: none;
    flex-direction: column;
  }

  .footer-newsletter__form input[type="email"] {
    border-right: 1px solid var(--border);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-badges {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header {
    padding: env(safe-area-inset-top, 0) 20px 0;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0));
  }

  .logo {
    font-size: 1.25rem;
  }

  .header-actions {
    gap: 12px;
  }

  .lang-switch {
    font-size: 0.65rem;
    gap: 6px;
  }

  .nav-overlay {
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0) + 32px) 20px calc(100px + env(safe-area-inset-bottom, 0));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-overlay ul {
    width: 100%;
    text-align: left;
  }

  .nav-overlay li {
    margin: 4px 0;
  }

  .nav-overlay a {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    padding: 6px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-contact {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 40px;
    font-size: 0.85rem;
  }

  .hero-slider {
    height: 100dvh;
    height: 100svh;
    min-height: 480px;
    touch-action: pan-y pinch-zoom;
  }

  .slide-content {
    left: 20px;
    right: 20px;
    bottom: 30%;
  }

  .slide-bg--motto {
    background-position: 60% 40%;
  }

  .slide-bg--content {
    background-position: center 45%;
  }

  .slide-content--motto h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .slide-content--story h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.5rem);
  }

  .slide-bg--story {
    background-position: center 40%;
  }

  .slide-content h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
    margin-bottom: 20px;
    line-height: 1.08;
  }

  .slide-actions {
    gap: 12px;
  }

  .slide-link {
    min-height: 44px;
    padding: 10px 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    touch-action: manipulation;
  }

  .slider-counter {
    left: 20px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    font-size: 0.65rem;
  }

  .slider-dots {
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    gap: 8px;
  }

  .slider-dot {
    width: 32px;
    position: relative;
    touch-action: manipulation;
  }

  .slider-dot::before {
    content: '';
    position: absolute;
    inset: -18px -6px;
  }

  .slider-dot.active {
    width: 44px;
  }

  .section {
    padding: 72px 20px;
  }

  .section-label {
    margin-bottom: 16px;
    font-size: 0.65rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .section-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .service-card h3 {
    font-size: 1.35rem;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .diff-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 32px 0;
  }

  .diff-item {
    text-align: center;
    padding: 14px 20px;
  }

  .diff-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 4px 0;
  }

  .section-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }

  .section-actions .cta-btn {
    width: 100%;
    text-align: center;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .cta-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
    padding: 18px 20px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-align: center;
    touch-action: manipulation;
  }

  .page-hero {
    height: auto;
    min-height: 50vh;
    padding: 0 20px 48px;
    padding-top: calc(var(--header-h) + 24px);
    margin-top: 0;
    align-items: flex-end;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-image {
    aspect-ratio: 4/3;
  }

  .results-grid,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial {
    padding: 28px 24px;
  }

  .testimonial p {
    font-size: 1.05rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .team-card h3 {
    font-size: 1.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    padding: 24px 12px;
    text-align: left;
    border-top: none;
    border-left: 2px solid var(--border);
  }

  .process-step .step-num {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .radio-logo-area {
    padding: 40px 24px;
  }

  .radio-logo-area h3 {
    font-size: 2rem;
  }

  .contact-grid {
    gap: 40px;
    margin-top: 40px;
  }

  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .contact-form button {
    min-height: 48px;
    font-size: 0.72rem;
    touch-action: manipulation;
  }

  .service-detail-grid {
    gap: 32px;
  }

  .service-nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-top: 32px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .service-nav-links::-webkit-scrollbar {
    display: none;
  }

  .service-nav-links a {
    flex-shrink: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    touch-action: manipulation;
  }

  .footer {
    padding: 56px 20px max(24px, env(safe-area-inset-bottom, 24px));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-badges {
    grid-column: auto;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-badges .footer-legal {
    align-items: stretch;
    width: 100%;
  }

  .footer-legal a {
    width: 100%;
  }

  .footer-legal img {
    width: 100%;
    max-width: 100%;
    max-height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 32px;
    gap: 12px;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 12px 20px;
  }

  .footer-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .cookie-consent {
    padding: 16px 16px max(16px, env(safe-area-inset-bottom, 16px));
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-consent__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    min-height: 48px;
    text-align: center;
    touch-action: manipulation;
  }

  .legal-content .section-title {
    font-size: 1.35rem !important;
  }
}

@media (max-width: 480px) {
  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 16px;
  }

  .slide-content {
    left: 16px;
    right: 16px;
    bottom: 32%;
  }

  .slide-content h1 {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  .slider-counter,
  .slider-dots {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }

  .slider-counter {
    left: 16px;
  }

  .slider-dots {
    right: 16px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .cta-section {
    padding: 64px 16px;
  }

  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
    min-height: 42vh;
  }

  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-company {
    font-size: 0.7rem;
  }

  .nav-overlay {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 360px) {
  .slide-content h1 {
    font-size: 1.75rem;
  }

  .cta-btn {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 16px 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .service-card-link:hover {
    transform: none;
  }

  .service-card:hover {
    background: var(--bg-light);
  }

  .service-card:hover::before {
    transform: scaleX(0);
  }

  .service-card-link:active .service-card {
    background: #161616;
  }

  .cta-btn:hover {
    background: transparent;
    color: var(--accent);
  }

  .cta-btn:active {
    background: var(--accent);
    color: var(--bg);
  }
}
