/* ============================================================
   Contact Page — TropiCanna Water v2
   ============================================================ */

.nav-link--active {
  color: var(--white) !important;
  border-bottom: 1.5px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
}

/* ============================================================
   HERO
   ============================================================ */

.contact-hero {
  background-color: #cee2d8;
  padding: 140px 7vw 5rem;
  text-align: center;
}

.contact-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.contact-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.contact-hero-sub {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   SPLIT (form + details)
   ============================================================ */

.contact-split {
  background-color: #cee2d8;
  padding: 2rem 7vw 6rem;
}

.contact-split-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* ============================================================
   FORM CARD
   ============================================================ */

.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 2px 16px rgba(46,61,42,0.08);
}

.contact-form-title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.contact-form-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.contact-field-opt {
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0;
  text-transform: none;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #f7f6f1;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border 0.18s, background 0.18s;
  outline: none;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--sage);
  opacity: 0.75;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--sage);
  background: var(--white);
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-error {
  background: #fbeaea;
  border: 1px solid #e9c7c7;
  color: #8a2b2b;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  line-height: 1.5;
}

.contact-form-success {
  background: #e9f3e3;
  border: 1px solid #c9e0bd;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.contact-form-success h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.contact-form-success p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.contact-form-reset {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: transparent;
  border: 1.5px solid var(--forest);
  border-radius: 100px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-form-reset:hover {
  background: var(--forest);
  color: var(--white);
}

/* ============================================================
   DETAILS SIDE
   ============================================================ */

.contact-details {
  background: var(--forest);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details-block {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}

.contact-details-block:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-details-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.contact-details-link {
  display: block;
  width: fit-content;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: border 0.2s;
  word-break: break-word;
}

.contact-details-link + .contact-details-link {
  margin-top: 0.55rem;
}

.contact-details-link:hover {
  border-bottom-color: var(--white);
}

.contact-details-text {
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-details-list li {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  padding-left: 1.1rem;
  position: relative;
}

.contact-details-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.contact-details-quote {
  margin-top: auto;
  padding: 1.25rem 1.4rem;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border-left: 2px solid var(--sage);
}

.contact-details-quote p {
  font-size: 0.98rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ============================================================
   CLOSING
   ============================================================ */

.contact-closing {
  background-image: url('images/Boat Background.png');
  background-size: cover;
  background-position: center bottom;
  padding: 6rem 7vw;
  text-align: center;
  position: relative;
}

.contact-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 235, 0.35);
}

.contact-closing-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.contact-closing-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-closing-body {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .contact-split-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-field-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card,
  .contact-details {
    padding: 2rem 1.4rem;
  }
}
