/* ===== Quick Dial, Inc. — Modern Static Site ===== */

:root {
  --navy-900: #061226;
  --navy-800: #0a1a35;
  --navy-700: #0f2647;
  --navy-600: #163461;
  --blue-500: #2f80ed;
  --blue-400: #4a9bf2;
  --cyan-400: #3fd0e0;
  --ink: #0c1726;
  --muted: #5b6b80;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(12, 23, 38, 0.06), 0 4px 14px rgba(12, 23, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 23, 38, 0.10);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.lead { font-size: 1.08rem; color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-500); color: var(--white); box-shadow: 0 8px 22px rgba(47, 128, 237, 0.35); }
.btn-primary:hover { background: var(--blue-400); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--blue-500); border-color: var(--blue-500); }
.btn-outline:hover { background: var(--blue-500); color: var(--white); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-text strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-text small { display: block; font-size: 0.72rem; color: var(--muted); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-500); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero-network.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.38;
  mix-blend-mode: screen;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
  max-width: 680px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cyan-400); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.82); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-since {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-400); font-weight: 600; margin-bottom: 20px;
}
.hero-since::before { content: ""; width: 28px; height: 1px; background: var(--cyan-400); }

/* ===== Stats bar ===== */
.stats {
  position: relative;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -56px;
  overflow: hidden;
}
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-size: 2rem; font-weight: 700; color: var(--blue-500); letter-spacing: -0.03em; }
.stat .label { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }

/* ===== Intro paragraph ===== */
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.intro-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.intro-text p { font-size: 1.12rem; color: var(--muted); }
.intro-text p strong { color: var(--ink); }

/* ===== Services ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0f6; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: var(--white);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* ===== About / Why ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink); }
.check-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue-500); margin-top: 2px; }
.priority-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.priority-card h3 { color: var(--white); margin-bottom: 20px; }
.priority-card .check-list li { color: rgba(255,255,255,0.9); }
.priority-card .check-list li svg { color: var(--cyan-400); }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--bg-soft); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member-body { padding: 22px; }
.member-body h3 { font-size: 1.1rem; }
.member-role { color: var(--blue-500); font-weight: 600; font-size: 0.85rem; margin: 4px 0 14px; }
.member-contact { display: grid; gap: 8px; }
.member-contact a, .member-contact span {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.86rem; color: var(--muted);
  word-break: break-word;
}
.member-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-500); }
.member-contact a:hover { color: var(--blue-500); }

.team-note {
  margin-top: 40px;
  text-align: center;
  padding: 26px;
  background: var(--bg-soft);
  border: 1px dashed #c9d6ea;
  border-radius: var(--radius);
}
.team-note h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-note a { color: var(--blue-500); font-weight: 600; }

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 100px;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.partner-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.partner-logo img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.78; transition: 0.2s; }
.partner-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--bg-soft); color: var(--blue-500);
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.info-item p { font-size: 0.92rem; color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 8px; }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.form-status { font-size: 0.9rem; margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1a9d5a; }
.form-status.err { color: #d23f3f; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-600));
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 28px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: var(--white); font-size: 1.1rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom { padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 4px 24px; }
  .nav-links .nav-cta { margin: 10px 24px; }
  .nav-toggle { display: flex; }
  .cards, .team-grid, .partners-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .cta-band, .priority-card, .contact-form { padding: 30px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
