/* ===== City Websters — Dark blue + orange theme ===== */
:root {
  --bg: #0a1628;
  --bg-2: #0d1b2a;
  --surface: #13243b;
  --surface-2: #1b2c47;
  --border: #243a5a;
  --text: #e8eef6;
  --muted: #9fb3c8;
  --accent: #ff7a18;
  --accent-2: #ff9542;
  --accent-soft: rgba(255, 122, 24, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1140px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0e00;
  box-shadow: 0 10px 24px rgba(255, 122, 24, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 122, 24, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.accent { color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand-logo { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #1a0e00; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 24px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { color: #1a0e00; border: 0; margin-top: 8px; text-align: center; }

/* ===== Hero ===== */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(255, 122, 24, 0.16), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(40, 90, 160, 0.22), transparent 60%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.92rem; }
.hero-trust span { color: var(--accent); letter-spacing: 2px; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ===== Grids ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Portfolio ===== */
.work-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.work-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.work-item img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.work-meta { padding: 16px 18px; }
.work-meta h3 { font-size: 1.08rem; }
.work-meta span { color: var(--accent-2); font-size: 0.85rem; font-weight: 600; }

/* ===== Steps ===== */
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-size: 2rem; font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; }
.checklist { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.8rem; font-weight: 800;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-points { list-style: none; display: grid; gap: 12px; }
.contact-points li { color: var(--muted); }
.contact-points a { color: var(--accent-2); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #607690; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; text-align: center; font-weight: 600; font-size: 0.95rem; min-height: 1.2em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }
.hidden { display: none !important; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 50px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--accent-2); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; max-width: 480px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { max-width: 480px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 54px 0 64px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }

  /* Stack stars above the trust text, smaller on mobile */
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-trust span { font-size: 0.85rem; letter-spacing: 1px; }

  /* Center footer contents on mobile */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { max-width: none; }
  .footer-brand .brand-logo { margin-left: auto; margin-right: auto; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
