* {
  box-sizing: border-box;
}

:root {
  --navy: #08264a;
  --navy-2: #0c376b;
  --blue: #2075ef;
  --blue-soft: #eaf3ff;
  --violet: #6f5df6;
  --ink: #10213b;
  --muted: #63728a;
  --line: #dce5f0;
  --surface: #f5f8fc;
  --white: #ffffff;
  --success: #08753d;
  --danger: #a01f2e;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 18px 50px rgba(21, 57, 102, .10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

#topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .90);
  border-bottom: 1px solid rgba(220,229,240,.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 176px;
  height: auto;
  display: block;
}

.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.nav a {
  font-size: .95rem;
  text-decoration: none;
  color: #43536b;
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  background: #eef3f9;
  border-radius: 999px;
}

.lang {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: #6b7890;
  font-size: .85rem;
  font-weight: 800;
}

.lang.active {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(30,77,129,.10);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.small {
  min-height: 43px;
  padding: 0 18px;
  font-size: .92rem;
}

.button.primary {
  background: linear-gradient(135deg, #0a376d 0%, #0b2b55 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(7,45,91,.22);
}

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

.button.ghost {
  color: var(--navy);
  background: rgba(255,255,255,.74);
  border-color: #aab8ca;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 82% 22%, rgba(39, 120, 247, .12), transparent 31%),
    radial-gradient(circle at 68% 62%, rgba(117, 87, 244, .12), transparent 30%),
    linear-gradient(180deg, #edf3fb 0%, #f9fbfe 70%, #fff 100%);
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(54,106,170,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,106,170,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  color: #47698f;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .2em;
  margin-bottom: 16px;
}

.eyebrow.light {
  color: #9ec5ff;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.6vw, 5.9rem);
  letter-spacing: -.055em;
}

.gradient-text {
  background: linear-gradient(90deg, #294cf2, #7656ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 740px;
  color: #4f6078;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  min-height: 490px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-shell {
  width: min(400px, 84%);
  aspect-ratio: 1/1;
  border-radius: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.75), transparent 18%),
    linear-gradient(145deg, rgba(49,113,223,.22), rgba(111,93,246,.28));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow:
    inset 0 0 60px rgba(255,255,255,.55),
    0 38px 90px rgba(45,89,153,.20);
}

.hero-symbol {
  width: 82%;
  height: auto;
  filter: drop-shadow(0 28px 30px rgba(40,62,123,.20));
}

.signal-card {
  position: absolute;
  min-width: 104px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  color: #174d8b;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(102,154,218,.35);
  box-shadow: 0 12px 26px rgba(40,82,130,.13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 800;
}

.signal-icon {
  font-size: 1.25rem;
  color: #2c80f4;
}

.signal-cloud { top: 16%; right: 1%; }
.signal-shield { top: 42%; right: -4%; }
.signal-data { bottom: 15%; left: 1%; }
.signal-infra { bottom: 7%; right: 18%; }

.quick-services {
  margin-top: -6px;
  padding: 0 0 28px;
  background: #fff;
}

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

.feature-card {
  min-height: 210px;
  padding: 28px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(26,69,119,.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 19px;
  background: linear-gradient(135deg, #ecf5ff, #f2edff);
  color: #287cf2;
  font-weight: 900;
  font-size: 1.25rem;
}

.feature-card h2 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section {
  padding: 92px 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 82px;
  align-items: start;
}

.section-intro h2,
.company-grid h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -.04em;
}

.section-intro p,
.company-grid p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-item {
  min-height: 165px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise-item h3 {
  font-size: 1.04rem;
  margin-bottom: 7px;
}

.expertise-item p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.line-icon {
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 900;
}

.section-deep {
  padding: 44px 0;
  background: linear-gradient(135deg, #092b56, #102f5c 58%, #251f5d);
  color: #fff;
}

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

.stat {
  padding: 12px 30px;
  border-right: 1px solid rgba(255,255,255,.18);
}

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

.stat strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.stat span {
  color: #b9cae1;
  font-size: .92rem;
}

.company-section {
  background: #f7f9fc;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 72px;
  align-items: center;
}

.identity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.identity-card dl {
  margin: 0;
}

.identity-card dl > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 19px 24px;
  border-bottom: 1px solid #edf2f7;
}

.identity-card dl > div:last-child {
  border-bottom: 0;
}

dt {
  font-weight: 800;
  color: #728096;
}

dd {
  margin: 0;
  font-weight: 720;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 25%, rgba(43,126,238,.20), transparent 28%),
    radial-gradient(circle at 90% 72%, rgba(111,93,246,.20), transparent 24%),
    linear-gradient(145deg, #071f3e, #0a2d58 56%, #111d46);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p {
  color: #bed0e6;
}

.contact-assurances {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: #d7e5f7;
}

.form-shell {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.20);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #21334e;
  font-size: .9rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cfd9e6;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: #3b84ed;
  box-shadow: 0 0 0 4px rgba(59,132,237,.11);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #5f6d80;
  font-size: .84rem;
  margin: 8px 0 20px;
}

.form-submit {
  width: 100%;
  border: 0;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-message {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 11px;
  font-weight: 750;
}

.form-message.success {
  color: var(--success);
  background: #eaf8ef;
  border: 1px solid #bce6cc;
}

.form-message.error {
  color: var(--danger);
  background: #fff0f1;
  border: 1px solid #f1c3c8;
}

.legal {
  padding: 56px 0;
  background: #f6f8fb;
  border-top: 1px solid var(--line);
}

.legal-grid {
  display: grid;
  grid-template-columns: .9fr 1.05fr 1.05fr;
  gap: 56px;
}

.footer-logo {
  width: 170px;
  margin-bottom: 16px;
}

.legal h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.legal p {
  color: #66758a;
  font-size: .91rem;
}

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #7b8798;
  font-size: .88rem;
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .hero-grid,
  .expertise-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 400px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1240px);
  }
  .nav-inner {
    min-height: 68px;
  }
  .brand-logo {
    width: 142px;
  }
  .nav-actions .button {
    display: none;
  }
  .hero {
    padding: 64px 0 48px;
  }
  h1 {
    font-size: 3.05rem;
  }
  .hero-visual {
    min-height: 330px;
  }
  .signal-card {
    min-width: auto;
    font-size: .8rem;
  }
  .service-grid,
  .expertise-list,
  .stats,
  .field-row,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding: 16px 8px;
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .identity-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .section {
    padding: 68px 0;
  }
  .form-shell {
    padding: 22px;
  }
}


/* AGGEDEV identity refresh — 2026 approved connected-expertise logo */
.brand-logo {
  width: 184px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.hero-symbol-new {
  width: min(430px, 92%);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 34px rgba(52, 49, 132, .13));
}

.footer-logo {
  width: 190px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 150px;
    max-height: 50px;
  }
  .hero-symbol-new {
    width: min(350px, 94%);
  }
  .footer-logo {
    width: 165px;
  }
}

/* V5 — responsive mobile polish + six AGGEDEV expertises */
.brand {
  gap: 10px;
  min-width: 170px;
}
.brand-symbol {
  width: 48px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.055em;
  color: #0b4f9d;
}
.brand-word strong {
  font-weight: 900;
  color: #733fc5;
}

.hero-visual { overflow: visible; }
.hero-symbol-new {
  mix-blend-mode: normal;
  width: min(430px, 82%);
  max-height: 380px;
}
.symbol-shell {
  overflow: hidden;
  border-radius: 34%;
}
.signal-grid { position: absolute; inset: 0; pointer-events: none; }
.signal-health { top: 5%; left: 3%; }
.signal-dev { top: 17%; right: -1%; }
.signal-cloud { top: 43%; right: -5%; }
.signal-infra { bottom: 6%; right: 9%; }
.signal-security { bottom: 9%; left: 4%; }
.signal-consulting { top: 43%; left: -5%; }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 225px; }

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

@media (max-width: 720px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .container { width: calc(100% - 32px); }
  .nav-inner { min-height: 66px; gap: 10px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-symbol { width: 40px; height: 36px; }
  .brand-word { font-size: 1.18rem; }
  .lang-switch { padding: 3px; }
  .lang { padding: 7px 9px; }

  .hero { padding: 48px 0 42px; }
  .hero-grid { gap: 34px; }
  .eyebrow { font-size: .68rem; line-height: 1.65; letter-spacing: .14em; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); line-height: 1.04; letter-spacing: -.05em; }
  .lead { font-size: 1.03rem; }
  .hero-actions { margin-top: 26px; }

  .hero-visual {
    min-height: 0;
    display: grid;
    gap: 18px;
    padding: 4px 0 0;
  }
  .symbol-shell {
    width: min(310px, 88vw);
    margin: 0 auto;
    aspect-ratio: 1/1;
  }
  .hero-symbol-new {
    width: 90%;
    max-height: 280px;
  }
  .signal-grid {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    pointer-events: auto;
  }
  .signal-card,
  .signal-health,.signal-dev,.signal-cloud,.signal-infra,.signal-security,.signal-consulting {
    position: static;
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: .82rem;
    justify-content: flex-start;
    overflow: hidden;
  }
  .signal-card span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .signal-icon { flex: 0 0 auto; font-size: 1.05rem; }

  .quick-services { padding-top: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { min-height: 0; padding: 23px; }
  .feature-card h2 { font-size: 1.2rem; }

  .section-intro h2, .company-grid h2, .contact-copy h2 { font-size: 2.2rem; }
  .expertise-item { grid-template-columns: 42px 1fr; padding: 22px 18px; }
  .identity-card dl > div { padding: 16px 18px; }
}

@media (max-width: 390px) {
  .brand-word { display: none; }
  .brand-symbol { width: 44px; }
  h1 { font-size: 2.35rem; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
}


.form-protection {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.72;
}

.contact-assurances span {
  line-height: 1.45;
}


/* V7 — menu hamburger mobile */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid rgba(15, 67, 126, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26, 68, 116, .08);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #0b2b55;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .desktop-nav,
  .desktop-contact {
    display: none !important;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-actions {
    gap: 8px;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid rgba(220,229,240,.7);
    border-bottom: 1px solid rgba(220,229,240,.95);
    box-shadow: 0 18px 36px rgba(18, 52, 91, .13);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu-inner {
    display: grid;
    gap: 2px;
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 13px;
    color: #18385f;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 780;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus {
    background: #f1f5fb;
    color: #164fa1;
  }

  .mobile-menu .mobile-menu-contact {
    margin-top: 8px;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #294cf2, #7656ef);
  }

  .mobile-menu .mobile-menu-contact:hover,
  .mobile-menu .mobile-menu-contact:focus {
    color: #fff;
    background: linear-gradient(135deg, #2143df, #6847dc);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    min-height: 68px;
  }

  .brand-word {
    display: none;
  }

  .brand-symbol {
    width: 52px;
    height: 42px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .mobile-menu-inner {
    width: calc(100% - 28px);
  }
}
