/* =========================================
   COLOR SYSTEM
========================================= */

:root {
  --primary: #0d5c4b;
  --primary-dark: #073d32;
  --accent: #d9a441;
  --dark: #101817;
  --text: #27312f;
  --muted: #75817e;
  --light: #f5f7f6;
  --white: #ffffff;
  --border: #e3e8e6;
  --success: #16835d;

  --radius-lg: 28px;
  --radius-md: 16px;

  --shadow:
    0 25px 70px rgba(7, 61, 50, 0.12);
}


/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================
   PAGE
========================================= */

.contact-page {
  min-height: 100vh;
  padding: 70px 24px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(13, 92, 75, 0.09),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(217, 164, 65, 0.10),
      transparent 25%
    ),
    var(--light);
}

.contact-container {
  width: min(1180px, 100%);
  margin: auto;
  position: relative;
  z-index: 2;
}


/* =========================================
   DECORATIVE SHAPES
========================================= */

.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 280px;
  height: 280px;

  background:
    rgba(13, 92, 75, 0.07);

  top: -100px;
  left: -100px;
}

.shape-two {
  width: 220px;
  height: 220px;

  background:
    rgba(217, 164, 65, 0.08);

  right: -70px;
  bottom: -60px;
}


/* =========================================
   HEADER
========================================= */

.contact-header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 7px 13px;
  margin-bottom: 18px;

  border: 1px solid rgba(13, 92, 75, 0.15);
  border-radius: 100px;

  background: rgba(255, 255, 255, 0.65);

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--success);

  box-shadow:
    0 0 0 5px rgba(22, 131, 93, 0.1);
}

.contact-header h1 {
  color: var(--dark);

  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;

  letter-spacing: -0.055em;

  margin-bottom: 20px;
}

.contact-header h1 span {
  color: var(--primary);
}

.contact-header p {
  max-width: 620px;
  margin: auto;

  color: var(--muted);

  font-size: 17px;
}


/* =========================================
   CONTACT CARD
========================================= */

.contact-card {
  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  background: var(--white);

  border:
    1px solid
    rgba(227, 232, 230, 0.9);

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: var(--shadow);
}


/* =========================================
   LEFT CONTACT PANEL
========================================= */

.contact-info {
  position: relative;

  padding: 55px 48px;

  color: var(--white);

  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(217, 164, 65, 0.17),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-dark)
    );
}

.contact-info::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  right: -150px;
  bottom: -130px;
}

.contact-info::after {
  content: "";

  position: absolute;

  width: 170px;
  height: 170px;

  border:
    1px solid
    rgba(217, 164, 65, 0.25);

  border-radius: 50%;

  right: -80px;
  bottom: -75px;
}

.info-content {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 34px;
  line-height: 1.1;

  letter-spacing: -0.035em;

  margin-bottom: 16px;
}

.contact-info > .info-content > p {
  color: rgba(255, 255, 255, 0.7);

  max-width: 380px;

  margin-bottom: 42px;

  font-size: 15px;
}


/* =========================================
   CONTACT DETAILS
========================================= */

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;

  gap: 16px;

  align-items: flex-start;
}

.contact-icon {
  width: 45px;
  height: 45px;

  flex: 0 0 45px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 13px;

  background:
    rgba(255, 255, 255, 0.08);

  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item small {
  display: block;

  margin-bottom: 3px;

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.contact-item a,
.contact-item span {
  color: var(--white);

  font-size: 14px;

  transition:
    color 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent);
}


/* =========================================
   AVAILABILITY
========================================= */

.availability {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 48px;

  padding: 11px 14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 100px;

  background:
    rgba(255, 255, 255, 0.06);

  color:
    rgba(255, 255, 255, 0.8);

  font-size: 12px;
}

.availability-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #53d89d;

  box-shadow:
    0 0 0 5px
    rgba(83, 216, 157, 0.1);
}


/* =========================================
   FORM SECTION
========================================= */

.contact-form-wrapper {
  padding: 55px 52px;

  background: var(--white);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading h2 {
  color: var(--dark);

  font-size: 26px;

  letter-spacing: -0.03em;

  margin-bottom: 7px;
}

.form-heading p {
  color: var(--muted);

  font-size: 14px;
}


/* =========================================
   FORM GRID
========================================= */

.form-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 20px;
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--text);

  font-size: 12px;

  font-weight: 750;
}

.form-group label span {
  color: var(--accent);
}


/* =========================================
   FORM CONTROLS
========================================= */

.form-control {
  width: 100%;

  min-height: 51px;

  padding: 13px 15px;

  border:
    1px solid
    var(--border);

  border-radius: 12px;

  outline: none;

  color: var(--text);

  background: var(--light);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #a3aca9;
}

.form-control:hover {
  border-color: #cbd5d1;
}

.form-control:focus {
  border-color: var(--primary);

  background: var(--white);

  box-shadow:
    0 0 0 4px
    rgba(13, 92, 75, 0.09);
}

textarea.form-control {
  min-height: 135px;

  resize: vertical;
}

select.form-control {
  cursor: pointer;
}


/* =========================================
   FORM FOOTER
========================================= */

.form-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: 24px;
}

.privacy-note {
  max-width: 270px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.5;
}

.privacy-note a {
  color: var(--primary);

  font-weight: 700;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.submit-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 52px;

  padding: 0 22px;

  border: 0;

  border-radius: 12px;

  cursor: pointer;

  color: var(--white);

  background: var(--primary);

  font-size: 13px;

  font-weight: 800;

  box-shadow:
    0 10px 25px
    rgba(13, 92, 75, 0.2);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.submit-btn svg {
  width: 17px;

  transition:
    transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);

  box-shadow:
    0 15px 30px
    rgba(13, 92, 75, 0.26);
}

.submit-btn:hover svg {
  transform: translateX(3px);
}

.submit-btn:active {
  transform: translateY(0);
}


/* =========================================
   QUICK HELP
========================================= */

.quick-help {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;

  margin-top: 25px;
}

.help-card {
  padding: 22px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.7);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.help-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 15px 35px
    rgba(16, 24, 23, 0.06);
}

.help-card strong {
  display: block;

  margin-bottom: 5px;

  color: var(--dark);

  font-size: 14px;
}

.help-card p {
  color: var(--muted);

  font-size: 12px;
}

.help-card a {
  display: inline-block;

  margin-top: 10px;

  color: var(--primary);

  font-size: 12px;

  font-weight: 800;
}

.help-card a:hover {
  color: var(--primary-dark);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .nav,
    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav.mobile-open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }
  .contact-page {
    padding: 50px 18px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 42px 35px;
  }

  .contact-form-wrapper {
    padding: 42px 35px;
  }

  .quick-help {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .contact-header {
    margin-bottom: 35px;
  }

  .contact-header h1 {
    font-size: 43px;
  }

  .contact-header p {
    font-size: 15px;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 32px 23px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;

    flex-direction: column;
  }

  .privacy-note {
    max-width: none;
  }

  .submit-btn {
    width: 100%;
  }

  .contact-item a,
  .contact-item span {
    font-size: 13px;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}