/* Original front-page layout. */
.hero {
  position: relative;
  overflow: hidden;
  /*padding: 84px 0 0;*/
  padding: 0;
  background: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 105px;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  position: relative;
  /*min-height: 525px;*/
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: 18px;
  align-items: center;
  margin: 0;
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 26px 0 56px 40px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80px;
  bottom: -80px;
  left: -12vw;
  right: -130px;
  background: linear-gradient(
  90deg,
  rgba(255,255,255,1) 0%,
  rgba(255,255,255,.98) 68%,
  rgba(255,255,255,.86) 82%,
  rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 0;
  color: #465356;
  font-size: 17px;
  line-height: 2;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  width: calc(100% + 11vw);
  margin-right: -11vw;
  overflow: hidden;
  min-height: 525px;
  -webkit-mask-image: linear-gradient(
  to right,
  transparent 0%,
  rgba(0,0,0,.28) 6%,
  #000 20%,
  #000 100%
  );
  mask-image: linear-gradient(
  to right,
  transparent 0%,
  rgba(0,0,0,.28) 6%,
  #000 20%,
  #000 100%
  );
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 525px;
  object-fit: cover;
  object-position: 58% center;
}

.quick-services {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(30, 71, 72, .05);
  transform: translateY(1px);
  margin: 30px 0;
}

.quick-services a {
  min-width: 0;
  padding: 24px 25px 22px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}

.quick-services a:last-child {
  border-right: 0;
}

.quick-services a:hover {
  /*background: var(--teal-pale);*/
  background: var(--warm);
	
	
}

.quick-no {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.quick-services strong {
  display: block;
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: 17px;
}

.quick-price {
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 700;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-card {
  position: relative;
  min-height: 315px;
  padding: 38px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.strength-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 1px;
  background: var(--teal);
  opacity: .45;
}

.strength-card h3 {
  margin-top: 28px;
}

.strength-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-services {
  background: var(--teal-pale);
}

.problem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -12px 0 36px;
}

.problem-tags span {
  padding: 8px 15px;
  border: 1px solid #d3e2e0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #526164;
  font-size: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(32, 77, 78, .025);
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.service-card h3 {
  margin-top: 23px;
  font-size: 24px;
}

.service-card > p:not(.service-price) {
  margin-bottom: 18px;
  font-size: 14px;
}

.service-detail {
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: auto 0 16px;
  color: var(--teal-dark);
}

.service-price strong {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.service-price span {
  font-size: 15px;
  font-weight: 700;
}

.service-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .8fr 1.4fr auto;
  min-height: auto;
  gap: 40px;
  align-items: center;
}

.service-card-wide h3 {
  margin-bottom: 0;
}

.service-card-wide > p {
  margin: 0 !important;
}

.service-wide-price {
  min-width: 165px;
}

.service-wide-price .service-price {
  margin: 0 0 14px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card-featured {
  border-color: rgba(23, 111, 115, .45);
  box-shadow: var(--shadow);
}

.recommend-label {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 7px 14px 8px;
  color: var(--white);
  background: var(--teal);
  border-radius: 0 0 10px 10px;
  font-size: 11px;
  font-weight: 700;
}

.price-card h3 {
  min-height: 70px;
}

.price-card > p:not(.price-purpose):not(.price-amount) {
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 6px 0 6px 23px;
  font-size: 13px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--teal);
  font-weight: 800;
}

.price-card .text-link {
  margin-top: auto;
}

.single-work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 34px;
  padding: 28px 32px;
  border-radius: 15px;
  background: var(--warm);
}

.single-work .section-label {
  margin-bottom: 6px;
}

.single-work h3 {
  margin-bottom: 4px;
}

.single-work p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-about {
  background: linear-gradient(180deg, #fbfdfc 0%, #fff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .78fr;
  gap: 76px;
  align-items: start;
}

.about-copy > p:not(.section-label) {
  max-width: 650px;
  color: #526064;
  font-size: 15px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 34px 0 28px;
}

.flow div {
  min-height: 82px;
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 12px;
}

.flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.experience-card {
  position: relative;
  padding: 38px;
  border-radius: 24px;
  background: var(--teal);
  color: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}

.experience-card .section-label,
.experience-card h3 {
  color: var(--white);
}

.experience-card .section-label::after {
  background: var(--white);
}

.experience-years {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 0;
}

.experience-years span {
  font-size: 13px;
  font-weight: 700;
}

.experience-years strong {
  color: var(--white);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.05em;
}

.web-years {
  margin: 7px 0 28px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.experience-card p:not(.section-label):not(.experience-years):not(.web-years) {
  font-size: 13px;
}

.experience-card .text-link {
  color: var(--white);
}

.experience-card .text-link span {
  color: var(--white);
}

.other-sites {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  margin-top: 70px;
  padding: 44px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.other-sites h3 {
  margin-bottom: 0;
  font-size: 28px;
}

.other-sites ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.other-sites li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.other-sites p {
  color: var(--muted);
  font-size: 14px;
}

.section-journal {
  background: var(--warm);
}

.journal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #dedbd2;
}

.journal-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1020px) {
  .hero-grid {
    gap: 40px;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card-wide {
    grid-column: 1 / -1;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    min-height: auto;
  }
  
  .price-card h3 {
    min-height: 0;
  }
  
  .about-grid {
    gap: 38px;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 55px;
  }
  
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .hero-copy {
    padding: 0;
  }
  
  .hero-copy::after {
    display: none;
  }
  
  .hero-visual {
    width: calc(100% + 36px);
    min-height: 340px;
    height: 340px;
    margin: 0 -18px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  
  .hero-visual img {
    min-height: 0;
    height: 100%;
    object-position: 60% center;
  }
  
  .quick-services {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
  
  .quick-services a:nth-child(2) {
    border-right: 0;
  }
  
  .quick-services a:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  
  .strength-grid {
    grid-template-columns: 1fr;
  }
  
  .strength-card {
    min-height: auto;
  }
  
  .about-grid,
  .other-sites {
    grid-template-columns: 1fr;
  }
  
  .other-sites {
    gap: 24px;
  }
  
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .single-work {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }
  
  .hero-grid {
    gap: 26px;
  }
  
  .hero-lead br {
    display: none;
  }
  
  .hero-visual {
    width: calc(100% + 28px);
    height: 285px;
    min-height: 285px;
    margin: 0 -14px;
  }
  
  .hero-visual img {
    object-position: 61% center;
  }
  
  .quick-services {
    grid-template-columns: 1fr;
  }
  
  .quick-services a {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  
  .quick-services a:last-child {
    border-bottom: 0;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    min-height: auto;
    padding: 28px 24px;
  }
  
  .service-card-wide {
    display: flex;
    gap: 0;
    align-items: stretch;
  }
  
  .service-card-wide > p {
    margin: 0 0 24px !important;
  }
  
  .service-wide-price {
    min-width: 0;
  }
  
  .price-card {
    padding: 31px 24px;
  }
  
  .flow {
    grid-template-columns: 1fr 1fr;
  }
  
  .experience-card {
    padding: 30px 25px;
  }
  
  .experience-years strong {
    font-size: 62px;
  }
  
  .other-sites {
    padding: 30px 24px;
  }
  
  .journal-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}
