/* ==========================================================================
   GoatWebsite — goatwebsite.com
   Palette drawn from the logo: deep navy + bright blue on white.
   Display: Archivo · Body: Figtree
   ========================================================================== */

:root {
  --navy: #142a4d;
  --navy-deep: #0d1d38;
  --blue: #2b6fd4;
  --blue-dark: #1e56a8;
  --tint: #f1f6fc;
  --line: #dfe7f2;
  --text: #3b4a66;
  --muted: #64748f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 29, 56, 0.08);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }

p + p { margin-top: 0.9em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}

.brand img { width: 44px; height: 44px; }

.brand-name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand-name span { color: var(--blue); }

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
}

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

.site-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.header-cta { margin-left: 8px; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

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

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: #e8eefb; color: var(--navy); }

.btn-ghost-white {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}
.btn-ghost-white:hover { border-color: var(--white); color: var(--white); }

/* ------------------------------------------------------------------ hero */

.hero { padding: 84px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.2rem;
  margin: 22px 0 30px;
  max-width: 34em;
}

.rotator {
  color: var(--blue);
  display: inline-block;
  font-weight: 700;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.rotator.is-out {
  opacity: 0;
  transform: translateY(6px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-facts {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--muted);
}

.hero-facts li { list-style: none; display: flex; align-items: center; gap: 8px; }

.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* Browser-frame device — echoes the window in the logo mark */

.browser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}

.browser-dots { display: flex; gap: 6px; }

.browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.25;
}

.browser-url {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 12px;
}

.hero-mock { padding: 26px; }

.mock-line { height: 12px; border-radius: 6px; background: var(--line); margin-bottom: 12px; }
.mock-line.w-60 { width: 60%; }
.mock-line.w-80 { width: 80%; }
.mock-line.title { height: 22px; width: 72%; background: var(--navy); opacity: 0.9; }
.mock-line.accent { width: 38%; background: var(--blue); }

.mock-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.mock-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.mock-card .mock-line { margin-bottom: 8px; }

.hero-visual { position: relative; }

.hero-visual .goat-mark {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 118px;
  filter: drop-shadow(0 8px 18px rgba(13, 29, 56, 0.18));
}

/* -------------------------------------------------------------- sections */

.section { padding: 76px 0; }
.section.tinted { background: var(--tint); }
.section.navy { background: var(--navy-deep); }

.section-head { max-width: 44em; margin-bottom: 46px; }
.section-head p { margin-top: 14px; font-size: 1.1rem; }

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 10px; }

.step .free-tag {
  display: inline-block;
  margin-left: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: #e6effb;
  border-radius: 20px;
  padding: 2px 10px;
  vertical-align: 3px;
}

/* service cards use the browser frame */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card .browser-body { padding: 26px; }

.service-card h3 { margin-bottom: 4px; }

.service-price {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.service-card ul { margin: 14px 0 0; padding: 0; list-style: none; }

.service-card li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 9px;
  font-size: 0.99rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

/* trade chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 20px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}

.chips li.chip-etc {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* recent work */

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.work-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }

.work-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

/* why-us list */

.plain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 44px;
}

.plain-item {
  border-top: 3px solid var(--blue);
  padding-top: 16px;
}

.plain-item h3 { margin-bottom: 6px; font-size: 1.08rem; }
.plain-item p { font-size: 0.99rem; }

/* CTA band */

.cta-band { text-align: left; }

.cta-band .cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.cta-band h2 { color: var(--white); }

.cta-band p {
  color: #b9c6dd;
  margin-top: 14px;
  max-width: 36em;
  font-size: 1.08rem;
}

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- pricing */

.price-hero { padding: 72px 0 8px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-family: "Archivo", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tint);
}

.price-table tr:last-child td { border-bottom: none; }

.price-table .price {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.includes-list {
  columns: 2;
  column-gap: 44px;
  list-style: none;
}

.includes-list li {
  break-inside: avoid;
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 13px;
  height: 8px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

/* FAQ */

.faq { max-width: 780px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq summary {
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 600;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { padding: 0 0 18px; max-width: 60em; }

/* ---------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-ways { list-style: none; margin-top: 26px; }

.contact-ways li { margin-bottom: 18px; }

.contact-ways .way-label {
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

.contact-ways a { font-weight: 700; font-size: 1.12rem; }

.form-card { padding: 30px; }

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.97rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font: inherit;
  color: var(--navy);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 111, 212, 0.15);
}

.form-hint { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--navy-deep);
  color: #aab8d0;
  padding: 54px 0 34px;
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span { color: #5b96e8; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #aab8d0; }
.site-footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

/* reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.review-stars {
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card blockquote {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 16px;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  display: block;
  font-size: 0.97rem;
}

.review-card .review-role {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 940px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

/* sticky mobile CTA bar */

.mobile-cta { display: none; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1.02rem; padding-bottom: 78px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 44px; }
  .hero-visual { display: none; }
  .hero p.lead { font-size: 1.1rem; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 16px 20px; }
  .section-head { margin-bottom: 30px; }
  .step, .service-card .browser-body { padding: 24px 20px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { display: block; width: 100%; text-align: center; padding: 15px; }
  .header-row { flex-wrap: wrap; gap: 10px 12px; padding: 12px 20px; }
  .site-nav {
    margin-left: 0;
    gap: 4px;
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .site-nav a { font-size: 0.95rem; white-space: nowrap; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { padding: 10px 16px; font-size: 0.92rem; }
  .section { padding: 56px 0; }
  .cards-3, .steps, .plain-grid, .work-grid, .contact-grid { grid-template-columns: 1fr; }
  .includes-list { columns: 1; }
  .price-table { display: block; overflow-x: auto; }
  .price-table th, .price-table td { min-width: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual .goat-mark { width: 84px; right: -8px; bottom: -20px; }
}

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