/* LetRent - Contact page (scoped to .lr-* classes, does not affect other pages) */

.lr-contact {
  --lr-brand: #d9780f;
  --lr-brand-dark: #b8650b;
  --lr-brand-soft: #fdf3e3;
  --lr-ink: #1b1f2a;
  --lr-muted: #667085;
  --lr-border: #e4e7ec;
  --lr-danger: #d92d20;
  --lr-success: #12a150;
  --lr-radius: 14px;

  position: relative;
  padding: 130px 0 80px;
  background:
    radial-gradient(900px 400px at 85% -10%, var(--lr-brand-soft), transparent 70%),
    #fafafa;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--lr-ink);
}

.lr-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .lr-card { order: 1; }
  .lr-contact__intro { order: 2; }
}

/* ---------- Intro ---------- */
.lr-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lr-brand-soft);
  color: var(--lr-brand-dark);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lr-contact__title {
  margin: 16px 0 12px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--lr-ink);
}

.lr-contact__lead {
  max-width: 480px;
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--lr-muted);
}

.lr-contact__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lr-contact__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lr-contact__icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--lr-border);
  color: var(--lr-brand);
}

.lr-contact__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--lr-muted);
}

.lr-contact__list a,
.lr-contact__list address {
  margin: 0;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--lr-ink);
}

.lr-contact__list a:hover { color: var(--lr-brand-dark); }

/* ---------- Card ---------- */
.lr-card {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--lr-border);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 40px -12px rgba(16, 24, 40, 0.12);
}

.lr-form__title {
  margin: 0 0 4px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.lr-form__sub {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--lr-muted);
}

.lr-req { color: var(--lr-danger); }
.lr-optional { font-weight: 400; color: var(--lr-muted); }

.lr-field { margin-bottom: 18px; }

.lr-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lr-ink);
}

/* ---------- Inputs ---------- */
.lr-input { position: relative; }

.lr-input > i,
.lr-input > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  font-size: 0.9rem;
  color: #98a2b3;
  pointer-events: none;
  transition: color 0.2s;
}

.lr-input--textarea > i,
.lr-input--textarea > svg { top: 18px; transform: none; }

.lr-input input,
.lr-input textarea {
  display: block;
  width: 100%;
  padding: 12px 14px 12px 40px;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--lr-ink);
  background: #fff;
  border: 1px solid var(--lr-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.lr-input input { height: 48px; }
.lr-input textarea { min-height: 110px; resize: vertical; line-height: 1.5; }

.lr-input input::placeholder,
.lr-input textarea::placeholder { color: #98a2b3; }

.lr-input input:hover,
.lr-input textarea:hover { border-color: #c5cad3; }

.lr-input input:focus,
.lr-input textarea:focus {
  outline: none;
  border-color: var(--lr-brand);
  box-shadow: 0 0 0 4px rgba(217, 120, 15, 0.15);
}

.lr-input:focus-within > i,
.lr-input:focus-within > svg { color: var(--lr-brand); }

.lr-field.is-invalid .lr-input input { border-color: var(--lr-danger); }
.lr-field.is-invalid .lr-input input:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.15); }
.lr-field.is-invalid .lr-input > i,
.lr-input > svg { color: var(--lr-danger); }

.lr-error {
  display: none;
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--lr-danger);
}

.lr-field.is-invalid .lr-error { display: block; }

/* ---------- Button ---------- */
.lr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 24px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--lr-brand);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(217, 120, 15, 0.7);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.lr-btn:hover { background: var(--lr-brand-dark); transform: translateY(-1px); }
.lr-btn:active { transform: translateY(0); }
.lr-btn:focus-visible { outline: 3px solid rgba(217, 120, 15, 0.4); outline-offset: 2px; }

.lr-btn:disabled { cursor: not-allowed; opacity: 0.75; transform: none; }

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

.lr-btn.is-loading .lr-btn__spinner { display: inline-block; }

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

/* ---------- Status banner ---------- */
.lr-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: lr-fade 0.25s ease-out;
}

.lr-status[hidden] { display: none; }

.lr-status--success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.lr-status--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

@keyframes lr-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (min-width: 576px) {
  .lr-card { padding: 36px; }
}

@media (min-width: 992px) {
  .lr-contact { padding: 150px 0 100px; }
  .lr-contact__grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .lr-contact__intro { padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .lr-btn, .lr-input input, .lr-input textarea, .lr-status { transition: none; animation: none; }
  .lr-btn__spinner { animation-duration: 1.6s; }
}

/* ---------- Home page: CTA banner, floating button, nav link ---------- */
.lr-cta { padding: 60px 0; background: #fff; font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

.lr-cta__box {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 36px 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #e8912a 0%, #b8650b 100%);
  box-shadow: 0 24px 50px -20px rgba(184, 101, 11, 0.6);
}

.lr-cta__box::before,
.lr-cta__box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.lr-cta__box::before { width: 260px; height: 260px; top: -90px; right: -60px; }
.lr-cta__box::after { width: 160px; height: 160px; bottom: -70px; right: 30%; }

.lr-cta__text, .lr-cta__actions { position: relative; z-index: 1; }

.lr-eyebrow--light { background: rgba(255, 255, 255, 0.2); color: #fff; }

.lr-cta h2 {
  margin: 14px 0 10px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.lr-cta p { margin: 0; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }

.lr-cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }

.lr-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 280px);
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #b8650b;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lr-cta__btn:hover { color: #b8650b; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.45); }
.lr-cta__btn:hover i { transform: translateX(3px) rotate(-8deg); }
.lr-cta__btn i { transition: transform 0.2s; }
.lr-cta__btn:focus-visible, .lr-cta__link:focus-visible, .lr-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(184, 101, 11, 0.6); }

.lr-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 280px);
  color: #fff;
  font-weight: 500;
}
.lr-cta__link:hover { color: #fff; text-decoration: underline; }

/* Floating action button */
.lr-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #d9780f;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 28px -8px rgba(217, 120, 15, 0.7);
  animation: lr-pulse 2.6s ease-out infinite;
  transition: transform 0.2s, background 0.2s;
}
.lr-fab:hover { color: #fff; background: #b8650b; transform: translateY(-2px); }

@keyframes lr-pulse {
  0% { box-shadow: 0 12px 28px -8px rgba(217, 120, 15, 0.7), 0 0 0 0 rgba(217, 120, 15, 0.45); }
  70%, 100% { box-shadow: 0 12px 28px -8px rgba(217, 120, 15, 0.7), 0 0 0 16px rgba(217, 120, 15, 0); }
}

/* Nav pill link (home page only) */
.navbar .nav-link.lr-nav-cta {
  padding: 8px 18px !important;
  margin-left: 8px;
  border-radius: 999px;
  background: #d9780f;
  color: #fff !important;
}
.navbar .nav-link.lr-nav-cta:hover { background: #b8650b; }

@media (min-width: 768px) {
  .lr-cta__box { grid-template-columns: 1.4fr 1fr; padding: 48px; }
}

@media (max-width: 575px) {
  .lr-fab { left: 14px; bottom: 14px; width: 52px; padding: 0; justify-content: center; }
  .lr-fab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lr-fab { animation: none; }
  .lr-cta__btn, .lr-cta__btn i { transition: none; }
}

/* Hero contact button (home page) */
.hero-stores-badge a.lr-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #b8650b !important;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
}
.hero-stores-badge a.lr-hero-btn:hover, .hero-stores-badge a.lr-hero-btn:visited, .hero-stores-badge a.lr-hero-btn:focus { color: #b8650b !important; background: #fff; transform: translateY(-2px); }
.lr-hero-btn:hover i { transform: translateX(3px) rotate(-8deg); }
.lr-hero-btn i { transition: transform 0.2s; }
.lr-hero-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 575px) { .lr-hero-btn { width: 100%; justify-content: center; } }
