
/* =========================================
   TECTUM - ROOF WITHIN REACH
   FINAL OPTIMIZED VERSION
========================================= */

.tq-reach-section {
  width: 100%;
  padding: 80px 20px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(13, 54, 102, 0.055),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #f3f7fb 50%,
      #ffffff 100%
    );
  font-family: inherit;
  overflow: hidden;
}

.tq-reach-section *,
.tq-reach-section *::before,
.tq-reach-section *::after {
  box-sizing: border-box;
}

.tq-reach-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================
   MAIN LAYOUT
========================================= */

.tq-reach-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 500px;
  position: relative;
}

/* =========================================
   LEFT CONTENT
========================================= */

.tq-reach-content {
  position: relative;
  z-index: 5;
  padding-right: 35px;
}

.tq-reach-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #0d3666;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tq-reach-label::before {
  content: "";
  width: 25px;
  height: 2px;
  background: #0d3666;
}

/* =========================================
   HEADING
========================================= */

.tq-reach-content h2 {
  margin: 0 0 20px;
  color: #14283d;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 800;
}

.tq-reach-content h2 span {
  color: #0d3666;
}

/* =========================================
   DESCRIPTION
========================================= */

.tq-reach-content p {
  max-width: 490px;
  margin: 0 0 25px;
  color: #697987;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================
   PROGRAM POINTS
========================================= */

.tq-reach-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  max-width: 470px;
  margin-bottom: 30px;
}

.tq-reach-point {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #344b60;
  font-size: 12px;
  font-weight: 600;
}

.tq-reach-point-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dfe9f3;
  color: #0d3666;
  font-size: 9px;
  font-weight: 800;
}

/* =========================================
   CTA BUTTON
========================================= */

.tq-reach-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 23px;
  background: #0d3666;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(13, 54, 102, 0.17);
  transition: all 0.3s ease;
}

.tq-reach-btn:hover {
  background: #092b52;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 54, 102, 0.22);
}

.tq-reach-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.tq-reach-btn:hover svg {
  transform: translateX(4px);
}

/* =========================================
   RIGHT VISUAL
========================================= */

.tq-reach-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Soft background circle */
.tq-reach-visual-bg {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Outer ring */
.tq-reach-visual-ring {
  position: absolute;
  width: 455px;
  height: 455px;
  border-radius: 50%;
  border: 1px solid rgba(13, 54, 102, 0.10);
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================
   HOUSE IMAGE
========================================= */

.tq-reach-visual img {
  position: relative;
  z-index: 2;
  width: 620px;
  max-width: 125%;
  height: auto;
  display: block;
  margin-right: -55px;
  filter: drop-shadow(0 25px 28px rgba(20, 45, 70, 0.12));
  transition: transform 0.45s ease;
}

.tq-reach-visual:hover img {
  transform: translateY(-5px);
}

/* =========================================
   COMMUNITY BADGE
========================================= */

.tq-community-badge {
  position: absolute;
  z-index: 5;
  right: 15px;
  top: 55px;
  width: 150px;
  padding: 16px;
  background: #0d3666;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(13, 54, 102, 0.22);
  animation: tqFloat 4s ease-in-out infinite;
}

.tq-community-badge-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.tq-community-badge-icon svg {
  width: 19px;
  height: 19px;
}

.tq-community-badge strong {
  display: block;
  font-size: 11px;
  line-height: 1.4;
}

.tq-community-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 8px;
  line-height: 1.45;
}

/* =========================================
   DISCOUNT BADGE
========================================= */

.tq-discount-badge {
  position: absolute;
  z-index: 5;
  left: 25px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid #e2e9ef;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(20, 45, 70, 0.11);
  animation: tqFloat2 4.5s ease-in-out infinite;
}

.tq-discount-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e7eef6;
  color: #0d3666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.tq-discount-badge strong {
  display: block;
  color: #263d53;
  font-size: 10px;
}

.tq-discount-badge span {
  display: block;
  margin-top: 2px;
  color: #8b98a4;
  font-size: 8px;
}

/* =========================================
   DECORATIVE LINE
========================================= */

.tq-reach-decoration {
  position: absolute;
  right: 0;
  bottom: 25px;
  width: 85px;
  height: 1px;
  background: #0d3666;
  opacity: 0.15;
}

.tq-reach-decoration::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d3666;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes tqFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes tqFloat2 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

  .tq-reach-layout {
    grid-template-columns: 45% 55%;
  }

  .tq-reach-content {
    padding-right: 20px;
  }

  .tq-reach-content h2 {
    font-size: 44px;
  }

  .tq-reach-visual {
    height: 450px;
  }

  .tq-reach-visual-bg {
    width: 370px;
    height: 370px;
  }

  .tq-reach-visual-ring {
    width: 395px;
    height: 395px;
  }

  .tq-reach-visual img {
    width: 550px;
    max-width: 130%;
    margin-right: -45px;
  }

  .tq-community-badge {
    right: 5px;
    top: 45px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .tq-reach-section {
    padding: 55px 16px;
  }

  .tq-reach-layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .tq-reach-content {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .tq-reach-label {
    justify-content: center;
  }

  .tq-reach-content h2 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .tq-reach-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }

  .tq-reach-points {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .tq-reach-btn {
    width: 100%;
    justify-content: center;
  }

  /* IMAGE */
  .tq-reach-visual {
    width: 100%;
    height: 330px;
    min-height: 330px;
    margin-top: 25px;
  }

  .tq-reach-visual-bg {
    width: 270px;
    height: 270px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .tq-reach-visual-ring {
    width: 290px;
    height: 290px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .tq-reach-visual img {
    width: 470px;
    max-width: 145%;
    margin-right: -40px;
  }

  .tq-community-badge {
    right: 5px;
    top: 15px;
    width: 135px;
    padding: 13px;
  }

  .tq-community-badge-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 7px;
  }

  .tq-discount-badge {
    left: 0;
    bottom: 10px;
  }

  .tq-reach-decoration {
    display: none;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 430px) {

  .tq-reach-content h2 {
    font-size: 33px;
  }

  .tq-reach-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tq-reach-visual {
    height: 285px;
    min-height: 285px;
  }

  .tq-reach-visual img {
    width: 420px;
    margin-right: -35px;
  }

  .tq-community-badge {
    right: 0;
    top: 5px;
    transform: scale(0.9);
    transform-origin: right top;
  }

  .tq-discount-badge {
    transform: scale(0.9);
    transform-origin: left bottom;
  }
}
