:root {
  --red: #e80200;
  --dark: #05151b;
  --beige: #efebe6;
  --panel: #1e2d32;
  --panel2: #374449;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--dark);
  color: #fff;
  font-weight: 300;
}

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

/* header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: linear-gradient(rgba(5,21,27,.92), rgba(5,21,27,.75));
}
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.logo img { height: 64px; display: block; }
.logo-tagline { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 300; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a, .main-nav button {
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
}
.main-nav a:hover, .main-nav button:hover { color: var(--red); }
.lang-switch { border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; }
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 340px;
  background: var(--panel);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: .5px;
}
.dropdown-menu a:hover { background: var(--dark); color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* hero */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { max-width: 1100px; margin: 0 auto; padding: 120px 40px 0; width: 100%; }
.hero-number { font-size: 100px; color: var(--red); font-weight: 400; line-height: 1; opacity: .9; }
.hero-logo { height: 74px; margin: 18px 0 6px; }
.hero-title {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  margin: 12px 0 18px;
}
.hero-brand { font-size: clamp(24px, 3vw, 40px); font-weight: 700; color: var(--red); margin-bottom: 22px; line-height: 1.2; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.7); max-width: 640px; line-height: 1.7; }
.hero-arrows { position: absolute; bottom: 0; right: 0; z-index: 5; display: flex; }
.hero-arrow {
  width: 64px; height: 64px;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.hero-arrow.prev { background: var(--panel); }
.hero-arrow.next { background: var(--panel2); }
.hero-arrow:hover { background: var(--red); }

/* about */
.about-section { background: var(--dark); padding: 110px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }
.about-label {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.about-title { font-size: 40px; font-weight: 400; margin-bottom: 34px; }
.about-body p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.8; margin-bottom: 20px; white-space: pre-line; }

/* about con foto di sfondo (leggibilità garantita da overlay scuro) */
.about-section-bg {
  background:
    linear-gradient(rgba(5,21,27,.9), rgba(5,21,27,.86)),
    url('../images/dac/about-bg.jpg') center/cover no-repeat fixed;
}
.about-intro { font-size: 19px; font-weight: 400; color: rgba(255,255,255,.92); line-height: 1.7; margin-bottom: 28px; border-left: 3px solid var(--red); padding-left: 18px; }
.about-ai { margin-top: 60px; }
.about-ai-title { font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.about-ai-intro { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.8; margin-bottom: 28px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.about-pillar { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 28px; backdrop-filter: blur(2px); }
.about-pillar h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: #fff; }
.about-pillar-tag { color: var(--red); font-size: 13px; font-style: italic; margin-bottom: 14px; }
.about-pillar p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.72); line-height: 1.75; margin: 0; }
.about-outro { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.85); line-height: 1.8; }
@media (max-width: 800px) { .about-pillars { grid-template-columns: 1fr; } .about-section-bg { background-attachment: scroll; } }

/* services */
.services-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 110px 40px;
}
.section-label { font-size: 24px; margin-bottom: 46px; }
.section-label.red { color: var(--red); }
.cards { display: grid; gap: 26px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(5, 21, 27, 0.5);
  padding: 26px 22px 30px;
  position: relative;
  transition: background .3s, transform .3s;
  border-bottom: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover { background: var(--dark); border-bottom-color: #abb8c3; }
.card-number { font-size: 80px; font-weight: 500; color: rgba(255,255,255,.15); line-height: 1; }
.card-image img { width: 100%; height: 150px; object-fit: cover; display: block; }
.card-icon { font-size: 52px; color: var(--red); }
.card-title { font-size: 24px; font-weight: 500; line-height: 1.35; flex: 1; }

/* buttons */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 0;
  cursor: pointer;
  transition: background .3s;
}
.btn-red:hover { background: #b70100; }
.btn-red.small { padding: 11px 22px; align-self: flex-start; }

/* network hub */
.network-section { background: var(--dark); padding: 100px 40px; }
.network-sub { max-width: 720px; margin: -20px auto 50px; text-align: center; font-weight: 300; font-size: 18px; color: rgba(255,255,255,.75); }
.network-section .section-label { text-align: center; }
.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.network-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  padding: 22px 24px;
  transition: border-color .3s, transform .3s;
}
.network-card:hover { border-color: var(--red); transform: translateY(-3px); }
.network-icon { color: var(--red); font-size: 26px; width: 34px; text-align: center; flex-shrink: 0; }
.network-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.network-title { font-size: 16px; font-weight: 400; }
.network-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.4; }
.network-arrow { color: rgba(255,255,255,.4); font-size: 13px; }

/* ad slot */
.ad-slot { background: var(--dark); padding: 0 40px 70px; }
.ad-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.ad-label { display: block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.ad-inner img { max-width: 100%; max-height: 160px; display: inline-block; }
.ad-placeholder {
  display: block;
  border: 1px dashed rgba(255,255,255,.25);
  padding: 34px 20px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  transition: border-color .3s, color .3s;
}
.ad-placeholder:hover { border-color: var(--red); color: #fff; }

/* footer */
.site-footer { background: var(--dark); padding: 110px 40px 40px; text-align: center; }
.footer-icon { height: 70px; margin-bottom: 30px; }
.footer-logo { height: 90px; margin-bottom: 16px; }
.footer-tagline { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 300; margin-bottom: 40px; }
.footer-title { font-size: clamp(34px, 5vw, 60px); font-weight: 400; margin-bottom: 34px; }
.footer-contacts { display: flex; justify-content: center; gap: 60px; margin: 60px 0 70px; flex-wrap: wrap; }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 30px; font-weight: 300; color: rgba(255,255,255,.7); }
.footer-contact .white { color: #fff; }
.footer-contact i { color: var(--red); font-size: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
  gap: 10px;
}
.credit a { color: var(--red); }

/* contact */
.page-offset { height: 90px; }
.contact-section {
  padding: 150px 40px 110px;
  background:
    linear-gradient(rgba(5,21,27,.92), rgba(5,21,27,.88)),
    url('../images/dac/contact-bg.jpg') center/cover no-repeat fixed;
}
@media (max-width: 800px) { .contact-section { background-attachment: scroll; } }
.contact-inner { max-width: 1080px; }
.contact-intro { margin-bottom: 50px; }
.contact-kicker { display: block; font-size: 12px; letter-spacing: 4px; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.contact-title { font-size: 48px; font-weight: 300; margin: 0; position: relative; padding-bottom: 22px; }
.contact-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--red); }
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); padding: 32px 28px; border-radius: 10px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.contact-info-item + .contact-info-item { border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px; }
.contact-info-icon { flex: 0 0 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(232,2,0,.12); color: var(--red); font-size: 18px; }
.contact-info-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-info-label { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.contact-info-text a, .contact-info-text span:not(.contact-info-label) { color: #fff; font-size: 16px; text-decoration: none; word-break: break-word; }
.contact-info-text a:hover { color: var(--red); }
.contact-form-panel { background: var(--panel); border: 1px solid rgba(255,255,255,.08); padding: 38px 36px; border-radius: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.contact-form .req { color: var(--red); }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  color: #fff;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(255,255,255,.28); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,2,0,.18); background: rgba(255,255,255,.06); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-submit { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-confirmation { background: var(--panel); border-left: 4px solid var(--red); padding: 24px; font-size: 17px; display: flex; align-items: center; gap: 14px; }
.form-confirmation i { color: var(--red); font-size: 24px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-title { font-size: 36px; }
  .contact-form-panel { padding: 28px 22px; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* eco hero tagline */
.eco-hero-tagline { margin-top: 14px; font-size: 22px; font-weight: 500; letter-spacing: .04em; color: var(--red); text-transform: uppercase; }
@media (max-width: 640px) { .eco-hero-tagline { font-size: 17px; } }

/* eco about (Alexandros Ecosystem / ERMIS OS intro) */
.eco-about { max-width: 860px; margin-bottom: 46px; }
.eco-about-body { margin-top: 18px; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.82); }
.eco-about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.eco-about-col { background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 30px 28px; }
.eco-about-col h3 { font-size: 18px; font-weight: 500; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eco-about-col h3 i { color: var(--red); }
.eco-about-col p { color: rgba(255,255,255,.78); line-height: 1.7; font-size: 15px; }
.eco-offer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.eco-offer-list li { position: relative; padding-left: 22px; color: rgba(255,255,255,.78); line-height: 1.6; font-size: 15px; }
.eco-offer-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (max-width: 860px) {
  .eco-about-cols { grid-template-columns: 1fr; }
}

/* btn-outline */
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  transition: border-color .3s, background .3s;
}
.btn-outline:hover { border-color: var(--red); background: rgba(232,2,0,.08); }

/* ========================
   ECOSYSTEM PAGE
   ======================== */

/* eco shared */
.eco-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 18px;
}
.eco-section { padding: 110px 40px; }
.eco-section-head { text-align: center; margin-bottom: 70px; }
.eco-section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 300; line-height: 1.2; margin-bottom: 18px; }
.eco-section-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.65); max-width: 680px; margin: 0 auto; line-height: 1.7; }

/* eco hero */
.eco-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.eco-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #05151b 0%, #0e2830 40%, #1a0000 100%);
}
.eco-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(232,2,0,.18) 0%, transparent 60%);
}
.eco-hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 160px 40px 100px;
  width: 100%;
}
.eco-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(232,2,0,.5);
  color: var(--red);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 30px;
}
.eco-hero-title {
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 26px;
  letter-spacing: -1px;
}
.eco-hero-sub {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.eco-hero-line {
  width: 60px; height: 3px;
  background: var(--red);
}

/* architecture layers */
.eco-layers-section { background: #080f12; }
.eco-layers { display: flex; flex-direction: column; gap: 3px; max-width: 1100px; margin: 0 auto; }
.eco-layer {
  display: flex; align-items: center; gap: 32px;
  background: var(--panel);
  padding: 32px 36px;
  border-left: 4px solid var(--layer-color, var(--red));
  transition: background .3s, transform .3s;
}
.eco-layer:hover { background: #273035; transform: translateX(6px); }
.eco-layer-num { font-size: 64px; font-weight: 500; color: rgba(255,255,255,.08); line-height: 1; width: 80px; flex-shrink: 0; }
.eco-layer-icon { font-size: 32px; color: var(--layer-color, var(--red)); width: 48px; text-align: center; flex-shrink: 0; }
.eco-layer-body h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.eco-layer-body p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.6; }

/* agents grid */
.eco-agents-section { background: var(--dark); }
.eco-agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.eco-agent-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s, transform .3s;
}
.eco-agent-card:hover { border-color: rgba(232,2,0,.4); transform: translateY(-4px); }
.eco-agent-card--highlight {
  border-color: rgba(232,2,0,.35);
  background: linear-gradient(135deg, var(--panel) 60%, rgba(232,2,0,.06));
}
.eco-agent-card--highlight .eco-agent-icon { color: var(--red); }
.eco-agent-icon { font-size: 34px; color: rgba(255,255,255,.55); }
.eco-agent-card h3 { font-size: 17px; font-weight: 500; line-height: 1.3; }
.eco-agent-card p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.6); line-height: 1.65; flex: 1; }
.eco-agent-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 500;
  transition: color .3s;
}
.eco-agent-link:hover { color: #fff; }

/* ERMIS-OS section */
.eco-ermis-section { background: #0a1d24; padding: 0; }
.eco-ermis-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 480px;
  min-height: 600px;
}
.eco-ermis-text {
  padding: 100px 80px 100px 60px;
  display: flex; flex-direction: column; gap: 20px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.eco-ermis-lead { font-size: 20px; font-weight: 300; color: rgba(255,255,255,.75); line-height: 1.6; }
.eco-ermis-list { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.eco-ermis-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.5; }
.eco-ermis-list li i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.eco-ermis-diagram {
  padding: 60px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.eco-diag-center {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--red);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.eco-diag-center i { font-size: 28px; }
.eco-diag-spokes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: 100%;
}
.eco-diag-spoke {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 400; text-align: center; color: rgba(255,255,255,.75);
  transition: border-color .3s;
}
.eco-diag-spoke:hover { border-color: var(--red); }
.eco-diag-spoke i { font-size: 20px; color: var(--red); }

/* products grid */
.eco-products-section { background: #080f12; }
.eco-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.eco-product-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  padding: 24px 26px;
  transition: border-color .3s, transform .3s;
}
.eco-product-card:hover { border-color: var(--red); transform: translateY(-3px); }
.eco-product-icon { font-size: 28px; color: var(--red); width: 36px; text-align: center; flex-shrink: 0; }
.eco-product-body { flex: 1; }
.eco-product-body h3 { font-size: 15px; font-weight: 400; line-height: 1.4; }
.eco-product-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.4; margin-top: 4px; }
.eco-product-arrow { color: rgba(255,255,255,.3); font-size: 13px; flex-shrink: 0; }

/* CTA */
.eco-cta-section { background: var(--red); padding: 100px 40px; }
.eco-cta-inner { text-align: center; }
.eco-cta-inner h2 { font-size: clamp(26px, 4vw, 46px); font-weight: 300; margin-bottom: 18px; }
.eco-cta-inner p { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.85); margin-bottom: 40px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.eco-cta-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.eco-cta-section .btn-red { background: #fff; color: var(--red); }
.eco-cta-section .btn-red:hover { background: rgba(255,255,255,.85); }
.eco-cta-section .btn-outline { border-color: rgba(255,255,255,.7); }
.eco-cta-section .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ========================
   ERMIS-OPS PAGE
   ======================== */

/* pillars */
.ermis-pillars-section { background: #080f12; }
.ermis-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.ermis-pillar {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s, transform .3s;
}
.ermis-pillar:hover { border-color: rgba(232,2,0,.4); transform: translateY(-4px); }
.ermis-pillar-icon { font-size: 30px; color: var(--red); }
.ermis-pillar h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.ermis-pillar p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.6); line-height: 1.65; }

/* blueprint flows */
.ermis-bp-1 { background: var(--dark); }
.ermis-bp-2 { background: #0a1d24; }
.ermis-flow { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; }
.ermis-step {
  position: relative;
  display: flex; gap: 28px;
  padding: 0 0 8px;
}
.ermis-step-num {
  font-size: 40px; font-weight: 500;
  color: rgba(255,255,255,.14);
  line-height: 1;
  width: 64px; flex-shrink: 0;
  text-align: right;
  padding-top: 24px;
}
.ermis-step-line {
  width: 2px; flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(232,2,0,.6), rgba(232,2,0,.15));
  position: relative;
}
.ermis-step-line::before {
  content: '';
  position: absolute;
  top: 32px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232,2,0,.2);
}
.ermis-step:last-child .ermis-step-line { background: linear-gradient(to bottom, rgba(232,2,0,.6), transparent 70%); }
.ermis-step-body {
  flex: 1;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  padding: 24px 28px;
  margin-bottom: 14px;
  transition: border-color .3s, transform .3s;
}
.ermis-step:hover .ermis-step-body { border-color: rgba(232,2,0,.4); transform: translateX(6px); }
.ermis-step--gate .ermis-step-body {
  border-color: rgba(232,2,0,.35);
  background: linear-gradient(135deg, var(--panel) 60%, rgba(232,2,0,.07));
}
.ermis-step-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.ermis-step-top h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.ermis-step-agent {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.18);
  padding: 5px 12px;
  border-radius: 999px;
}
.ermis-step-agent i { color: var(--red); }
.ermis-step-gatebadge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  color: var(--red);
  border: 1px solid rgba(232,2,0,.5);
  padding: 5px 12px;
  border-radius: 999px;
}
.ermis-step-body > p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.65; }

/* connectors grid */
.ermis-conn-section { background: #080f12; }
.ermis-conn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; }
.ermis-conn {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 400; text-align: center; color: rgba(255,255,255,.75);
  transition: border-color .3s, transform .3s;
}
.ermis-conn:hover { border-color: var(--red); transform: translateY(-3px); }
.ermis-conn i { font-size: 26px; color: var(--red); }

/* ========================
   HOME ECOSYSTEM TEASER
   ======================== */
.eco-teaser-section { background: linear-gradient(135deg, #080f12 0%, #0e2830 50%, #180000 100%); padding: 100px 40px; }
.eco-teaser-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center;
}
.eco-teaser-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 300; line-height: 1.2; margin-bottom: 20px; }
.eco-teaser-body { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.8; margin-bottom: 34px; }
.eco-teaser-agents {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.eco-teaser-agent {
  background: rgba(5,21,27,.6);
  border: 1px solid rgba(232,2,0,.25);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400;
  color: rgba(255,255,255,.7);
  transition: border-color .3s, background .3s;
}
.eco-teaser-agent:hover { border-color: var(--red); background: rgba(5,21,27,.9); color: #fff; }
.eco-teaser-agent i { font-size: 26px; color: var(--red); }

/* responsive */
@media (max-width: 1100px) {
  .eco-ermis-inner { grid-template-columns: 1fr; }
  .eco-ermis-text { padding: 80px 40px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .eco-ermis-diagram { padding: 60px 40px; }
  .eco-teaser-inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 980px) {
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .network-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-agents-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-products-grid { grid-template-columns: repeat(2, 1fr); }
  .ermis-pillars { grid-template-columns: repeat(2, 1fr); }
  .ermis-conn-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .dropdown-menu { position: static; min-width: 0; }
  .cards.cols-4, .cards.cols-3 { grid-template-columns: 1fr; }
  .services-section { background-attachment: scroll; }
  .footer-contacts { gap: 30px; }
  .footer-contact { font-size: 22px; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 20px 0; }
  .about-section, .services-section, .site-footer { padding-left: 20px; padding-right: 20px; }
  .logo img { height: 48px; }
  .logo-tagline { font-size: 10px; letter-spacing: 2px; }
  .network-section, .ad-slot { padding-left: 20px; padding-right: 20px; }
  .network-grid { grid-template-columns: 1fr; }
  .footer-logo { height: 64px; }
  .ermis-pillars { grid-template-columns: 1fr; }
  .ermis-conn-grid { grid-template-columns: repeat(2, 1fr); }
  .ermis-step { gap: 16px; }
  .ermis-step-num { width: 42px; font-size: 28px; }
}
