/* Hostly Landing Page Styles */
:root {
  --bg: #fffbf2;
  --accent: #d9d3c6;
  --primary: #073632;
  --highlight: #b76b29;
  --text: #143c38;
  --shadow: 0 8px 24px rgba(7,54,50,0.08);
  --radius: 14px;
  --space: 20px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.tiny { font-size: 12px; color: #5b6a67; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--accent); backdrop-filter: saturate(140%) blur(4px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; letter-spacing: 0.5px; color: var(--primary); font-size: 22px; }
.header-nav { display: flex; gap: 12px; }
.nav-link { padding: 10px 14px; border-radius: 10px; }
.nav-link.cta-link { background: var(--highlight); color: #fff; box-shadow: var(--shadow); }

/* Hero */
.hero { position: relative; padding: 88px 0 48px; min-height: auto; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(rgba(255,251,242,0.92), rgba(255,251,242,0.96)),
  url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; z-index: -1; }
.hero-title { font-size: 44px; margin: 0 0 14px; color: var(--primary); letter-spacing: -0.5px; }
.hero-subtitle { font-size: 18px; max-width: 760px; margin: 0 0 24px; color: #3b504d; }
.hero-actions { margin: 18px 0 28px; }
.trust-badges { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.badge { background: #fff; border: 1px solid var(--accent); border-radius: 999px; padding: 10px 14px; text-align: center; font-weight: 700; }

/* Sections */
.section { padding: 64px 0; }
.section-title { font-size: 30px; color: var(--primary); margin: 0 0 24px; letter-spacing: -0.2px; }
.card { background: #fff; border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.step h3 { margin: 12px 0 8px; font-size: 18px; }
.step p { margin: 0; color: #435a57; }
.icon { color: var(--primary); }

/* Why */
.benefits { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.benefits li { background: #fff; border: 1px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; font-weight: 600; }
.testimonial { margin: 0; padding: 16px 18px; border-left: 4px solid var(--highlight); background: #fff; border: 1px solid var(--accent); border-radius: var(--radius); }

/* Form */
.form-section { border-top: 1px solid var(--accent); background: #fff; }
.form-header h2 { margin: 0 0 10px; }
.lead-form { margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 700; }
input, textarea { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--accent); font-size: 16px; line-height: 1.5; background: #fff; -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: #8ea7a2; }
input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(183,107,41,0.35); border-color: var(--highlight); }
.status { margin-top: 12px; }
.trust { margin-top: 10px; }

/* Presence */
.presence { background: var(--bg); border-top: 1px solid var(--accent); text-align: center; }
.presence-inner { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; }
.presence-label { font-weight: 800; color: var(--primary); text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--accent); background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 18px; padding: 28px 0; align-items: center; }
.footer-brand { font-weight: 800; color: var(--primary); font-size: 22px; letter-spacing: 0.5px; }
.footer-info p { margin: 6px 0; }
.footer-social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.social-title { font-weight: 800; color: var(--primary); letter-spacing: 0.3px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--accent); background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.social-link:hover { transform: translateY(-1px); filter: brightness(1.03); transition: transform 150ms ease, filter 150ms ease; }
.footer-legal { grid-column: 1 / -1; margin-top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 18px; border-radius: 12px; font-weight: 800; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(180deg, #bd7a3f, #b76b29); color: #fff; box-shadow: 0 6px 16px rgba(183,107,41,0.28); }
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); transition: transform 150ms ease, filter 150ms ease; }
.btn-primary:focus-visible { outline: 3px solid rgba(183,107,41,0.35); }
.btn-block { width: 100%; }
.lead-form .btn { margin-top: 16px; }

/* Sticky CTA (mobile) */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: rgba(255,251,242,0.96); backdrop-filter: blur(6px); padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--accent); display: none; }
.sticky-cta .btn { animation: pulse-once 1.8s ease-out 1.4s 1 both; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes pulse-once {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); box-shadow: 0 8px 22px rgba(183,107,41,0.34); }
  100% { transform: scale(1); }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .sticky-cta .btn { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  /* Make hero full-height only on small screens */
  .hero { padding-top: 48px; min-height: 100svh; min-height: -webkit-fill-available; }
  .hero-title { font-size: 32px; }
  .trust-badges { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; min-height: 44px; }
  .sticky-cta { display: block; }
  /* Header: simplify nav on mobile */
  .header-inner { height: 56px; }
  .site-header { padding-top: env(safe-area-inset-top); }
  .header-nav .nav-link { display: none; }
  .header-nav .nav-link.cta-link { display: inline-flex; padding: 8px 12px; font-size: 14px; }
  .logo { font-size: 20px; }
  /* Global Reach: stack and tighten spacing */
  .presence-inner { flex-direction: column; gap: 6px; padding: 12px 0; }
  .presence-label { font-size: 14px; }
  .presence-locales { font-size: 14px; color: #5b6a67; }
}
/* Hover polish */
.card { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(7,54,50,0.12); border-color: rgba(183,107,41,0.4); }
.badge { transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease; }
.badge:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(7,54,50,0.10); border-color: rgba(183,107,41,0.4); }
.nav-link { transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.nav-link:hover { background: rgba(183,107,41,0.08); color: var(--primary); box-shadow: 0 4px 12px rgba(7,54,50,0.08); transform: translateY(-1px); }
.benefits li { transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease; }
.benefits li:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(7,54,50,0.10); border-color: rgba(183,107,41,0.4); }
input:hover, textarea:hover { border-color: rgba(7,54,50,0.35); }
.btn-primary { transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(183,107,41,0.34); }
.logo { transition: color 150ms ease; }
.logo:hover { color: var(--highlight); }
/* Responsive enhancements */
/* Fluid headings */
.hero-title { font-size: clamp(28px, 5vw, 44px); }
.section-title { font-size: clamp(22px, 3.2vw, 30px); }
/* Auto-fit grids for flexible columns */
.trust-badges { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* Media tweaks for small screens */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 16px; }
}
/* Media tweaks for mid screens */
@media (max-width: 820px) {
  .header-inner { height: 64px; }
}
/* Responsive media */
img, svg, video { max-width: 100%; height: auto; }
/* Reviews: adaptive card width and mobile speed */
.review { min-width: clamp(260px, 60vw, 420px); }
@media (max-width: 680px) { .reviews-track { animation-duration: 54s; } }
.reviews { border-top: 1px solid var(--accent); background: var(--bg); }
.reviews-marquee { overflow: hidden; }
.reviews-track { display: flex; gap: 14px; align-items: stretch; will-change: transform; animation: reviews-scroll 42s linear infinite; padding: 4px 0; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.review { flex: 0 0 auto; min-width: 420px; white-space: normal; }
.review .reviewer { display: inline-block; margin-left: 6px; color: #5b6a67; font-weight: 600; }
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reduced motion: stop auto-scroll */
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* Toast notifications */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); background: #073632; color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 24px rgba(7,54,50,0.18); opacity: 0; transition: opacity 180ms ease, transform 180ms ease; z-index: 1000; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast--error { background: #b00020; }