:root {
  --bg: #F6F6F8;
  --bg-rgb: 246, 246, 248;
  --black: #1E1F22;
  --black-rgb: 30, 31, 34;
  --muted: #747576;
  --muted-rgb: 116, 117, 118;
  --white: #FFFFFF;
  --white-rgb: 255, 255, 255;
  --accent: #FE3B00;
  --accent-rgb: 254, 59, 0;
  --shadow: 0 24px 80px rgba(var(--black-rgb), 0.12);
  --shadow-strong: 0 28px 90px rgba(var(--black-rgb), 0.30);
  --radius: 28px;
  --radius-lg: 36px;
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Gilroy', 'Segoe UI', Arial, sans-serif;
  color: var(--black);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

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

h1,
h2,
h3,
.hero-title,
.section-heading h2,
.section-header h2,
.about-head h2,
.stat-value,
.project-panel h3,
.project-copy h3,
.process-card h3,
.footer-cta h2,
.service-toggle {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.section-pad-xl {
  padding: 100px 0 100px;

}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(var(--white-rgb), 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(var(--black-rgb), 0.04);
}

.brand-mark {
  height: 34px;
  overflow: hidden;
  display: inline-flex;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  gap: 26px;
}

.main-nav a,
.mobile-nav-panel a,
.footer-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.98rem;
  opacity: 0.9;
}

.main-nav a:hover,
.mobile-nav-panel a:hover,
.footer-links a:hover {
  opacity: 1;
}

.btn-soft,
.btn-soft:hover {
  background: rgba(var(--black-rgb), 0.04);
  border: 0;
  color: var(--black);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: 'Gilroy', sans-serif;
}

.btn-menu {
  border-radius: 14px;
  padding: 8px 8px 8px 18px;
  background: var(--black);
  border: 0;
  font-family: 'Gilroy', sans-serif;
}

.menu-plus {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(var(--white-rgb), 0.1);
}

.mobile-nav-panel {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.hero-section {
  padding: 52px 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  min-height: 100vh;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--black-rgb), 0.05);
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 22px;
}

.hero-badge {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1;
  font-family: 'Gilroy', sans-serif;
}

.hero-badge.active {
  background: var(--accent);
  color: var(--white);
  font-weight: 500;
}

.hero-badge.muted {
  color: var(--muted);
  background: transparent;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 auto 14px;
  max-width: 720px;
  text-align: center;
}

.hero-muted {
  color: var(--muted);
  font-weight: 600;
}

.hero-strong {
  color: var(--black);
  font-weight: 600;
}

.hero-subtitle {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  font-family: 'Gilroy', sans-serif;
}

.hero-actions {
  margin-top: 28px;
}

.btn-hero {
  border-radius: 16px;
  padding: 14px 28px;
  font-weight: 500;
  border: 1px solid transparent;
  font-family: 'Gilroy', sans-serif;
}

.btn-hero-dark {
  background: var(--black);
  color: var(--white);
}

.btn-hero-dark:hover {
  color: var(--white);
  background: var(--accent);
}

.btn-hero-light {
  background: var(--white);
  color: var(--black);
  border-color: rgba(var(--white-rgb), 0.12);
  box-shadow: 0 12px 24px rgba(var(--black-rgb), 0.10);
}

.btn-hero-light:hover {
  background: var(--accent);
  color: var(--white);
}

.hero-collage {
  position: relative;
  height: 600px;
  margin: 24px auto 0;
  max-width: 1500px;
  overflow: visible;
}

.hero-carousel-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 1500px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 2%, black 25%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 2%, black 25%, black 80%, transparent 100%);
}

.hero-carousel-track {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.hero-carousel-card {
  flex: 0 0 auto;
  height: 250px;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(var(--black-rgb), 0.03);
  background-size: cover;
  background-position: center center;
}

.hero-feature-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.hero-feature-card {
  aspect-ratio: 3 / 4;
  height: 500px;
  border-radius: 30px;
  /* padding: 10px; */
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.portrait {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.section-heading h2,
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 3.1rem);
  line-height: 1.1;
  margin: 14px 0 0;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  line-height: 1;
  font-family: 'Gilroy', sans-serif;
}

.section-pill.dark {
  border-color: var(--accent);
  color: var(--accent);
}

.about-card,
.stat-card,
.project-copy,
.t-card,
.process-card,
.blog-card,
.faq-wrap,
.footer-cta {
  border-radius: var(--radius-lg);
}

.about-card.dark-card {
  background: var(--black);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.about-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.about-head h2 {
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  /* line-height: 1.05; */
  margin: 0;
  padding-top: 4px;
}

.about-card p {
  color: rgba(var(--white-rgb), 0.65);
  line-height: 1.65;
  font-size: 1.02rem;
}

.avatar-sm {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

.avatar-sm img,
.footer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  background: var(--white);
  padding: 28px 26px;
  border: 1px solid rgba(var(--black-rgb), 0.06);
  box-shadow: 0 18px 50px rgba(var(--black-rgb), 0.05);
}

.stat-value {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.stat-label {
  float: right;
  margin-top: -20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.stat-card p {
  margin-top: 26px;
  color: var(--muted);
  max-width: 360px;
  font-size: 1rem;
  line-height: 1.6;
}

.current-projects-stage {
  position: relative;
  height: 520px;
  border-radius: 40px;
  background: var(--bg);
  overflow: hidden;
}

.project-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(var(--white-rgb), 1) 0%, rgba(var(--bg-rgb), 0.7) 36%, rgba(var(--bg-rgb), 0.2) 100%);
}

.project-scrim-left {
  left: -20%;
  right: 50%;
  background: linear-gradient(90deg, rgba(var(--white-rgb), 0.82), rgba(var(--white-rgb), 0.2));
  filter: blur(6px);
}

.project-scrim-right {
  left: 50%;
  right: -20%;
  background: linear-gradient(270deg, rgba(var(--white-rgb), 0.82), rgba(var(--white-rgb), 0.2));
  filter: blur(6px);
}

.project-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(430px, 86vw);
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.project-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 1);
  margin-right: 8px;
  vertical-align: middle;
}

.project-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.project-panel p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.current-projects-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.mini-card {
  height: 180px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(var(--white-rgb), 1), rgba(var(--bg-rgb), 1));
  opacity: 0.5;
}

.mini-card.accent {
  background: linear-gradient(135deg, rgba(var(--bg-rgb), 1), rgba(var(--white-rgb), 1));
}

.project-list {
  display: grid;
  gap: 60px;
  margin: 0 auto;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(400px, 320px) 1fr;
  gap: 8px;
  border-radius: 32px;
  overflow: hidden;
  align-items: stretch;
}

.project-row.reverse {
  grid-template-columns: minmax(400px, 320px) 1fr;
}

.project-copy {
  padding: 30px 26px 26px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-copy h3 {
  font-size: 1.85rem;
  margin: 18px 0 10px;
}

.project-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.project-visual {
  min-height: 420px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(var(--black-rgb), 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.project-meta strong {
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.project-copy .btn-dark {
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 22px;
  background: var(--black);
  border: 0;
}

.btn-dark:hover {
  background: var(--accent);
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px 8px;
  align-items: start;
  margin: 0 auto;
}

.t-card {
  background: var(--white);
  padding: 28px;
  border-radius: 28px;
}

.t-left-top { grid-column: 1; grid-row: 1; margin-top: 84px; }
.t-left-bottom { grid-column: 1; grid-row: 2; }
.t-center-top { grid-column: 2; grid-row: 1; }
.t-center-main {
  margin-top: -84px;
  grid-column: 2;
  grid-row: 2 / span 2;
  padding: 0 0 18px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  z-index: 6;
}
.t-center-bottom { grid-column: 2; grid-row: 4; margin-top: -84px; }
.t-right-top { grid-column: 3; grid-row: 1; margin-top: 84px; }
.t-right-bottom { grid-column: 3; grid-row: 2; }

.t-card p {
  clear: both;
  margin: 200px 0 24px;
  font-size: 1.16rem;
  line-height: 1.22;
  /* letter-spacing: -0.03em; */
}

.t-avatar {
  width: 50px;
  height: 50px;
  float: right;
}

.t-center-main .portrait-frame {
  margin: 0 0 18px;
  padding: 10px;
  background: var(--black);
  border-radius: 28px;
  /* box-shadow: 0 22px 60px rgba(var(--black-rgb), 0.28); */
}

.t-center-main .portrait {
  height: 210px;
  border-radius: 20px;
  /* background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.9) 100%); */
  overflow: hidden;
}

.t-center-main p {
  font-size: 1.24rem;
  line-height: 1.16;
  margin: 0 22px 14px;
}

.t-center-main .t-meta {
  color: rgba(var(--white-rgb), 0.65);
  margin: 0 22px;
}

.t-center-bottom .t-avatar.small-bottom {
  float: right;
  width: 42px;
  height: 42px;
  margin-top: -4px;
}

.t-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1199px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .t-left-top,
  .t-left-bottom,
  .t-center-top,
  .t-center-main,
  .t-center-bottom,
  .t-right-top,
  .t-right-bottom {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .t-center-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .t-center-main {
    grid-column: auto;
  }
}

.process-card {
  height: 100%;
  padding: 28px;
  background: rgba(var(--white-rgb), 0.92);
}

.process-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.5rem;
}

.process-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  padding: 0;
  border-top: 1px solid rgba(var(--white-rgb), 0.08);
}

.service-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: var(--white);
  border: 0;
  padding: 18px 0;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 500;
}

.service-toggle:focus {
  outline: none;
}

.service-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.service-mark.yellow { background: linear-gradient(145deg, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), 1)); }
.service-mark.blue { background: linear-gradient(145deg, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), 1)); }
.service-mark.green { background: linear-gradient(145deg, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), 1)); }

.service-plus {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--white-rgb), 0.25);
  font-size: 1.2rem;
  opacity: 0.7;
}

.service-body {
  color: rgba(var(--white-rgb), 0.75);
  line-height: 1.65;
  margin: 2px 0 18px 54px;
  font-size: 1.05rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin-left: 54px;
  padding-bottom: 18px;
}

.chip-row span {
  border: 1px solid rgba(var(--white-rgb), 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
  color: rgba(var(--white-rgb), 0.84);
}

.how-heading {
  max-width: 480px;
  margin-top: 12px;
}

.how-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg);
  border-radius: 24px;
  transition: all 0.25s ease;
}

.how-card:hover {
  transform: translateY(-4px);
}

.how-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 16px rgba(var(--black-rgb), 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 18px;
}

.how-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.how-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 360px;
}

@media (max-width: 991px) {
  .how-heading {
    max-width: 100%;
  }
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(var(--black-rgb), 0.05);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(var(--black-rgb), 0.05);
  border-radius: 28px;
}

.blog-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.blog-image.bg-a {
  background: radial-gradient(circle at 30% 40%, rgba(var(--accent-rgb), 0.95), transparent 22%), radial-gradient(circle at 68% 52%, rgba(var(--accent-rgb), 0.95), transparent 18%), linear-gradient(135deg, rgba(var(--black-rgb), 1) 0%, rgba(var(--black-rgb), 1) 60%, rgba(var(--black-rgb), 1) 100%);
}

.blog-image.bg-b {
  background: linear-gradient(180deg, rgba(var(--black-rgb), 0.08), rgba(var(--black-rgb), 0.08)), radial-gradient(circle at 50% 55%, rgba(var(--black-rgb), 1) 0 18%, transparent 18.5%), linear-gradient(135deg, rgba(var(--bg-rgb), 1) 0%, rgba(var(--bg-rgb), 1) 100%);
}

.blog-image.bg-c {
  background: radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), 0.82) 0 10%, transparent 10.5%), linear-gradient(135deg, rgba(var(--bg-rgb), 1) 0%, var(--white) 50%, rgba(var(--bg-rgb), 1) 100%);
}

.blog-body {
  padding: 18px 20px 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
}

.faq-wrap {
  max-width: 780px;
}

.custom-accordion .accordion-item {
  border: 0;
  border-radius: 20px !important;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(var(--black-rgb), 0.05);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(var(--black-rgb), 0.05);
}

.custom-accordion .accordion-button {
  padding: 20px 24px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: var(--white);
  color: var(--black);
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--white);
  color: var(--black);
}

.custom-accordion .accordion-body {
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.custom-accordion .accordion-button::after {
  background-size: 1.1rem;
}

.footer-cta {
  max-width: 520px;
}

.footer-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(var(--black-rgb), 0.2);
  margin-bottom: 18px;
}

.footer-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  /* line-height: 1.05; */
  /* letter-spacing: -0.06em; */
  margin-bottom: 14px;
}

.footer-cta p {
  color: rgba(var(--white-rgb), 0.62);
  line-height: 1.65;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.footer-links a {
  display: block;
  color: var(--white);
  opacity: 0.85;
  padding: 8px 0;
  font-size: 1rem;
  font-family: 'Gilroy', sans-serif;
}

.footer-bottom {
  border-top: 1px solid rgba(var(--white-rgb), 0.08);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(var(--white-rgb), 0.65);
  font-size: 0.95rem;
}

.contact-section {
  padding-bottom: 48px;
}

@media (max-width: 1199px) {
  .hero-collage { height: 600px; }
  .hero-carousel-card { height: 250px;
  aspect-ratio: 16 / 10;}
  .hero-feature-card { width: 330px; height: 470px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .t-card.tall { transform: none; }
  .project-row,
  .project-row.reverse { grid-template-columns: 1fr; }
  .project-visual { min-height: 320px; }
  .current-projects-secondary { grid-template-columns: 1fr 1fr; }
  .service-toggle { font-size: 1.45rem; }
}

@media (max-width: 991px) {
  .section-pad-xl { padding: 80px 0 80px; }
  .hero-section { padding: 76px 0 56px; }
  .hero-collage { height: 470px; }
  .hero-carousel-card {height: 200px;
  aspect-ratio: 16 / 10;}
  .hero-feature-card { width: 290px; height: 410px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .project-row,
  .project-row.reverse { grid-template-columns: 1fr; }
  .footer-links { margin-top: 10px; }
  .footer-bottom { margin-top: 24px; }
}

@media (max-width: 767px) {
  .hero-title { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .hero-collage { height: 410px; margin-top: 36px; }
  .hero-carousel-card { height: 180px;
  aspect-ratio: 16 / 10;}
  .hero-feature-card { width: 260px; height: 360px; }
  .current-projects-stage { height: 440px; }
  .current-projects-secondary { grid-template-columns: 1fr; }
  .service-toggle { font-size: 1.2rem; padding: 16px 0; }
  .service-body,
  .chip-row { margin-left: 0; }
  .section-header,
  .section-heading { text-align: left !important; }
  .footer-bottom { flex-direction: column; }
}
