:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf4fb;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --ink-mute: #7a8699;
  --line: #e2e8f0;
  --line-soft: #edf1f6;
  --accent: #1e9bd8;
  --accent-deep: #1781b8;
  --accent-soft: #d8ecf7;
  --radius: 8px;
  --maxw: 1140px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(20, 60, 100, 0.12);
  --shadow-lg: 0 18px 45px -36px rgba(20, 30, 50, 0.46);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
section { scroll-margin-top: 96px; }

a {
  color: var(--accent-deep);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3 {
  margin: 0 0 .4em;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(20, 30, 50, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin-left: auto;
}
.nav-desktop a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav-desktop a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav-desktop a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.nav-desktop a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .55rem 1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover {
  background: var(--accent-deep);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -12px rgba(23, 129, 184, 0.75);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.header-phone {
  color: var(--accent-deep) !important;
  font-size: .95rem;
  font-weight: 700 !important;
  white-space: nowrap;
  padding-left: .9rem;
  border-left: 1px solid var(--line);
}
.header-phone:hover {
  color: var(--ink) !important;
  text-decoration: none;
}
.remote-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: .72;
  transition: opacity .15s ease, transform .15s ease, background .15s ease;
}
.remote-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.remote-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: var(--bg-soft);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
  width: 22px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: .5rem 1.5rem 1rem;
}
.nav-mobile a {
  color: var(--ink);
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile .nav-cta {
  margin-top: .5rem;
  text-align: center;
  border-bottom: 0;
}

@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile[data-open="true"] { display: flex; }
}
@media (max-width: 520px) {
  .header-inner { gap: .6rem; }
  .brand img { height: 34px; }
  .header-phone {
    font-size: .82rem;
    padding-left: 0;
    border-left: 0;
  }
  .remote-link { display: none; }
  .nav-toggle {
    width: 34px;
    height: 34px;
  }
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(135deg, rgba(232, 245, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 52%),
    linear-gradient(90deg, rgba(30, 155, 216, 0.08), transparent 48%);
  padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(2.8rem, 6vw, 4.6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30, 155, 216, 0.10), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 155, 216, 0.35), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.eyebrow-light { color: var(--accent); }

.hero h1 { color: var(--ink); margin-bottom: 1.2rem; }
.hero-accent { color: var(--accent); font-weight: 400; }

.lead {
  max-width: 32em;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}
.hero-text,
.hero-photo {
  animation: rise-in .55s ease both;
}
.hero-photo { animation-delay: .08s; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink-mute);
  text-decoration: none;
}
.btn-ghost-light {
  border-color: var(--accent-soft);
  color: var(--accent-deep);
}
.btn-ghost-light:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ---------- Photo placeholders ---------- */

/* Placeholder while no photo is set yet, applies only to <figure>.photo-frame */
figure.photo-frame {
  margin: 0;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  position: relative;
  overflow: hidden;
}
figure.photo-frame::after {
  content: attr(data-caption);
  position: absolute;
  bottom: .8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--ink-mute);
  white-space: nowrap;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.photo-label {
  display: inline-block;
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Real images with clean styling */
img.photo-frame {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 45px -34px rgba(20, 30, 50, 0.65);
}

.photo-frame-portrait { aspect-ratio: 4 / 5; }
.photo-frame-wide { aspect-ratio: 16 / 9; }
.hero-photo { aspect-ratio: 5 / 4; }
img.hero-photo,
img.photo-frame-portrait,
img.photo-frame-wide { object-fit: cover; height: 100%; }

/* ---------- Section heads ---------- */

section { padding: clamp(3rem, 7vw, 5rem) 0; }

.section-head {
  margin-bottom: 2rem;
  max-width: 44em;
}
.section-head h2 { margin-bottom: .3rem; }
.section-head p { color: var(--ink-mute); font-size: 1rem; margin: 0; }

/* ---------- Services ---------- */

.services { background: var(--bg-soft); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-height: 174px;
  display: grid;
  align-content: start;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service:hover {
  background: #ffffff;
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -30px rgba(20, 30, 50, 0.55);
}
.service-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eaf7fd, #ffffff);
  color: var(--accent-deep);
  border: 1px solid var(--accent-soft);
}
.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  margin-bottom: .45rem;
}
.service p { font-size: 0.97rem; margin: 0; color: var(--ink-soft); }

.m365-feature {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.m365-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: .65rem;
}
.m365-copy p {
  max-width: 36em;
  margin-bottom: 1rem;
}
.m365-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}
.m365-copy li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.m365-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.m365-feature img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: none;
}
@media (max-width: 820px) {
  .m365-feature {
    grid-template-columns: 1fr;
  }
}

/* ---------- Support / Splashtop ---------- */

.support {
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .support-grid { grid-template-columns: 1fr; }
}

.support-text h2 { margin-bottom: .8rem; }
.support-text > p { max-width: 38em; }

.support-steps {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.support-steps li {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.support-steps strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .15rem;
}
.support-steps p { margin: 0; font-size: 0.95rem; }
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.support-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.support-note {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin: 0;
}

.support-preview {
  position: sticky;
  top: 100px;
  justify-self: center;
  width: min(100%, 320px);
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 16px 42px -34px rgba(20, 30, 50, 0.55);
}
.support-preview img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
@media (max-width: 860px) {
  .support-preview {
    position: static;
    width: min(100%, 280px);
    justify-self: start;
  }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .65rem;
}
.about-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Partners ---------- */

.partners { background: var(--bg-soft); }
.partners {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.partners .section-head {
  margin-bottom: 1.1rem;
}

.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  flex: 0 0 auto;
  transition: transform .15s ease, opacity .15s ease;
}
.partner-list li:hover { transform: translateY(-2px); }
.partner-list img {
  width: auto;
  object-fit: contain;
  transition: opacity .15s ease;
}
.partner-list img[alt*="Microsoft"] { height: 62px; }
.partner-list img[alt*="HP"]        { height: 62px; }
.partner-list img[alt*="Combell"]   { height: 74px; }
.partner-list img[alt*="Tasty"]     { height: 78px; }

/* ---------- Contact ---------- */

.contact {
  background: #fff;
}
.contact-panel {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px -38px rgba(20, 30, 50, 0.5);
}
.contact-intro {
  font-size: 1.05rem;
  max-width: 44em;
}
.contact-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.contact-list {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .contact-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .contact-list { grid-template-columns: 1fr; }
}
.contact-list > div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.contact-list dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: .3rem;
}
.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-list dd a { color: var(--ink); }
.contact-list dd a:hover { color: var(--accent-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #aab2c0;
  padding: 2rem 0;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.site-footer p { margin: 0; color: #aab2c0; }
.site-footer a { color: #d8dde6; }
.footer-meta { color: #7a8699; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

/* ---------- Legal pages ---------- */

.legal-page {
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 22%);
  min-height: 70vh;
}
.legal-wrap {
  max-width: 860px;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  animation: rise-in .45s ease both;
}
.legal-wrap h1 { margin-bottom: .4rem; }
.legal-section {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.legal-section:first-of-type { margin-top: 2rem; }
.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.legal-section p { margin: 0; }

.reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-visible {
  animation: rise-in .45s ease both;
}

/* ---------- Misc ---------- */

::selection { background: var(--accent); color: #fff; }

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
