/* SEALCO — sealcoatingca.com
   Faithful port of the Wix design. Palette and type pulled from the Wix theme. */

:root {
  --purple: #3a3462;
  --purple-dark: #1d1a31;
  --purple-mid: #6d6989;
  --purple-light: #9895b1;
  --yellow: #f5c831;
  --yellow-light: #fcecb9;
  --gray-100: #f2f2f2;
  --gray-200: #e8e6e6;
  --gray-300: #d5d5d5;
  --gray-400: #c7c7c7;
  --text: #222;
  --text-muted: #555;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 100; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 1rem; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav a { text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 14px; padding: .45rem .8rem; border-radius: 2px; }
.site-nav a.active { background: var(--purple); color: #fff; }
.site-nav a:hover:not(.active) { color: var(--purple); }
.site-nav .social { color: #000; display: inline-flex; padding: .4rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--purple); margin: 5px 0; }

@media (max-width: 860px) {
  .site-header .wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { display: block; padding: .7rem .8rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--purple); color: #fff; padding: 2.2rem 0 2.6rem; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: var(--yellow); text-decoration: underline; }
.footer-center { text-align: center; }
.footer-center img { width: 200px; margin: 0 auto .6rem; }
.footer-center p { margin: 0 0 .3rem; }
.footer-center .license { color: #fff; }
.socials { display: flex; justify-content: center; gap: .6rem; margin-top: .6rem; }
.socials svg { display: block; }
.footer-links { list-style: none; margin: 0; padding: 0; text-align: right; line-height: 1.9; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { text-align: center; }
}
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; width: 42px; height: 42px; border-radius: 50%;
  background: var(--purple); color: #fff; display: grid; place-items: center; text-decoration: none;
  font-size: 22px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--purple); color: #fff; text-decoration: none; text-transform: uppercase;
  font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: .7rem 1.4rem; border: 0; cursor: pointer;
}
.btn:hover { background: var(--purple-dark); }
.btn-block { display: block; width: 100%; text-align: center; padding: .9rem; }
.btn-dark { background: #000; }
.btn-dark:hover { background: #222; }

/* ---------- Home ---------- */
.hero {
  position: relative; min-height: 560px; display: grid; place-items: center; text-align: center; color: #fff;
  background: #333 url("/media/hero.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hero .wrap { position: relative; }
.hero .wordmark { width: min(520px, 80vw); margin: 0 auto 1rem; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.6); max-width: 700px; margin: 0 auto;
}

.about { padding: 3.5rem 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-text { background: var(--yellow); padding: 3rem 3rem 2.5rem; color: #000; }
.about-text h2 { text-align: center; font-size: 1.6rem; margin-bottom: 1.6rem; }
.about-text p { font-size: 13.5px; line-height: 1.75; }
.about-video { position: relative; overflow: hidden; background: #000; min-height: 420px; }
.about-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-video .caption {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.6); text-align: center; padding: 1rem;
}
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } .about-video { min-height: 320px; } }

.services-intro { padding: 1rem 0 2.5rem; }
.services-intro .inner { max-width: 940px; margin: 0 auto; }
.services-intro h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.services-intro p { font-size: 13.5px; line-height: 1.8; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.services-grid figure { position: relative; margin: 0; aspect-ratio: 480 / 500; overflow: hidden; background: #222; }
.services-grid img { width: 100%; height: 100%; object-fit: cover; }
.services-grid figcaption {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #fff; font-family: var(--font-head); font-size: 1.05rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  padding: 1rem; background: rgba(0,0,0,.35); text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.services-grid figcaption.tint { background: rgba(120,100,70,.55); }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } .services-grid figure { aspect-ratio: 4 / 3; } }

.know-us { padding: 4rem 0 4.5rem; }
.know-us .inner { max-width: 940px; margin: 0 auto; }
.know-us h2 { font-size: 1.7rem; margin-bottom: 1.6rem; }
.know-us video { width: min(840px, 100%); margin: 0 auto; background: #000; aspect-ratio: 16 / 9; }

/* ---------- Projects ---------- */
.process { background: var(--purple); color: #fff; padding: 2.5rem 0 3rem; }
.process .inner { max-width: 980px; margin: 0 auto; }
.process h1 { font-size: 1.6rem; margin-bottom: 1.2rem; text-transform: uppercase; }
.slideshow { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.slideshow .slide { position: absolute; inset: 0; }
.slideshow .slide[hidden] { display: none; }
.slideshow video { width: 100%; height: 100%; object-fit: cover; }
.slideshow .slide-caption {
  position: absolute; right: 2.5rem; bottom: 1.6rem; background: var(--purple); color: var(--yellow);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: .04em; text-transform: uppercase; padding: .3rem .8rem;
}
.slideshow .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1;
  cursor: pointer; padding: .5rem .8rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); opacity: .85;
}
.arrow.prev { left: .3rem; } .arrow.next { right: .3rem; }
.dots { position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); display: flex; gap: .4rem; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }

.projects-band { background: var(--yellow); text-align: center; padding: 2.4rem 0 2.6rem; }
.projects-band h1 { color: var(--purple); font-size: 1.9rem; margin-bottom: 1.2rem; text-transform: uppercase; }
.projects-band .jump { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.projects-band .btn { font-size: 11px; }

.recent { padding: 3.5rem 0; }
.recent .inner { max-width: 1010px; margin: 0 auto; }
.recent h1 { font-size: 1.5rem; color: var(--purple); text-transform: uppercase; margin-bottom: .3rem; }
.recent .lead { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 13.5px; }
.project { max-width: 960px; margin: 0 auto 2rem; }
.project .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0 1.5rem; }
.project .pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project .pair img.tall { aspect-ratio: 3 / 4; }
.project .desc { background: var(--gray-300); padding: 1.3rem 1.8rem 1.4rem; margin-top: -1px; }
.project h2 { font-size: 1.05rem; color: var(--purple); text-align: center; text-transform: uppercase; margin-bottom: .5rem; }
.project p { font-size: 13.5px; margin: 0; }
.project .desc.compact { text-align: center; }
@media (max-width: 640px) { .project .pair { grid-template-columns: 1fr; gap: 1rem; } }

.testimonials { padding: 2rem 0 0; }
.testimonials .inner { max-width: 1010px; margin: 0 auto; }
.testimonials h1 { font-size: 1.5rem; color: var(--purple); text-transform: uppercase; margin-bottom: 1.5rem; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--gray-300); }
.quote { padding: 2.5rem 2.5rem 3rem; text-align: center; }
.quote + .quote { border-left: 1px solid var(--gray-300); }
.quote .mark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--purple); margin: .5rem 0 1.5rem; }
.quote h3 { font-size: 1rem; margin-bottom: .2rem; }
.quote .who { font-style: italic; color: var(--text-muted); font-size: 13px; margin-bottom: 1.2rem; line-height: 1.5; }
.quote p.text { font-weight: 600; font-size: 13.5px; line-height: 1.7; margin-bottom: 1em; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote + .quote { border-left: 0; border-top: 1px solid var(--gray-300); } }

.get-quote { background: var(--gray-200); padding: 2.5rem 0 3rem; text-align: center; }
.get-quote h2 { font-size: 2.1rem; color: #000; margin-bottom: 1rem; }
.get-quote iframe { width: min(1050px, 100%); height: 1500px; border: 0; margin: 0 auto; display: block; background: transparent; }

/* ---------- FAQ ---------- */
.faq-page { background: var(--gray-400); padding: 3.5rem 0 5rem; }
.faq-page .inner { max-width: 820px; margin: 0 auto; }
.faq-page h1 { text-align: center; color: var(--purple); font-size: 1.9rem; margin-bottom: .2rem; }
.faq-page .lead { text-align: center; margin-bottom: 3rem; font-size: 13.5px; }
.faq-page h2 { color: var(--purple); font-size: 1.05rem; text-transform: uppercase; margin: 2rem 0 .6rem; }
.faq-page p { font-size: 13.5px; line-height: 1.8; }

/* ---------- Contact ---------- */
.team { padding: 3.5rem 0 4rem; text-align: center; }
.team h2 { font-size: 2.3rem; margin-bottom: .4rem; }
.team .rule { width: 26px; height: 3px; background: #000; margin: 0 auto 1.4rem; }
.team .lead { max-width: 640px; margin: 0 auto 2.5rem; font-size: 13.5px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 2.6rem 3rem; justify-content: center; text-align: left; }
.member { background: var(--gray-200); }
.member img { width: 100%; aspect-ratio: 400 / 330; object-fit: cover; object-position: center 20%; }
.member .body { padding: 1.4rem 1.6rem 1.8rem; font-size: 13px; }
.member .role { margin: 0 0 .1rem; font-size: 12.5px; }
.member h3 { font-size: 1rem; margin-bottom: .8rem; }
.member p:last-child { margin: 0; line-height: 1.7; }
@media (max-width: 720px) { .team-grid { grid-template-columns: minmax(0, 480px); } }

.contact-band { background: var(--gray-300); padding: 3rem 0 3.5rem; }
.contact-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h1 { font-size: 1.9rem; color: var(--purple-mid); text-transform: uppercase; margin-bottom: 1.4rem; }
.contact-info p { font-size: 13.5px; line-height: 1.8; margin-bottom: .5rem; }
.contact-info a { text-decoration: none; }
@media (max-width: 860px) { .contact-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
form.site-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; }
.site-form .full { grid-column: 1 / -1; }
.site-form label { display: block; font-size: 12.5px; margin-bottom: .2rem; }
.site-form label .req { color: #c00; }
.site-form input, .site-form select, .site-form textarea {
  width: 100%; font: inherit; font-size: 14px; padding: .5rem .2rem; border: 0; border-bottom: 1px solid #000; background: transparent; border-radius: 0;
}
.site-form textarea { min-height: 84px; resize: vertical; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 2px solid var(--purple); outline-offset: 2px; }
.site-form .actions { grid-column: 1 / -1; }
.site-form .status { grid-column: 1 / -1; font-size: 14px; margin: 0; }
.site-form .status.ok { color: #1a6b2a; }
.site-form .status.err { color: #b00020; }
.site-form .hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { form.site-form { grid-template-columns: 1fr; } }

/* boxed variant (Join Our Team) */
.form-card { background: #fff; padding: 2.4rem 2.4rem 2.6rem; }
.form-card .site-form input, .form-card .site-form select { border: 1px solid var(--gray-300); background: var(--gray-100); padding: .55rem .6rem; }
.form-card .btn-block { background: var(--purple-mid); }
.form-card .btn-block:hover { background: var(--purple); }

/* ---------- Join Our Team ---------- */
.careers { padding: 3.5rem 0 4rem; }
.careers .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.careers h2.title { font-size: 2.3rem; color: var(--purple-mid); line-height: 1.1; }
.job { margin-bottom: 2.6rem; max-width: 470px; }
.job h3 { font-size: .95rem; margin-bottom: .6rem; }
.job p { font-size: 13.5px; line-height: 1.8; margin: 0; }
@media (max-width: 760px) { .careers .wrap { grid-template-columns: 1fr; } }

.apply { background: var(--gray-200); padding: 3rem 0 3.5rem; }
.apply .wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 1.6rem; align-items: stretch; }
.apply-intro { background: var(--yellow); padding: 3rem 2.6rem; color: var(--purple-mid); }
.apply-intro h2 { font-size: 2.3rem; color: var(--purple-mid); line-height: 1.1; }
.apply-intro .rule { width: 26px; height: 3px; background: var(--purple-mid); margin: 1.2rem 0 1.6rem; }
.apply-intro p { font-size: 13.5px; margin: 0; }
@media (max-width: 860px) { .apply .wrap { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */
.legal { padding: 3.5rem 0 5rem; }
.legal .inner { max-width: 820px; margin: 0 auto; font-size: 14px; line-height: 1.8; }
.legal h1 { font-size: 1.9rem; text-transform: uppercase; margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.legal h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.legal ul { margin: 0 0 1em; padding-left: 1.4em; }
