/* ============================================================
   JAMS PAINTING & SERVICES — Shared stylesheet
   Brand: navy #30405E + coral red #E0455A
   Aesthetic: clean, professional, generous whitespace
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #30405e;
  --navy-deep: #232f47;
  --navy-700: #2a3850;
  --red: #e0455a;
  --red-dark: #c5374b;
  --ink: #1b2233;
  --muted: #5c6678;
  --muted-light: #8b93a3;
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --bg-tint: #eef1f6;
  --line: #e7eaef;
  --line-strong: #d6dbe4;

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(35,47,71,.06);
  --shadow: 0 14px 40px -16px rgba(35,47,71,.22);
  --shadow-lg: 0 30px 70px -28px rgba(35,47,71,.32);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.section--navy .kicker { color: #ff8a9b; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(224,69,90,.6);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(224,69,90,.7); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--navy .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 18px 34px; font-size: 16px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 100px;
  transition: background .2s var(--ease), color .2s var(--ease);
  position: relative;
}
.nav__links a:hover { background: var(--bg-tint); }
.nav__links a.is-active { color: var(--red); }
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 7px 13px;
  cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: .04em;
}
.lang-toggle button.is-active { background: var(--navy); color: #fff; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* mobile */
.nav__burger {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__burger span::before { position: absolute; top: -6px; }
.nav__burger span::after { position: absolute; top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 14px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .38s var(--ease);
  }
  body.menu-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 15px 14px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__phone-label { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,38,60,.92) 0%, rgba(30,42,68,.78) 42%, rgba(30,42,68,.30) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 680px; padding: 60px 0; }
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 900;
  line-height: .98;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red); }
.hero__lead { font-size: clamp(18px, 2.2vw, 22px); color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 46px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__trust .t { }
.hero__trust .t b { font-family: var(--font-head); font-size: 30px; display: block; line-height: 1; }
.hero__trust .t span { font-size: 13.5px; color: rgba(255,255,255,.7); letter-spacing: .03em; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.shead { max-width: 660px; margin-bottom: 56px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead h2 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 18px; }
.shead p { color: var(--muted); font-size: 18.5px; }
.section--navy .shead p { color: rgba(255,255,255,.78); }

/* ============================================================
   FEATURE / SERVICE CARDS
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.scard__img { aspect-ratio: 4/3; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.06); }
.scard__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.scard__num { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--red); letter-spacing: .12em; margin-bottom: 12px; }
.scard h3 { font-size: 22px; margin-bottom: 10px; }
.scard p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.scard__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700; font-size: 14px;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 7px;
  transition: gap .25s var(--ease), color .25s;
}
.scard:hover .scard__link { color: var(--red); gap: 12px; }

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media .badge {
  position: absolute;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  padding: 20px 26px; border-radius: 16px;
  box-shadow: var(--shadow);
  line-height: 1;
}
.split__media .badge b { font-size: 38px; display: block; }
.split__media .badge span { font-size: 13px; font-weight: 600; opacity: .92; }
.split__media .badge.br { bottom: -26px; right: -18px; }

.lead { font-size: 19px; color: var(--muted); margin: 22px 0; }

/* value list */
.vlist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.vlist li { display: flex; gap: 14px; align-items: flex-start; }
.vlist .ic {
  flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-tint); color: var(--red);
  display: grid; place-items: center;
}
.vlist .ic svg { width: 19px; height: 19px; }
.vlist b { font-family: var(--font-head); display: block; color: var(--navy); font-size: 16.5px; }
.vlist span { color: var(--muted); font-size: 15px; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2,1fr); gap: 36px 20px; } }
.stat { text-align: center; }
.stat b { font-family: var(--font-head); font-weight: 900; font-size: clamp(38px,5vw,56px); color: #fff; display: block; line-height: 1; }
.stat span { color: rgba(255,255,255,.72); font-size: 14.5px; letter-spacing: .03em; }
.stat .red { color: var(--red); }

/* ============================================================
   GALLERY
   ============================================================ */
.gtabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gtabs button {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  padding: 10px 22px; border-radius: 100px;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy);
  cursor: pointer; transition: all .22s var(--ease);
}
.gtabs button:hover { border-color: var(--navy); }
.gtabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.masonry { columns: 3; column-gap: 20px; }
@media (max-width: 900px){ .masonry { columns: 2; } }
@media (max-width: 560px){ .masonry { columns: 1; } }
.gitem {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.gitem img { width: 100%; transition: transform .6s var(--ease); }
.gitem::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,42,68,.5), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.gitem:hover img { transform: scale(1.05); }
.gitem:hover::after { opacity: 1; }
.gitem .cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.gitem:hover .cap { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,27,42,.92);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.12); color: #fff;
  font-size: 24px; cursor: pointer; transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy);
  padding: 26px 50px 26px 0; position: relative;
  display: flex; align-items: center; gap: 14px;
}
.faq__q .plus {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; flex: none;
}
.faq__q .plus::before, .faq__q .plus::after {
  content: ""; position: absolute; background: var(--red); border-radius: 2px;
  left: 50%; top: 50%; transition: transform .3s var(--ease);
}
.faq__q .plus::before { width: 15px; height: 2.5px; transform: translate(-50%,-50%); }
.faq__q .plus::after { width: 2.5px; height: 15px; transform: translate(-50%,-50%); }
.faq__item.open .faq__q .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 50px 26px 0; color: var(--muted); font-size: 16.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.cinfo { display: grid; gap: 14px; }
.cinfo .row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .25s, transform .25s;
}
.cinfo .row:hover { border-color: var(--line-strong); transform: translateX(3px); }
.cinfo .ic {
  flex: none; width: 50px; height: 50px; border-radius: 13px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo .lbl { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.cinfo .val { color: var(--ink); font-size: 17px; }
.cinfo .val a:hover { color: var(--red); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 11px;
  background: var(--bg-alt); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 4px rgba(48,64,94,.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .form-row { grid-template-columns: 1fr; } }
.form__note { font-size: 13.5px; color: var(--muted-light); margin-top: 6px; }
.form-success {
  display: none; text-align: center; padding: 30px;
  background: var(--bg-tint); border-radius: var(--radius); color: var(--navy);
  font-family: var(--font-head); font-weight: 600;
}
.form-success.show { display: block; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner__inner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(40px,6vw,72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner__inner::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,69,90,.35), transparent 70%);
}
@media (max-width: 760px){ .cta-banner__inner { grid-template-columns: 1fr; text-align: center; } }
.cta-banner h2 { color: #fff; font-size: clamp(28px,4vw,42px); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 18px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner__inner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner__inner .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
@media (max-width: 760px){ .cta-banner .actions { justify-content: center; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.flogo { height: 52px; margin-bottom: 20px; }
.site-footer p.fdesc { font-size: 15px; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a, .site-footer .fcontact a { font-size: 15px; color: rgba(255,255,255,.72); transition: color .2s; }
.site-footer ul a:hover, .site-footer .fcontact a:hover { color: #fff; }
.fcontact { display: grid; gap: 14px; font-size: 15px; }
.fcontact .l { color: var(--muted-light); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted-light);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* page hero (subpages) */
.phero {
  background: var(--navy); color: #fff;
  padding: clamp(70px,10vw,120px) 0 clamp(56px,7vw,80px);
  position: relative; overflow: hidden;
}
.phero::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,69,90,.22), transparent 70%);
}
.phero__inner { position: relative; z-index: 2; max-width: 720px; }
.phero h1 { color: #fff; font-size: clamp(38px,6vw,68px); font-weight: 900; margin-bottom: 18px; }
.phero p { color: rgba(255,255,255,.82); font-size: 19px; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 22px; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--red); }

[hidden] { display: none !important; }
