/* =========================================================
   SmorgyTech Shared Site Styles
   Brand-matched to logo
   Mobile-first, responsive, SEO-friendly
========================================================= */

:root {
  --bg: #050505;
  --bg-alt: #111111;
  --bg-soft: #181818;
  --bg-card: #141414;
  --text: #f5f5f5;
  --text-soft: #cfcfcf;
  --text-muted: #9a9a9a;
  --gold: #f2c300;
  --gold-dark: #d9a800;
  --blue: #4ea3e0;
  --blue-dark: #1f6ea9;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --site-width: 1200px;
  --content-width: 860px;
  --transition: all 0.25s ease;
}

/* =========================
   Reset / Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: #ffd84a;
}

ul,
ol {
  padding-left: 1.25rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
   Layout
========================= */
.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

.container-narrow {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* =========================
   Typography
========================= */
h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 0.7rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 62ch;
}

.section-title {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.kicker,
.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(242, 195, 0, 0.12);
  border: 1px solid rgba(242, 195, 0, 0.35);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.accent {
  color: var(--gold);
}

/* =========================
   Buttons
========================= */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #000000;
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #000000;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.97);
  border-bottom: 1px solid rgba(242, 195, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 195, 0, 0.45), transparent);
  opacity: 0.7;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.header-inner {
  min-height: 138px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.site-header.scrolled .header-inner {
  min-height: 138px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo a {
  display: flex;
  align-items: center;
  width: 220px;
  height: 84px;
  line-height: 1;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center 32%;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.site-header.scrolled .logo img {
  width: 100%;
  height: 100%;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.header-brand-name {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.18rem;
}

.header-brand-tagline {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
}

/* =========================
   Main Navigation
========================= */
.site-nav {
  position: relative;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main li {
  position: relative;
}

.nav-main > li > a {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.7rem 0;
}

.nav-main > li > a:hover,
.nav-main > li > a:focus,
.nav-main > li > a.active {
  color: var(--gold);
}

/* =========================
   Dropdown Navigation
========================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: " ▼";
  font-size: 0.7em;
  color: var(--gold);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
  display: none;
  z-index: 1100;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a.active {
  background: #1a1a1a;
  color: var(--gold);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

/* =========================
   Mobile Nav Toggle
========================= */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.menu-toggle:hover,
.menu-toggle:focus {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  transition: var(--transition);
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

/* =========================
   Hero
========================= */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(78, 163, 224, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(242, 195, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #080808 0%, #050505 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 12ch;
}

.hero-box {
  background: linear-gradient(180deg, #111111 0%, #191919 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.hero-box p:last-child {
  margin-bottom: 0;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hero-points li {
  margin-bottom: 0.6rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "• ";
  color: var(--gold);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.metric-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* =========================
   Grids
========================= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

/* =========================
   Cards / Features
========================= */
.feature-card,
.service-card,
.process-card,
.problem-card {
  background: linear-gradient(180deg, #111111 0%, #181818 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.feature-card h3,
.service-card h3,
.process-card h3,
.problem-card h3 {
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.feature-card p,
.service-card p,
.process-card p,
.problem-card p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(242, 195, 0, 0.12);
  border: 1px solid rgba(242, 195, 0, 0.3);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

/* =========================
   CTA Band
========================= */
.cta-band {
  background: linear-gradient(90deg, #0d0d0d 0%, #151515 55%, #101820 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

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

.cta-band p {
  color: var(--text-soft);
}

/* =========================
   Free Website Review Page
========================= */
.review-page-main {
  flex: 1;
}

.review-hero {
  padding: 4.75rem 0 3.5rem;
  background:
    radial-gradient(circle at top right, rgba(78, 163, 224, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(242, 195, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #080808 0%, #050505 100%);
}

.review-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.review-copy {
  min-width: 0;
}

.review-copy h1 {
  max-width: 12ch;
}

.review-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.review-bullet {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 195, 0, 0.22);
  border-radius: 14px;
  padding: 14px 15px;
  color: #efefef;
  font-size: 0.96rem;
}

.review-form-card {
  background: linear-gradient(180deg, #111111 0%, #191919 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.review-form-card h2 {
  margin-bottom: 8px;
}

.review-sub {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.review-help {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #bdbdbd;
}

.review-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.review-success {
  background: rgba(61, 135, 80, 0.18);
  border-color: rgba(90, 180, 112, 0.32);
  color: #b9f3c7;
}

.review-error {
  background: rgba(140, 36, 36, 0.18);
  border-color: rgba(200, 70, 70, 0.28);
  color: #ffb3b3;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-full {
  grid-column: 1 / -1;
}

.review-secondary-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(242, 195, 0, 0.22);
  border-radius: 999px;
  color: #f5f5f5;
  font-size: 0.92rem;
  font-weight: 700;
}

.review-secondary-link:hover {
  color: var(--gold);
  border-color: rgba(242, 195, 0, 0.45);
}

.review-cta {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #111;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 10px 24px rgba(242, 194, 48, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.review-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(242, 194, 48, 0.35);
  filter: brightness(1.03);
}

.review-mini {
  margin-top: 12px;
  color: #bfbfbf;
  font-size: 0.88rem;
  text-align: center;
}

.review-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.review-section-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 195, 0, 0.22);
}

.review-section-block h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.review-issue-grid {
  display: grid;
  gap: 12px;
}

.review-issue {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 195, 0, 0.22);
  border-radius: 14px;
  padding: 14px 15px;
}

.review-issue strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.review-issue span {
  color: #d8d8d8;
  font-size: 0.93rem;
}

.review-steps {
  display: grid;
  gap: 14px;
}

.review-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.review-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-step p {
  margin: 0;
  font-size: 0.92rem;
  color: #d8d8d8;
}
/* =========================
   FAQ Section
========================= */

.faq-list {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.faq-item {
  background: linear-gradient(180deg, #111111 0%, #181818 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.faq-item h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-soft);
  margin-bottom: 0;
  max-width: 70ch;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #000000;
  color: var(--text-soft);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

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

.site-footer h3,
.site-footer h4 {
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: var(--text-soft);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--gold);
}

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

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================
   Forms
========================= */
.form-row {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  background: #101010;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  transition: all 0.15s ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(78, 163, 224, 0.25);
  border-color: var(--blue);
  background: #141414;
  transform: scale(1.01);
}

/* =========================
   Responsive
========================= */
@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .review-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

@media (max-width: 899px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    min-height: 108px;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .logo {
    grid-column: 1 / 2;
  }

  .header-brand-text {
    grid-column: 1 / 2;
    margin-top: -0.2rem;
  }

  .menu-toggle {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .site-nav {
    width: 100%;
    display: none;
    grid-column: 1 / -1;
  }

  .site-nav.nav-open {
    display: block;
  }

  .logo a {
    width: 180px;
    height: 66px;
  }

  .header-brand-name {
    font-size: 1.2rem;
  }

  .header-brand-tagline {
    font-size: 0.78rem;
  }

  .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem 0 0.25rem;
  }

  .nav-main > li {
    width: 100%;
  }

  .nav-main > li > a {
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    display: block;
    min-width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
    border-radius: 10px;
    background: #0f0f0f;
  }

  .nav-dropdown > a::after {
    content: "";
  }

  .review-bullets,
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .section {
    padding: 2.75rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .review-hero {
    padding: 3.5rem 0 2.75rem;
  }

  .header-inner {
    min-height: 94px;
    gap: 0.75rem;
  }

  .logo a {
    width: 150px;
    height: 56px;
  }

  .header-brand-name {
    font-size: 1rem;
  }

  .header-brand-tagline {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

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