/* Phortex Campus — shared stylesheet */
:root {
  --navy: #0b1f3a;
  --navy-2: #122b4e;
  --ink: #1c2733;
  --slate: #52627a;
  --mist: #f4f7fb;
  --line: #dde5ef;
  --teal: #0e9f8a;
  --teal-dark: #0b7f6e;
  --amber: #f2a900;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(8px);
  color: var(--white);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.2px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--teal), #2fc4ae); display: grid; place-items: center; font-size: 1rem; color: var(--navy); font-weight: 900; }
.brand small { display: block; font-size: 0.62rem; font-weight: 500; color: #9fb2cc; letter-spacing: 1.5px; text-transform: uppercase; }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { color: #d7e1ef; font-weight: 500; font-size: 0.95rem; }
nav.main a:hover { color: var(--white); text-decoration: none; }
nav.main a.active { color: var(--white); border-bottom: 2px solid var(--teal); padding-bottom: 3px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 0.98rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 18px rgba(14,159,138,.35); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #16395f 100%); color: var(--white); padding: 96px 0 88px; }
.hero .eyebrow { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.82rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.15; font-weight: 800; max-width: 780px; }
.hero p.lead { margin-top: 22px; font-size: 1.18rem; color: #c3d2e6; max-width: 640px; }
.hero .cta-row { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--mist); }
.kicker { color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
h2.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--navy); margin-top: 8px; }
.section-sub { color: var(--slate); max-width: 640px; margin-top: 12px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.icon.cyber { background: #e2f6f2; }
.icon.ai { background: #e8ecfb; }
.icon.edu { background: #fdf1d7; }
.card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.98rem; flex: 1; }
.card .card-link { margin-top: 18px; font-weight: 700; }
.card ul { margin: 14px 0 0 18px; color: var(--slate); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }

/* Feature / detail lists */
.feature-list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .check { color: var(--teal-dark); font-weight: 900; font-size: 1.05rem; line-height: 1.6; }
.feature-list b { color: var(--navy); }

/* Packages */
.pkg { border-top: 4px solid var(--teal); }
.pkg.featured { border-top-color: var(--amber); position: relative; }
.pkg .price { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin: 8px 0 2px; }
.pkg .per { color: var(--slate); font-size: 0.85rem; margin-bottom: 12px; }
.badge { position: absolute; top: -14px; right: 20px; background: var(--amber); color: var(--navy); font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 2rem; font-weight: 800; color: var(--teal); display: block; margin-bottom: 10px; }
.step h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border-radius: var(--radius); padding: 56px 48px; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.cta-band p { color: #c3d2e6; margin: 14px auto 28px; max-width: 560px; }

/* Contact form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: 0.98rem; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,159,138,.15); }
textarea { min-height: 140px; resize: vertical; }

/* Footer */
footer.site { background: var(--navy); color: #9fb2cc; padding: 56px 0 32px; margin-top: 0; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
footer.site h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
footer.site a { color: #9fb2cc; display: block; margin-bottom: 8px; font-size: 0.92rem; }
footer.site a:hover { color: var(--white); text-decoration: none; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Page hero (interior pages) */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: var(--white); padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; max-width: 760px; }
.page-hero p.lead { margin-top: 16px; color: #c3d2e6; font-size: 1.12rem; max-width: 640px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 18px 24px 26px; gap: 18px; align-items: flex-start; }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
}
