/* Sun Service Team — professional IT consulting site */

:root {
  --color-navy: #0f2744;
  --color-navy-deep: #081829;
  --color-slate: #3d4f63;
  --color-muted: #6b7c8f;
  --color-border: #d8e0e8;
  --color-surface: #f4f7fa;
  --color-white: #ffffff;
  --color-gold: #c9922e;
  --color-gold-light: #e8b84a;
  --color-gold-soft: rgba(201, 146, 46, 0.12);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 39, 68, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1120px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-slate);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-gold);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-navy);
}

.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate);
}

.nav-desktop a:hover {
  color: var(--color-navy);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-navy-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  color: var(--color-navy);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 0 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: -1px;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.85rem 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--color-slate);
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, #1a3a5c 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(201, 146, 46, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 4rem 0 5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(201, 146, 46, 0.15);
  border: 1px solid rgba(201, 146, 46, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-gold-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Trust bar */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar p {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-items li {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.section-intro {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.section-alt {
  background: var(--color-surface);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.section-alt .service-card {
  background: var(--color-white);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 146, 46, 0.35);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  background: var(--color-gold-soft);
  border-radius: var(--radius);
  color: var(--color-gold);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-navy);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* About split */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.about-panel {
  padding: 2.5rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.about-panel p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--color-slate);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Process */
.process-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
  padding-top: 0.15rem;
}

.process-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
}

.process-step p {
  margin: 0;
  grid-column: 2;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  color: var(--color-white);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-white);
}

.cta-band p {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.contact-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.contact-card a,
.contact-card p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-white);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--color-gold-light);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.65;
}

.footer-nav h4 {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    padding: 5.5rem 0 6rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step p {
    grid-column: 2;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
