/* =====================================================
   Rapid Company — stylesheet
   Edit colors/fonts here — everything on the page reads
   from these variables, so a rebrand only touches this block.
   ===================================================== */

:root{
  --gold:        #F6B21F;
  --gold-dark:   #D6960F;
  --wine:        #4F001D;
  --wine-light:  #6E0A31;
  --ink:         #201A1B;
  --slate:       #6B6265;
  --paper:       #FFFDF9;
  --paper-dim:   #FBF4E8;
  --line:        #ECE2D2;
  --radius:      10px;
  --max:         1140px;
  --shadow:      0 12px 32px -18px rgba(32,26,27,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Sora',system-ui,sans-serif;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; color:var(--slate); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
.eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--wine); margin-bottom:14px;
}
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,4vw,38px); }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--gold); color:var(--wine); box-shadow:0 10px 24px -10px rgba(246,178,31,.6); }
.btn-primary:hover{ background:var(--gold-dark); }
.btn-outline{ border-color:var(--paper); color:var(--paper); }
.btn-outline:hover{ background:rgba(255,255,255,.08); }
.btn-wine{ background:var(--wine); color:var(--paper); }
.btn-wine:hover{ background:var(--wine-light); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,253,249,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-block:14px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:40px; width:auto; }
.brand span{ font-family:'Sora',sans-serif; font-weight:700; font-size:18px; color:var(--wine); }
.nav-links{ display:flex; gap:28px; }
.nav-links a{ font-size:14px; font-weight:600; color:var(--ink); }
.nav-links a:hover{ color:var(--wine); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.wa-pill{
  display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700;
  color:var(--wine);
}
.wa-pill svg{ width:18px; height:18px; }
.nav-toggle{ display:none; background:none; border:0; font-size:24px; cursor:pointer; color:var(--wine); }

/* ---------- Hero ---------- */
.hero{
  padding:96px 0 100px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(246,178,31,.16), transparent 60%),
    var(--paper);
  border-bottom:1px solid var(--line);
}
.hero .container{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(34px,5vw,54px); }
.hero h1 em{ font-style:normal; color:var(--wine); border-bottom:6px solid var(--gold); }
.hero p.lead{ font-size:18px; max-width:520px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.trust-strip{ display:flex; gap:28px; margin-top:40px; flex-wrap:wrap; }
.trust-strip div{ font-size:13px; color:var(--slate); font-weight:600; }
.trust-strip strong{ display:block; font-family:'Sora',sans-serif; font-size:22px; color:var(--wine); font-weight:700; }
.hero-art{
  background:var(--wine); border-radius:20px; padding:36px; color:var(--paper);
  box-shadow:var(--shadow); position:relative; overflow:hidden;
}
.hero-art::after{
  content:""; position:absolute; inset:auto -60px -60px auto; width:220px; height:220px;
  background:var(--gold); opacity:.15; border-radius:50%;
}
.hero-art h3{ font-size:16px; text-transform:uppercase; letter-spacing:.1em; color:var(--gold); margin-bottom:18px; }
.hero-checklist li{ display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:14px; }
.hero-checklist li:last-child{ border-bottom:none; }
.hero-checklist svg{ width:18px; height:18px; flex:none; color:var(--gold); margin-top:1px; }

/* ---------- Logo/gear icon ---------- */
.icon-badge{
  width:52px; height:52px; border-radius:14px; background:var(--paper-dim);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  border:1px solid var(--line);
}
.icon-badge svg{ width:26px; height:26px; color:var(--wine); }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:22px; }
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; transition:box-shadow .15s ease, transform .15s ease;
}
.service-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.service-card h3{ font-size:18px; margin-bottom:8px; }
.service-card p{ font-size:14px; margin-bottom:0; }

/* ---------- Why us ---------- */
.why-us{ background:var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:32px; }
.why-item h3{ font-size:17px; }
.why-item p{ font-size:14px; }

/* ---------- Process (signature element) ---------- */
.process{ overflow:hidden; }
.process-track{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:20px; }
.process-track::before{
  content:""; position:absolute; top:26px; left:6%; right:6%; height:3px;
  background:repeating-linear-gradient(90deg,var(--gold) 0 10px, transparent 10px 18px);
}
.process-step{ position:relative; padding-top:0; text-align:left; padding-right:20px; }
.process-cog{
  width:54px; height:54px; border-radius:50%; background:var(--wine); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-family:'Sora',sans-serif;
  font-weight:700; font-size:18px; position:relative; z-index:2; margin-bottom:18px;
  box-shadow:0 0 0 6px var(--paper);
}
.process-step h3{ font-size:16px; margin-bottom:6px; }
.process-step p{ font-size:13.5px; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:20px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:'Sora',sans-serif; font-weight:600; font-size:16px; color:var(--ink);
}
.faq-q .plus{ font-size:22px; color:var(--wine); transition:transform .2s ease; flex:none; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding-bottom:20px; font-size:14.5px; margin:0; }

/* ---------- Contact ---------- */
.contact{ background:var(--wine); color:var(--paper); }
.contact .section-head p{ color:rgba(255,253,249,.75); }
.contact .eyebrow{ color:var(--gold); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.contact-info li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:20px; font-size:15px; }
.contact-info svg{ width:20px; height:20px; color:var(--gold); flex:none; margin-top:2px; }
.contact-info a:hover{ color:var(--gold); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field{ margin-bottom:14px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:rgba(255,253,249,.85); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid rgba(255,253,249,.25);
  background:rgba(255,253,249,.06); color:var(--paper); font-family:inherit; font-size:14px;
}
.field input::placeholder, .field textarea::placeholder{ color:rgba(255,253,249,.4); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--gold); outline-offset:1px; }
.field select option{ color:var(--ink); }
.form-note{ font-size:12.5px; color:rgba(255,253,249,.55); margin-top:10px; }

/* ---------- Newsletter strip ---------- */
.newsletter{ background:var(--gold); }
.newsletter .container{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; padding-block:34px; }
.newsletter h3{ font-size:18px; color:var(--wine); margin:0; }
.newsletter p{ margin:2px 0 0; font-size:13.5px; color:#5B3B04; }
.newsletter-form{ display:flex; gap:10px; }
.newsletter-form input{
  padding:12px 16px; border-radius:999px; border:1px solid rgba(79,0,29,.25); min-width:230px; font-size:14px;
}

/* ---------- Footer ----------
   Fixed, not sticky-reveal: the footer stays pinned to the bottom of the
   viewport at all times, exactly like the header stays pinned to the top —
   so however far the visitor has scrolled, or whichever nav link they
   click, both bars are always in view and the one-pager reads like an
   app with persistent chrome. #page-wrap gets its bottom padding set in
   JS to match the footer's real rendered height, so content never sits
   underneath it. The toggle lets the visitor collapse it down to a thin
   strip if they want the full screen back. */
.site-footer{
  position:fixed; left:0; right:0; bottom:0; z-index:45;
  background:#180008; color:rgba(255,253,249,.72);
  border-top:1px solid rgba(255,253,249,.14);
  box-shadow:0 -8px 24px -14px rgba(0,0,0,.5);
}
.footer-toggle{
  position:absolute; top:-25px; right:22px;
  background:#180008; border:1px solid rgba(255,253,249,.18); border-bottom:none;
  border-radius:8px 8px 0 0; color:var(--gold); font-size:11px; font-weight:700;
  padding:6px 14px; cursor:pointer; letter-spacing:.04em; text-transform:uppercase;
  display:flex; align-items:center; gap:6px; font-family:inherit;
}
.footer-toggle svg{ width:11px; height:11px; transition:transform .2s ease; }
.site-footer.collapsed .footer-toggle svg{ transform:rotate(180deg); }
.footer-body{ overflow:hidden; max-height:340px; transition:max-height .25s ease; }
.site-footer.collapsed .footer-body{ max-height:0; }
.footer-main{
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;
  padding:16px 0 12px;
}
.footer-brand-block{ display:flex; align-items:center; gap:10px; }
.footer-brand-block img{ height:26px; }
.footer-brand-block span{ font-family:'Sora',sans-serif; font-weight:700; font-size:14px; color:var(--paper); }
.footer-links{ display:flex; gap:16px; flex-wrap:wrap; }
.footer-links a{ font-size:12.5px; font-weight:600; color:rgba(255,253,249,.75); }
.footer-links a:hover{ color:var(--gold); }
.footer-contact-mini{ display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; }
.footer-contact-mini a:hover{ color:var(--gold); }
.social-row{ display:flex; gap:8px; }
.social-row a{
  width:28px; height:28px; border-radius:50%; border:1px solid rgba(255,253,249,.22);
  display:flex; align-items:center; justify-content:center; transition:background .15s ease, border-color .15s ease;
}
.social-row a:hover{ background:var(--gold); border-color:var(--gold); color:var(--wine); }
.social-row svg{ width:13px; height:13px; }
.footer-bottom{
  border-top:1px solid rgba(255,253,249,.12); padding:10px 0 14px; font-size:11px;
  display:flex; flex-wrap:wrap; gap:6px 16px; justify-content:space-between; color:rgba(255,253,249,.5);
}
.footer-bottom a{ color:rgba(255,253,249,.75); font-weight:600; }
.footer-bottom a:hover{ color:var(--gold); }
.site-footer.collapsed .footer-bottom{ display:none; }

#page-wrap{ position:relative; z-index:1; background:var(--paper); }
/* bottom padding on #page-wrap is set in JS (assets/js/main.js) to match
   the footer's actual rendered height, expanded or collapsed */

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed; bottom:140px; right:22px; z-index:46; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px -8px rgba(0,0,0,.45);
  transition:bottom .25s ease;
}
.wa-float svg{ width:28px; height:28px; color:#fff; }
.wa-float:hover{ transform:scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero .container{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .process-track{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .process-track::before{ display:none; }
}
@media (max-width:640px){
  .newsletter .container{ flex-direction:column; align-items:stretch; }
  .newsletter-form{ flex-direction:column; width:100%; }
  .newsletter-form input, .newsletter-form button{ width:100%; }
  .footer-main{ flex-direction:column; align-items:flex-start; gap:10px; padding:14px 0 10px; }
  .footer-bottom{ flex-direction:column; gap:4px; padding:8px 0 12px; }
  .footer-toggle{ right:14px; }
}
@media (max-width:720px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:var(--paper);
    flex-direction:column; padding:12px 24px 20px; border-bottom:1px solid var(--line);
    display:none; gap:4px;
  }
  .nav-links.nav-open{ display:flex; }
  .nav-links a{ padding:10px 0; border-bottom:1px solid var(--line); }
  .nav-links a:last-child{ border-bottom:none; }
  .header-cta .wa-pill span{ display:none; }
  .nav-toggle{ display:block; }
  .form-row{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  section{ padding:64px 0; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}
