/* Homepage hero */
.hero {
  position: relative;
  background: #14222f;
  overflow: hidden;
  border-bottom: 1.5px solid #0a141d;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-index::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  max-width: 120px;
}

.hero-portrait {
  position: relative;
  align-self: stretch;
  margin-top: -72px;
  margin-bottom: -80px;
  margin-right: min(-24px, calc(616px - 50vw));
  min-height: 580px;
  overflow: hidden;
  min-width: 0;
}

.hero-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: contrast(1.06) saturate(0.78) brightness(0.92);
  display: block;
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(20,34,47,1) 0%,
    rgba(20,34,47,0.78) 4%,
    rgba(20,34,47,0.35) 12%,
    rgba(20,34,47,0.08) 22%,
    rgba(20,34,47,0) 34%);
  z-index: 2;
  pointer-events: none;
}

.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,34,47,0.22) 0%, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(225deg, rgba(249,110,16,0.06), rgba(20,34,47,0.18) 70%);
  mix-blend-mode: multiply;
  z-index: 3;
  pointer-events: none;
}

.hero-portrait-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  z-index: 6;
  pointer-events: none;
}

.hero-portrait-corner.tl {
  top: 28px;
  left: 28px;
  border-right: 0;
  border-bottom: 0;
}

.hero-portrait-corner.bl {
  bottom: 28px;
  left: 28px;
  border-right: 0;
  border-top: 0;
}

.hero-portrait-corner.tr {
  top: 28px;
  right: 28px;
  border-left: 0;
  border-bottom: 0;
}

.hero-portrait-corner.br {
  bottom: 28px;
  right: 28px;
  border-left: 0;
  border-top: 0;
}

.hero-portrait-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  transform: rotate(-9deg);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 6px rgba(20,34,47,0.4);
  border: 2px dashed rgba(255,255,255,0.5);
  text-align: center;
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}

.hero-portrait-badge .hpb-big {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-portrait-badge .hpb-small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 5px;
  opacity: 0.92;
}

.hero-portrait-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 32px 28px 32px;
  background: linear-gradient(180deg, rgba(10,15,22,0) 0%, rgba(10,15,22,0.55) 45%, rgba(10,15,22,0.95) 100%);
  color: #fff;
  z-index: 4;
}

.hero-portrait-cap .hpc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-portrait-cap .hpc-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 2s infinite;
}

.hero-portrait-cap .hpc-title {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 540px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.hero-trust-item::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(249,110,16,0.25);
  border: 1px solid var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%23F96E10' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }

  .hero-portrait-badge {
    width: 68px;
    height: 68px;
  }

  .hero-portrait-badge .hpb-big {
    font-size: 17px;
  }
}

/* Homepage services and shared section headings */
.services {
  padding: 80px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-head {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1.5px solid var(--border-strong);
}

.service-card {
  border-right: 1.5px solid var(--border-strong);
  padding: 28px 22px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: background 0.18s;
  min-height: 260px;
  background: var(--bg-card);
  overflow: hidden;
}

.service-card:last-child {
  border-right: none;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.service-card:hover {
  background: var(--accent-lt);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card.featured {
  background: #1e2f40;
  color: #fff;
  border-right-color: #253649;
}

.service-card.featured::after {
  background: var(--accent);
}

.service-card.featured:hover {
  background: #253649;
}

.service-card.featured .service-num {
  color: rgba(255,255,255,0.42);
}

.service-card.featured .service-desc {
  color: rgba(255,255,255,0.72);
}

.service-card.featured .service-price {
  color: var(--accent);
  font-size: 17px;
}

.service-card.featured .service-link {
  color: rgba(255,255,255,0.85);
  border-top-color: rgba(255,255,255,0.18);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.service-num {
  font-family: var(--display);
  font-size: 11px;
  color: var(--ink-dim);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card.featured .service-num {
  color: rgba(255,255,255,0.35);
}

.service-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  flex: 1;
}

.service-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.service-price {
  font-family: var(--display);
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.service-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  transition: color 0.15s, gap 0.15s;
}

.service-card:hover .service-link {
  color: var(--accent);
  gap: 10px;
}

/* Homepage process */
.process {
  padding: 80px 0;
  background: #f0ede5;
  border-top: 1.5px solid var(--border-strong);
  border-bottom: 1.5px solid var(--border-strong);
}

.process .section-eyebrow {
  color: var(--accent);
}

.process .section-title {
  color: var(--ink);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
}

.process-step {
  padding: 28px 22px;
  border-right: 1.5px solid var(--border-strong);
  position: relative;
  background: var(--bg-card);
}

.process-step:last-child {
  border-right: none;
}

.process-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.process-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.1;
}

.process-desc {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.process-connector {
  position: absolute;
  top: 28px;
  right: -1px;
  width: 32px;
  height: 1px;
  background: var(--accent);
  transform: translateX(50%);
  z-index: 2;
}

.process-cta {
  margin-top: 32px;
  text-align: center;
}

/* Homepage why */
.why {
  padding: 80px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1.5px solid var(--border-strong);
}

.why-item {
  padding: 32px 24px;
  border-right: 1.5px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-item:last-child {
  border-right: none;
}

.why-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--accent);
  flex-shrink: 0;
}

.why-icon img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.why-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.why-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* Homepage gallery */
.gallery {
  padding: 80px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-top: 40px;
}

.gallery-item {
  background: var(--bg-section);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-link {
  color: inherit;
  cursor: zoom-in;
  text-decoration: none;
}

.gallery-link:hover .gallery-img {
  transform: scale(1.035);
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.gallery-link--more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 17, 16, 0.52);
}

.gallery-more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.gallery-more-plus {
  font-size: 32px;
  transform: translateY(-1px);
}

.gallery-hidden-link {
  display: none;
}

.gallery-ph-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
}

.gallery-ph-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink-dim);
  fill: none;
  stroke-width: 1.5;
}

.gallery-ph-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card:nth-child(3) {
    border-right: none;
  }

  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    border-top: 1.5px solid var(--border-strong);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-inner {
    padding-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-portrait {
    max-width: none;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    min-height: 0;
    height: clamp(360px, 74vw, 440px);
    aspect-ratio: auto;
  }

  .hero-portrait img {
    object-position: 50% 43%;
  }

  .hero-portrait-badge {
    left: 14px;
    top: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2n) {
    border-right: none;
  }

  .service-card:nth-child(n+3) {
    border-top: 1.5px solid var(--border-strong);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-item:nth-child(2) {
    border-right: none;
  }

  .why-item:nth-child(n+3) {
    border-top: 1.5px solid var(--border-strong);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 40px 0 0;
  }

  .hero-index {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .hero-portrait {
    height: clamp(340px, 82vw, 420px);
  }

  .hero-portrait-badge {
    top: 14px;
    left: 16px;
    width: 64px;
    height: 64px;
    transform: rotate(-8deg);
  }

  .hero-portrait-badge .hpb-big {
    font-size: 16px;
  }

  .hero-portrait-badge .hpb-small {
    font-size: 7px;
    margin-top: 2px;
  }

  .hero-portrait-corner {
    width: 14px;
    height: 14px;
  }

  .services {
    padding: 56px 0;
  }

  .why,
  .gallery {
    padding: 56px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border: 1.5px solid var(--border-strong);
  }

  .service-card {
    border-right: none;
    border-bottom: 1.5px solid var(--border-strong);
  }

  .service-card:nth-child(n+3) {
    border-top: none;
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: none;
    border-bottom: 1.5px solid var(--border-strong);
  }

  .why-item:last-child {
    border-bottom: none;
  }

  .why-item:nth-child(n+3) {
    border-top: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1.5px solid var(--border-strong);
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px 140px;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }
}
