/* ===================================================================
   Design tokens — copied from Next/app/globals.css :root so this page
   matches the main site's look without depending on it at runtime.
   =================================================================== */
:root {
  --primary: #c9f31d;
  --primarybutton: #c9f31d82;
  --primary-dark: #a8d424;
  --dark: #111111;
  --darkbutton: #4a5a08;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #666666;
  --gray-light: #999999;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-md: 8px;
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

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

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===================================================================
   Header
   =================================================================== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.lp-header-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===================================================================
   Hero — the Calendly + Inquiry Form booking panel IS the hero, so this
   shares the section with .contact-booking-section further below. The
   heading block (badge/h1/subtitle/stats) sits above the panel, both
   inside the same tinted hero background.
   =================================================================== */
.lp-hero {
  background: #edf7c166;
  padding: 0 0 90px;
  text-align: center;
}

.lp-hero-heading {
  max-width: 820px;
  margin: 0 auto 44px;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: #c9f31d82;
  border: 1px solid var(--primary);
  color: var(--darkbutton);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.lp-badge-dark {
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.15);
  color: var(--dark);
}

.lp-hero h1 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.lp-hero-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 640px;
}

.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.lp-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-hero-stat strong {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--dark);
}

.lp-hero-stat span {
  font-size: 13px;
  color: var(--gray);
}

/* ===================================================================
   Why TopRemotely
   =================================================================== */
.lp-why {
  padding: 80px 0;
}

.lp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.lp-section-header h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  margin: 16px 0 12px;
}

.lp-section-header p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}

.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-why-card {
  padding: 32px;
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  background: var(--white);
}

.lp-why-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  margin-bottom: 10px;
}

.lp-why-card p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===================================================================
   Contact Booking Panel — mirrors Next/components/styles/ContactBookingSection.css
   =================================================================== */
/* No own padding/background — this now shares the .lp-hero section above,
   which supplies both (the tinted hero background carries through). */

.contact-booking-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-booking-col {
  display: flex;
  flex-direction: column;
}

.contact-booking-left {
  background: var(--white);
  padding: 40px;
  border-right: 1px solid var(--light-gray);
}

.contact-col-head {
  margin-bottom: 24px;
}

.contact-col-badge,
.contact-right-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--primarybutton);
  color: var(--darkbutton);
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.contact-right-badge {
  background: var(--primary);
}

.contact-col-head h3,
.contact-right-head h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}

.contact-col-green-sub {
  font-size: 14.5px;
  color: var(--darkbutton);
  font-weight: 500;
}

.contact-meeting-card {
  flex: 1;
  width: 100%;
}

.contact-booking-right {
  background: #edf7c166;
}

.contact-right-head {
  padding: 40px 40px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-right-sub {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  margin: 0 0 24px;
}

.contact-right-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.contact-right-stats .stat-item {
  display: flex;
  flex-direction: column;
}

.contact-right-stats .stat-num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.contact-right-stats .stat-lbl {
  font-size: 11.5px;
  color: rgba(0, 0, 0, 0.6);
}

.contact-right-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-right-trust .trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
}

.contact-inquiry-wrap {
  padding: 10px 40px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Form ── */
#lp-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inquiry-field-full {
  grid-column: 1 / -1;
}

.inquiry-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
}

.required-star {
  color: #e11d48;
}

.optional-tag {
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 400;
  margin-left: 4px;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primarybutton);
}

.inquiry-field input.field-error,
.inquiry-field textarea.field-error {
  border-color: #e11d48;
  background: #fff5f7;
}

.inquiry-field textarea {
  min-height: 120px;
  resize: vertical;
}

.inquiry-field-error {
  font-size: 12px;
  color: #e11d48;
}

/* ── CAPTCHA ── */
.captcha-widget {
  margin-bottom: 4px;
}

.captcha-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-image-box {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  background: #f3f5f7;
  flex-shrink: 0;
  width: 150px;
  height: 50px;
}

.captcha-image-box svg {
  display: block;
  width: 150px;
  height: 50px;
}

.captcha-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
}

.captcha-refresh-btn:hover:not(:disabled) {
  background: #f3f4f6;
}

.captcha-row input {
  flex: 1 1 140px;
  min-width: 140px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

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

/* ── Submit button ── */
.inquiry-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 10px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
  font-family: inherit;
}

.inquiry-submit-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.inquiry-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Status message ── */
.inquiry-status-message {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.inquiry-status-message.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.inquiry-status-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ===================================================================
   Our Work Process — mirrors Next/app/globals.css .work-process rules
   =================================================================== */
.work-process {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.work-process .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.work-process .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  background-color: var(--primarybutton);
  color: var(--darkbutton);
}

.work-process .section-header h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.work-process .section-header p {
  color: var(--gray);
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.step-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.step-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.05);
}

.step-icon svg {
  width: 44px;
  height: 44px;
  color: var(--dark);
}

.step-number {
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translate(160%, 50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.step-text {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.6;
  padding: 0 10px;
}

.process-arc {
  position: absolute;
  display: block;
  pointer-events: none;
  overflow: visible;
}

.process-arc-up,
.process-arc-down,
.process-arc-up-2 {
  top: -40px;
  right: -100px;
  width: 200px;
  height: 80px;
}

.process-arc-down {
  top: 90px;
}

@media (max-width: 1024px) {
  .process-arc {
    display: none;
  }
}

/* ===================================================================
   Our Locations — mirrors Next/styles/ContactPage.css .contact-locations-*
   =================================================================== */
.contact-locations-section {
  padding: 80px 0;
  background-color: #f7f9fc4d;
  text-align: center;
  background-image: url(https://api.topremotely.com/uploads/img/left-bg.png), url(https://api.topremotely.com/uploads/img/right-bg.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: contain, contain;
}

.contact-locations-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background-color: #c9f31d82;
  color: #4a5a08;
  border: 1px solid #c9f31d;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-locations-section .ourlocation-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.contact-locations-section .ourlocation-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

.contact-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.contact-location-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.contact-location-card:hover {
  border-color: #c9f31d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}

/* h3 (country) is intentionally left unstyled — matches the current live
   Contact page exactly, where only h4 (city) carries the lime heading style. */
.contact-location-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: #c9f31d;
  margin-bottom: 4px;
}

.contact-location-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 6px 0 14px;
}

.contact-location-card a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.contact-location-card a:hover {
  color: #4a5a08;
}

@media (max-width: 1024px) {
  .contact-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-locations-grid {
    grid-template-columns: 1fr;
  }

  .contact-locations-section .ourlocation-title {
    font-size: 28px;
  }
}

/* ===================================================================
   Footer
   =================================================================== */
.lp-footer {
  background: var(--dark);
  padding: 32px 0;
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lp-footer-inner img {
  filter: brightness(0) invert(1);
}

.lp-footer-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.lp-footer-inner a {
  color: var(--primary);
  text-decoration: none;
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .contact-booking-panel {
    grid-template-columns: 1fr;
  }

  .contact-booking-left {
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
    padding: 30px;
  }

  .contact-right-head,
  .contact-inquiry-wrap {
    padding: 30px;
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-hero {
    padding: 60px 0 50px;
  }

  .lp-hero h1 {
    font-size: 30px;
  }

  .lp-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-booking-panel {
    border-radius: 16px;
  }

  .contact-booking-left,
  .contact-right-head,
  .contact-inquiry-wrap {
    padding: 24px 20px;
  }

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

  .inquiry-field-full {
    grid-column: span 1;
  }

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

  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
