/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --gold: #b8964e;
  --gold-light: #d4af6a;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-mid: #5a5a5a;
  --text-light: #8a8a8a;
  --border: #e0dcd4;
  --bg-light: #f2efe9;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Navigation ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 150, 78, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 150, 78, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 600px;
}

.hero-accent {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border: 1px solid rgba(184, 150, 78, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-accent::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(184, 150, 78, 0.07);
  border-radius: 50%;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-light);
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* ===== Portfolio Cards ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.portfolio-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.portfolio-card .card-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 150, 78, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.portfolio-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.portfolio-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.portfolio-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== Approach Section ===== */
.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.approach-text p {
  font-size: 1.02rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.8;
}

.approach-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ===== Contact Page ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0 80px;
  position: relative;
}

.page-hero .hero-tag {
  color: var(--gold);
}

.page-hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form .form-intro {
  font-size: 0.93rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-sidebar h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info-block {
  margin-bottom: 36px;
}

.contact-info-block .info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-info-block p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.contact-note {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 24px;
  margin-top: 12px;
}

.contact-note p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 36px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--navy);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .approach-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .approach-stats {
    grid-template-columns: 1fr;
  }

  .hero-accent {
    display: none;
  }

  .contact-form {
    padding: 28px 20px;
  }
}
