/* =========================================================
   ERIXNET - pagină statică extrasă/refăcută din MHTML
   Fișiere:
   - index.html
   - style.css
   - assets/hero-engineering.jpg
   ========================================================= */

:root {
  --bg-dark: #020617;
  --bg-main: #060b18;
  --bg-panel: #0f172a;
  --bg-card: #111c31;
  --bg-card-hover: #16233b;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --text: #e2e8f0;
  --text-soft: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.18);
  --border-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg-main);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

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

p {
  margin: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #0f172a;
  border: 1px solid #334155;
  color: var(--cyan);
  font-family: Chivo, sans-serif;
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: Chivo, sans-serif;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #cbd5e1;
  font-family: Chivo, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--cyan-light);
}

.main-nav .nav-cta {
  padding: 12px 20px;
  color: #020617;
  background: var(--cyan);
}

.main-nav .nav-cta:hover {
  color: #020617;
  background: var(--cyan-light);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
}

.hero-bg,
.hero-overlay,
.blueprint-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-engineering.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.87) 52%, #0f172a 100%),
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.16), transparent 38%);
}

.blueprint-grid {
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-block: 112px 220px;
}

.hero-copy {
  max-width: 880px;
  animation: fadeUp 0.7s ease both;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--cyan);
}

.eyebrow,
.section-label {
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 40px;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Buttons */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: Chivo, sans-serif;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #020617;
}

.btn-primary:hover {
  background: var(--cyan-light);
}

.btn-secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.32);
  background: rgba(2, 6, 23, 0.16);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(2, 6, 23, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Stats */

.stats-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(16px);
}

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

.stat-card {
  min-height: 112px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card strong {
  display: block;
  color: var(--cyan);
  font-family: Chivo, sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.stat-card-long span {
  max-width: 380px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}

/* General sections */

.section {
  padding-block: 112px;
}

.about-section,
.process-section {
  background: var(--bg-dark);
}

.services-section,
.cta-section,
.site-footer {
  background: var(--bg-panel);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 56px;
}

h2 {
  margin: 0;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h2 span {
  display: block;
  color: var(--cyan);
}

.section-intro {
  max-width: 850px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.8;
}

.features-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.features-grid div {
  position: relative;
  padding: 20px 20px 20px 46px;
  color: #e2e8f0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid div::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--cyan);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-weight: 800;
}

.text-link:hover {
  color: #67e8f9;
}

/* Services */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-top: 18px;
  max-width: 900px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: rgba(15, 23, 42, 0.62);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-index {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.service-card h3,
.process-card h3 {
  margin: 32px 0 16px;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service-card p,
.process-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.service-card a {
  margin-top: auto;
  padding-top: 30px;
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-weight: 800;
}

/* Process */

.process-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.process-heading h2 {
  margin-top: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.process-card {
  min-height: 260px;
  padding: 30px;
  background: var(--bg-dark);
}

.process-card span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* CTA */

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding-block: 88px;
  text-align: center;
}

.cta-inner h2 {
  margin-top: 18px;
}

.cta-inner p:not(.section-label) {
  max-width: 700px;
  margin: 24px auto 34px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.8;
}

/* Footer */

.site-footer {
  color: var(--text-soft);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-bottom: 64px;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-grid p {
  max-width: 330px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-grid h4 {
  margin: 0 0 18px;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-grid a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--cyan-light);
}

.contact-list li {
  line-height: 1.45;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 41, 59, 0.95);
}

.footer-bottom-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-inner span:last-child {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Responsive */

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 13px;
  }

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

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

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

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    padding-block: 14px;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .main-nav .nav-cta {
    padding: 9px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 80px 40px;
  }

  .stats-bar {
    position: relative;
  }

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

  .stat-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding-block: 76px;
  }

  .two-column,
  .section-heading {
    display: block;
  }

  .section-label {
    margin-bottom: 18px;
  }

  .features-grid,
  .services-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading .text-link {
    margin-top: 24px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .main-nav {
    display: none;
  }

  .header-inner {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
  }

  .hero-content {
    padding-block: 72px 36px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .stat-card {
    border-right: 0;
  }

  h2 {
    font-size: 36px;
  }

  .service-card,
  .process-card {
    padding: 24px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }
}

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


/* =========================================================
   Pagina Servicii - stiluri suplimentare
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(6, 182, 212, 0.18), transparent 32%),
    radial-gradient(circle at 82% 28%, rgba(34, 211, 238, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.78));
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 92px 80px;
}

.page-kicker {
  margin-bottom: 22px;
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 1080px;
  margin: 0;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero h1 span {
  color: var(--cyan);
}

.page-hero p:not(.page-kicker) {
  max-width: 820px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.service-nav-section {
  padding-block: 44px;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-nav-grid a {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: #fff;
  background: rgba(15, 23, 42, 0.86);
  font-family: Chivo, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.service-nav-grid a::after {
  content: "→";
  color: var(--cyan);
  font-size: 20px;
}

.service-nav-grid a:hover {
  color: var(--cyan-light);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.service-details-section {
  padding-block: 86px;
  background: var(--bg-dark);
}

.service-detail-list {
  display: grid;
  gap: 28px;
}

.service-detail-card {
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 28, 49, 0.9));
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.service-detail-card:nth-child(even) {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.94));
}

.service-detail-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-number::before {
  content: "/";
  color: rgba(148, 163, 184, 0.55);
}

.service-detail-card h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.service-short {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.65;
}

.service-detail-body h3 {
  margin: 0 0 18px;
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-detail-body p {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.deliverables li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 14px 14px 42px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid var(--border);
  line-height: 1.35;
}

.deliverables li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--cyan);
  font-weight: 900;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 32px;
}

.detail-actions .text-link {
  margin-top: 0;
}

.service-cta-band {
  background: var(--bg-panel);
  border-top: 1px solid rgba(30, 41, 59, 0.95);
}

@media (max-width: 1080px) {
  .service-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-hero-inner {
    padding-block: 72px 58px;
  }

  .service-nav-grid,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .service-nav-grid a {
    min-height: 78px;
  }

  .service-detail-card {
    padding: 24px;
  }
}


/* =========================================================
   Pagina Despre noi - stiluri suplimentare
   ========================================================= */

.about-page-hero .page-hero-inner {
  padding-block: 96px 72px;
}

.about-story-section {
  background: var(--bg-dark);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.about-image-card {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-copy h2 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.rich-text {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.values-section {
  background: var(--bg-panel);
}

.values-title {
  max-width: 760px;
  margin-top: 18px;
  margin-bottom: 56px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.value-card {
  min-height: 280px;
  padding: 32px;
  background: rgba(2, 6, 23, 0.82);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--cyan-light);
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-family: Chivo, sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.value-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.value-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.about-stats-section {
  background: var(--bg-dark);
  padding-block: 82px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-stats-grid article {
  padding: 42px 28px;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.about-stats-grid strong {
  display: block;
  color: var(--cyan);
  font-family: Chivo, sans-serif;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
}

.about-stats-grid span {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-cta-band {
  margin-top: 0;
}

.about-cta-inner h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(30px, 5vw, 52px);
}

.about-cta-inner .btn {
  margin-top: 34px;
}

@media (max-width: 1080px) {
  .about-story-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story-copy {
    align-self: start;
  }
}

@media (max-width: 720px) {
  .about-story-grid,
  .values-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-image-card {
    aspect-ratio: 16 / 11;
  }

  .value-card {
    min-height: auto;
  }
}


/* =========================================================
   Pagina Portofoliu - stiluri suplimentare
   ========================================================= */

.portfolio-page-hero {
  background: var(--bg-dark);
}

.portfolio-hero-inner {
  padding-block: 98px 84px;
}

.portfolio-status-section {
  background: var(--bg-panel);
}

.portfolio-status-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at 12% 10%, rgba(6, 182, 212, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.94));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.portfolio-status-label {
  width: fit-content;
  height: fit-content;
  padding: 10px 14px;
  color: var(--cyan-light);
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(6, 182, 212, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-status-card h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.portfolio-status-card p {
  max-width: 780px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.portfolio-status-card .btn {
  margin-top: 32px;
}

.portfolio-categories-section {
  background: var(--bg-dark);
}

.portfolio-heading {
  align-items: flex-end;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.portfolio-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: rgba(15, 23, 42, 0.82);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.portfolio-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.portfolio-index {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portfolio-card h3 {
  margin: 30px 0 16px;
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.portfolio-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.portfolio-card a {
  margin-top: auto;
  padding-top: 28px;
  color: var(--cyan-light);
  font-family: Chivo, sans-serif;
  font-weight: 800;
}

.portfolio-card a:hover {
  color: #67e8f9;
}

.portfolio-cta-band {
  border-top: 1px solid rgba(30, 41, 59, 0.95);
}

@media (max-width: 1080px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .portfolio-status-card,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: auto;
    padding: 24px;
  }
}

/* =========================================================
   Pagina Despre noi - secțiune Metodologia ERIXNET
   Clasele sunt prefixate pentru a nu afecta celelalte pagini.
   ========================================================= */

.methodology-teaser-section {
  position: relative;
  overflow: hidden;
  padding-block: 84px;
  background:
    radial-gradient(circle at 16% 18%, rgba(6, 182, 212, 0.16), transparent 32%),
    linear-gradient(135deg, #06101f 0%, #0f172a 55%, #0a1424 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.14);
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
}

.methodology-teaser-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(34, 211, 238, 0.025),
    0 0 0 116px rgba(34, 211, 238, 0.018);
  pointer-events: none;
}

.methodology-teaser-section .blueprint-grid {
  opacity: 0.38;
}

.methodology-teaser-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.methodology-teaser-copy h2 {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
}

.methodology-intro {
  max-width: 700px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.methodology-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
  margin-top: 34px;
}

.methodology-caption {
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.methodology-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.36);
  box-shadow: var(--shadow);
}

.methodology-step {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px;
  background: rgba(15, 23, 42, 0.72);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.methodology-step:hover {
  background: rgba(22, 35, 59, 0.96);
  transform: translateY(-2px);
}

.methodology-step span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.methodology-step strong {
  color: #fff;
  font-family: Chivo, sans-serif;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.15;
}

.methodology-arrow {
  width: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan-light);
  background: rgba(2, 6, 23, 0.72);
  border-left: 1px solid rgba(148, 163, 184, 0.12);
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  font-family: Chivo, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .methodology-teaser-grid {
    grid-template-columns: 1fr;
  }

  .methodology-flow {
    max-width: 900px;
  }
}

@media (max-width: 720px) {
  .methodology-teaser-section {
    padding-block: 66px;
  }

  .methodology-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .methodology-actions .btn {
    width: 100%;
  }

  .methodology-caption {
    text-align: center;
  }

  .methodology-flow {
    grid-template-columns: 1fr;
  }

  .methodology-step {
    min-height: auto;
    gap: 12px;
  }

  .methodology-arrow {
    width: 100%;
    height: 34px;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transform: rotate(90deg);
  }
}

