/* Grand Strand Auto Services - shared subpage styles.
   Design tokens mirror index.html so subpages cannot drift from the homepage. */
:root{
  --cream:#f0ebe1; --stone:#e3dbd0; --concrete:#c8bfb4;
  --warmblack:#1a1714; --gold:#b1423c; --goldlight:#d8837a;
  --slate:#5a5550; --warmwhite:#faf8f5;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:'Manrope',system-ui,-apple-system,sans-serif;background:var(--cream);
  color:var(--warmblack);-webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

/* grain, matches the homepage */
body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:1000;opacity:.032;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px 180px;transform:translateZ(0)}

/* ── NAV ── */
#nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:1.1rem 1.5rem;display:flex;
  align-items:center;justify-content:space-between;background:rgba(240,235,225,0.94);
  backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(26,23,20,0.08)}
#nav-logo{font-family:'DM Serif Display',Georgia,serif;font-size:1.05rem;color:var(--warmblack);
  text-decoration:none;letter-spacing:-.01em;-webkit-text-stroke:.3px var(--warmblack)}
#nav-links{display:none;gap:2.1rem;list-style:none}
#nav-links a{font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--slate);text-decoration:none;transition:color .2s}
#nav-links a:hover,#nav-links a[aria-current]{color:var(--gold)}
#nav-cta{display:none;padding:.65rem 1.4rem;background:var(--warmblack);color:var(--cream);
  font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  text-decoration:none;border-radius:2px;min-height:44px;align-items:center;transition:transform .2s}
#nav-cta:hover{transform:translateY(-2px)}
#nav-call{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  color:var(--warmblack);text-decoration:none}
@media(min-width:900px){
  #nav{padding:1.1rem 3rem}
  #nav-links{display:flex}
  #nav-cta{display:inline-flex}
  #nav-call{display:none}
}

/* ── PAGE HERO ── */
.phero{position:relative;padding:clamp(7.5rem,14vw,10rem) 1.5rem clamp(3rem,6vw,4.5rem);
  background:var(--warmblack);color:var(--warmwhite);overflow:hidden}
.phero::before{content:'';position:absolute;inset:0;opacity:.16;
  background-position:center;background-size:cover;filter:grayscale(.35)}
.phero .inner{position:relative;z-index:2}
.inner{width:100%;max-width:940px;margin:0 auto}
.eyebrow{display:flex;align-items:center;gap:.8rem;font-size:.68rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--goldlight);margin-bottom:1.2rem}
.eyebrow::before{content:'';width:28px;height:1px;background:var(--goldlight);opacity:.6}
.phero h1{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.02em;
  line-height:1.04;font-size:clamp(2.1rem,5.6vw,3.7rem);margin-bottom:1.1rem}
.phero h1 em{font-style:italic;color:var(--gold)}
.phero .lead{max-width:58ch;color:rgba(250,248,245,.72);font-size:clamp(1rem,2vw,1.09rem);
  line-height:1.75}

/* breadcrumb */
.crumb{font-size:.74rem;color:rgba(250,248,245,.5);margin-bottom:1.4rem;letter-spacing:.02em}
.crumb a{color:rgba(250,248,245,.72);text-decoration:none}
.crumb a:hover{color:var(--gold)}
.crumb span{padding:0 .45rem;opacity:.45}

/* ── BUTTONS ── */
.btns{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;
  padding:.85rem 1.7rem;font-size:.79rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;text-decoration:none;border-radius:3px;white-space:nowrap;
  transition:transform .2s,opacity .2s,background .25s,color .25s,border-color .25s}
.btn:hover{transform:translateY(-2px)}
.btn-p{background:var(--gold);color:var(--warmblack);border:1.5px solid var(--gold)}
.btn-g{background:transparent;color:var(--warmwhite);border:1.5px solid rgba(250,248,245,.28)}
.btn-g:hover{border-color:var(--gold);color:var(--gold)}
.btn-dark{background:var(--warmblack);color:var(--cream);border:1.5px solid var(--warmblack)}
.btn-line{background:transparent;color:var(--warmblack);border:1.5px solid rgba(26,23,20,.2)}
.btn-line:hover{border-color:var(--gold);color:var(--gold)}

/* ── SECTIONS ── */
.sec{padding:clamp(3.2rem,7vw,5rem) 1.5rem}
.sec--stone{background:var(--stone)}
.sec--dark{background:var(--warmblack);color:var(--warmwhite)}
.sec h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.02em;
  line-height:1.1;font-size:clamp(1.7rem,4vw,2.6rem);margin-bottom:1.1rem}
.sec h2 em{font-style:italic;color:var(--gold)}
.sec h3{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:1.22rem;
  margin-bottom:.5rem;letter-spacing:-.01em}
.sec p{color:var(--slate);max-width:70ch;margin-bottom:1rem;font-size:1rem;line-height:1.78}
.sec--dark p{color:rgba(250,248,245,.72)}
.sec--dark h3{color:var(--warmwhite)}
.sec .kicker{font-size:.68rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--slate);margin-bottom:1rem}
.sec--dark .kicker{color:rgba(250,248,245,.42)}

/* symptom / bullet list */
.ul{list-style:none;max-width:70ch;margin:.4rem 0 1.4rem}
.ul li{position:relative;padding-left:1.7rem;margin-bottom:.72rem;color:var(--slate);
  line-height:1.7;font-size:.97rem}
.ul li::before{content:'';position:absolute;left:0;top:.62em;width:9px;height:9px;
  border:1.6px solid var(--gold);border-radius:50%}
.sec--dark .ul li{color:rgba(250,248,245,.72)}
.ul li strong{color:var(--warmblack);font-weight:700}
.sec--dark .ul li strong{color:var(--warmwhite)}

/* card grid */
.grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1.8rem}
@media(min-width:700px){.grid{grid-template-columns:repeat(2,1fr);gap:1.1rem}}
@media(min-width:1000px){.grid--3{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--warmwhite);border:1px solid rgba(26,23,20,.08);border-radius:13px;
  padding:1.5rem 1.4rem;text-decoration:none;color:inherit;display:block;
  transition:transform .25s,box-shadow .25s,border-color .25s}
a.card:hover{transform:translateY(-3px);box-shadow:0 16px 42px rgba(26,23,20,.1);
  border-color:rgba(177,66,60,.5)}
.card p{font-size:.9rem;margin-bottom:0;line-height:1.68}
.card .go{display:inline-flex;align-items:center;gap:.4rem;margin-top:.9rem;font-size:.72rem;
  font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--gold)}
.card-ico{width:42px;height:42px;border-radius:10px;background:var(--cream);display:flex;
  align-items:center;justify-content:center;margin-bottom:1rem}

/* ── FAQ ── */
.faq{max-width:840px;margin:1.6rem auto 0}
.faq details{border-bottom:1px solid rgba(26,23,20,.12)}
.sec--dark .faq details{border-bottom-color:rgba(250,248,245,.14)}
.faq summary{cursor:pointer;list-style:none;padding:1.15rem 2.2rem 1.15rem 0;position:relative;
  font-weight:700;font-size:1rem;line-height:1.45}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';position:absolute;right:.35rem;top:1.5rem;width:9px;height:9px;
  border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);
  transform:rotate(45deg);transition:transform .25s}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq .ans{padding:0 0 1.25rem;color:var(--slate);line-height:1.78;max-width:70ch}
.sec--dark .faq .ans{color:rgba(250,248,245,.72)}

/* ── QUOTE FORM ── */
.formcard{background:linear-gradient(165deg,#f6f2ea 0%,var(--cream) 100%);border-radius:16px;
  padding:clamp(1.6rem,4vw,2.4rem);box-shadow:0 24px 60px rgba(0,0,0,.3)}
.quote-form{display:grid;grid-template-columns:1fr;gap:1.05rem}
@media(min-width:640px){.quote-form{grid-template-columns:1fr 1fr}.fw{grid-column:1/-1}}
.field label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--slate);margin-bottom:.42rem}
.field input,.field select,.field textarea{width:100%;padding:.82rem .9rem;font-family:inherit;
  font-size:.95rem;color:var(--warmblack);background:var(--warmwhite);
  border:1.5px solid rgba(26,23,20,.14);border-radius:7px;min-height:48px}
.field textarea{min-height:92px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(177,66,60,.18)}
.fbtn{width:100%;padding:1.05rem 2rem;background:var(--warmblack);color:var(--cream);
  font-family:inherit;font-size:.85rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  border:none;border-radius:6px;cursor:pointer;min-height:52px;display:inline-flex;
  align-items:center;justify-content:center;gap:.6rem;transition:transform .2s,box-shadow .2s}
.fbtn:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(26,23,20,.22)}
.finep{text-align:center;font-size:.72rem;color:var(--slate);margin-top:.75rem}

/* trust row under the form heading */
.trust{display:flex;flex-direction:column;gap:.75rem;margin:1.6rem 0 0}
.trust div{display:flex;align-items:center;gap:.6rem;font-size:.79rem;color:rgba(250,248,245,.5)}
.trust strong{color:rgba(250,248,245,.78);font-weight:600}

/* ── FOOTER ── */
footer{background:var(--warmblack);color:rgba(240,235,225,.6);padding:3.4rem 1.5rem 2.2rem}
.fgrid{display:grid;grid-template-columns:1fr;gap:2.2rem;max-width:1100px;margin:0 auto}
@media(min-width:760px){.fgrid{grid-template-columns:1.4fr 1fr 1fr}}
footer h4{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:1.15rem;
  color:var(--warmwhite);margin-bottom:.7rem}
footer .fh{font-size:.68rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(240,235,225,.38);margin-bottom:.9rem}
footer p{font-size:.86rem;line-height:1.72;margin-bottom:.5rem}
footer ul{list-style:none}
footer ul li{margin-bottom:.5rem}
footer a{color:rgba(240,235,225,.6);text-decoration:none;font-size:.86rem;transition:color .2s}
footer a:hover{color:var(--gold)}
.fbot{max-width:1100px;margin:2.6rem auto 0;padding-top:1.5rem;
  border-top:1px solid rgba(240,235,225,.1);font-size:.75rem;color:rgba(240,235,225,.28)}

/* sticky mobile call bar */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:flex;
  background:var(--warmblack);border-top:1px solid rgba(240,235,225,.14)}
.callbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.95rem .6rem;font-size:.78rem;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;text-decoration:none;min-height:56px}
.callbar a:first-child{color:var(--warmblack);background:var(--gold)}
.callbar a:last-child{color:var(--warmwhite)}
@media(min-width:900px){.callbar{display:none}}
@media(max-width:899px){body{padding-bottom:56px}}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
