:root {
  --primary: #fcb900;
  --primary-dark: #e2a500;
  --ink: #0f172a;
  --ink-soft: #1f2a44;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --success: #166534;
  --error: #b91c1c;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 0;
  font-size: 0.86rem;
}

.topbar p {
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 220px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
  border-radius: 0.35rem;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.main-nav a {
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.88rem 1.35rem;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(252, 185, 0, 0.28);
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero {
  min-height: 84vh;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 5rem 0;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.2;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero p {
  margin: 0 0 1.7rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .card {
  color: var(--text);
}

.section-dark .card h3 {
  color: var(--ink);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(252, 185, 0, 0.2);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.split img {
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  min-height: 320px;
  object-fit: cover;
}

.categories article {
  border-left: 4px solid var(--primary);
}

.portfolio figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  position: relative;
}

.portfolio img {
  min-height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio figure:hover img {
  transform: scale(1.06);
}

.portfolio figcaption {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.86), transparent);
  color: var(--white);
  padding: 1.1rem 0.85rem 0.8rem;
  font-size: 0.88rem;
}

.testimonial {
  border-top: 4px solid var(--primary);
}

.cta-banner {
  background: linear-gradient(95deg, #0f172a, #1e293b);
  color: var(--white);
  border-radius: 0.7rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-banner h3 {
  margin: 0;
}

.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 0.7rem;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(252, 185, 0, 0.35);
  border-color: var(--primary);
}

.error-msg {
  color: var(--error);
  font-size: 0.82rem;
  min-height: 1.1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.4rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #dcfce7;
  color: var(--success);
  border: 1px solid #86efac;
}

.form-status.error {
  background: #fee2e2;
  color: var(--error);
  border: 1px solid #fca5a5;
}

.legal-content {
  background: var(--bg);
}

.legal-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin-top: 2rem;
}

.legal-panel ul {
  margin: 0.5rem 0 1rem 1.2rem;
}

.page-hero {
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.78)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  padding: 6rem 0 4rem;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.feature-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.feature-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.team-card img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.8rem;
}

footer {
  background: #050912;
  color: rgba(255, 255, 255, 0.88);
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.02rem;
}

.footer-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.footer-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.social-links a {
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 340px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.3rem;
  }

  .main-nav a {
    width: 100%;
    border-radius: 0.3rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 0;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
