
/* Homepage visual direction — Draft 1B
   Keeps the approved structure/copy, but gives it a stronger Give Back identity. */

.home {
  --cream: #f2eee7;
  --warm-white: #fbfaf7;
  --steel: #d8dde4;
  background: var(--warm-white);
}

.home .header {
  background: #06172f;
  border-bottom: 0;
  box-shadow: 0 8px 28px rgba(3,15,31,.18);
}

.home .header:after {
  content: "";
  display: block;
  height: 4px;
  background:
    linear-gradient(90deg,
      #b9232f 0 34%,
      #f8f8f4 34% 38%,
      #1859a9 38% 100%);
}

.identity-strip {
  background: #0b2a55;
  color: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.identity-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.identity-inner .diamond { color: #c93642; font-size: .56rem; }

.home h1,
.home h2 {
  letter-spacing: -.038em;
}
.home h2 {
  position: relative;
}
.home .section:not(.navy) h2:after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 18px;
  background: linear-gradient(90deg,#b9232f 0 58%,#1859a9 58% 100%);
}

.home .center h2:after {
  margin-left: auto;
  margin-right: auto;
}

.home .hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    linear-gradient(112deg, #06172f 0%, #0b2a55 48%, #f2eee7 48.1%, #f2eee7 100%);
}
.home .hero:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  left: -250px;
  bottom: -270px;
  border: 44px solid rgba(185,35,47,.17);
  border-radius: 50%;
}
.home .hero:after {
  content: "";
  position: absolute;
  right: 42%;
  top: 0;
  width: 8px;
  height: 100%;
  background: #b9232f;
  transform: skewX(-8deg);
  opacity: .95;
}
.home .hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
}
.home .hero-copy {
  padding: 28px 26px 28px 0;
}
.home .hero-copy h1,
.home .hero-copy p {
  color: #fff;
}
.home .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.8rem,5.15vw,5.2rem);
  text-wrap: balance;
}
.home .hero-copy p {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
}
.home .hero .eyebrow {
  color: #ff9da5;
}
.hero-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  border-left: 4px solid #b9232f;
  padding: 7px 0 7px 12px;
  margin-bottom: 18px;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.hero-badge span { color: #73a7e4; }

.home .hero .btn.primary {
  background: #c52a36;
  box-shadow: 0 8px 22px rgba(0,0,0,.17);
}
.home .hero .btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.72);
}
.home .hero .btn.secondary:hover {
  background: rgba(255,255,255,.10);
}
.home .hero-photo {
  padding: 18px 0;
}
.home .hero-photo img {
  height: 590px;
  border-radius: 8px;
  box-shadow: 22px 22px 0 rgba(11,42,85,.14), 0 24px 54px rgba(4,17,34,.22);
}
.home .hero-photo:before {
  content: "FEATURED PROJECT";
  position: absolute;
  left: -28px;
  bottom: 48px;
  z-index: 3;
  background: #b9232f;
  color: #fff;
  padding: 9px 16px;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .12em;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}
.home .hero-photo:after {
  width: 34%;
  height: 34%;
  right: -12px;
  bottom: 2px;
  border-radius: 0;
}

.craft-strip {
  background: #fff;
  border-top: 1px solid #e5e1db;
  border-bottom: 1px solid #ded9d0;
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.craft-grid > div {
  padding: 21px 28px 22px;
  position: relative;
}
.craft-grid > div + div {
  border-left: 1px solid #ded9d0;
}
.craft-grid strong {
  display: block;
  color: #0a244a;
  font-size: .98rem;
  margin-bottom: 1px;
}
.craft-grid span {
  color: #657080;
  font-size: .85rem;
}

.home .section {
  position: relative;
}
.home #services {
  background: var(--warm-white);
}
.home #services:before {
  content: "GIVE BACK";
  position: absolute;
  right: 2%;
  top: 70px;
  color: #0b2a55;
  opacity: .035;
  font-size: clamp(4rem,10vw,10rem);
  font-weight: 950;
  letter-spacing: -.06em;
  pointer-events: none;
}
.home .service-grid {
  gap: 0;
  border-top: 1px solid #cfd5dd;
  border-bottom: 1px solid #cfd5dd;
}
.home .service-grid .card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 32px 30px 34px;
  position: relative;
}
.home .service-grid .card + .card {
  border-left: 1px solid #cfd5dd;
}
.home .service-grid .card:nth-child(1):before,
.home .service-grid .card:nth-child(2):before,
.home .service-grid .card:nth-child(3):before {
  position: absolute;
  right: 22px;
  top: 13px;
  font-size: 3.6rem;
  font-weight: 950;
  line-height: 1;
  opacity: .055;
  color: #0b2a55;
}
.home .service-grid .card:nth-child(1):before { content: "01"; }
.home .service-grid .card:nth-child(2):before { content: "02"; }
.home .service-grid .card:nth-child(3):before { content: "03"; }
.home .card .icon {
  border-radius: 0;
  width: 42px;
  height: 42px;
  background: #0b2a55;
  color: #fff;
  box-shadow: 7px 7px 0 #d7dce3;
}
.home .service-grid .card:nth-child(2) .icon { background: #1859a9; }
.home .service-grid .card:nth-child(3) .icon { background: #b9232f; }

.home #work {
  background: #0a2347;
  color: #fff;
  overflow: hidden;
}
.home #work:before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 380px;
  height: 380px;
  border: 62px solid rgba(255,255,255,.035);
  border-radius: 50%;
  right: -140px;
  top: -180px;
}
.home #work h2,
.home #work p {
  color: #fff;
}
.home #work .eyebrow {
  color: #ff9da5;
}
.home #work .section-head h2:after {
  background: linear-gradient(90deg,#d03a46 0 58%,#74a7e4 58% 100%);
}
.home #work .btn.secondary {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: transparent;
}
.work-intro {
  margin-top: -4px!important;
  color: rgba(255,255,255,.68)!important;
}
.home .work-grid {
  gap: 16px;
}
.home .work-card {
  position: relative;
  border-radius: 3px;
  box-shadow: none;
  min-height: 390px;
  background: #071a35;
}
.home .work-card img {
  height: 390px;
  transition: transform .45s ease, filter .45s ease;
}
.home .work-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 43%, rgba(2,12,26,.86) 100%);
  pointer-events: none;
}
.home .work-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 24px 24px;
}
.home .work-card .caption h3 {
  color: #fff;
  margin: 0 0 3px;
  font-size: 1.45rem;
}
.home .work-card .caption span {
  color: rgba(255,255,255,.72);
}
.home .work-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.home .mission {
  gap: 0;
  background: #fff;
  border: 1px solid #d8dce2;
  box-shadow: 0 18px 45px rgba(13,34,63,.08);
}
.home .mission-mark {
  min-height: 390px;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(6,23,47,.96), rgba(12,47,93,.93)),
    url("assets/logo-home-services.webp") center/cover no-repeat;
}
.home .mission-mark:before {
  content: "★  ★  ★  ★  ★";
  top: 18px;
  left: 18px;
  font-size: 1.1rem;
  opacity: .35;
  letter-spacing: .55em;
}
.home .mission > div:last-child {
  padding: 48px;
}
.home .mission-mark strong {
  font-size: 2.45rem;
  text-align: left;
}
.home .mission-mark small {
  text-align: left;
}

.home #real-estate {
  background: var(--cream);
}
.home .re-card {
  border-radius: 0;
  border: 0;
  border-left: 6px solid #1859a9;
  box-shadow: 12px 12px 0 rgba(11,42,85,.08);
}

.home #reviews {
  background: #fff;
}
.home .review-grid {
  gap: 16px;
}
.home .review {
  border-radius: 0;
  border: 0;
  border-top: 5px solid #0b2a55;
  background: #f5f2ec;
  padding: 29px 25px;
  position: relative;
}
.home .review:nth-child(2) { border-top-color: #1859a9; }
.home .review:nth-child(3) { border-top-color: #b9232f; }
.home .review:before {
  content: "“";
  position: absolute;
  top: 7px;
  right: 17px;
  font-family: Georgia,serif;
  font-size: 5rem;
  line-height: 1;
  color: #0b2a55;
  opacity: .08;
}
.home .rating {
  border-left: 4px solid #b9232f;
  padding-left: 17px;
}
.home .review-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.home .cta-box {
  border-radius: 0;
  background:
    linear-gradient(112deg, #06172f 0%, #0b2a55 75%, #123d76 75%);
  border-left: 7px solid #b9232f;
  box-shadow: 14px 14px 0 #e1ddd5;
}
.home .footer {
  border-top: 5px solid #b9232f;
}

@media(max-width:1000px){
  .home .hero {
    background: #071a35;
  }
  .home .hero:after {
    display:none;
  }
  .home .hero-grid {
    grid-template-columns:1fr;
  }
  .home .hero-copy {
    padding-right:0;
  }
  .home .hero-photo img {
    height:500px;
  }
  .home .service-grid .card + .card {
    border-left:0;
  }
  .home .service-grid {
    border-bottom:0;
  }
  .home .service-grid .card {
    border-bottom:1px solid #cfd5dd;
  }
}

@media(max-width:680px){
  .identity-inner {
    min-height: 32px;
    gap:8px;
    font-size:.61rem;
    letter-spacing:.06em;
    overflow:hidden;
    white-space:nowrap;
  }
  .identity-inner span:nth-of-type(3),
  .identity-inner .diamond:nth-of-type(2) {
    display:none;
  }
  .home .hero {
    padding:44px 0 54px;
  }
  .home .hero-copy h1 {
    font-size:2.72rem;
  }
  .home .hero-photo img {
    height:410px;
    box-shadow:11px 11px 0 rgba(255,255,255,.10);
  }
  .home .hero-photo:before {
    display:none;
  }
  .craft-grid {
    grid-template-columns:1fr;
  }
  .craft-grid > div {
    padding:15px 4px;
  }
  .craft-grid > div + div {
    border-left:0;
    border-top:1px solid #ded9d0;
  }
  .home .service-grid {
    grid-template-columns:1fr;
  }
  .home .work-card,
  .home .work-card img {
    height:310px;
    min-height:310px;
  }
  .home .mission > div:last-child {
    padding:32px 24px;
  }
  .home .mission-mark {
    min-height:300px;
  }
  .home .mission-mark strong {
    font-size:2rem;
  }
}
