﻿/* ============================================================
   maytay.ro — frontend theme
   Dark Tech / Aurora — navy, albastru, portocaliu
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --bg: #F5F7FB;
  --bg-alt: #EAEEF6;
  --bg-deep: #0F172A;
  --card: #FFFFFF;
  --card-hover: #FFFFFF;
  --primary: #1C3FAA;
  --primary-dark: #0F172A;
  --primary-light: #3C5FCC;
  --cta: #00BFFF;
  --cta-light: #5DD8FF;
  --cta-text: #006E94;
  --cta-ink: #0F172A;
  --ink: #0F172A;
  --foreground: #0F172A;
  --muted: #4B5768;
  --border: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.22);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 60px rgba(0, 191, 255, 0.22);
  --grad-primary: linear-gradient(120deg, #1C3FAA, #2009a3);
  --success: #059669;
  --success-bg: rgba(5, 150, 105, 0.10);
  --success-border: rgba(5, 150, 105, 0.30);
  --danger: #DC2626;
  --danger-bg: rgba(220, 38, 38, 0.10);
  --danger-border: rgba(220, 38, 38, 0.30);
  --font: 'DM Sans', -apple-system, Segoe UI, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, Segoe UI, sans-serif;
  --z-nav: 100;
  --header-scrolled-line: rgba(255,255,255,0.25);
  --header-scrolled-bg: var(--primary-dark);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); padding: 10px; }
p { margin: 0 0 1em; color: var(--muted);  text-wrap: wrap; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn-primary {
  position: relative;
  z-index: 0;
  background: var(--grad-primary);
  color: var(--cta-ink);
  box-shadow: 0 10px 26px rgba(0,191,255,.28);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 36px rgba(0,191,255,.36); }
.btn-primary::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: inherit;
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00,
              #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  background-size: 400%;
  z-index: -1;
  opacity: 1;
  animation: btnPrimaryGlow 20s linear infinite;
  transition: opacity .3s ease-in-out;
}
.btn-primary:hover::before { opacity: 0; }

@keyframes btnPrimaryGlow {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--primary); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--cta); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Header / Nav (Airbus.com-style top bar) ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 26px 0;
  border-bottom: 1px solid var(--header-scrolled-line);
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--header-scrolled-bg) 55%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
  border-bottom: 1px solid var(--header-scrolled-line);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: -.01em; transition: color .3s ease; }
.site-header.is-scrolled .logo { color: var(--primary); }
.logo span { color: var(--cta-light); }
.site-header.is-scrolled .logo span { color: var(--cta-text); }

.seal-mark { width: 36px; height: 36px; color: var(--cta-light); flex-shrink: 0; }
.logo-img { height: 40px; width: auto; max-width: 200px; object-fit: contain; flex-shrink: 0; transition: height .3s ease; }
.site-header.is-scrolled .logo-img { height: 32px; }
.site-header.is-scrolled .seal-mark { color: var(--cta); }
.seal-full { width: 132px; height: 132px; color: var(--cta-light); flex-shrink: 0; background: var(--primary-dark); border-radius: 50%; }
.seal-full text { font-family: var(--font); }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.mobile-logo { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color .3s ease;
}
.main-nav a:hover { color: #00bfff; }
.site-header.is-scrolled .main-nav a { color: #00BFFF; }
.site-header.is-scrolled .main-nav a:hover { color: #fff; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: #00bfff;
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: #fff; font-weight: 700; }
.site-header.is-scrolled .main-nav a.is-active { color: #FFF; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions::before {
  content: ''; width: 1px; height: 22px; background: rgba(255, 255, 255, .25);
  transition: background-color .3s ease;
}
.site-header.is-scrolled .header-actions::before { background: var(--border-strong); }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .78rem; letter-spacing: .04em;
  white-space: nowrap; transition: color .3s ease;
}
.site-header.is-scrolled .header-phone { color: #00BFFF; }
.header-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-phone:hover { color: var(--cta); }
.site-header.is-scrolled .header-phone:hover { color: var(--cta-text); }
.nav-cta-mobile { display: none; }

.header-actions .nav-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  border-radius: 2px;
  padding: 10px 20px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: none;
  gap: 10px;
}
.header-actions .nav-cta::after { content: '\2192'; font-size: .95em; transition: transform .25s ease; }
.header-actions .nav-cta:hover { background: #fff; color: var(--primary); border-color: #fff; transform: none; box-shadow: none; filter: none; }
.header-actions .nav-cta:hover::after { transform: translateX(3px); }
.site-header.is-scrolled .header-actions .nav-cta { border-color: var(--border-strong); color: #00BFFF; }
.site-header.is-scrolled .header-actions .nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle { background: var(--bg-alt); }
.nav-toggle::before, .nav-toggle span, .nav-toggle::after {
  content: ''; position: absolute; left: 10px; right: 10px; height: 1px; background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::after { background: var(--primary); }
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 20px; }
.nav-toggle::after { top: 26px; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero / Particles ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
  isolation: isolate;
}
.hero-page { min-height: 46vh; }

/* Glow-uri atmosferice, non-diagonale — inlocuiesc taietura oblica */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -14%; right: -10%;
  background: radial-gradient(circle, rgba(0,191,255,.28) 0%, transparent 72%);
}
.hero::after {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  bottom: -18%; left: -8%;
  background: radial-gradient(circle, rgba(28,63,170,.32) 0%, transparent 72%);
}

.hero-orb { display: none; }

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

.parallax-layer { position: absolute; inset: -12% -12%; z-index: 0; will-change: transform; pointer-events: none; }
.layer-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
}
.layer-nodes { display: none; }

.hero-content { position: relative; z-index: 2; padding-top: 104px; width: 100%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: 100%; }
.hero-top { display: flex; align-items: center; gap: 40px; }
.hero-top-text { flex: 1; min-width: 0; }
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.hero-building { width: 100%; max-width: 280px; height: auto; opacity: .92; }
.hero-hex-frame {
  width: 100%; max-width: 380px; aspect-ratio: 1 / 1.05;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  background: var(--cta);
  padding: 8px;
  filter: drop-shadow(var(--shadow-md));
}
.hero-hex {
  width: 100%; height: 100%; display: block; box-sizing: border-box;
  padding: 2px; background: #fff;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  object-fit: cover; object-position: top center;
}
.hero-right-badge {
  position: absolute; bottom: 4%; right: 2%;
  width: 112px; height: 112px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 2px solid var(--cta);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 10px;
  box-shadow: var(--shadow-md);
}
.hero-right-badge svg { width: 22px; height: 22px; color: var(--cta-text); }
.hero-right-badge span { font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); line-height: 1.4; }

.hero-audit-card {
  width: 100%; max-width: 380px; padding: 36px 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.16);
  text-align: center;
}
.hero-audit-card h3 { color: #fff; font-size: 1.7rem; font-weight: 800; line-height: 1.3; margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-audit-card p { color: rgba(255,255,255,.92); font-size: 1.15rem; line-height: 1.6; margin-bottom: 26px; }
.hero-audit-card .btn { width: 100%; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cta-light); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(0,191,255,.4);
  padding: 7px 16px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 8px rgba(0,191,255,.7); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero h1 { color: #fff; font-family: var(--font-heading); font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: 0; max-width: 18ch; margin-bottom: .4em; }
.error-code { font-family: var(--font-heading); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; line-height: 1; color: var(--cta); margin-bottom: .1em; }
.hero h1::after {
  content: '';
  display: block;
  width: 72px; height: 3px;
  background: linear-gradient(90deg, var(--cta), var(--cta-light));
  border-radius: 2px;
  margin-top: 22px;
}
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 54ch; margin-bottom: 2em; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; margin-bottom: 8px; }
.tag-pill {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--cta-light);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 68px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.16);
}
.stats-band { background: var(--primary-dark); padding: 50px 0; }
.stats-band .hero-stats { margin-top: 0; padding-top: 0; border-top: none; }
.stat .num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700;
  color: #fff;
}
.stat .label { color: rgba(255,255,255,.72); font-size: .84rem; margin-top: 4px; }

/* ---------------- Post slider (Acasa / Blog) ---------------- */
.post-slider {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  isolation: isolate;
}
.post-slider.hero-page { min-height: 46vh; }
.post-slider__slide {
  position: absolute; inset: 0;
  background-color: var(--primary);
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
  display: flex; align-items: center;
}
.post-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.post-slider__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(6,12,24,.85) 0%, rgba(16,30,54,.55) 100%);
}
.post-slider__content { position: relative; z-index: 2; padding-top: 104px; width: 100%; }
.post-slider__content h1 {
  color: #fff; font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 20ch; margin-bottom: .4em;
}
.post-slider__content .lead { color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 1.6em; }
.post-slider__dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 8px;
}
.post-slider__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.post-slider__dot.is-active { background: var(--cta); transform: scale(1.3); }
.post-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.post-slider__arrow:hover { background: rgba(255,255,255,.2); }
.post-slider__arrow.prev { left: 24px; }
.post-slider__arrow.next { right: 24px; }
@media (max-width: 768px) {
  .post-slider__content { padding-top: 96px; }
  .post-slider__arrow { display: none; }
}

.breadcrumb { color: rgba(255,255,255,.65); font-size: .86rem; margin-bottom: 16px; }
.breadcrumb b { color: #fff; }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ---------------- Sections ---------------- */
section { position: relative; padding: 20px 0; }
.section-tight { padding: 76px 0; }
.section-header { max-width: 640px; margin: 0 0 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink); position: relative; padding-bottom: 18px; }
.section-header h2::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--cta), var(--cta-light));
  border-radius: 2px;
}
.section-header.center h2::after { left: 50%; transform: translateX(-50%); }
.kicker {
  display: inline-block; color: var(--cta-text); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.section-alt { background: var(--bg-alt); position: relative; }
.section-alt::before, .section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,191,255,.35), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

/* ---------------- Alternanță secțiuni întunecate ---------------- */
.section-dark { background: var(--bg-deep); position: relative; }
.section-dark .kicker { color: var(--cta-light); }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header > p { color: rgba(255,255,255,.68); }
.section-dark > .container > p { color: rgba(255,255,255,.68); }

.section-dark.faq-section {
  background-image:
    radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.5px),
    radial-gradient(circle at 15% 20%, rgba(28,63,170,.4), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(0,191,255,.28), transparent 55%);
  background-size: 24px 24px, auto, auto;
  background-position: 0 0, 0 0, 0 0;
  background-color: var(--bg-deep);
}
.section-dark.faq-section::before, .section-dark.faq-section::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }
.section-dark .faq-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section-dark .faq-item summary { color: #fff; }
.section-dark .faq-item[open] summary { color: var(--cta-light); }
.section-dark .faq-item:hover { border-color: rgba(0,191,255,.5); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.section-dark .faq-item[open] { border-color: var(--cta); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.section-dark .faq-item p { color: rgba(255,255,255,.68); }

.muted-note { color: var(--muted); }
.section-dark .muted-note { color: rgba(255,255,255,.68); }

/* ---------------- Icon strip (banda cu dungi aurii) ---------------- */
.icon-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0F172A, #1C3FAA, #7C3AED, #770662, #0F172A);
  background-size: 300% 300%;
  animation: iconStripFlow 14s ease infinite;
  border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
}
@keyframes iconStripFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.icon-strip-row { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; flex-wrap: wrap; }
.icon-strip-item { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 180px; padding: 10px 22px; position: relative; }
.icon-strip-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.5), transparent);
}
.icon-metal-badge {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f6f8fb 0%, #b8c2d1 22%, #eef1f6 42%, #838fa3 62%, #f6f8fb 82%, #c9d1de 100%);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.95),
    inset 0 -3px 4px rgba(0,0,0,.3),
    0 3px 10px rgba(0,0,0,.4);
}
.icon-metal-badge::after {
  content: ''; position: absolute; top: 6%; left: 14%; width: 42%; height: 28%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), transparent);
  border-radius: 50%; filter: blur(1px);
  pointer-events: none;
}
.icon-strip-icon { width: 24px; height: 24px; color: #3a4658; flex-shrink: 0; stroke-width: 2; position: relative; z-index: 1; }
.icon-strip-item span { font-size: .82rem; font-weight: 700; color: #fff; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }

/* ---------------- Grids / Cards ---------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6,12,24,.06);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cta), var(--cta-light), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0,191,255,.4);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,191,255,.15) inset;
}
.card:hover::before { opacity: 1; }
.card:hover .icon-box { transform: scale(1.1); }

.post-card { padding: 0; overflow: hidden; min-height: 320px; }
.post-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.post-card-title { 
  color:#FFF; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: 18px; background-color: #101826; opacity: 0.8; 
   
}

.icon-box {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(0,191,255,.18), rgba(0,191,255,.05));
  border: 1px solid rgba(0,191,255,.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--cta-text);
  transition: transform .3s ease;
}
.icon-box svg { width: 34px; height: 34px; stroke-width: 2.1; }

.card h3 { font-size: 1.1rem; margin-bottom: .5em;  }

.card h3:hover {color:#099FFF;  }

.card p { margin-bottom: 0; font-size: .93rem; }

.feature-list li {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
  font-size: .92rem; color: var(--muted);
}
.feature-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--cta-text); margin-top: 2px; }

/* ---------------- Pitch: ai site / nu ai site ---------------- */
.pitch-card { display: flex; flex-direction: column; }
.pitch-card p { margin-bottom: 16px; }
.pitch-card .feature-list { margin-bottom: 24px; }
.pitch-card .btn { align-self: flex-start; }

.pitch-section {
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.5px);
  background-size: 24px 24px;
  background-color: var(--bg-deep);
}
.pitch-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.pitch-section .section-header p { font-size: 1.25rem; line-height: 1.6; }
.pitch-section .kicker { font-size: .95rem; }
.pitch-section .pitch-card h3 { font-size: 1.5rem; }
.pitch-section .pitch-card > p { font-size: 1.12rem; line-height: 1.65; }
.pitch-section .feature-list li { font-size: 1.08rem; }
.pitch-section .btn { font-size: 1.05rem; padding: 14px 28px; }

.pitch-section .pitch-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pitch-section .pitch-card:hover { border-color: rgba(0,191,255,.4); }
.pitch-section .pitch-card .icon-box { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: var(--cta-light); }
.pitch-section .pitch-card h3 { color: #fff; }
.pitch-section .pitch-card p { color: rgba(255,255,255,.78); }
.pitch-section .feature-list li { color: rgba(255,255,255,.85); }
.pitch-section .feature-list svg { color: var(--cta-light); }

/* ---------------- Pricing cards ---------------- */
.pricing-card {
  display: flex; flex-direction: column; text-align: left;
  background: var(--bg-deep); border-color: rgba(255,255,255,.12);
}
.pricing-card--featured {
  background: linear-gradient(160deg, #1C3FAA 0%, #0F172A 65%);
  border-color: var(--cta); box-shadow: var(--shadow-md); transform: translateY(-8px);
}
.pricing-card--featured::before { opacity: 1; }
.pricing-badge {
  display: inline-block; align-self: flex-start;
  background: var(--grad-primary); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
h3.pricing-name { font-size: 1.6rem; margin-bottom: .3em; color: #fff; }
.pricing-desc { font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.pricing-price .from { font-size: .8rem; color: rgba(255,255,255,.6); }
.pricing-price .amount { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: #fff; }
.pricing-price .currency { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.6); }
.pricing-card .feature-list { flex: 1; margin-bottom: 24px; }
.pricing-card .feature-list li { color: rgba(255,255,255,.75); }
.pricing-card .feature-list svg { color: var(--cta-light); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.pricing-card .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--cta); color: #fff; }

/* ---------------- Process timeline ---------------- */
.process-timeline { max-width: 720px; margin: 0 auto; position: relative; }
.process-timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 0;
  border-left: 2px dashed var(--border-strong);
}
.process-step { display: flex; gap: 24px; position: relative; padding-bottom: 40px; }
.process-step:last-child { padding-bottom: 0; }
.process-step-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--primary);
  position: relative; z-index: 1;
}
.process-step:nth-child(even) .process-step-num { border-color: var(--cta); color: var(--cta-text); }
.process-step-body { padding-top: 10px; }
.process-step-body h3 { margin-bottom: .3em; font-size: 1.35rem; }
.process-step-body p { margin-bottom: 0; font-size: 1.1rem; }

@media (max-width: 640px) {
  .process-timeline::before { left: 21px; }
  .process-step { gap: 16px; }
  .process-step-num { width: 44px; height: 44px; font-size: .9rem; }
}

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------------- Problem / Solution strip ---------------- */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.strip-col span.tag { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 14px; }
.strip-col.negative span.tag { color: #850909; }
.strip-col.positive span.tag { color: #059669; }
.strip-col li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .93rem; color: var(--muted); }
.strip-col.positive li { color: var(--foreground); }
.strip-col .mark { flex-shrink: 0; margin-top: 1px; }
.strip-col.negative .mark { color: #b30b0b; }
.strip-col.positive .mark { color: #059669; }

.problem-solution {
  position: relative;
  padding: 70px 0;
  background-image: linear-gradient(rgba(6,10,20,.5), rgba(6,10,20,.5)), url('../img/portfolio/golden-pcb.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}
.problem-solution .strip-col span.tag { font-size: 1.15rem; }
.problem-solution .strip-col.negative span.tag { color: #ff7a7a; }
.problem-solution .strip-col.positive span.tag { color: #4ade80; }
.problem-solution .strip-col li { font-size: 1.6rem; font-weight: 700; line-height: 1.5; color: rgba(255,255,255,.94); }
.problem-solution .strip-col.positive li { color: #fff; }
.problem-solution .strip-col .mark { font-weight: 800; font-size: 1.25em; }
.problem-solution .strip-col.negative .mark { color: #ff7a7a; }
.problem-solution .strip-col.positive .mark { color: #4ade80; }
@media (max-width: 900px) {
  .problem-solution { background-attachment: scroll, scroll; }
}

/* ---------------- Values (About) ---------------- */
.value-card { text-align: left; border-color: rgba(255,255,255,.22); }
.value-card h3 { color: #fff; }
.value-card p { color: rgba(255,255,255,.85); }
.value-card .icon-box {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  animation: valueFloat 3s ease-in-out infinite;
}
.value-card:nth-child(1) { background: linear-gradient(145deg, #F00FFF, #0e0563); }
.value-card:nth-child(2) { background: linear-gradient(145deg, #1C3FAA, #3C5FCC); }
.value-card:nth-child(3) { background: linear-gradient(145deg, #059669, #10B981); }
.value-card:nth-child(2) .icon-box { animation-delay: .3s; }
.value-card:nth-child(3) .icon-box { animation-delay: .6s; }

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

/* ---------------- Colored, animated cards (reusable) ---------------- */
@keyframes cardGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.card-tint-1, .card-tint-2, .card-tint-3, .project-card-tint {
  color: #fff; border-color: rgba(255,255,255,.22);
  background-size: 200% 200%;
  animation: cardGradientShift 6s ease infinite;
}
.card-tint-1 h3, .card-tint-2 h3, .card-tint-3 h3, .project-card-tint h3 { color: #fff; }
.card-tint-1 p, .card-tint-2 p, .card-tint-3 p, .project-card-tint p { color: rgba(255,255,255,.85); }
.card-tint-1 .icon-box, .card-tint-2 .icon-box, .card-tint-3 .icon-box {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff;
}
.card-tint-1 { background-image: linear-gradient(120deg, #880b0b, #9b0707, #1a6611, #59b110); }
.card-tint-2 { background-image: linear-gradient(120deg, #1C3FAA, #0F172A, #3C5FCC, #1C3FAA); }
.card-tint-3 { background-image: linear-gradient(120deg, #059669, #0F172A, #10B981, #059669); }
.card-tint-2 { animation-delay: .8s; }
.card-tint-3 { animation-delay: 1.6s; }

.project-card-tint {
  background-image: linear-gradient(120deg, var(--proj-color, #1c3faa), #0F172A, var(--proj-color, #1c3faa));
}
.project-card-tint .tag { color: #fff !important; background: rgba(255,255,255,.2); padding: 3px 12px; border-radius: 999px; display: inline-block; }

.testimonial-author { color: #fff; font-weight: 600; font-size: .9rem; }
.testimonial-role { color: rgba(255,255,255,.7); font-weight: 400; }

/* ---------------- Twitch-style fluid gradient cards ---------------- */
@keyframes twitchFluid {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
.card-twitch {
  color: #fff; border-color: rgba(255,255,255,.18);
  background: linear-gradient(135deg, #6441A5 0%, #9146FF 25%, #772CE8 50%, #4B2E83 75%, #9146FF 100%);
  background-size: 300% 300%;
  animation: twitchFluid 9s ease infinite;
  animation-delay: calc(var(--i, 0) * .35s);
}
.card-twitch h3 { color: #fff; }
.card-twitch p { color: rgba(255,255,255,.85); }
.card-twitch .icon-box {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); color: #fff;
  animation: valueFloat 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .2s);
}
.card-twitch:hover { border-color: #fff; box-shadow: 0 16px 36px rgba(119,44,232,.45); }

.servicii-parallax {
  position: relative;
  background-image: linear-gradient(rgba(6,10,20,.55), rgba(6,10,20,.55)), url('../img/portfolio/servers room.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}
.servicii-parallax .card-twitch {
  background: rgba(255,255,255,.06);
  animation: none;
  border-color: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.servicii-parallax .card-twitch .icon-box { transition: transform .3s ease, color .3s ease; }
.servicii-parallax .card-twitch:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255,255,255,.12);
  border-color: rgba(0,191,255,.6);
  box-shadow: 0 20px 45px rgba(0,191,255,.25), 0 0 0 1px rgba(0,191,255,.25) inset;
}
.servicii-parallax .card-twitch:hover .icon-box { transform: scale(1.1); color: var(--cta-light); }

.landing-parallax {
  position: relative;
  background-image: linear-gradient(rgba(6,10,20,.55), rgba(6,10,20,.55)), url('../img/portfolio/mypc2.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}
.landing-parallax .card-twitch {
  background: rgba(255,255,255,.06);
  animation: none;
  border-color: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.landing-parallax .card-twitch .icon-box { transition: transform .3s ease, color .3s ease; }
.landing-parallax .card-twitch:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255,255,255,.12);
  border-color: rgba(0,191,255,.6);
  box-shadow: 0 20px 45px rgba(0,191,255,.25), 0 0 0 1px rgba(0,191,255,.25) inset;
}
.landing-parallax .card-twitch:hover .icon-box { transform: scale(1.1); }
@media (max-width: 900px) {
  .landing-parallax { background-attachment: scroll, scroll; }
}
@media (max-width: 900px) {
  .servicii-parallax { background-attachment: scroll, scroll; }
}

.icon-box-metal {
  background: linear-gradient(135deg, #f6f8fb 0%, #b8c2d1 22%, #eef1f6 42%, #838fa3 62%, #f6f8fb 82%, #c9d1de 100%);
  border-color: rgba(255,255,255,.6);
  color: #3a4658;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.95),
    inset 0 -3px 4px rgba(0,0,0,.3),
    0 3px 10px rgba(0,0,0,.4);
  animation: valueFloat 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .15s);
}
.icon-box-metal::after {
  content: ''; position: absolute; top: 6%; left: 14%; width: 42%; height: 28%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), transparent);
  border-radius: 50%; filter: blur(1px);
  pointer-events: none;
}
.icon-box-metal svg { position: relative; z-index: 1; }

.project-media {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #0A0F1D 0%, #101B30 50%, #0A0F1D 100%);
}
.project-media::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.project-media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, var(--proj-color, #1c3faa) 0%, transparent 62%);
  opacity: .22;
}
.project-media .icon-metal-badge { position: relative; z-index: 1; }

/* ---------------- Portrait + Timeline (About) ---------------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.portrait-frame {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--primary), var(--primary-light));
  box-shadow: var(--shadow-md);
}
.portrait-frame .portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portrait-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.95); border-radius: 14px;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.portrait-badge svg { width: 28px; height: 28px; color: var(--cta-text); flex-shrink: 0; }
.portrait-badge strong { display: block; font-size: .92rem; color: var(--ink); }
.portrait-badge span { font-size: .78rem; color: var(--muted); }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -40px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--cta);
}
.timeline-item .year { color: var(--cta-text); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.timeline-item h4 { margin: 6px 0; font-size: 1.02rem; }

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 380px; margin: 0 auto; }
}

.share-row {
  display: flex; align-items: center; flex-wrap: wrap; background-color: #72cff4; gap: 12px;
  background: var(--bg-alt);
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border);
}
.share-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--primary); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); transform: translateY(-2px); }
.share-btn.is-copied { background: var(--cta); border-color: var(--cta); color: #fff; }

/* ---------------- Post / page body content ---------------- */
.post-body { font-size: 1.02rem; background-color: #FFF; border-radius: var(--radius);}
.post-body h2 { color: var(--ink); font-size: 1.5rem; margin: 0 auto; }
.post-body h3 { color: var(--ink); font-size: 1.2rem; margin: 1.2em 0 .5em; }
.post-body p { color: var(--color-text-muted); margin: 0; padding: 5px 10px; font-size: var(--text-sm); }
.post-body p:has(> br:only-child) { display: none; }
.post-body ul, .post-body ol { list-style: revert; margin: 0 0 1.1em; padding-left: 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body a { color: var(--cta-text); text-decoration: underline; }
.post-body blockquote { border-left: 3px solid var(--cta); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--muted); font-style: italic; }
.post-body img { border-radius: var(--radius); margin: 1.2em 0; }
.post-body h1 { color: var(--ink); font-size: 1.9rem; margin: 0 auto; }
.post-body pre.ql-syntax { background: #1a1a1a; color: #f0f0f0; padding: 1em; border-radius: var(--radius); overflow-x: auto; font-family: monospace; margin: 1.2em 0; }
.post-body .ql-align-center { text-align: center; }
.post-body .ql-align-right { text-align: right; }
.post-body .ql-align-justify { text-align: justify; }
.post-body .ql-indent-1 { padding-left: 3em; }
.post-body .ql-indent-2 { padding-left: 6em; }
.post-body .ql-indent-3 { padding-left: 9em; }
.post-body .ql-indent-4 { padding-left: 12em; }
.post-body .ql-indent-5 { padding-left: 15em; }
.post-body .ql-indent-6 { padding-left: 18em; }
.post-body .ql-indent-7 { padding-left: 21em; }
.post-body .ql-indent-8 { padding-left: 24em; }

.faq-section {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(28,63,170,.07), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(0,191,255,.07), transparent 55%),
    var(--bg-alt);
  overflow: hidden;
}
.faq-section::before, .faq-section::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.faq-section::before { top: 0; }
.faq-section::after { bottom: 0; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.faq-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6,12,24,.08); border-color: rgba(0,191,255,.35); }
.faq-item[open] { border-color: var(--cta); box-shadow: 0 12px 28px rgba(6,12,24,.08); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; list-style: none;
  transition: color .25s ease;
}
.faq-item[open] summary { color: var(--cta-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; margin-left: 16px; font-size: 1.3rem; color: var(--cta-text);
  transition: transform .35s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg) scale(1.1); }
.faq-item p { margin: 14px 0 0; animation: faqReveal .35s ease; }

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- CTA band ---------------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-light));
  padding: 60px 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; top: -80px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(0,191,255,.22); filter: blur(40px);
}
.cta-band::before {
  content: ''; position: absolute; bottom: -100px; left: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.08); filter: blur(44px);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.cta-band-actions { flex-shrink: 0; position: relative; z-index: 1; }
.cta-band .btn-primary { background: var(--grad-primary); color: var(--primary-dark); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: linear-gradient(135deg, #0f172a 30%, #061d64 50%, #0f172a 100%);
  background-size: 400% 400%;
 
  border-top: 1px solid rgba(255,255,255,.08); padding: 72px 0 0; position: relative; overflow: hidden;
} 
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(0,191,255,.5), transparent);
}
.site-footer .particles-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--cta-light); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; font-size: .9rem; }
.footer-col a { color: rgba(255,255,255,.55); transition: color .2s ease; }
.footer-col a:hover { color: var(--cta-light); }
.footer-col .contact-line { display: flex; align-items: flex-start; gap: 10px; }
.footer-col .contact-line span { color: rgba(255,255,255,.7); }
.footer-col .contact-line svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--cta); }
.footer-bottom {
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 8px rgba(0,191,255,.8); display: inline-block; margin-right: 6px; animation: pulse-dot 1.8s ease-in-out infinite; }

/* ---------------- Forms (Contact) ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(6,12,24,.05);
  padding: 22px; display: flex; gap: 14px; margin-bottom: 16px;
}
.info-card .icon-box { margin-bottom: 0; flex-shrink: 0; width: 52px; height: 52px; }
.info-card .icon-box svg { width: 24px; height: 24px; }
.info-card h4 { color: var(--ink); margin-bottom: 4px; font-size: .96rem; }
.info-card p { margin: 0; font-size: .9rem; }

.contact-info-row {
  display: flex; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(6,12,24,.05);
  margin-bottom: 20px;
}
.contact-info-item { flex: 1 1 100%; display: flex; align-items: center; gap: 14px; padding: 20px 22px; position: relative; }
.contact-info-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.contact-info-item .icon-box { width: 52px; height: 52px; margin-bottom: 0; }
.contact-info-item .icon-box svg { width: 24px; height: 24px; }
.contact-info-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.contact-info-value { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.contact-info-value a:hover { color: var(--cta-text); }

.contact-map {
  border-radius: var(--radius); overflow: hidden; line-height: 0;
  border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(6,12,24,.05);
}
.contact-map iframe { display: block; }

.footer-map { margin-top: 16px; border-radius: 10px; overflow: hidden; line-height: 0; }
.footer-map iframe { display: block; filter: grayscale(.3); }

.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(6,12,24,.07);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .84rem; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); background: #fff; color: var(--foreground);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(0,191,255,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.form-msg {
  display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; margin-bottom: 20px;
}
.form-msg.is-visible { display: flex; }

/* ── Cookie notice ─────────────────────────────────────── */
#cookie-notice {
  position: fixed; left: 20px; right: 20px; bottom: -140px;
  z-index: 300; max-width: 640px; margin: 0 auto;
  background: var(--primary); color: rgba(255,255,255,.88);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 20px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transition: bottom .4s ease;
}
#cookie-notice.is-visible { bottom: 20px; }
#cookie-notice p { flex: 1 1 260px; margin: 0; font-size: .88rem; color: inherit; max-width: none; }
#cookie-notice .btn { flex-shrink: 0; }
.form-msg.success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success); }
.form-msg.error { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger); }

/* ── WhatsApp float button ─────────────────────────────── */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 320;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: bottom .3s ease, transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float.has-cookie-notice { bottom: 154px; }

/* ── Chatbot widget ─────────────────────────────────────── */
#chatbot-widget { position: fixed; right: 24px; bottom: 92px; z-index: 320; transition: bottom .3s ease; }
#chatbot-widget.has-cookie-notice { bottom: 222px; }
#chatbot-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
#chatbot-toggle:hover { transform: scale(1.06); }
#chatbot-toggle svg { width: 28px; height: 28px; }
#chatbot-panel {
  position: absolute; right: 0; bottom: 72px;
  width: 340px; max-width: calc(100vw - 32px); max-height: 480px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#chatbot-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chatbot-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--grad-primary); color: #fff; padding: 14px 16px; flex-shrink: 0;
}
.chatbot-header-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.chatbot-header-title svg { width: 20px; height: 20px; }
#chatbot-close { background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.chatbot-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .86rem; line-height: 1.45; }
.chatbot-msg-bot { align-self: flex-start; background: var(--bg-alt); color: var(--foreground); border-bottom-left-radius: 4px; }
.chatbot-msg-user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; flex-shrink: 0; }
.chatbot-quick button {
  border: 1px solid var(--border-strong); background: #fff; color: var(--primary);
  border-radius: 20px; padding: 6px 12px; font-size: .78rem; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.chatbot-quick button:hover { background: var(--primary); color: #fff; }
#chatbot-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
#chatbot-input {
  flex: 1; border: 1.5px solid var(--border-strong); border-radius: 20px; padding: 9px 14px;
  font-size: .86rem; font-family: inherit; color: var(--foreground);
}
#chatbot-input:focus { outline: none; border-color: var(--cta); }
#chatbot-form button[type="submit"] {
  width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--cta); color: #fff;
  cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 480px) {
  #chatbot-widget { right: 16px; }
  .whatsapp-float { right: 16px; }
  #chatbot-panel { right: -8px; }
}

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .strip, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .hero::before, .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }

  .header-inner { flex-wrap: wrap; }
  .main-nav, .header-actions .nav-cta, .header-phone, .header-actions::before { display: none; }
  .nav-toggle { display: block; }

  .main-nav.is-open {
    display: block; flex-basis: 100%; width: 100%;
    background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 24px 30px; margin-top: 20px;
  }
  .main-nav.is-open .mobile-logo { display: flex; margin-bottom: 20px; }
  .main-nav.is-open ul { flex-direction: column; gap: 0; }
  .main-nav.is-open a { font-size: 1.1rem; color: #fff; display: block; padding: 10px 4px; border-radius: 8px; }
  .main-nav.is-open a::after { display: none; }
  .main-nav.is-open a.is-active { background: var(--cta); color: #fff; }
  .main-nav.is-open .nav-cta-mobile { margin-top: 20px; display: inline-flex; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .hero-content, .hero-grid { padding-top: 96px; }
  .grid-3, .grid-2, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 42px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-top { flex-direction: column; text-align: center; gap: 24px; }
  .seal-full { width: 92px; height: 92px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
