/* Paintix — painting & renovation demo.
   Measured from the reference layout: 1280 container, 30px gutters, Cal Sans 60/66 display,
   Golos Text 16/27 body, ink #1C1C1D, gold #CAA05C. */

:root {
  --ink: #1c1c1d;
  --gold: #caa05c;
  --gold-dark: #b98c47;
  --body: #59585d;
  --line: #eeeeee;
  --soft: #f6f6f6;
  --white: #ffffff;
  --radius: 20px;
  --container: 1280px;
  --display: "Cal Sans", "Golos Text", system-ui, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 27px;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: 60px; line-height: 66px; }
h2 { font-size: 52px; line-height: 57px; }
h3 { font-size: 20px; line-height: 26px; }
p { margin: 0; }
.gold { color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { position: relative; }
.pad { padding: 110px 0; }
.pad-t { padding-top: 110px; }
.pad-b { padding-bottom: 110px; }

/* ---------------------------------------------------------------- pills, buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; line-height: 14px; color: var(--ink);
  background: var(--soft); border-radius: 999px; padding: 11px 18px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pill--dark { background: rgba(255, 255, 255, .1); color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 16px; font-weight: 500;
  border: 0; cursor: pointer; transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn i { font-style: normal; font-size: 15px; }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.link-gold { color: var(--gold); border-bottom: 1px solid currentColor; font-weight: 500; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 40;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.site-header .container { display: flex; align-items: center; gap: 40px; height: 100px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand span { font-family: var(--display); font-size: 26px; color: #fff; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: 30px; }
.nav a { font-size: 16px; color: rgba(255, 255, 255, .82); transition: color .25s; }
.nav a:hover, .nav a.is-active { color: var(--gold); }
.header-cta { margin-left: auto; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; margin-left: auto; cursor: pointer; }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 760px; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 16, .95) 0%, rgba(18, 17, 16, .88) 34%, rgba(18, 17, 16, .42) 62%, rgba(18, 17, 16, .12) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 150px; }
.hero h1 { color: #fff; max-width: 720px; margin: 22px 0 0; }
.hero p.lead { color: rgba(255, 255, 255, .78); max-width: 52ch; margin-top: 20px; }
.hero__row { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.founder { display: flex; align-items: center; gap: 12px; }
.founder img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .35); }
.founder h3 { color: #fff; font-size: 20px; line-height: 24px; }
.founder p { color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 21px; }
.hero__rule { height: 1px; background: rgba(255, 255, 255, .18); margin: 34px 0 26px; max-width: 700px; }
.rating { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rating__score { display: flex; align-items: center; gap: 12px; }
.rating__score b { color: #fff; font-size: 20px; font-family: var(--display); font-weight: 400; }
.rating__score small { display: block; color: rgba(255, 255, 255, .65); font-size: 14px; }
.rating p { color: rgba(255, 255, 255, .78); max-width: 34ch; border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 22px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

/* ---------------------------------------------------------------- overlapping stat cards */
.strip { margin-top: -110px; position: relative; z-index: 5; }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; grid-auto-rows: 386px; align-items: stretch; }
.card { background: var(--white); border-radius: var(--radius); padding: 34px; overflow: hidden; }
.card--dark { background: var(--ink); color: rgba(255, 255, 255, .75); }
.card--dark h3 { color: #fff; }
.stat b { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--ink); display: block; }
.stat hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.stat p { font-size: 15px; line-height: 25px; }
.faces { display: flex; margin-top: 20px; }
.faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.hours { display: flex; justify-content: space-between; font-size: 15px; padding: 9px 0; border-top: 1px solid var(--line); }
.hours span:last-child { color: var(--ink); font-weight: 500; }
.strip__grid { align-items: stretch; }
.card--photo { padding: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.card--photo .card__top { padding: 28px 30px 20px; }
.card--photo img { margin-top: auto; width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; }

/* ---------------------------------------------------------------- split sections */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 70px; align-items: center; }
.split--wide { grid-template-columns: 1.05fr 1fr; }
.stack { position: relative; }
.stack__main { border-radius: var(--radius); overflow: hidden; }
.stack__main img { width: 100%; height: 470px; object-fit: cover; }
.stack__inset {
  position: absolute; right: -10px; bottom: -40px; width: 56%;
  border: 8px solid #fff; border-radius: var(--radius); overflow: hidden;
}
.stack__inset img { width: 100%; height: 250px; object-fit: cover; }
.spin {
  position: absolute; left: 24px; bottom: -34px; width: 104px; height: 104px;
  border-radius: 50%; background: var(--gold); display: grid; place-items: center;
}
.spin svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.spin svg text { font-family: var(--text); font-size: 9.6px; letter-spacing: 1.4px; fill: #fff; text-transform: uppercase; }
.spin i { font-style: normal; font-size: 26px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.head-pill { margin-bottom: 20px; }
.lead { font-size: 16px; line-height: 27px; }
.panel { background: var(--soft); border-radius: var(--radius); padding: 30px; margin-top: 32px; }
.feature { display: flex; gap: 18px; padding: 18px 0; }
.feature + .feature { border-top: 1px solid rgba(28, 28, 29, .08); }
.feature__icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold); }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { font-size: 15px; line-height: 25px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin-top: 26px; }
.ticks li { list-style: none; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✳"; color: var(--gold); }
.ticks { padding: 0; }

/* ---------------------------------------------------------------- section heads */
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 780px; margin-inline: auto; gap: 0; }
.head--center p { margin-top: 14px; max-width: 62ch; }
.head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* ---------------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.svc {
  background: var(--soft); border-radius: var(--radius); padding: 30px; min-height: 430px;
  display: flex; flex-direction: column; transition: background .3s, transform .3s;
}
.svc:hover { background: #fff; box-shadow: 0 18px 50px rgba(28, 28, 29, .09); transform: translateY(-4px); }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__tag { font-size: 13px; background: #fff; border-radius: 999px; padding: 8px 16px; color: var(--ink); }
.svc__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(28, 28, 29, .15); display: grid; place-items: center; color: var(--ink); }
.svc__icon { margin-top: 56px; color: var(--gold); }
.svc h3 { font-size: 24px; line-height: 30px; margin-top: 26px; }
.svc hr { border: 0; border-top: 1px solid rgba(28, 28, 29, .1); margin: 18px 0; }
.svc p { font-size: 15px; line-height: 25px; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(28, 28, 29, .18); }
.dots span.is-on { width: 26px; background: var(--gold); }
.marquee-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; font-size: 15px; }
.marquee-line .faces img { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- video band */
.video-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.video-band__card { background: #fff; border-radius: var(--radius); padding: 54px; margin: 60px -60px 60px 0; position: relative; z-index: 3; box-shadow: 0 30px 70px rgba(28, 28, 29, .08); }
.video-band__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.video-band__media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.play {
  position: absolute; right: 44px; top: 50%; transform: translateY(-50%);
  width: 108px; height: 108px; border-radius: 50%; background: rgba(28, 28, 29, .35);
  backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff;
}
.play svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.play svg text { font-family: var(--text); font-size: 9.6px; letter-spacing: 1.3px; fill: #fff; text-transform: uppercase; }

/* ---------------------------------------------------------------- dark band + tabs */
.dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.dark h2, .dark h3 { color: #fff; }
.tabs { display: flex; gap: 16px; justify-content: center; margin: 42px 0 46px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--display); font-size: 20px;
  padding: 14px 26px; border-radius: 12px; transition: background .25s;
}
.tab.is-on { background: var(--gold); }
.tab-panel { background: var(--soft); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1.15fr; }
.tab-panel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.tab-panel__body { padding: 54px; color: var(--body); }
.tab-panel__body h3 { color: var(--ink); font-size: 26px; line-height: 34px; max-width: 30ch; }
.tab-panel__body p { margin-top: 16px; }

/* ---------------------------------------------------------------- steps */
.steps { background: var(--soft); border-radius: var(--radius); padding: 56px 40px; display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 0 34px; text-align: center; }
.step + .step { border-left: 1px solid rgba(28, 28, 29, .1); }
.step__n { display: inline-block; background: var(--gold); color: #fff; font-size: 14px; border-radius: 8px; padding: 7px 14px; }
.step img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; margin: 26px 0 22px; }
.step h3 { font-size: 22px; }
.step p { font-size: 15px; line-height: 25px; margin-top: 10px; }

/* ---------------------------------------------------------------- pricing */
.plans { display: flex; flex-direction: column; gap: 22px; }
.plan { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; }
.plan__head { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--display); font-size: 22px; padding-bottom: 18px; }
.plan__body { background: rgba(255, 255, 255, .04); border-radius: 14px; padding: 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.plan__body h4 { color: #fff; font-family: var(--text); font-size: 15px; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✔"; color: var(--gold); }
.plan__price { text-align: center; }
.plan__price b { display: block; font-family: var(--display); font-size: 34px; color: #fff; }
.plan__price small { display: block; margin: 2px 0 16px; font-size: 14px; }

/* ---------------------------------------------------------------- faq */
.faq { display: grid; gap: 14px; }
.faq details { border-radius: 12px; background: var(--soft); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; font-family: var(--display); font-size: 18px; line-height: 24px;
  color: var(--ink); padding: 20px 50px 20px 24px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; }
.faq details[open] { background: var(--ink); }
.faq details[open] summary { color: #fff; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 24px 22px; font-size: 15px; line-height: 25px; color: rgba(255, 255, 255, .72); }
.faq details[open] { padding-bottom: 0; }

/* ---------------------------------------------------------------- testimonials */
.tst { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: stretch; }
.tst__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.tst__media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.tst__chip { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72)); color: #fff; }
.tst__chip h3 { color: #fff; font-size: 20px; }
.tst__chip p { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .8); margin-top: 6px; }
.tst__card { background: #fff; border-radius: var(--radius); padding: 44px; display: flex; flex-direction: column; }
.tst__card blockquote { font-family: var(--display); font-size: 26px; line-height: 38px; color: var(--ink); margin: 26px 0 0; }
.tst__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line); }
.arrows { display: flex; gap: 10px; }
.arrows span { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }

/* ---------------------------------------------------------------- blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); }
.post h3 { font-size: 22px; line-height: 30px; margin-top: 20px; }
.post .meta { font-size: 14px; color: var(--gold); margin-top: 16px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 90px 0 0; }
.site-footer h4 { font-family: var(--display); font-size: 22px; color: #fff; font-weight: 400; margin-bottom: 22px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 50px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-grid li a { font-size: 15px; display: flex; gap: 10px; }
.foot-grid li a::before { content: "•"; color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 14px; }
.news { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 10px; }
.news input { flex: 1; background: none; border: 0; color: #fff; font-family: var(--text); font-size: 15px; outline: none; }
.news button { width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: #fff; border: 0; cursor: pointer; }
.foot-contacts { display: flex; gap: 60px; flex-wrap: wrap; margin: 56px 0 40px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-contact { display: flex; align-items: center; gap: 14px; }
.foot-contact span { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: #fff; }
.foot-contact h4 { margin: 0 0 2px; font-size: 20px; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.foot-bar nav { display: flex; gap: 22px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  h1 { font-size: 46px; line-height: 52px; }
  h2 { font-size: 38px; line-height: 44px; }
  .split, .head, .video-band, .tab-panel, .tst, .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-band__card { margin: 0 0 -40px; }
  .svc-grid, .strip__grid, .posts, .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid rgba(28, 28, 29, .1); padding-top: 30px; margin-top: 30px; }
  .nav { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
  .pad { padding: 70px 0; }
  .strip { margin-top: -60px; }
}
@media (max-width: 680px) {
  h1 { font-size: 36px; line-height: 44px; }
  h2 { font-size: 30px; line-height: 38px; }
  .hero .container { padding-top: 120px; padding-bottom: 90px; }
  .stack__inset { position: static; width: 100%; margin-top: 16px; border-width: 0; }
  .spin { display: none; }
  .ticks, .plan__body { grid-template-columns: 1fr; }
  .video-band__card, .tab-panel__body, .tst__card, .panel { padding: 28px; }
  .rating p { border-left: 0; padding-left: 0; }
  .foot-bar { flex-direction: column; }
}
