/* Intellicom landing page */
:root {
  --navy-1: #06182b;
  --navy-2: #0a2947;
  --navy-3: #0d3b66;
  --teal: #1a9ab5;
  --teal-light: #57c2d8;
  --teal-pale: #7fd3e4;
  --ink: #12314e;
  --muted: #4a6076;
  --muted-light: #b8cbdd;
  --border: #e2eaf1;
  --bg-light: #f4f8fb;
  --font-body: 'Golos Text', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Golos Text', Montserrat, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--navy-1); font-family: var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }
::selection { background: var(--teal); color: #fff; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Animations */
@keyframes drift { from { background-position: 0 0; } to { background-position: 52px 26px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-pattern, .ring, .ring > div { animation: none !important; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header img { height: 56px; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--teal); }
.site-nav a.cta { background: var(--navy-3); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; }
.site-nav a.cta:hover { background: var(--teal); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 600; font-size: 13.5px; letter-spacing: .02em;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.lang-switch svg { flex: none; }
.lang-switch:hover { color: var(--teal); border-color: var(--teal); background: var(--bg-light); }

/* Hero */
.hero { position: relative; background: linear-gradient(155deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%); color: #fff; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(87,194,216,.14) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; animation: drift 14s linear infinite; }
.hero .inner { position: relative; padding: 88px 24px 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.16; letter-spacing: -.021em;
  margin: 0 0 20px; text-wrap: balance; max-width: 15ch;
}
.hero .lede { font-size: clamp(15.5px, 1.35vw, 17px); line-height: 1.7; letter-spacing: .002em; color: var(--muted-light); margin: 0 0 32px; max-width: 540px; text-wrap: pretty; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; display: inline-block; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-light); color: var(--navy-1); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* Orbital */
.orbital { position: relative; height: 440px; min-width: 0; display: flex; align-items: center; justify-content: center; }
.orbital-glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(26,154,181,.28) 0%, rgba(26,154,181,.08) 45%, transparent 70%); animation: pulseGlow 5s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; }
.ring-outer { width: 410px; height: 410px; border: 1px dashed rgba(87,194,216,.35); animation: spin 36s linear infinite; }
.ring-inner { width: 310px; height: 310px; border: 1px solid rgba(87,194,216,.25); animation: spinRev 26s linear infinite; }
.ring-outer > div { position: absolute; animation: spinRev 36s linear infinite; }
.ring-inner > div { position: absolute; animation: spin 26s linear infinite; }
.chip { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-2); border: 1px solid rgba(87,194,216,.6); display: flex; align-items: center; justify-content: center; }
.ring-inner .chip { width: 34px; height: 34px; background: var(--navy-3); border-color: rgba(87,194,216,.5); }
.pos-top { top: -19px; left: 50%; margin-left: -19px; }
.pos-right { top: 50%; right: -19px; margin-top: -19px; }
.pos-bottom { bottom: -19px; left: 50%; margin-left: -19px; }
.pos-left { top: 50%; left: -19px; margin-top: -19px; }
.pos-tr { top: 41px; right: 41px; }
.pos-tl { top: 41px; left: 41px; }
.pos-br { bottom: 41px; right: 41px; }
.pos-inner-tr { top: 18px; right: 18px; }
.pos-inner-bl { bottom: 18px; left: 18px; }
.ring-dot { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 12px var(--teal-light); }
.orbital-center { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.orbital-center img { width: 185px; display: block; filter: brightness(1.5) drop-shadow(0 0 18px rgba(87,194,216,.5)); }

/* Stats */
.stats { position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.stats .inner { padding: 28px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 34px; color: var(--teal-light); height: 42px; display: flex; align-items: center; justify-content: center; }
.stat-label { font-size: 13.5px; color: var(--muted-light); margin-top: 4px; }
.odoo-wordmark { font-family: Nunito, sans-serif; font-weight: 800; color: #b78aab; letter-spacing: -.015em; line-height: 1; }
.ms-squares { display: grid; grid-template-columns: 12px 12px; grid-template-rows: 12px 12px; gap: 2px; }
.ms-squares span:nth-child(1) { background: #f25022; }
.ms-squares span:nth-child(2) { background: #7fba00; }
.ms-squares span:nth-child(3) { background: #00a4ef; }
.ms-squares span:nth-child(4) { background: #ffb900; }

/* Sections */
.section-light { background: var(--bg-light); padding: 88px 0; }
.section-white { background: #fff; padding: 88px 0; }
.section-dark { background: var(--navy-2); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--teal-light); }
h2.section-title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 34px; color: var(--navy-3); margin: 0; text-wrap: pretty; }
.section-dark h2.section-title { color: #fff; }

/* Services */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.services-head p { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 400px; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.service-card:hover { box-shadow: 0 12px 28px rgba(13,59,102,.12); transform: translateY(-3px); }
.service-num { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; color: var(--teal); border-bottom: 2px solid var(--teal); width: max-content; padding-bottom: 4px; }
.service-title { font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.35; }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ERP */
.erp-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.erp-grid > div { min-width: 0; }
.section-dark .lede { color: var(--muted-light); font-size: 15.5px; line-height: 1.65; margin: 0 0 24px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feature-list > div { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: #dce8f2; }
.feature-list .bullet { width: 8px; height: 8px; background: var(--teal-light); border-radius: 2px; flex-shrink: 0; transform: translateY(-1px); }
.odoo-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(113,75,140,.25); border: 1px solid rgba(151,110,180,.5); padding: 10px 18px; border-radius: 10px; }
.odoo-badge .wordmark { font-family: Nunito, sans-serif; font-weight: 800; font-size: 17px; color: #c9a8e0; line-height: 1; }
.odoo-badge .label { font-size: 13.5px; color: #dce8f2; }
.client-list { display: flex; flex-direction: column; gap: 14px; }
.client-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 20px 22px; }
.client-card .name { font-weight: 600; font-size: 16px; }
.client-card .desc { font-size: 13.5px; color: #9db6cc; margin-top: 4px; }
.list-label { font-size: 13.5px; color: #7fa2c0; font-weight: 600; letter-spacing: .06em; margin-bottom: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 16px; min-width: 0; }
.photo-slot { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: repeating-linear-gradient(45deg, #eaf1f7 0 12px, #f4f8fb 12px 24px); border: 1px dashed #c3d4e2; display: flex; align-items: center; justify-content: center; }
.photo-slot.wide { grid-column: 1 / 3; }
.photo-slot .hint { font-family: monospace; font-size: 12px; color: #7590a8; padding: 0 12px; text-align: center; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 16px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.value-chip { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.value-chip svg { flex-shrink: 0; }

/* Timeline */
.timeline-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 44px; }
.milestone { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; }
.milestone .year { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 20px; color: var(--teal); margin-bottom: 10px; }
.milestone .text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Partners */
.partners { background: #fff; padding: 72px 0; border-top: 1px solid var(--border); text-align: center; }
.partners .eyebrow { margin-bottom: 28px; }
.partner-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.partner-pill { border: 1px solid var(--border); border-radius: 999px; padding: 12px 26px; display: flex; align-items: center; gap: 8px; }
.partner-pill .wordmark { font-family: Nunito, sans-serif; font-weight: 800; font-size: 18px; color: #875A7B; line-height: 1; }
.partner-pill .ms { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); }
.partner-pill .label { font-weight: 500; font-size: 13px; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(155deg, var(--navy-3) 0%, var(--navy-2) 60%, var(--navy-1) 100%); color: #fff; padding: 88px 0; }
.contact .inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact .inner > div { min-width: 0; }
.contact h2 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 36px; margin: 0 0 16px; text-wrap: pretty; }
.contact .lede { color: var(--muted-light); font-size: 15.5px; line-height: 1.65; margin: 0 0 28px; max-width: 440px; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 20px 22px; }
.contact-card .label { font-size: 12.5px; color: #7fa2c0; font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.contact-card .value { font-size: 15px; line-height: 1.55; }
.contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Footer */
.site-footer { background: var(--navy-1); color: #7fa2c0; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer .inner { padding: 28px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.site-footer .brand { display: flex; align-items: center; gap: 14px; }
.site-footer img { height: 30px; filter: brightness(1.4); }
.site-footer .slogan { font-style: italic; }

/* Responsive */
@media (max-width: 960px) {
  .hero .inner, .erp-grid, .about-grid, .contact .inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .inner { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { max-width: 22ch; }
}
@media (max-width: 560px) {
  .services-grid, .timeline-grid, .values-grid, .contact-pair { grid-template-columns: 1fr; }
  .site-nav a:not(.cta):not(.lang-switch) { display: none; }
}
