* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #111; background: #2a2a2a; -webkit-font-smoothing: antialiased; }

.page-bg {
  min-height: 100vh;
  background: #2a2a2a;
  padding: 28px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  padding: 28px 36px 60px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 24px;
}
.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
  color: #111;
}
nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 400;
}
nav a:hover { color: #555; }
nav a.active { font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 460px;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 80%);
}
.hero-content {
  position: relative;
  padding: 56px 56px;
  color: #fff;
  max-width: 560px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 380px;
}

/* Page hero (smaller) */
.hero.compact {
  height: 280px;
}
.hero.compact h1 {
  font-size: 36px;
}

.cta-row {
  margin-top: 22px;
  padding-left: 4px;
}
.btn-primary {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 18px 48px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #000; }

/* About section (home) */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px 8px 50px;
  align-items: start;
}
.about-left h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.about-left p {
  font-size: 12.5px;
  color: #555;
  line-height: 1.65;
  max-width: 320px;
}
.stats-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stat-num {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 11.5px;
  color: #777;
  line-height: 1.4;
  margin-top: 8px;
  max-width: 160px;
}

/* Services */
.services { padding: 60px 8px 0; }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.services-header h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.arrows { display: flex; gap: 10px; }
.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 16px;
}
.arrow-btn.dark { background: #111; color: #fff; border-color: #111; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
}
.service-card .img {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.service-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #111;
}
.service-card .info { padding: 16px 4px 6px; }
.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 11.5px;
  color: #777;
  line-height: 1.5;
}

/* Portfolio */
.portfolio {
  padding: 70px 8px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}
.portfolio-intro h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}
.portfolio-intro p {
  font-size: 12.5px;
  color: #666;
  line-height: 1.6;
  max-width: 280px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.p-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.p-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.95);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: #111;
}
.portfolio-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
}
.p-tall {
  height: 220px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.see-more {
  height: 60px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  align-self: end;
  justify-self: center;
  width: 220px;
  margin-bottom: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section helpers */
.section { padding: 60px 8px 0; }
.section h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.section .lead {
  font-size: 13px;
  color: #666;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 8px 0;
}
.about-grid img {
  width: 100%;
  border-radius: 18px;
  display: block;
}
.about-grid h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.about-grid p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.team-card {
  background: #f5f5f5;
  border-radius: 14px;
  overflow: hidden;
}
.team-card .photo {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.team-card .meta { padding: 16px; }
.team-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 12px;
  color: #777;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.value-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px 22px;
}
.value-card .num {
  font-size: 12px;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 12.5px;
  color: #666;
  line-height: 1.6;
}

/* Services page */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}
.service-row:last-child { border-bottom: none; }
.service-row .visual {
  height: 280px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}
.service-row .content .num {
  font-size: 12px;
  color: #888;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.service-row .content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.service-row .content p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}
.service-row ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.service-row li {
  font-size: 12.5px;
  color: #333;
  padding-left: 18px;
  position: relative;
}
.service-row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
}

/* Portfolio page */
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 12.5px;
  color: #333;
  cursor: pointer;
  text-decoration: none;
}
.filter-chip.active { background: #111; color: #fff; border-color: #111; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-card {
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
}
.gallery-card .img {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.gallery-card .meta { padding: 16px; }
.gallery-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.gallery-card p {
  font-size: 12px;
  color: #777;
}

/* Process page */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 28px 24px;
  border: 1px solid #eee;
  border-radius: 16px;
}
.process-step .num {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  letter-spacing: -1px;
}
.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step .tag {
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 60px 8px 0;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}
.contact-info p.lead {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}
.contact-block {
  margin-bottom: 22px;
}
.contact-block .label {
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.contact-block .value {
  font-size: 15px;
  color: #111;
  font-weight: 500;
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.office-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
}
.office-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.office-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: #f5f5f5;
  border-radius: 18px;
  padding: 36px;
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11.5px;
  color: #555;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  color: #111;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #111;
}
.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* Footer */
footer {
  margin-top: 70px;
  padding: 30px 8px 8px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #777;
}
footer .links {
  display: flex;
  gap: 22px;
}
footer a {
  color: #777;
  text-decoration: none;
}
footer a:hover { color: #111; }

/* ====================================================================
   MOBILE RESPONSIVE (starter demo)
   ==================================================================== */
@media (max-width: 760px) {
  .page-bg { padding: 12px; }
  .container { padding: 18px 20px 40px; border-radius: 18px; }

  header {
    padding: 8px 0 16px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .logo { font-size: 15px; }
  nav ul {
    gap: 16px;
    flex-wrap: wrap;
  }
  nav a { font-size: 12.5px; }

  .hero { height: 420px; }
  .hero-content {
    padding: 28px 24px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 28px;
    letter-spacing: -0.3px;
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .hero p { font-size: 13px; }
  .hero.compact { height: 200px; }
  .hero.compact h1 { font-size: 24px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  }

  .cta-row { padding-left: 0; margin-top: 18px; }
  .btn-primary {
    padding: 14px 28px;
    font-size: 12.5px;
    display: inline-block;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 24px;
  }
  .about-left h2 { font-size: 20px; }
  .about-left p { max-width: 100%; }
  .stats-col { flex-direction: row; gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 30px; }
  .stat-label { max-width: 140px; }

  .services { padding: 32px 0 0; }
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
  }
  .services-header h2 { font-size: 22px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card .img { height: 160px; }
  .service-card h3 { font-size: 14px; }

  .portfolio {
    grid-template-columns: 1fr;
    padding: 32px 0 0;
    gap: 20px;
  }
  .portfolio-intro h2 { font-size: 22px; }
  .portfolio-intro p { max-width: 100%; }
  .portfolio-grid {
    grid-template-rows: 180px 180px;
    gap: 10px;
  }
  .portfolio-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }
  .p-tall { height: 200px; }
  .see-more {
    width: 100%;
    height: 52px;
    margin-bottom: 0;
  }

  .section { padding: 40px 0 0; }
  .section h2 { font-size: 22px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 0;
  }
  .about-grid h2 { font-size: 24px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card .photo { height: 160px; }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .service-row .visual { height: 200px; }
  .service-row .content h3 { font-size: 20px; }
  .service-row ul { grid-template-columns: 1fr; }

  .filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; white-space: nowrap; }

  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-card .img { height: 220px; }

  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px;
  }
  .process-step .num { font-size: 28px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 0;
  }
  .contact-info h2 { font-size: 22px; }
  .office-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-form { padding: 24px; }

  footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    margin-top: 50px;
    padding: 24px 0 0;
  }
  footer .links { gap: 16px; flex-wrap: wrap; }
}


/* ====================================================================
   MOBILE NAV — hamburger drawer
   ==================================================================== */
.__apex-hamburger { display: none; }
.__apex-drawer { display: none; }
@media (max-width: 760px) {
  header nav { display: none; }
  header .btn-outline,
  header .btn-primary { display: none; }
  .__apex-hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
  }
  .__apex-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    transition: transform 0.25s, opacity 0.2s;
  }
  .__apex-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .__apex-hamburger.open span:nth-child(2) { opacity: 0; }
  .__apex-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .__apex-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 999;
    padding: 90px 28px 40px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), opacity 0.25s ease;
    pointer-events: none;
  }
  .__apex-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .__apex-drawer nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .__apex-drawer nav li { width: 100%; }
  .__apex-drawer nav a {
    display: block !important;
    font-size: 22px !important;
    font-weight: 500;
    color: #111 !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
  }
  .__apex-drawer nav a.active::after { display: none !important; }
  .__apex-drawer nav a:hover { color: #555 !important; }
  .__apex-drawer-cta {
    display: inline-block !important;
    margin-top: 32px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }
}

@media (max-width: 760px) {
  header { z-index: 1001 !important; }
  .__apex-drawer { padding-top: 100px; }
}

@media (max-width: 760px) {
  .__apex-drawer .__apex-back-item {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.12);
  }
  .__apex-drawer .__apex-back-item a {
    font-size: 14px !important;
    color: #6680A3 !important;
    font-weight: 600 !important;
    padding: 12px 0 !important;
    border-bottom: none !important;
    letter-spacing: 0.02em;
  }
  .__apex-drawer .__apex-back-item a:hover { color: #4a6280 !important; }
}
