/* ILG Solutions — site styles */
:root {
  --bg-slate: #1F2C3B;
  --navy: #0B2B5C;
  --navy-2: #1F3E6E;
  --accent: #2E9BF0;
  --blue: #1565C0;
  --ink: #1B2735;
  --muted: #45556A;
  --soft: #F4F7FB;
  --line: #C5D0DD;
  --on-dark: #C9D6E4;
  --on-dark-2: #D6E2EF;
  --sky: #7CC0F7;
  --led-green: #35D07F;
  --led-amber: #F2B33D;
  --rack-bg: #111A24;
  --rack-frame: #2B3B4E;
  --rack-panel: #23313F;
  --rack-panel-2: #1C2836;
  --rack-edge: #34465A;
  --rack-ear: #3A4C61;
  --rack-label: #9FB0C3;
  --font-head: Montserrat, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-card: 0 1px 2px rgba(11, 43, 92, 0.06), 0 8px 24px rgba(11, 43, 92, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 56px; }
.stack-md { display: flex; flex-direction: column; gap: 32px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: #FFFFFF; color: var(--navy); padding: 12px 18px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 6px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-accent { background: var(--accent); color: #0B1A2B; }
.btn-accent:hover { background: #57B1F4; color: #0B1A2B; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.5); color: #FFFFFF; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-slate); color: #FFFFFF; overflow: hidden; }
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.sq { position: absolute; transform: rotate(45deg); }
.sq-1 { width: 260px; height: 260px; left: 4%; top: 380px; background: rgba(0, 0, 0, 0.10); }
.sq-2 { width: 200px; height: 200px; left: 38%; top: 90px; background: rgba(255, 255, 255, 0.025); }
.stripe { position: absolute; transform: rotate(-28deg); }
.stripe-navy { right: -60px; top: -160px; width: 520px; height: 1100px; background: var(--navy); }
.stripe-accent { right: 420px; top: -200px; width: 70px; height: 1200px; background: var(--accent); opacity: 0.75; }
.stripe-accent-thin { right: 540px; top: -220px; width: 26px; height: 1200px; background: var(--accent); opacity: 0.35; }

.site-header {
  position: relative; padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand-word { font-family: var(--font-head); font-weight: 500; font-size: 18px; letter-spacing: 3px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.main-nav a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.main-nav a:hover { color: #FFFFFF; }
.main-nav .btn-nav { background: var(--accent); color: #0B1A2B; font-weight: 600; padding: 12px 22px; border-radius: 6px; }
.main-nav .btn-nav:hover { background: #57B1F4; color: #0B1A2B; }

.hero-body {
  position: relative; padding-top: 64px; padding-bottom: 120px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 700; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.5px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }

.eyebrow {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue);
}
.eyebrow-light { color: var(--sky); }
.hero .eyebrow { font-size: 15px; font-weight: 600; }

/* ---------- Rack illustration ---------- */
.rack-wrap { flex: 1 1 420px; min-width: 0; max-width: 540px; margin: 0 auto; position: relative; }
.rack-glow {
  position: absolute; inset: 40px -30px -30px 40px; background: var(--accent);
  opacity: 0.12; border-radius: 16px; filter: blur(30px);
}
.rack {
  position: relative; background: var(--rack-bg); border: 12px solid var(--rack-frame); border-radius: 10px;
  padding: 16px 12px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); font-family: var(--font-mono);
}
.unit { display: flex; align-items: stretch; gap: 6px; }
.ear { width: 10px; flex: none; border-radius: 2px; background: var(--rack-ear); }
.panel { flex: 1; min-width: 0; border-radius: 3px; border-top: 1px solid var(--rack-edge); background: var(--rack-panel); }
.unit-label { font-size: 10px; letter-spacing: 1px; color: var(--rack-label); white-space: nowrap; }
.spacer { flex: 1; }

.panel-fw { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; }
.led-row { display: flex; gap: 8px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--led-green); flex: none; }
.dot.amber { background: var(--led-amber); }
.dot-lg { width: 8px; height: 8px; }
.pwr { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.pwr-lg { width: 11px; height: 11px; }

.panel-switch { background: var(--rack-panel-2); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.port-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px 3px; }
.port { display: flex; flex-direction: column; gap: 2px; }
.port-led { height: 3px; border-radius: 1px; background: var(--led-green); }
.port-led.amber { background: var(--led-amber); }
.port-led.off { background: #2C3A48; }
.socket { aspect-ratio: 1 / 1; background: #070C12; border-radius: 1px; border: 1px solid var(--rack-ear); }

.panel-patch { padding: 8px 12px 0; display: flex; flex-direction: column; gap: 4px; }
.patch-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: start; }
.patch-port { display: flex; flex-direction: column; align-items: center; }
.patch-port .jack { width: 100%; aspect-ratio: 1 / 1; background: #070C12; border-radius: 1px; }
.cable { width: 45%; height: 22px; border-radius: 0 0 2px 2px; }
.cable-blue { background: var(--accent); }
.cable-gray { background: #8FA3B8; }
.cable-amber { background: var(--led-amber); }
.cable-none { background: transparent; }

.panel-server { background: var(--rack-panel-2); height: 74px; padding: 10px 12px; display: flex; gap: 12px; align-items: center; }
.server-side { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.drive-bays { flex: 1; min-width: 0; height: 100%; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.bay {
  background: var(--rack-frame); border: 1px solid var(--rack-ear); border-radius: 2px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 5px;
}
.bay .dot { width: 5px; height: 5px; }

.panel-ups { height: 64px; padding: 10px 14px; display: flex; align-items: center; gap: 16px; }
.ups-screen {
  flex: 1; height: 40px; background: #0A1A2E; border: 1px solid var(--rack-frame); border-radius: 3px;
  padding: 5px 8px; display: flex; align-items: flex-end; gap: 4px;
}
.bar { flex: 1; height: 100%; background: var(--accent); opacity: 0.85; border-radius: 1px; transform-origin: bottom; animation: eq 1.4s ease-in-out infinite; }
.b1 { animation-delay: 0.2s; } .b2 { animation-delay: 0.45s; } .b3 { animation-delay: 0.7s; } .b4 { animation-delay: 0.95s; }

.traffic { display: block; width: 100%; height: 34px; }
.flow { animation: dash 1.2s linear infinite; }

.led { animation: flick 1.1s steps(1) infinite; }
.d0 { animation-duration: 0.8s; }
.d1 { animation-duration: 1.3s; animation-delay: 0.25s; }
.d2 { animation-duration: 0.6s; animation-delay: 0.5s; }
.d3 { animation: none; }
.d4 { animation-duration: 1.8s; animation-delay: 0.1s; }

@keyframes flick { 0%, 100% { opacity: 1; } 18% { opacity: 0.15; } 36% { opacity: 0.95; } 54% { opacity: 0.3; } 72% { opacity: 1; } 86% { opacity: 0.4; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 3px 1px rgba(46, 155, 240, 0.55); } 50% { box-shadow: 0 0 10px 3px rgba(46, 155, 240, 0.95); } }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes dash { to { stroke-dashoffset: -40; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .led, .pwr, .bar, .flow { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section .container { max-width: 1200px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; color: var(--navy); }
.rule { width: 120px; height: 6px; background: var(--accent); }
.section-intro { font-size: 17px; line-height: 1.65; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  background: #FFFFFF; border-radius: 10px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-card);
}
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 24px; color: var(--navy); }
.card p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.card ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--blue); }
.steps h3 { font-size: 21px; color: var(--navy); }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* About */
.section-navy { position: relative; background: var(--navy); color: #FFFFFF; overflow: hidden; }
.section-navy h2 { color: #FFFFFF; }
.about-decor { position: absolute; inset: 0; pointer-events: none; }
.about-stripe-1 { right: -60px; top: -120px; width: 70px; height: 700px; background: var(--accent); opacity: 0.55; }
.about-stripe-2 { right: 80px; top: -140px; width: 26px; height: 700px; background: var(--accent); opacity: 0.3; }
.about-row { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.values {
  flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.values li {
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.value-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #0B1A2B;
  display: flex; align-items: center; justify-content: center;
}
.values h3 { font-size: 18px; color: #FFFFFF; }
.values p { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.about-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.7; color: var(--on-dark-2); }
.signature { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.sig-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.sig-title { font-size: 16px; color: var(--sky); letter-spacing: 1px; }

/* Contact */
.contact-row { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.contact-list { display: flex; gap: 20px; align-items: flex-start; }
.contact-pill {
  width: 56px; flex: none; border-radius: 28px; background: var(--navy); color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 22px 0 26px;
}
.contact-lines { display: flex; flex-direction: column; gap: 22px; padding-top: 20px; font-size: 17px; }
.contact-lines a { color: var(--ink); text-decoration: none; min-height: 30px; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--blue); text-decoration: underline; }
.contact-lines address { font-style: normal; line-height: 1.5; }

.contact-form {
  flex: 1 1 420px; min-width: 0; background: #FFFFFF; border-radius: 10px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-card); position: relative;
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.req { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(21, 101, 192, 0.25); outline-offset: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { border: 0; background: var(--blue); color: #FFFFFF; font-family: var(--font-head); }
.btn-submit:hover { background: var(--navy); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.form-status.ok { color: #12703F; font-weight: 600; }
.form-status.err { color: #B3261E; font-weight: 600; }

/* Footer */
.site-footer { background: var(--bg-slate); color: var(--on-dark); padding: 56px 0 40px; }
.site-footer .container { max-width: 1200px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: #FFFFFF; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-tag { font-size: 14px; color: var(--on-dark); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; padding: 12px 0; }
.footer-nav a:hover { color: #FFFFFF; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.12); }
.copyright { font-size: 14px; color: #A9B8C9; }

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .card, .contact-form { padding: 32px 22px; }
  .rack { border-width: 8px; padding: 12px 8px; }
  .unit-label { font-size: 9px; }
}
