/* Revision: 2026-03-22 – Landing page specific styles for index.html */

/* ===== HERO ===== */
.site-header {
  position: relative;
  background-color: #161616;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%),
    url('/images/desktop.jpg');
  background-position: center;
  background-size: auto, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 1024px) {
  .site-header {
    min-height: 65vh;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 32px;
}

@media (min-width: 768px)  { .hero-tagline { font-size: 38px; } }
@media (min-width: 1280px) { .hero-tagline { font-size: 44px; } }
@media (min-width: 1536px) { .hero-tagline { font-size: 48px; } }

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: var(--color-bg);
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

@media (max-width: 767px) {
  .contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== SECTION HEADING ===== */
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px)  { .section-heading { font-size: 38px; } }
@media (min-width: 1280px) { .section-heading { font-size: 44px; } }
@media (min-width: 1536px) { .section-heading { font-size: 48px; } }

.heading-rule {
  margin-top: 24px;
  line-height: 0;
  text-align: center;
}

.heading-rule hr {
  display: inline-block;
  width: 50px;
  height: 0;
  border-bottom: 2px solid var(--color-hr);
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-form-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form-wrap {
    margin-left: 8.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }
}

@media (min-width: 1024px) {
  .contact-form-wrap {
    margin-left: 16.666%;
    flex-basis: 66.666%;
    max-width: 66.666%;
  }
}

/* ===== FORM SUBHEADING ===== */
.form-subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: var(--color-text-light);
  line-height: 1.25;
  margin-bottom: 24px;
}

@media (min-width: 768px)  { .form-subheading { font-size: 22px; } }
@media (min-width: 1536px) { .form-subheading { font-size: 24px; } }

/* ===== FORM GROUPS ===== */
.form-group {
  margin-bottom: 24px;
}

/* ===== FLOAT LABEL INPUTS ===== */
.float-label-wrap {
  position: relative;
}

.float-label-wrap input {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 23px 16px 7px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  outline: none;
  transition: box-shadow 0.15s ease;
}

.float-label-wrap input:focus {
  box-shadow: inset 0 0 0 1px currentColor;
}

.float-label-wrap label {
  position: absolute;
  top: 33%;
  left: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  pointer-events: none;
  transition: all 0.15s ease;
}

.float-label-wrap input:focus + label,
.float-label-wrap input:not(:placeholder-shown) + label {
  font-size: 12px;
  top: 8px;
  color: var(--color-text-muted);
}

/* ===== TEXTAREA ===== */
textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  line-height: 1.75;
  resize: vertical;
  outline: none;
  transition: box-shadow 0.15s ease;
}

textarea::placeholder { color: var(--color-text-dim); }
textarea:focus { box-shadow: inset 0 0 0 1px currentColor; }

/* ===== CHECKBOX ===== */
.opt-in-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  display: inline-block;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  min-width: 19px;
  border: 1px solid var(--color-border-dim);
  border-radius: 2px;
  margin-top: 2px;
  margin-right: 8px;
  position: relative;
  background: transparent;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
  cursor: pointer;
}

.checkbox-label input:checked ~ .checkbox-box {
  border-color: var(--color-text-muted);
}

.checkbox-label input:checked ~ .checkbox-box::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid var(--color-text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* ===== SUBMIT BUTTON ===== */
.form-submit {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  color: var(--color-btn-text);
  background-color: var(--color-btn-bg);
  border: none;
  border-radius: 4px;
  padding: 8px 32px;
  min-height: 56px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  width: auto;
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  color: var(--color-btn-text);
}

/* ===== FORM MESSAGE ===== */
.form-message {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}

.form-message.success { color: #6ee79a; }
.form-message.error   { color: #f87171; }

/* ===== RECAPTCHA NOTE ===== */
.recaptcha-note {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 8px;
}

.recaptcha-note a { color: var(--color-text-muted); }
.recaptcha-note a:hover { color: var(--color-text-dim); }
