/* ==============================================
   CYROME IT INFRASTRUCTURE — MAIN STYLESHEET
   Light theme · Trebuchet MS · Blue palette
   ============================================== */

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

:root{
  --white:#ffffff;
  --offwhite:#F7F9FC;
  --surface:#EEF3F9;
  --blue:#1A5EBF;
  --blue-mid:#2A72D5;
  --blue-light:#E8F0FA;
  --blue-pale:#F0F5FF;
  --steel:#3D5A80;
  --ink:#1C2B3A;
  --body:#3D4F61;
  --muted:#6B7E92;
  --border:#D4DEE9;
  --border-light:#E8EFF6;
  --accent:#0E9C6F;
  --accent-light:#E6F7F2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.85;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ── NAVIGATION ─────────────────────────────── */
#cyrome-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo a { display: flex; align-items: center; }
.nav-logo img,
.nav-logo .custom-logo { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 38px; }

.nav-links a.nav-item,
.nav-links a {
  font-size: 15px;
  color: var(--body);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a.nav-item:hover,
.nav-links a:hover { color: var(--blue); }

.nav-links a.nav-item.current { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 7px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-mid) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 6% 80px;
  background: var(--offwhite);
  position: relative;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  top: 0; right: 0;
  width: 52%; height: 100%;
  background: var(--blue-pale);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  border: 1px solid #BDD3F0;
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-badge span { font-size: 13px; color: var(--steel); letter-spacing: 0.05em; }

h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: normal;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 26px;
}
h1 strong { color: var(--blue); font-weight: bold; }

.hero-sub {
  font-size: 18px;
  color: var(--body);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 44px;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 15px 34px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Trebuchet MS', sans-serif;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-mid); color: #fff; }

.btn-outline {
  border: 2px solid var(--border);
  color: var(--body);
  padding: 13px 34px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Trebuchet MS', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 68px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 38px;
  font-weight: bold;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 14px; color: var(--muted); margin-top: 5px; letter-spacing: 0.02em; }

/* ── TRUST STRIP ────────────────────────────── */
.trust {
  padding: 36px 6%;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.trust-inner { display: flex; align-items: center; gap: 52px; flex-wrap: wrap; }
.trust-label { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.trust-items { display: flex; gap: 52px; flex-wrap: wrap; align-items: center; }
.trust-item { font-size: 14px; font-weight: bold; color: #B8C9D9; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── SECTIONS SHARED ────────────────────────── */
section { padding: 96px 6%; }

.section-tag {
  font-size: 12px;
  font-weight: bold;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
h2 strong { font-weight: bold; }

.section-sub { font-size: 17px; color: var(--body); line-height: 1.8; max-width: 560px; }
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── SERVICES ───────────────────────────────── */
.services-bg { background: var(--offwhite); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 36px;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.service-card:hover { border-color: #BDD3F0; box-shadow: 0 4px 24px rgba(26,94,191,0.08); }
.service-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
}

.service-card h3 { font-size: 19px; font-weight: bold; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.service-card p { font-size: 15px; color: var(--body); line-height: 1.8; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--blue);
  margin-top: 18px;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s;
}
.service-card:hover .svc-link { opacity: 1; transform: translateX(0); }

/* ── WHY CYROME ─────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-visual {
  background: var(--offwhite);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
}

.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }

.metric-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 20px;
}
.metric-num { font-size: 32px; font-weight: bold; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.metric-lbl { font-size: 13px; color: var(--muted); margin-top: 5px; }

.uptime-section { padding-top: 24px; border-top: 1px solid var(--border-light); }
.uptime-label-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.uptime-label-row span { font-size: 13px; color: var(--muted); }
.uptime-label-row strong { color: var(--ink); font-size: 13px; }

.ubar { height: 9px; background: var(--surface); border-radius: 100px; overflow: hidden; }
.ufill { height: 100%; width: 99.97%; background: var(--blue); border-radius: 100px; }

.noc-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-light);
  border: 1px solid #A8E6D4;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
}
.noc-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.noc-badge span { font-size: 14px; color: #0B7A58; }

.why-points { display: flex; flex-direction: column; gap: 30px; margin-top: 36px; }
.why-pt { display: flex; gap: 18px; align-items: flex-start; }
.wicon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--blue-light);
  border: 1px solid #BDD3F0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-top: 3px;
}
.why-pt h4 { font-size: 17px; font-weight: bold; color: var(--ink); margin-bottom: 5px; }
.why-pt p { font-size: 15px; color: var(--body); line-height: 1.75; }

/* ── PROCESS ────────────────────────────────── */
.process-bg { background: var(--offwhite); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}

.proc-step {
  background: var(--white);
  padding: 36px 30px;
  border-right: 1px solid var(--border-light);
}
.proc-step:last-child { border-right: none; }

.proc-num { font-size: 44px; font-weight: bold; color: var(--blue-light); line-height: 1; margin-bottom: 18px; letter-spacing: -0.03em; }
.proc-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.proc-step h3 { font-size: 17px; font-weight: bold; color: var(--ink); margin-bottom: 10px; }
.proc-step p { font-size: 14px; color: var(--body); line-height: 1.75; }

/* ── TESTIMONIALS ───────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.testi-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 36px;
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: #BDD3F0; }

.stars { font-size: 15px; color: #F0B84B; margin-bottom: 18px; letter-spacing: 3px; }

.testi-card blockquote {
  font-size: 15px;
  color: var(--body);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
  border: none;
  padding: 0;
}

.tauthor { display: flex; align-items: center; gap: 14px; }
.tavatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: bold; color: var(--blue);
  flex-shrink: 0;
}
.tname { font-size: 15px; font-weight: bold; color: var(--ink); }
.ttitle { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── INDUSTRIES ─────────────────────────────── */
.ind-bg { background: var(--offwhite); }

.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }

.ind-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.ind-item:hover { border-color: #BDD3F0; background: var(--blue-pale); }
.ind-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.ind-item h4 { font-size: 14px; font-weight: bold; color: var(--steel); letter-spacing: 0.02em; }

/* ── CTA BANNER ─────────────────────────────── */
.cta-section {
  background: var(--blue);
  text-align: center;
  padding: 100px 6%;
}
.cta-section .section-tag { color: rgba(255,255,255,0.6); }
.cta-section h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 17px; max-width: 500px; margin: 0 auto 44px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-white {
  background: #fff; color: var(--blue);
  padding: 15px 34px; border-radius: 8px;
  font-size: 16px; text-decoration: none;
  font-family: 'Trebuchet MS', sans-serif;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--offwhite); color: var(--blue); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 13px 34px; border-radius: 8px;
  font-size: 16px; text-decoration: none;
  font-family: 'Trebuchet MS', sans-serif;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: #fff; }

/* ── CONTACT ────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info p { font-size: 16px; color: var(--body); line-height: 1.8; margin-bottom: 38px; }

.cdetails { display: flex; flex-direction: column; gap: 22px; }
.cdetail { display: flex; align-items: center; gap: 16px; }
.cicon { width: 42px; height: 42px; background: var(--blue-light); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.cdetail h5 { font-size: 13px; color: var(--muted); margin-bottom: 2px; font-weight: normal; }
.cdetail p { font-size: 15px; color: var(--ink); margin: 0; }

.cform-wrap {
  background: var(--offwhite);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
}
.cform { display: flex; flex-direction: column; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 13px; color: var(--muted); letter-spacing: 0.03em; }

.fg input,
.fg select,
.fg textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--ink);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  width: 100%;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue-mid); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg select option { background: #fff; color: var(--ink); }

.fsub {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Trebuchet MS', sans-serif;
  align-self: flex-start;
  transition: background 0.2s;
}
.fsub:hover { background: var(--blue-mid); }

/* Form messages */
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 20px;
}
.form-success { background: var(--accent-light); color: #0B7A58; border: 1px solid #A8E6D4; }
.form-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 64px 6% 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand-logo { margin-bottom: 16px; }
.footer-brand-logo img,
.footer-brand-logo .custom-logo {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 280px; }

.footer-col h5 { font-size: 12px; font-weight: bold; color: rgba(255,255,255,0.5); margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-step:nth-child(2) { border-right: none; }
  .proc-step:nth-child(3),
  .proc-step:nth-child(4) { border-top: 1px solid var(--border-light); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 6%;
    gap: 20px;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .hero-decor { display: none; }
  .process-grid, .frow { grid-template-columns: 1fr; }
  .proc-step { border-right: none; border-top: 1px solid var(--border-light); }
  .proc-step:first-child { border-top: none; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}
