/* ============================================================
   SAGO Network Solutions — sagonetworksolutions.com
   Compiled from the Claude Design export. No runtime, no bundler.
   ============================================================ */

:root{
  --ink:#101826;
  --ink-deep:#0B1220;
  --body:#5B6880;
  --body-dk:#4A5670;
  --blue:#2F6DF0;
  --blue-dk:#1d54c9;
  --page:#F7F9FC;
  --panel:#EFF3F9;
  --line:rgba(16,24,38,0.07);
  --line-strong:rgba(16,24,38,0.14);
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:'Barlow Condensed',var(--sans);
  --mono:'Space Mono',ui-monospace,monospace;
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--page);
  color:var(--ink);
  font-family:var(--sans);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
::selection{background:var(--blue);color:#fff;}
a{color:var(--blue);text-decoration:none;}
a:hover{color:var(--blue-dk);}
h1,h2,h3{font-family:var(--display);font-weight:700;color:var(--ink-deep);margin:0;}
p{margin:0;}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px;}

.skip{
  position:absolute;left:-9999px;top:0;z-index:300;
  background:#fff;color:var(--ink);padding:12px 18px;border-radius:0 0 10px 0;font-weight:600;
}
.skip:focus{left:0;}

/* Sections stay visible without JS; the reveal only engages when JS runs. */
.js .sg-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.js .sg-reveal.sg-in{opacity:1;transform:none;}

@keyframes sg-fade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ---------------- buttons ---------------- */
.btn{
  display:inline-block;
  font-size:15px;font-weight:600;
  padding:15px 28px;border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .18s,color .18s,border-color .18s;
}
.btn-primary{background:var(--blue);color:#fff;}
.btn-primary:hover{background:var(--blue-dk);color:#fff;}
.btn-outline{color:#fff;border-color:rgba(255,255,255,0.35);}
.btn-outline:hover{color:#fff;background:rgba(255,255,255,0.12);}
.btn-block{width:100%;}

/* ---------------- header ---------------- */
.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 24px;
  background:rgba(247,249,252,0.9);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(16,24,38,0.08);
}
.brand{display:flex;align-items:center;color:inherit;min-width:0;}
.brand:hover{color:inherit;}
/* The logo artwork carries the wordmark and tagline, so no text beside it. */
.brand-logo{height:64px;width:auto;display:block;}
.site-nav{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.nav-ghost,.nav-cta{white-space:nowrap;font-size:12.5px;border-radius:8px;}
.nav-ghost{font-weight:500;padding:9px 12px;color:#374357;border:1px solid var(--line-strong);}
.nav-ghost:hover{color:var(--ink);border-color:var(--blue);}
.nav-cta{font-weight:600;padding:10px 14px;background:var(--blue);color:#fff;}
.nav-cta:hover{background:var(--blue-dk);color:#fff;}

/* ---------------- hero ---------------- */
.hero{
  position:relative;
  min-height:88svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  padding:80px 20px 60px;
  overflow:hidden;
}
.hero-bg,.hero-bg img{position:absolute;inset:0;width:100%;height:100%;}
.hero-bg img{object-fit:cover;object-position:center 30%;}
.hero-scrim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,14,24,.72) 0%,rgba(7,14,24,.55) 45%,rgba(7,14,24,.82) 100%);
}
.hero-inner{position:relative;width:100%;max-width:820px;}
.hero-eyebrow{
  font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;
  color:#9FD4FA;margin:0 0 18px;animation:sg-fade .7s ease both;
}
.hero h1{
  /* Sized against viewport width so the headline always stays on ONE line. */
  font-size:min(7vw,68px);white-space:nowrap;line-height:1.05;letter-spacing:.01em;
  color:#fff;margin:0 0 22px;animation:sg-fade .8s ease .08s both;
}
.hero-sub{
  font-size:clamp(16px,2.4vw,21px);line-height:1.6;font-weight:500;
  color:#E7EDF7;max-width:640px;margin:0 auto 30px;animation:sg-fade .8s ease .16s both;
}
.hero-cta{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;
  animation:sg-fade .8s ease .24s both;
}

/* ---------------- shared section ---------------- */
.section{padding:100px 20px;max-width:var(--wrap);margin:0 auto;}
.section-head{text-align:center;max-width:640px;margin:0 auto 56px;}
.kicker{
  font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;
  color:var(--body);margin:0 0 12px;
}
.kicker-dark{color:#8FA0BC;}
.section h2{font-size:clamp(28px,5vw,46px);margin:0 0 16px;}
.section-sub{font-size:15.5px;line-height:1.6;color:var(--body);margin:0;}

/* ---------------- services ---------------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;}
.cards > *{min-width:0;}
.card{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:32px 26px;box-shadow:0 1px 2px rgba(16,24,38,.04);
}
.card-icon{
  width:46px;height:46px;border-radius:12px;background:#EAF0FC;color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;
}
.card-icon svg{width:24px;height:24px;}
.card h3{font-size:22px;color:var(--ink);margin:0 0 10px;}
.card p{font-size:14.5px;line-height:1.6;color:var(--body);}

/* ---------------- why ---------------- */
.why{padding:90px 20px;background:var(--panel);}
.why-grid{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;
}
.why-grid > *{min-width:0;}
.why-copy h2{font-size:clamp(34px,5.5vw,52px);margin:0 0 20px;}
.why-copy p{font-size:15.5px;line-height:1.65;color:var(--body-dk);max-width:480px;}
.why-copy p + p{margin-top:16px;}
.why-points{display:flex;flex-direction:column;gap:16px;}
.trust{
  display:flex;align-items:flex-start;gap:14px;
  background:#fff;padding:16px 18px;border-radius:12px;border:1px solid rgba(16,24,38,.06);
}
.trust-dot{
  width:22px;height:22px;border-radius:50%;background:var(--blue);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
.trust-pip{width:8px;height:8px;background:#fff;border-radius:1px;}
.trust span{font-size:15px;color:#26314A;line-height:1.5;}

/* ---------------- gallery ---------------- */
.tiles-group{
  font-size:24px;color:var(--ink-deep);letter-spacing:.02em;
  margin:0 0 18px;padding-bottom:10px;border-bottom:1px solid var(--line);
}
.tiles + .tiles-group{margin-top:44px;}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;}
.tiles > *{min-width:0;}
.tile{
  margin:0;position:relative;background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid var(--line);
}
.tile-shot{
  display:block;position:relative;width:100%;aspect-ratio:4/3;
  padding:0;border:0;background:none;cursor:pointer;
}
.tile-shot img{width:100%;height:100%;object-fit:cover;}
.crop{position:absolute;width:16px;height:16px;pointer-events:none;}
.crop-tl{top:10px;left:10px;border-top:2px solid #8B98AD;border-left:2px solid #8B98AD;}
.crop-tr{top:10px;right:10px;border-top:2px solid #8B98AD;border-right:2px solid #8B98AD;}
.crop-bl{bottom:10px;left:10px;border-bottom:2px solid #8B98AD;border-left:2px solid #8B98AD;}
.crop-br{bottom:10px;right:10px;border-bottom:2px solid #8B98AD;border-right:2px solid #8B98AD;}
.live{
  position:absolute;top:10px;left:34px;
  display:flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:10px;letter-spacing:.05em;color:#fff;
  background:rgba(16,24,38,.55);padding:4px 8px;border-radius:5px;pointer-events:none;
}
.live-dot{width:6px;height:6px;border-radius:50%;background:#ff4d4d;}
.more{
  position:absolute;bottom:10px;right:10px;
  display:flex;align-items:center;gap:5px;
  font-size:12px;font-weight:600;color:#fff;
  background:rgba(16,24,38,.65);padding:5px 10px;border-radius:999px;pointer-events:none;
}
.tile figcaption{padding:14px 16px;}
.tile-label{font-size:14.5px;font-weight:600;color:var(--ink);margin:0;}
.tile-badge{font-size:12px;color:var(--body);margin:6px 0 0;}

/* ---------------- service area ---------------- */
.area{padding:90px 20px;background:var(--ink-deep);}
.area-inner{max-width:900px;margin:0 auto;text-align:center;}
.area h2{font-size:clamp(26px,4.5vw,40px);color:#fff;margin:0 0 16px;}
.area-sub{font-size:15.5px;line-height:1.6;color:#B9C7DC;margin:0 0 32px;}
.cities{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.city{
  font-size:13.5px;color:#DCE6F5;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  padding:8px 14px;border-radius:999px;
}

/* ---------------- contact ---------------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:56px;}
.contact-grid > *{min-width:0;}
.contact-copy h2{font-size:clamp(26px,4.5vw,40px);margin:0 0 20px;}
.contact-lede{max-width:420px;margin:0 0 32px;line-height:1.65;color:var(--body-dk);}
.contact-list{display:flex;flex-direction:column;gap:16px;}
.contact-item{
  display:flex;align-items:center;gap:12px;
  font-size:15px;font-weight:600;color:var(--ink);
  word-break:break-word;
}
.contact-item:hover{color:var(--blue);}
.contact-icon{
  width:38px;height:38px;border-radius:10px;background:#F0F2F6;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.ci-ring{width:16px;height:16px;border-radius:50%;border:2px solid var(--blue);}
.ci-env{width:16px;height:12px;border:2px solid var(--blue);border-radius:2px;}
.ci-pin{width:14px;height:14px;background:var(--blue);border-radius:3px;}

.quote-form{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:32px;display:flex;flex-direction:column;gap:16px;
  box-shadow:0 1px 2px rgba(16,24,38,.04);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.form-row > *{min-width:0;}
.field{display:flex;flex-direction:column;gap:6px;}
/* Placeholders carry the labels visually; keep real labels for screen readers. */
.field-label{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.quote-form input,
.quote-form select,
.quote-form textarea{
  width:100%;max-width:100%;
  font-family:var(--sans);font-size:16px;
  padding:13px 14px;border-radius:9px;
  border:1px solid var(--line-strong);
  background:var(--page);color:var(--ink);
  transition:border-color .15s,box-shadow .15s;
}
.quote-form textarea{resize:vertical;}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus{
  outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,109,240,.18);
}
.hp{position:absolute;left:-9999px;}
.form-note{font-size:13.5px;min-height:1.2em;color:var(--body);}
.form-note.err{color:#C23A3A;}
.form-note.ok{color:#1a7f4b;}

/* ---------------- footer ---------------- */
.site-footer{padding:48px 24px 32px;background:var(--ink-deep);}
.footer-grid{
  max-width:var(--wrap);margin:0 auto;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;
}
.footer-brand{display:flex;flex-direction:column;gap:12px;max-width:340px;}
.footer-logo{height:72px;align-self:flex-start;max-width:100%;object-fit:contain;}
.footer-brand p{font-size:14px;color:#8FA0BC;line-height:1.55;margin:0;}
.footer-col{display:flex;flex-direction:column;gap:10px;}
.footer-head{
  font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:#5C6C87;
}
.footer-col a,.footer-col span:not(.footer-head){font-size:13.5px;color:#C4D0E5;}
.footer-col a:hover{color:#fff;}
.footer-legal{
  max-width:var(--wrap);margin:32px auto 0;padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:12.5px;color:#5C6C87;
}

/* Lightbox is PhotoSwipe (vendor/photoswipe.css); z-index above the header. */
.pswp{--pswp-bg:#0B1220;z-index:300;}
.pswp__sago-caption{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 18px calc(14px + env(safe-area-inset-bottom));
  text-align:center;font-size:14.5px;line-height:1.45;color:#E7EDF7;
  background:linear-gradient(transparent,rgba(7,14,24,.85));
  pointer-events:none;
}
.pswp__sago-caption:empty{display:none;}

/* ============================================================
   RESPONSIVE
   Two-column grids collapse well before they get cramped, and
   every grid child gets min-width:0 (above) so long strings and
   images can't force a column wider than the viewport.
   ============================================================ */

@media (max-width:960px){
  .why-grid,
  .contact-grid{grid-template-columns:1fr;gap:40px;}
  .why-copy p{max-width:none;}
  .contact-lede{max-width:none;}
  .section{padding:80px 20px;}
  .why,.area{padding:72px 20px;}
}

@media (max-width:700px){
  .site-header{padding:12px 16px;gap:10px;}
  .brand-logo{height:46px;}
  .nav-ghost{padding:9px 10px;}

  .hero{padding:56px 18px 48px;min-height:78svh;}
  .hero-cta{gap:10px;}
  .hero-cta .btn{padding:14px 20px;font-size:14.5px;}

  .section{padding:64px 18px;}
  .section-head{margin-bottom:40px;}
  .why,.area{padding:64px 18px;}
  .why-grid,.contact-grid{gap:32px;}

  .cards,.tiles{grid-template-columns:1fr;gap:16px;}
  .card{padding:26px 22px;}

  .quote-form{padding:24px 20px;border-radius:14px;}
  .form-row{grid-template-columns:1fr;gap:16px;}

  .footer-grid{gap:28px;}
}

@media (max-width:400px){
  .hero-cta{flex-direction:column;align-items:stretch;}
  .hero-cta .btn{width:100%;text-align:center;}
  .brand-logo{height:40px;}
  .nav-ghost{padding:9px 8px;font-size:12px;}
  .nav-cta{padding:10px 12px;}
}

/* Only on genuinely narrow phones does Quick Links have to go; it stays
   reachable from the footer. */
@media (max-width:344px){
  .nav-ghost{display:none;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .js .sg-reveal{opacity:1 !important;transform:none !important;transition:none !important;}
  .hero-eyebrow,.hero h1,.hero-sub,.hero-cta{animation:none !important;}
}
