/* =========================================
   CKS BUILDTECH CONTACT SECTION
========================================= */

.contact-section {
  position: relative;

  padding: 120px 0;

  background: #2a2b29;

  color: #fff;

  overflow: hidden;
}

/* subtle background detail */

.contact-section::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  border: 1px solid rgba(243, 195, 8, 0.12);

  pointer-events: none;
}

.contact-section::after {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  right: -80px;
  top: -80px;

  border-radius: 50%;

  border: 1px solid rgba(243, 195, 8, 0.08);

  pointer-events: none;
}

/* =========================================
   CONTAINER
========================================= */

.contact-container {
  width: min(1400px, calc(100% - 70px));

  margin: auto;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 100px;

  align-items: start;

  position: relative;

  z-index: 2;
}

/* =========================================
   LEFT CONTENT
========================================= */

.section-label {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: #f3c308;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;
}

.section-label::before {
  content: "";

  width: 30px;

  height: 2px;

  background: #f3c308;
}

.contact-intro h2 {
  margin: 22px 0 25px;

  max-width: 600px;

  font-size: clamp(42px, 4.5vw, 68px);

  line-height: 1;

  letter-spacing: -2px;

  font-weight: 600;
}

.contact-intro h2 span {
  display: block;

  color: #f3c308;
}

.contact-intro > p {
  max-width: 540px;

  margin: 0;

  color: rgba(255, 255, 255, 0.65);

  font-size: 16px;

  line-height: 1.8;
}

/* =========================================
   CONTACT DETAILS
========================================= */

.contact-details {
  margin-top: 55px;

  display: flex;

  flex-direction: column;

  gap: 28px;
}

.contact-detail {
  display: flex;

  align-items: center;

  gap: 18px;
}

.detail-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 46px;

  height: 46px;

  border: 1px solid rgba(243, 195, 8, 0.35);

  color: #f3c308;

  font-size: 11px;

  font-weight: 700;
}

.contact-detail small {
  display: block;

  margin-bottom: 5px;

  color: rgba(255, 255, 255, 0.4);

  font-size: 9px;

  letter-spacing: 2px;
}

.contact-detail strong {
  font-size: 14px;

  font-weight: 500;

  color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   FORM CONTAINER
========================================= */

.contact-form-wrap {
  padding: 42px;

  background: #fff;

  color: #2a2b29;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

/* =========================================
   FORM ROW
========================================= */

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #555;
}

/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  box-sizing: border-box;

  border: 1px solid #ddd;

  background: #fafafa;

  color: #2a2b29;

  padding: 15px 16px;

  border-radius: 0;

  outline: none;

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.form-group input,
.form-group select {
  height: 52px;
}

.form-group textarea {
  min-height: 130px;

  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f3c308;

  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-submit {
  width: 100%;

  height: 58px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 22px;

  border: none;

  background: #f3c308;

  color: #2a2b29;

  font-family: inherit;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.contact-submit:hover {
  background: #2a2b29;

  color: #fff;

  transform: translateY(-2px);
}

.submit-arrow {
  font-size: 21px;

  font-weight: 400;
}

/* =========================================
   STATUS
========================================= */

.form-status {
  min-height: 20px;

  margin-top: 14px;

  font-size: 13px;

  line-height: 1.5;
}

.form-status.success {
  color: #287a3d;
}

.form-status.error {
  color: #c0392b;
}

/* =========================================
   HONEYPOT
========================================= */

.form-honeypot {
  position: absolute !important;

  left: -9999px !important;

  opacity: 0 !important;

  pointer-events: none !important;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {
  .contact-section {
    padding: 85px 0;
  }

  .contact-container {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;

    gap: 55px;
  }

  .contact-intro h2 {
    font-size: 48px;
  }

  .contact-form-wrap {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .contact-container {
    width: calc(100% - 30px);
  }

  .form-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .contact-form-wrap {
    padding: 22px;
  }

  .contact-intro h2 {
    font-size: 40px;

    letter-spacing: -1.5px;
  }

  .contact-intro > p {
    font-size: 14px;
  }
}

/* =========================================
   CKS BUILDTECH CONTACT PAGE
   Brand: Charcoal + CKS Yellow
========================================= */

:root {
  --contact-dark: #2a2b29;
  --contact-black: #20211f;
  --contact-yellow: #f3c308;
  --contact-white: #ffffff;
  --contact-text: #656760;
  --contact-border: #e5e5df;
  --contact-light: #f5f5f1;
  --contact-font: "DM Sans", sans-serif;
  --contact-heading: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--contact-font);
  color: var(--contact-dark);
}

body,
input,
select,
textarea,
button {
  font-family: var(--contact-font);
}

.contact-hero {
  position: relative;
  display: flex;
  min-height: 690px;
  min-height: min(820px, 100svh);
  align-items: center;
  overflow: hidden;
  background: var(--contact-dark);
  color: var(--contact-white);
}

.contact-hero-image {
  position: absolute;
  inset: 0;
  background: url("images/contact-page.png") center 55% / cover no-repeat;
  transform: scale(1.02);
  animation: contactHeroReveal 1.2s ease-out both;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(22, 23, 21, 0.94) 0%,
      rgba(22, 23, 21, 0.78) 48%,
      rgba(22, 23, 21, 0.28) 100%
    ),
    linear-gradient(0deg, rgba(22, 23, 21, 0.6), transparent 45%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 80px));
  margin: 110px auto 125px;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-breadcrumb a {
  color: var(--contact-yellow);
  text-decoration: none;
}

.contact-eyebrow,
.contact-section-label {
  display: inline-block;
  color: #a18400;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.7;
  text-transform: uppercase;
}

.contact-hero .contact-eyebrow {
  color: var(--contact-yellow);
}

.contact-hero h1 {
  max-width: 900px;
  margin: 20px 0 25px;
  font-family: var(--contact-heading);
  font-size: clamp(43px, 6.2vw, 82px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -3.2px;
}

.contact-hero h1 span {
  display: block;
  color: var(--contact-yellow);
}

.contact-hero-content > p {
  max-width: 620px;
  margin: 0 0 35px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.9;
}

.contact-primary-btn {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 24px;
  background: var(--contact-yellow);
  color: var(--contact-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.25s ease,
    gap 0.25s ease;
}

.contact-primary-btn:hover {
  gap: 32px;
  background: #ffda35;
}

.contact-primary-btn span {
  font-size: 18px;
}

.contact-hero-bottom {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 25px;
  left: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-yellow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--contact-yellow);
}

/* INTRO */

.contact-intro-section {
  padding: 90px 0;
  background: var(--contact-light);
}

.contact-intro-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr;
  align-items: end;
  gap: 70px;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.contact-intro-inner h2,
.contact-location-content h2 {
  margin: 15px 0 0;
  font-family: var(--contact-heading);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.8px;
}

.contact-intro-inner h2 span,
.contact-location-content h2 span {
  display: block;
  color: #9a7c00;
}

.contact-intro-inner > p {
  margin: 0;
  color: var(--contact-text);
  font-size: 14px;
  line-height: 1.95;
}

/* MAIN CONTACT GRID */

.contact-main-section {
  padding: 95px 0;
  background: #fff;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  box-shadow: 0 25px 70px rgba(42, 43, 41, 0.08);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  padding: 50px 38px 35px;
  background: var(--contact-dark);
  color: var(--contact-white);
}

.contact-info-panel .contact-section-label {
  color: var(--contact-yellow);
}

.contact-info-panel h2 {
  margin: 20px 0 15px;
  font-family: var(--contact-heading);
  font-size: clamp(32px, 3.3vw, 45px);
  line-height: 1.17;
  letter-spacing: -1.6px;
}

.contact-info-panel h2 span {
  display: block;
  color: var(--contact-yellow);
}

.contact-info-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  line-height: 1.9;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: inherit;
  text-decoration: none;
}

.contact-info-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  background: var(--contact-yellow);
  color: var(--contact-dark);
  font-size: 20px;
  font-weight: 700;
}

.contact-info-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.contact-info-text small {
  color: var(--contact-yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.contact-info-text strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.contact-info-text > span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-info-text em {
  margin-top: 4px;
  color: var(--contact-yellow);
  font-size: 11px;
  font-style: normal;
}

.contact-info-item:hover .contact-info-text strong {
  color: var(--contact-yellow);
}

.contact-info-footer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
}

.contact-info-footer .contact-yellow-dot {
  margin-top: 6px;
}

.contact-info-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.8;
}

/* FORM */

.contact-form-panel {
  min-width: 0;
  padding: 50px 45px;
  background: #fff;
}

.contact-form-heading {
  margin-bottom: 35px;
}

.contact-form-heading h2 {
  margin: 13px 0 10px;
  font-family: var(--contact-heading);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -1px;
}

.contact-form-heading p {
  margin: 0;
  color: var(--contact-text);
  font-size: 13px;
  line-height: 1.8;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.contact-field label {
  color: #363731;
  font-size: 11px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 13px;
  border: 1px solid var(--contact-border);
  border-radius: 0;
  outline: none;
  background: #fbfbf9;
  color: var(--contact-dark);
  font-size: 12px;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-field input,
.contact-field select {
  min-height: 48px;
}

.contact-field textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a0a19b;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #b69700;
  background: #fff;
}

.contact-field select {
  cursor: pointer;
}

.contact-privacy-note {
  margin: 0 0 20px;
  color: #777970;
  font-size: 10px;
  line-height: 1.8;
}

.contact-submit-btn {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border: 0;
  background: var(--contact-yellow);
  color: var(--contact-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.contact-submit-btn:hover {
  background: #ffda35;
}

.contact-submit-arrow {
  font-size: 20px;
}

.contact-form-status {
  margin: 15px 0 0;
  color: #55574f;
  font-size: 12px;
  line-height: 1.7;
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status.is-error {
  color: #a52a2a;
}

.contact-form-status.is-success {
  color: #376a36;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* LOCATION CTA */

.contact-location-section {
  position: relative;
  display: flex;
  min-height: 400px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: 75px max(40px, calc((100% - 1240px) / 2));
  box-sizing: border-box;
  background: #eeeee8;
}

.contact-location-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.contact-location-content h2 {
  margin-bottom: 20px;
}

.contact-location-content p {
  max-width: 570px;
  margin: 0 0 28px;
  color: var(--contact-text);
  font-size: 14px;
  line-height: 1.9;
}

.contact-location-decoration {
  position: relative;
  display: flex;
  width: 300px;
  height: 300px;
  flex: 0 0 300px;
  align-items: center;
  justify-content: center;
}

.location-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(154, 124, 0, 0.35);
  border-radius: 50%;
}

.ring-one {
  width: 110px;
  height: 110px;
}

.ring-two {
  width: 200px;
  height: 200px;
}

.ring-three {
  width: 290px;
  height: 290px;
}

.contact-location-decoration::before,
.contact-location-decoration::after {
  position: absolute;
  content: "";
  background: rgba(154, 124, 0, 0.25);
}

.contact-location-decoration::before {
  width: 1px;
  height: 100%;
}

.contact-location-decoration::after {
  width: 100%;
  height: 1px;
}

.location-center {
  z-index: 1;
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--contact-yellow);
  color: var(--contact-dark);
  font-family: var(--contact-heading);
  font-size: 17px;
  font-weight: 800;
}

/* FOOTER */

.site-footer {
  background: var(--contact-black);
  color: #fff;
}

.contact-footer-inner {
  display: flex;
  width: min(1240px, calc(100% - 80px));
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  padding: 45px 0 25px;
}

.contact-footer-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 48px;
  object-fit: contain;
}

.contact-footer-inner > p {
  max-width: 450px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.8;
}

.contact-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 12px 0 28px;
}

.contact-footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  text-decoration: none;
}

.contact-footer-links a:hover {
  color: var(--contact-yellow);
}

.contact-footer-copyright {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

/* ANIMATION */

@keyframes contactHeroReveal {
  from {
    opacity: 0.6;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .contact-hero-content {
    width: calc(100% - 60px);
  }

  .contact-intro-inner,
  .contact-main-grid {
    width: calc(100% - 60px);
  }

  .contact-intro-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-main-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .contact-info-panel {
    padding: 38px 26px 28px;
  }

  .contact-form-panel {
    padding: 38px 28px;
  }

  .contact-form-row {
    gap: 14px;
  }

  .contact-location-decoration {
    width: 220px;
    height: 220px;
    flex-basis: 220px;
  }

  .ring-three {
    width: 210px;
    height: 210px;
  }

  .ring-two {
    width: 150px;
    height: 150px;
  }

  .ring-one {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 690px;
    min-height: 90svh;
  }

  .contact-hero-image {
    background-position: 60% center;
  }

  .contact-hero-overlay {
    background:
      linear-gradient(90deg, rgba(22, 23, 21, 0.92), rgba(22, 23, 21, 0.58)),
      linear-gradient(0deg, rgba(22, 23, 21, 0.65), transparent 80%);
  }

  .contact-hero-content {
    width: calc(100% - 40px);
    margin: 105px auto 110px;
  }

  .contact-breadcrumb {
    margin-bottom: 42px;
  }

  .contact-hero h1 {
    font-size: clamp(40px, 9vw, 60px);
    letter-spacing: -1.8px;
  }

  .contact-hero-content > p {
    font-size: 13px;
  }

  .contact-hero-bottom {
    right: 20px;
    bottom: 20px;
    left: 20px;
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .contact-intro-section,
  .contact-main-section {
    padding: 65px 0;
  }

  .contact-intro-inner,
  .contact-main-grid {
    width: calc(100% - 36px);
  }

  .contact-intro-inner h2,
  .contact-location-content h2 {
    font-size: clamp(31px, 8vw, 42px);
    letter-spacing: -1px;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    padding: 35px 25px;
  }

  .contact-info-panel h2 {
    font-size: 38px;
  }

  .contact-form-panel {
    padding: 35px 24px;
  }

  .contact-location-section {
    min-height: auto;
    padding: 65px 25px;
  }

  .contact-location-decoration {
    display: none;
  }

  .contact-footer-inner {
    width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  .contact-hero {
    min-height: 720px;
    min-height: 92svh;
  }

  .contact-hero h1 {
    font-size: 39px;
    line-height: 1.13;
  }

  .contact-hero-content > p {
    line-height: 1.8;
  }

  .contact-primary-btn {
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 0 15px;
    font-size: 11px;
  }

  .contact-hero-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-panel {
    padding: 30px 19px;
  }

  .contact-form-heading h2 {
    font-size: 27px;
  }

  .contact-location-section {
    padding: 55px 20px;
  }

  .contact-footer-links {
    gap: 15px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-image {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
