/* ============================================================
   Dailey Digital — design system
   Deep navy / charcoal / white · phone-first · mobile-first
   ============================================================ */

:root {
  /* Brand palette */
  /* Dark sections — derived from the Dailey Digital brand blue */
  --navy-900: #06202F;
  --navy-800: #0A2C42;
  --navy-700: #0F3A57;
  --navy-600: #15496e;
  --charcoal: #1c2831;
  --ink: #0f1519;
  --slate: #4a5563;
  --mist: #6b7686;
  --line: #e4e8ee;
  --cloud: #eef3f8;
  --white: #ffffff;

  --brand: #1470AF;      /* Dailey Digital primary blue */
  --brand-dark: #105a8c;
  --accent: #1B9CDD;     /* bright logo-knot blue */
  --cta: #1B9CDD;        /* call-now accent (matches logo mark) */
  --cta-dark: #1588c4;
  --cta-ink: #06283b;

  --ok: #1b9e57;

  /* Type — Dailey Digital brand fonts */
  --f-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-display: "Space Grotesk", var(--f-sans);
  --f-heavy: "Archivo Black", var(--f-display);

  /* Rhythm */
  --wrap: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(9,25,45,.06), 0 2px 8px rgba(9,25,45,.06);
  --shadow-md: 0 8px 24px rgba(9,25,45,.10);
  --shadow-lg: 0 20px 50px rgba(9,25,45,.18);
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--f-display); color: var(--navy-800); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
/* Heavy display font (Archivo Black) for high-impact moments, per brand */
.hero h1, .page-hero h1, .stats .n, .cta-phone { font-family: var(--f-heavy); font-weight: 400; letter-spacing: -.01em; }
.hero h1, .page-hero h1 { line-height: 1.06; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.eyebrow {
  display: inline-block; font-family: var(--f-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--slate); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-call { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 18px rgba(27,156,221,.45); }
.btn-call:hover { background: var(--cta-dark); box-shadow: 0 10px 26px rgba(27,156,221,.55); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); }
.btn-lg { font-size: 1.08rem; padding: 1.05rem 1.9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; }
.footer-logo { height: 30px; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 480px) { .brand-logo { height: 30px; } }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--charcoal); font-weight: 600; font-size: .97rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--navy-800); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-800); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-900) 0%, rgba(10,36,64,.92) 42%, rgba(10,36,64,.55) 72%, rgba(10,36,64,.35) 100%);
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); max-width: 660px; }
.hero h1 { color: #fff; }
.hero .lead { color: #dbe6f4; font-size: 1.2rem; max-width: 34em; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #eaf1fb;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-phone { margin-top: 1.5rem; font-size: .95rem; color: #b9c8dc; }
.hero-phone strong { color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust div { font-size: .9rem; color: #cdd9e8; }
.hero-trust b { display: block; font-family: var(--f-display); font-size: 1.5rem; color: #fff; }

/* ---------- service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  color: inherit;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cdd8ea; text-decoration: none; }
.svc-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--cloud); }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .thumb img { transform: scale(1.06); }
.svc-body { padding: 1.35rem 1.35rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { color: var(--navy-800); margin-bottom: .4rem; }
.svc-body p { color: var(--slate); font-size: .96rem; margin-bottom: 1rem; }
.svc-more { margin-top: auto; font-family: var(--f-display); font-weight: 700; font-size: .92rem; color: var(--brand); display: inline-flex; align-items: center; gap: .35rem; }
.svc-card:hover .svc-more { gap: .6rem; }

/* ---------- feature / why ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--charcoal); }
.check-list svg { flex: none; width: 24px; height: 24px; color: var(--ok); margin-top: 1px; }

/* ---------- stats band ---------- */
.band-navy { background: var(--navy-800); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stats .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem,5vw,2.9rem); color: var(--cta); line-height: 1; }
.stats .l { color: #c6d3e4; font-size: .95rem; margin-top: .5rem; }

/* ---------- trust logos ---------- */
.trust-strip { text-align: center; }
.trust-strip .label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); font-weight: 700; margin-bottom: 1.4rem; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; }
.trust-logo { width: auto; opacity: .82; transition: opacity .2s var(--ease); }
.trust-logo:hover { opacity: 1; }
/* Per-brand optical sizing: the packaged wordmarks carry different built-in padding */
.trust-logo[alt="Veeam"] { height: 22px; }
.trust-logo[alt="RingCentral"] { height: 40px; }
.trust-logo[alt="Microsoft"] { height: 38px; }
.trust-logo[alt="Google"] { height: 34px; }
.logo-row span {
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: #9aa6b6;
  letter-spacing: .02em; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { color: var(--cta); letter-spacing: 2px; margin-bottom: .8rem; font-size: 1rem; }
.quote p { font-size: 1.02rem; color: var(--charcoal); }
.quote .who { margin-top: auto; padding-top: 1rem; font-size: .9rem; color: var(--mist); }
.quote .who b { color: var(--navy-800); display: block; font-family: var(--f-display); }

/* ---------- service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.area-list span, .area-list a { background: var(--cloud); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.area-list a { transition: background .15s var(--ease), border-color .15s, color .15s; }
.area-list a:hover { background: #fff; border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---------- big CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; text-align: center; border-radius: var(--radius); padding: clamp(2.5rem,6vw,4rem) 1.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3ddec; max-width: 46ch; margin-inline: auto; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }
.cta-phone { display: block; margin-top: 1.3rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem,4vw,2rem); color: #fff; }
.cta-phone:hover { color: var(--cta); text-decoration: none; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,4vw,2.25rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--charcoal); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 120px; resize: vertical; }
.contact-info { display: grid; gap: 1.4rem; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; }
.info-row .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cloud); display: grid; place-items: center; color: var(--brand); }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4 { margin: 0 0 .15rem; font-size: 1.02rem; }
.info-row a, .info-row p { margin: 0; color: var(--slate); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #b7c4d6; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #b7c4d6; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { max-width: 32ch; color: #92a2b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; color: #7e8ea5; font-size: .87rem; }
.social-row { display: flex; gap: .55rem; margin-top: 1rem; }
.social-row a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #b7c4d6; border: 1px solid rgba(255,255,255,.12); transition: background .15s var(--ease), color .15s, transform .15s; }
.social-row a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.social-row svg { width: 18px; height: 18px; }
.chamber-line { margin: .85rem 0 0; font-size: .82rem; }
.chamber-line a { color: #9fb0c6; }
.chamber-line a:hover { color: #fff; text-decoration: none; }

/* ---------- sticky mobile call bar ---------- */
.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--cta); color: var(--cta-ink); text-align: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem;
  padding: .95rem; box-shadow: 0 -4px 16px rgba(9,25,45,.18);
  display: none; align-items: center; justify-content: center; gap: .5rem;
}
.mobile-call:hover { text-decoration: none; color: var(--cta-ink); }
.mobile-call svg { width: 1.2em; height: 1.2em; }

/* ---------- page hero (interior) ---------- */
.page-hero { background: var(--navy-800); color: #fff; padding: clamp(3rem,7vw,5rem) 0 clamp(2.5rem,5vw,3.5rem); position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #cfdcec; max-width: 52ch; }
.crumbs { font-size: .85rem; color: #9fb2ca; margin-bottom: 1rem; }
.crumbs a { color: #cfe0f5; }

/* ---------- interior: feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.cards.four { grid-template-columns: repeat(2,1fr); }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.mini-card .ic { width: 46px; height: 46px; border-radius: 12px; background: #eaf1fd; color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.mini-card .ic svg { width: 24px; height: 24px; }
.mini-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.mini-card p { color: var(--slate); font-size: .96rem; margin: 0; }

/* ---------- interior: other-services nav ---------- */
.more-svc { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.more-svc a { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--f-display); font-weight: 700; color: var(--navy-800); box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), border-color .15s; }
.more-svc a:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--brand); }
.more-svc a[aria-current="page"] { border-color: var(--brand); background: #eef4ff; }

@media (max-width: 860px) { .cards, .cards.four, .more-svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards, .cards.four, .more-svc { grid-template-columns: 1fr; } }

/* ---------- utility ---------- */
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; color: var(--navy-700); }
.badge-note { background: #fff8e6; border: 1px solid #f4dfa0; color: #7a5a08; border-radius: 10px; padding: .5rem .8rem; font-size: .82rem; display: inline-block; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; }
  .quote-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .media-frame { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse nav to hamburger before the mid-width range gets crowded */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open li { border-top: 1px solid var(--line); }
  .nav-links.open a { display: block; padding: 1rem 1.4rem; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  body { padding-bottom: 64px; }             /* room for sticky call bar */
  .nav .btn-call { display: none; }          /* replaced by sticky bar on mobile */
  .mobile-call { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-trust b { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
