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

.h1-page {
  color: #F0F0F0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.h1-page a { color: inherit; text-decoration: none; }
.h1-page img { display: block; max-width: 100%; }
.h1-page em { font-style: italic; color: #CB360F !important; }

.h1-container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.h1-section { padding: 104px 0; }
.h1-section-sm { padding: 72px 0; }
.h1-rule { height: 1px; background: rgba(255,255,255,0.07); }
.h1-bg-card { background: #111112; }

/* ── OVERLINE ── */
.h1-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CB360F;
  margin-bottom: 18px;
}
.h1-overline::before {
  content: '';
  width: 24px;
  height: 2px;
  background: #CB360F;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── SECTION HEADER ── */
.h1-section-header { margin-bottom: 64px; }
.h1-section-header h2 {
  font-family: inherit;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.h1-centered { text-align: center; }
.h1-centered .h1-overline { justify-content: center; }

/* ── BUTTONS ── */
.h1-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.h1-btn-primary {
  background: #CB360F;
  color: #fff;
}
.h1-btn-primary:hover {
  background: #e04515;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(203,54,15,0.35);
}
.h1-btn-ghost {
  background: transparent;
  color: #7A7A7A;
  border: 1px solid rgba(255,255,255,0.14);
}
.h1-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ── HERO ── */
.h1-hero {
  position: relative;
  min-height: 94vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
  overflow: hidden;
}
.h1-hero-bg { position: absolute; inset: 0; z-index: 0; }
.h1-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.45;
}
.h1-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, #0C0C0D 0%, rgba(12,12,13,0.75) 45%, rgba(12,12,13,0.2) 100%),
    linear-gradient(105deg, rgba(12,12,13,0.9) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(203,54,15,0.15) 0%, transparent 60%);
}
.h1-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.h1-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CB360F;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.h1-eyebrow::before { content: ''; width: 24px; height: 2px; background: #CB360F; border-radius: 2px; }
.h1-hero h1 {
  font-family: inherit;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.h1-hero-sub {
  font-size: 1.0625rem;
  color: #7A7A7A;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 300;
}
.h1-hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.h1-hero-scroll {
  position: absolute;
  bottom: 40px; right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.35;
}
.h1-scroll-line { width: 36px; height: 1px; background: #fff; }
.h1-hero-scroll span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }

/* ── STATS ── */
.h1-stats-bar {
  background: #111112;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.h1-stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.h1-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 56px;
}
.h1-stat-num {
  font-family: inherit;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.h1-stat-num em {
  font-style: normal;
  color: #CB360F;
  font-size: 0.65em;
  vertical-align: super;
}
.h1-stat-label { font-size: 12px; color: #666; letter-spacing: 0.03em; }
.h1-stat-sep { width: 1px; background: rgba(255,255,255,0.07); flex-shrink: 0; align-self: stretch; }

/* ── TESTIMONIALS ── */
.h1-testimonials {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.h1-testi {
  background: #111112;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.h1-testi:hover {
  border-color: rgba(203,54,15,0.35);
  transform: translateY(-2px);
}
.h1-testi-quote {
  font-size: 14px;
  line-height: 1.85;
  color: #888;
  font-style: italic;
  font-weight: 300;
  flex: 1;
  position: relative;
}
.h1-testi-quote::before {
  content: '"';
  font-family: inherit;
  font-size: 3rem;
  color: #CB360F;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  font-style: normal;
}
.h1-testi-meta { display: flex; align-items: center; gap: 12px; }
.h1-testi-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.h1-testi-meta strong { display: block; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.h1-testi-meta span { font-size: 11px; color: #444; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── SERVICES ── */
.h1-services-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.h1-services-left h2 {
  font-family: inherit;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}
.h1-services-intro { font-size: 14px; color: #666; line-height: 1.8; font-weight: 300; }
.h1-service-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  border-radius: 8px;
  transition: background 0.15s;
  margin: 0 -20px;
}
.h1-service-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.h1-service-row:hover { background: rgba(255,255,255,0.03); }
.h1-service-row:hover .h1-svc-arr { color: #CB360F; opacity: 1; }
.h1-service-row:hover .h1-svc-body h4 { color: #CB360F; }
.h1-svc-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(203,54,15,0.6);
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
  width: 26px;
}
.h1-svc-body { flex: 1; }
.h1-svc-body h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; transition: color 0.15s; }
.h1-svc-body p { font-size: 13px; color: #666; line-height: 1.65; font-weight: 300; }
.h1-svc-arr { font-size: 16px; color: #333; opacity: 0.8; padding-top: 2px; flex-shrink: 0; transition: color 0.15s, opacity 0.15s; }

/* ── PORTFOLIO ── */
.h1-portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 500px;
  gap: 12px;
}
.h1-pf-main, .h1-pf-side { position: relative; border-radius: 14px; overflow: hidden; }
.h1-pf-side { display: flex; flex-direction: column; gap: 12px; }
.h1-pf-card { flex: 1; position: relative; border-radius: 14px; overflow: hidden; }
.h1-pf-main img, .h1-pf-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.5s ease, filter 0.3s;
}
.h1-pf-main:hover img, .h1-pf-card:hover img { transform: scale(1.04); filter: brightness(0.65); }
.h1-pf-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(12,12,13,0.92), transparent);
}
.h1-pf-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CB360F;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.h1-pf-tag::before { content: ''; width: 16px; height: 1px; background: #CB360F; }
.h1-pf-title { font-family: inherit; font-size: 1.05rem; font-weight: 700; color: #fff; }

/* ── WHY ── */
.h1-why-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 96px;
  align-items: start;
}
.h1-why-left h2 {
  font-family: inherit;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.h1-why-sub { font-size: 14px; color: #666; line-height: 1.8; font-weight: 300; }
.h1-why-right { display: flex; flex-direction: column; gap: 0; }
.h1-why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.h1-why-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.h1-why-num {
  font-size: 12px;
  font-weight: 700;
  color: #CB360F;
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
  width: 26px;
}
.h1-why-item h5 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.h1-why-item p { font-size: 13px; color: #666; line-height: 1.65; font-weight: 300; }

/* ── PROCESS ── */
.h1-process-bg { background: #111112; }
.h1-process-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  margin-top: 16px;
}
.h1-ps { text-align: center; padding: 0 8px; }
.h1-ps-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(203,54,15,0.4);
  background: rgba(203,54,15,0.08);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: #CB360F;
  margin: 0 auto 20px;
  transition: border-color 0.2s, background 0.2s;
}
.h1-ps:hover .h1-ps-num {
  border-color: #CB360F;
  background: rgba(203,54,15,0.15);
}
.h1-ps h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.h1-ps p { font-size: 13px; color: #666; line-height: 1.65; font-weight: 300; }
.h1-ps-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  color: rgba(203,54,15,0.4);
  font-size: 18px;
}

/* ── TEAM ── */
.h1-team-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.h1-team-text h2 {
  font-family: inherit;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.h1-team-text p { font-size: 14px; color: #666; line-height: 1.8; font-weight: 300; }
.h1-team-cards { display: flex; gap: 24px; }
.h1-team-card { flex: 1; }
.h1-team-img {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
}
.h1-team-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.88) grayscale(10%);
  transition: filter 0.3s;
}
.h1-team-card:hover .h1-team-img img { filter: brightness(1) grayscale(0%); }
.h1-team-info strong { display: block; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.h1-team-info span { font-size: 12px; color: #555; }

/* ── CTA ── */
.h1-cta-block {
  background: #111112;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 88px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.h1-cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #CB360F 40%, #CB360F 60%, transparent);
}
.h1-cta-glow {
  position: absolute;
  bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 220px;
  background: radial-gradient(ellipse, rgba(203,54,15,0.18), transparent 70%);
  pointer-events: none;
}
.h1-cta-block h2 {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.h1-cta-block p {
  color: #666;
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
}
.h1-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .h1-container { padding: 0 28px; }
  .h1-services-layout { grid-template-columns: 1fr; gap: 48px; }
  .h1-why-wrap { grid-template-columns: 1fr; gap: 56px; }
  .h1-team-wrap { grid-template-columns: 1fr; gap: 48px; }
  .h1-portfolio { grid-template-rows: 380px; }
}

@media (max-width: 768px) {
  .h1-container { padding: 0 20px; }
  .h1-section { padding: 72px 0; }
  .h1-hero { min-height: 88vh; padding-bottom: 64px; }
  .h1-hero h1 { font-size: 2.4rem; }
  .h1-hero-scroll { display: none; }
  .h1-stats-inner { flex-wrap: wrap; }
  .h1-stat { padding: 24px 28px; width: 50%; }
  .h1-stat-sep { display: none; }
  .h1-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .h1-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .h1-testimonials { grid-template-columns: 1fr; gap: 12px; }
  .h1-portfolio { grid-template-columns: 1fr; grid-template-rows: auto; }
  .h1-pf-main { height: 300px; }
  .h1-pf-side { flex-direction: row; height: 190px; }
  .h1-process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .h1-ps-connector { display: none; }
  .h1-ps { text-align: left; }
  .h1-ps-num { margin: 0 0 16px; }
  .h1-team-wrap { grid-template-columns: 1fr; gap: 40px; }
  .h1-team-cards { gap: 16px; }
  .h1-cta-block { padding: 56px 28px; }
  .h1-service-row { margin: 0; border-radius: 0; }
}

@media (max-width: 480px) {
  .h1-section { padding: 56px 0; }
  .h1-hero h1 { font-size: 1.95rem; }
  .h1-hero-cta { flex-direction: column; align-items: stretch; }
  .h1-btn { justify-content: center; }
  .h1-pf-side { flex-direction: column; height: auto; }
  .h1-pf-card { height: 170px; }
  .h1-process-steps { grid-template-columns: 1fr; }
  .h1-stat { width: 50%; }
  .h1-section-header { margin-bottom: 40px; }
  .h1-cta-block { padding: 44px 20px; }
  .h1-cta-actions { flex-direction: column; align-items: stretch; }
}
