/* Utah County Digital: styles */

:root {
  --navy: #0F1F33;
  --navy-2: #1E3A5F;
  --blue: #2F5D8A;
  --orange: #F26B3A;
  --orange-dark: #D9551F;
  --gold: #FFB547;
  --cream: #F7F4EE;
  --white: #FFFFFF;
  --text: #22303F;
  --muted: #5B6878;
  --line: #E4DED3;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 31, 51, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 31, 51, 0.22);

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.section-lead { font-size: 1.12rem; color: var(--muted); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--orange); }

.text-link { font-weight: 700; color: var(--orange); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 107, 58, .35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-small { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* Checklists */
.checklist { list-style: none; padding: 0; margin: .5rem 0 1.5rem; }
.checklist li { padding: .35rem 0 .35rem 1.7rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .93rem; }
.site-nav a:not(.btn):hover { color: var(--orange); }
.site-nav .btn { background: var(--orange); color: #fff; }
.site-nav .btn:hover { background: var(--orange-dark); }

.nav-toggle, .nav-toggle-label { display: none; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,31,51,.94) 0%, rgba(15,31,51,.78) 45%, rgba(15,31,51,.35) 100%),
    linear-gradient(0deg, rgba(15,31,51,.7) 0%, transparent 40%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.hero h1 { color: #fff; }
.hero .accent { color: var(--gold); }
.lead { font-size: 1.18rem; color: rgba(255,255,255,.9); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-card {
  background: #fff; color: var(--text);
  border-radius: 20px; padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--orange);
}
.hero-card-title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.hero-card .checklist li { font-size: .97rem; }
.hero-card-note { text-align: center; font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.6rem 0; }
.trust-item { display: flex; gap: .85rem; align-items: center; }
.trust-icon { font-size: 1.6rem; flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--cream); border-radius: 12px; }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; line-height: 1.3; }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* Split layout (problem) */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.problem-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.problem-list li { background: #fff; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; margin-bottom: .75rem; box-shadow: 0 4px 14px rgba(15,31,51,.06); }
.problem-list strong { color: var(--navy); }

/* Services */
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.25rem 2rem 2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .checklist { flex-grow: 1; }
.service-card.featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); box-shadow: var(--shadow-lg); }
.service-card.featured h3, .service-card.featured .price { color: #fff; }
.service-card.featured .checklist li::before { color: var(--gold); }
.badge {
  position: absolute; top: -14px; left: 2rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--orange)); margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--navy); margin-bottom: 1.25rem; line-height: 1.1; }
.price span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: .25rem; }
.price small { font-size: 1rem; font-weight: 600; opacity: .7; }

/* Industries */
.industries { background: var(--cream); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.industry-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.industry-card:hover { transform: translateY(-4px); }
.industry-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-body { padding: 1.25rem 1.35rem 1.5rem; }
.industry-body h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.industry-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* How it works */
.how { background: var(--navy); color: rgba(255,255,255,.82); }
.how h2, .how h3 { color: #fff; }
.how-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; }
.step { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.step:last-child { border-bottom: 0; }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; }
.step-num {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 0 0 6px rgba(242,107,58,.2);
}
.how-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* Sample work */
.work { background: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.work-card { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sample-label {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15,31,51,.2);
}
.mock { margin: 1.25rem 1.25rem 0; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 8px 24px rgba(15,31,51,.15); }
.mock-bar { display: flex; gap: 5px; padding: 8px 10px; background: #E9E4DA; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9C1B3; }
.mock-hero {
  position: relative; height: 150px; padding: 1rem;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .5rem;
}
.mock-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,31,51,.85), rgba(15,31,51,.15)); }
.mock-h { position: relative; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2; max-width: 80%; }
.mock-btn { position: relative; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.mock-rows { padding: .9rem 1rem 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock-rows i { height: 34px; border-radius: 6px; background: var(--cream); }
.work-body { padding: 1.35rem 1.5rem 1.5rem; background: #fff; border-top: 1px solid var(--line); }
.work-body h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.work-body p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }
.work-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: .4rem; }

/* About */
.about { background: var(--cream); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border-radius: 24px; background: linear-gradient(135deg, var(--gold), var(--orange)); z-index: 0;
}
.photo-placeholder, .about-photo img { position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%; border-radius: 24px; object-fit: cover; }
.photo-placeholder {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(47,93,138,.06) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #E8EEF4, #DCE6F0);
  color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.about-sign { font-weight: 600; color: var(--blue); border-left: 4px solid var(--gold); padding-left: 1rem; }

/* Service area band */
.area { position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden; }
.area-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.area-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,31,51,.55), rgba(15,31,51,.85)); }
.area-inner { padding: clamp(4rem, 10vw, 7rem) 0; }
.area h2 { color: #fff; }
.city-list { list-style: none; padding: 0; margin: 1.5rem auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 720px; }
.city-list li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; }
.area p { color: rgba(255,255,255,.88); margin: 0; }

/* FAQ */
.faq { background: #fff; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; background: var(--cream); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: rgba(255,255,255,.85); }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { margin-bottom: .85rem; display: flex; gap: .75rem; align-items: center; }
.contact-list a { color: var(--gold); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,93,138,.15); }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

/* Footer */
.site-footer { background: #0A1626; color: rgba(255,255,255,.65); padding: 2.5rem 0; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: center; }
.footer-inner > div { display: flex; gap: 1rem; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: #fff; }
.footer-icon { border-radius: 10px; }
.footer-meta { text-align: right; }
.footer-credit { font-size: .8rem; opacity: .7; }
.site-footer a { color: var(--gold); text-decoration: none; }

/* Sticky mobile CTA (hidden on desktop) */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 1.1rem; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(180deg, rgba(15,31,51,.85), rgba(15,31,51,.92)); }
  .hero-card { max-width: 520px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .split, .how-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .split-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .split-media img { aspect-ratio: 4 / 3; }
  .service-grid, .work-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .service-grid { gap: 2.25rem; }
  .about-photo { max-width: 420px; margin: 0 auto 1.5rem; width: calc(100% - 1.25rem); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner > div { justify-content: center; text-align: left; }
  .footer-meta { text-align: center; }
}

@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .brand img { height: 46px; }

  .nav-toggle-label { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
    position: relative; transition: transform .2s ease, background .2s ease;
  }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; padding: .9rem; }

  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }

  .mobile-cta {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
    background: var(--orange); color: #fff; text-align: center; text-decoration: none;
    font-family: var(--font-head); font-weight: 800; padding: 1rem; border-radius: 999px;
    box-shadow: 0 10px 30px rgba(15,31,51,.35);
    transform: translateY(150%); transition: transform .25s ease;
  }
  .mobile-cta.show { transform: none; }
  body { padding-bottom: 5rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .trust-inner { grid-template-columns: 1fr; gap: 1rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-card { padding: 1.5rem; }
}

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