﻿/* =========================================================
   SOCWD - Apple-inspired system layer
   Calm light UI: space, clarity, one accent, no neon chrome
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f5f5f7;
  --bg-secondary: #ffffff;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --heading: #1d1d1f;

  --primary: #0071e3;
  --primary-dark: #0077ed;
  --primary-glow: rgba(0, 113, 227, 0.18);
  --accent: #0071e3;
  --accent-dark: #0077ed;
  --accent-glow: rgba(0, 113, 227, 0.16);
  --accent-bright: #2997ff;
  --secondary: #1d1d1f;
  --secondary-glow: rgba(29, 29, 31, 0.08);

  --success: #34c759;
  --success-glow: rgba(52, 199, 89, 0.15);
  --warning: #ff9f0a;
  --danger: #ff3b30;

  --gradient-primary: linear-gradient(180deg, #0077ed 0%, #0071e3 100%);
  --gradient-secondary: linear-gradient(180deg, #2d2d2f 0%, #1d1d1f 100%);
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  --gradient-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  --gradient-text: linear-gradient(90deg, #1d1d1f, #0071e3);

  --font-primary: "Outfit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max-width: 1120px;
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 24px rgba(0, 113, 227, 0.18);
  --blur: blur(20px);

  --transition: all 0.28s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: all 0.18s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: all 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  background: var(--bg);
}

body {
  font-family: var(--font-primary) !important;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(0, 113, 227, 0.07), transparent 55%),
    var(--bg) !important;
  letter-spacing: -0.01em;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .hp-hero__title, .hp-title, .hp-page-hero__title, .hp-cta__title {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

/* ----- Header ----- */
.header {
  background: rgba(251, 251, 253, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}

.header .logo {
  gap: 0.65rem;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

.header .logo span {
  color: var(--heading) !important;
  font-weight: 600 !important;
}

.header .links a {
  color: var(--text) !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  opacity: 0.88;
}

.header .links a:hover {
  opacity: 1;
  color: var(--accent) !important;
}

.header .links a.btn.primary,
.header .mobile a.btn.primary {
  opacity: 1;
  color: #fff !important;
}

/* ----- Buttons (Apple CTA) ----- */
.btn,
.hp-cta-primary,
.hp-ghost-btn,
a.btn {
  border-radius: 980px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.btn::before,
.btn::after,
.btn.primary::after {
  display: none !important;
}

.btn.primary,
.hp-cta-primary {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  padding: 0.85rem 1.45rem !important;
  transition: var(--transition-fast) !important;
}

.btn.primary:hover,
.hp-cta-primary:hover {
  background: var(--primary-dark) !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn.secondary,
.hp-ghost-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--accent) !important;
  border: none !important;
}

.btn.secondary:hover,
.hp-ghost-btn:hover {
  background: rgba(0, 0, 0, 0.08) !important;
}

.pulse-glow {
  animation: none !important;
  box-shadow: none !important;
}

/* ----- Hero / homepage tone-down ----- */
.hp-hero__bg,
.hp-page-hero .hp-hero__bg {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 113, 227, 0.08), transparent 60%) !important;
  animation: none !important;
}

.hp-hero__badge,
.hp-page-hero .hp-hero__badge {
  border-radius: 980px !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid transparent !important;
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
  backdrop-filter: none !important;
}

.hp-pulse-dot {
  background: var(--accent) !important;
  animation: none !important;
  opacity: 0.9;
}

.hp-gradient-text {
  background: none !important;
  -webkit-text-fill-color: var(--accent) !important;
  color: var(--accent) !important;
  animation: none !important;
}

.hp-hero__title,
.hp-page-hero__title {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

.hp-hero__sub,
.hp-page-hero__sub,
.hp-desc {
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
}

.hp-hero__stats,
.hp-stat {
  border: none !important;
}

.hp-stat__number {
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  color: var(--heading) !important;
}

.hp-stat__label {
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
}

.hp-label {
  color: var(--accent) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}

.hp-section,
.hp-results,
.hp-cta {
  background: transparent !important;
}

.hp-results {
  background: #1d1d1f !important;
  border-radius: 0 !important;
}

.hp-result-number,
.hp-result-label {
  color: #f5f5f7 !important;
}

.hp-result-label {
  color: #a1a1a6 !important;
}

/* Cards â†’ quiet surfaces (Apple: avoid heavy card chrome) */
.hp-service-card,
.hp-step,
.hp-testimonial,
.hp-sidebar-card,
.hp-form-card,
.card,
.portfolio-card,
.pf-bento__tile,
.pf-bento__hero {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: var(--radius-lg) !important;
}

.hp-service-card:hover,
.card:hover,
.portfolio-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.hp-loc {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 980px !important;
  color: var(--text) !important;
  font-weight: 500 !important;
}

.hp-loc:hover {
  background: rgba(0, 113, 227, 0.08) !important;
  color: var(--accent) !important;
  border-color: transparent !important;
}

.hp-cta {
  background: #1d1d1f !important;
}

.hp-cta__title {
  color: #f5f5f7 !important;
}

.hp-cta__desc {
  color: #a1a1a6 !important;
}

.hp-cta-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.hp-cta-secondary {
  color: #2997ff !important;
  background: transparent !important;
  border: none !important;
}

/* Showcase quieter */
.hp-showcase-item {
  border-radius: var(--radius-lg) !important;
  border: none !important;
}

.hp-showcase-caption {
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}

/* Footer */
.footer {
  background: #f5f5f7 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: var(--text-secondary) !important;
}

.footer a {
  color: var(--text-secondary) !important;
}

.footer a:hover {
  color: var(--accent) !important;
}

.page-hero-art {
  box-shadow: none !important;
  opacity: 0.55;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.page-hero-art::after {
  background: linear-gradient(180deg, transparent, rgba(245, 245, 247, 0.85)) !important;
  mix-blend-mode: normal !important;
}

/* Sticky mobile CTA */
#socwd-sticky-cta {
  background: rgba(251, 251, 253, 0.92) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: saturate(180%) blur(16px) !important;
}

#socwd-sticky-cta .socwd-sticky-call {
  background: rgba(0, 0, 0, 0.06) !important;
  color: var(--heading) !important;
  border-radius: 980px !important;
  font-weight: 600 !important;
}

#socwd-sticky-cta .socwd-sticky-quote {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border-radius: 980px !important;
  font-weight: 600 !important;
}

/* =========================================================
   Contact form â€” Apple-grade controls
   ========================================================= */

.hp-form-card {
  padding: 2rem !important;
  max-width: 100%;
}

.hp-form-card h3 {
  text-align: left !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.35rem !important;
  letter-spacing: -0.025em;
}

.hp-form-card .hp-form-lede {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hp-form-trust {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem !important;
  margin: 0 0 1.75rem !important;
}

.hp-form-trust span,
.hp-form-trust a.trust-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none;
}

.hp-form-trust .trust-check {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  color: #248a3d;
  display: inline-grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.hp-form-card label {
  display: block;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: -0.01em;
}

/* Text fields only â€” never style checkboxes like text inputs */
.hp-form-card input[type="text"],
.hp-form-card input[type="email"],
.hp-form-card input[type="tel"],
.hp-form-card input[type="url"],
.hp-form-card input[type="number"],
.hp-form-card input:not([type]),
.hp-form-card select,
.hp-form-card textarea {
  width: 100%;
  padding: 0.85rem 1rem !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px !important;
  font-family: var(--font-primary) !important;
  font-size: 1rem !important;
  color: var(--text) !important;
  background: rgba(0, 0, 0, 0.02) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
  appearance: none;
  -webkit-appearance: none;
}

.hp-form-card select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

.hp-form-card input[type="text"]:focus,
.hp-form-card input[type="email"]:focus,
.hp-form-card input[type="tel"]:focus,
.hp-form-card input[type="url"]:focus,
.hp-form-card input:not([type]):focus,
.hp-form-card select:focus,
.hp-form-card textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

.hp-form-card textarea {
  min-height: 110px !important;
  resize: vertical;
}

/* Service chips (checkbox cards) */
.socwd-need-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.socwd-need {
  position: relative;
  margin: 0 !important;
  cursor: pointer;
}

.socwd-need input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.socwd-need span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.socwd-need span::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  background: #fff;
  flex: 0 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.socwd-need:hover span {
  border-color: rgba(0, 113, 227, 0.35);
}

.socwd-need input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.socwd-need input:checked + span {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
  color: var(--heading);
}

.socwd-need input:checked + span::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.hp-form-note {
  background: rgba(0, 0, 0, 0.03) !important;
  border: none !important;
  border-left: none !important;
  border-radius: 14px !important;
  padding: 1rem 1.15rem !important;
  color: var(--text-secondary) !important;
}

.hp-form-note strong {
  color: var(--heading);
  font-weight: 600;
}

.hp-form-note ol {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.hp-form-note li {
  margin: 0.2rem 0;
}

.hp-form-card .hp-cta-primary {
  width: 100%;
  margin-top: 0.25rem;
  padding: 1rem 1.25rem !important;
  font-size: 1.05rem !important;
  border-radius: 980px !important;
}

.hp-form-foot {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hp-sidebar-card .socwd-call-now {
  background: var(--accent) !important;
  background-image: none !important;
  border-radius: 980px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.hp-sidebar-card h3 {
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

.hp-process-list li {
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .socwd-need-grid {
    grid-template-columns: 1fr;
  }

  .hp-form-row {
    grid-template-columns: 1fr !important;
  }

  .hp-form-card {
    padding: 1.35rem !important;
  }
}

/* Accordion / FAQ quiet */
.hp-acc-item {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 14px !important;
  background: #fff !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.hp-acc-trigger {
  font-weight: 500 !important;
  color: var(--heading) !important;
}

/* Marquee strip */
.hp-marquee,
.client-marquee {
  opacity: 0.7;
}

/* Brand-first hero mark (Apple marketing style) */
.hp-brand-mark {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 1rem;
  opacity: 0.92;
}

.hp-hero {
  min-height: auto !important;
  padding: clamp(5.5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 5.5rem) !important;
}

.hp-hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem) !important;
  font-weight: 600 !important;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hp-hero__sub {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
  line-height: 1.5 !important;
}

.hp-hero__cta {
  gap: 0.75rem !important;
  margin-top: 1.75rem;
}

.hp-service-metric {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-radius: 980px !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  letter-spacing: -0.01em;
}

.hp-service-icon {
  background: rgba(0, 113, 227, 0.08) !important;
  color: var(--accent) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.hp-tag {
  border-radius: 980px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}

.hp-resource {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.hp-resource:hover {
  border-color: rgba(0, 113, 227, 0.25) !important;
  box-shadow: var(--shadow) !important;
}

.hp-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem) !important;
  font-weight: 600 !important;
}

.hp-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 !important;
}

.hp-cta__inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.hp-cta__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
  font-weight: 600 !important;
}

.header .logo img {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .hp-hero__title {
    max-width: none;
  }
}
