/* =========================================================
   =========================================================
   CONTACT PAGE — NEW LAYOUT
   =========================================================
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(50, 170, 120, 0.10),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(50, 170, 120, 0.08),
      transparent 30%
    );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(50, 170, 120, 0.10);
  color: #229566;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.contact-hero p {
  max-width: 650px;
  margin: 1.5rem auto 0;
  color: #64748b;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
}


/* decorative circles */

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: contactFloat 8s ease-in-out infinite;
}

.contact-hero::before {
  width: 280px;
  height: 280px;
  top: -150px;
  left: -100px;
  background: rgba(50, 170, 120, 0.06);
}

.contact-hero::after {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -120px;
  background: rgba(50, 170, 120, 0.07);
  animation-delay: -3s;
}

@keyframes contactFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading span,
.contact-section-title > span,
.map-heading span,
.contact-bottom-cta span {
  display: block;
  margin-bottom: 0.55rem;
  color: #299b6d;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-heading h2,
.contact-section-title h2,
.map-heading h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}


/* =========================================================
   ASSURANCE SECTION
   ========================================================= */

.contact-assurance {
  padding: 1rem 0 6rem;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.assurance-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 105px;
  padding: 1.25rem;
  border: 1px solid rgba(24, 110, 63, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 8px 30px rgba(24, 128, 47, 0.045);
  overflow: hidden;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.assurance-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #299b6d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.assurance-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41, 155, 109, 0.20);
  box-shadow:
    0 18px 40px rgba(19, 124, 67, 0.09);
}

.assurance-card:hover::after {
  transform: scaleX(1);
}

.assurance-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(41, 155, 109, 0.10);
  color: #299b6d;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.assurance-icon svg {
  width: 22px;
  height: 22px;
}

.assurance-card:hover .assurance-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(41, 155, 109, 0.15);
}

.assurance-card h3 {
  margin: 0 0 0.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
}

.assurance-card p {
  margin: 0;
  color: #196e3f;
  font-size: 0.82rem;
  line-height: 1.5;
}


/* =========================================================
   MAIN CONTACT SECTION
   ========================================================= */

.contact-main-section {
  padding: 2rem 0 6rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
}


/* =========================================================
   CONTACT INFO PANEL
   ========================================================= */

.contact-info-panel {
  padding: 2.2rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 15px 45px rgba(15, 23, 42, 0.055);
}

.contact-section-title {
  margin-bottom: 2rem;
}

.contact-section-title p {
  max-width: 500px;
  margin: 1rem 0 0;
  color: #196e3f;
  line-height: 1.7;
  font-size: 0.94rem;
}


/* =========================================================
   CONTACT INFO ITEMS
   ========================================================= */

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(24, 102, 50, 0.07);
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-item:last-child {
  border-bottom: 0;
}

.contact-info-icon {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(41, 155, 109, 0.09);
  color: #299b6d;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #299b6d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-info-item p {
  margin: 0;
  color: #196e3f;
  font-size: 0.9rem;
  line-height: 1.6;
}


/* =========================================================
   WHATSAPP CTA
   ========================================================= */

.contact-whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;

  border-radius: 15px;
  background: #299b6d;
  color: #fff;
  text-decoration: none;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(41, 155, 109, 0.25);
}

.contact-whatsapp-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
}

.contact-whatsapp-icon svg {
  width: 21px;
  height: 21px;
}

.contact-whatsapp strong,
.contact-whatsapp small {
  display: block;
}

.contact-whatsapp strong {
  font-size: 0.88rem;
}

.contact-whatsapp small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.contact-arrow {
  margin-left: auto;
  font-size: 1.3rem;

  transition: transform 0.3s ease;
}

.contact-whatsapp:hover .contact-arrow {
  transform: translateX(5px);
}


/* =========================================================
   MAP PANEL
   ========================================================= */

.contact-map-panel {
  min-height: 100%;
  padding: 1.2rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 15px 45px rgba(15, 23, 42, 0.055);

  display: flex;
  flex-direction: column;
}

.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.8rem 1rem;
}

.map-heading h2 {
  font-size: 1.5rem;
}

.map-pin-icon {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  background: rgba(41, 155, 109, 0.09);
  color: #299b6d;
}

.map-pin-icon svg {
  width: 21px;
  height: 21px;
}


/* actual map */

.map-frame {
  position: relative;
  flex: 1;
  min-height: 420px;
  overflow: hidden;
  border-radius: 18px;
  background: #e2e8f0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* address under map */

.map-address {
  display: flex;
  align-items: center;
  gap: 0.65rem;

  padding: 1rem 0.7rem 0.25rem;

  color: #196e3f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.map-address svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #299b6d;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.contact-bottom-cta {
  padding: 0 0 6rem;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 2.4rem 2.8rem;
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(41, 155, 109, 0.10),
      rgba(41, 155, 109, 0.04)
    );

  border: 1px solid rgba(41, 155, 109, 0.12);
  overflow: hidden;
}

.cta-inner::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  top: -100px;

  border-radius: 50%;
  background: rgba(41, 155, 109, 0.07);
}

.cta-inner h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.cta-inner p {
  margin: 0.7rem 0 0;
  color: #196e3f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cta-button {
  position: relative;
  z-index: 2;

  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  padding: 0.9rem 1.3rem;

  border-radius: 12px;

  background: #299b6d;
  color: #fff;
  text-decoration: none;

  font-size: 0.85rem;
  font-weight: 700;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(41, 155, 109, 0.25);
}

.cta-button span {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);

  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;

  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* delays */

.reveal[data-delay="80"] {
  --reveal-delay: 80ms;
}

.reveal[data-delay="120"] {
  --reveal-delay: 120ms;
}

.reveal[data-delay="160"] {
  --reveal-delay: 160ms;
}

.reveal[data-delay="240"] {
  --reveal-delay: 240ms;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .assurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-panel {
    min-height: 550px;
  }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .contact-hero {
    padding: 5rem 0 4rem;
  }

  .contact-hero h1 {
    font-size: 2.35rem;
  }

  .contact-hero p {
    font-size: 0.92rem;
  }


  .contact-assurance {
    padding-bottom: 4rem;
  }

  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .assurance-card {
    min-height: 90px;
  }


  .contact-main-section {
    padding-bottom: 4rem;
  }

  .contact-info-panel {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .contact-map-panel {
    padding: 0.8rem;
    border-radius: 20px;
  }

  .map-frame {
    min-height: 350px;
  }


  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.7rem;
    border-radius: 20px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }


  .contact-bottom-cta {
    padding-bottom: 4rem;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

}