/* ============================================================
   Components — buttons, cards, badges, lists, forms, CTA band.
   ============================================================ */

/* ------------------------------ Buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  box-shadow: 0 12px 26px rgba(31, 58, 95, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(31, 58, 95, 0.22);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--off);
  border-color: var(--off);
  color: var(--navy);
}

/* On dark surfaces (image heroes, dark sections, CTA bands) a navy button
   disappears into the background, so the primary action switches to gold
   and the ghost button to a light outline. */
.hero--image .btn-primary,
.darksection .btn-primary,
.cta-band .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero--image .btn-primary:hover,
.darksection .btn-primary:hover,
.cta-band .btn-primary:hover {
  background: #D4BC85;
  border-color: #D4BC85;
  color: var(--navy-deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.darksection .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.darksection .btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
  box-shadow: none;
}

/* Trailing arrow that nudges on hover. */
.btn-primary::after {
  content: '→';
  content: '→' / '';
  font-weight: 500;
  transition: transform var(--t-fast);
}

.btn-primary:hover::after {
  transform: translateX(3px);
}

.nav-cta::after,
.mobile-cta::after,
.btn[type='submit']::after,
.btn[href^='tel:']::after {
  content: none;
}

/* Inline button row (mid-content CTAs) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
}

.btn-row--center {
  justify-content: center;
}

/* ------------------------------ Cards ------------------------------ */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ------------------------------ Step cards ------------------------------ */

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.step-card h3,
.step-card h4 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.7rem;
}

.step-card p:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  margin-bottom: 16px;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.darksection .step-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(195, 168, 107, 0.22);
}

.darksection .step-card:hover {
  border-color: rgba(195, 168, 107, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.darksection .step-card h3,
.darksection .step-card h4 {
  color: var(--gold);
}

.darksection .step-card p {
  color: var(--dark-muted);
}

/* ------------------------------ Badges ------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.badge:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ------------------------------ Lists ------------------------------ */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 13px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.darksection .feature-list li::before,
.melbourne-section .feature-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C3A86B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ------------------------------ Feature box ------------------------------ */

.featurebox {
  background: #fff;
  border: 1px solid rgba(195, 168, 107, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

/* ------------------------------ CTA band ------------------------------ */

.cta-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(195, 168, 107, 0.28), transparent 45%),
    radial-gradient(circle at 0% 120%, rgba(42, 74, 115, 0.9), transparent 55%),
    linear-gradient(120deg, var(--navy-deep), var(--navy));
  box-shadow: var(--shadow-lg);
}

/* Gold hairline across the top edge. */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn {
  flex: none;
  padding: 15px 28px;
}

/* ------------------------------ Forms ------------------------------ */

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.12);
}

.form-field input[aria-invalid='true'],
.form-field textarea[aria-invalid='true'] {
  border-color: #B42318;
}

.form-error {
  display: none;
  color: #B42318;
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-error.is-visible {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status[data-state='success'] {
  background: #E9F5EE;
  color: #1E5A4A;
  border: 1px solid #BFE3CC;
}

.form-status[data-state='error'] {
  background: #FBEBEA;
  color: #B42318;
  border: 1px solid #F2C4C0;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------ FAQ items ------------------------------ */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin-bottom: 2rem;
}

.faq-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  text-align: left;
  transition: box-shadow var(--t), transform var(--t);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item h3 {
  color: var(--navy);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  margin-bottom: 0.55rem;
}

.faq-item p {
  color: var(--ink-soft);
  margin: 0;
}
