/* AutoDetailingPerić — homepage styles */

:root {
  --bg: #070708;
  --surface: #111113;
  --surface-2: #17171a;
  --line: #24242a;
  --red: #e3101e;
  --red-hot: #ff2a35;
  --red-deep: #8a000b;
  --text: #f3f3f4;
  --muted: #a3a3aa;
  --font-head: 'Saira', 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --radius: 10px;
  --header-h: 124px;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0 L28 8.08 V24.25 L14 32.33 L0 24.25 V8.08 Z M14 32.33 V48.5' fill='none' stroke='%23ff1e2d' stroke-opacity='.14' stroke-width='1'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sprite { position: absolute; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-red { color: var(--red-hot); }

.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--red-hot); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 24px; border-radius: 4px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: linear-gradient(180deg, var(--red-hot), #c00a16); box-shadow: 0 6px 24px -6px #e3101e99; }
.btn-red:hover { box-shadow: 0 8px 30px -4px #e3101ecc; }
.btn-outline { border-color: #ffffff55; background: #00000040; }
.btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: #070708ee; backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; transition: height .25s; }
.site-header.scrolled .header-inner { height: 76px; }
.brand img { height: 104px; width: auto; transition: height .25s; filter: drop-shadow(0 4px 12px #000); }
.site-header.scrolled .brand img { height: 62px; }
.main-nav { display: flex; gap: 36px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 500; color: #d6d6da; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: var(--red-hot); border-bottom-color: var(--red-hot); }
.header-cta { margin-left: 12px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #ffffff33; border-radius: 6px; color: #fff; padding: 9px; cursor: pointer; }
.menu-toggle .ico { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(780px, 100vh); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 100%;
  background: url(../assets/img/hero-noc.jpg) right -90px center / auto 104% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 48%), linear-gradient(0deg, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 8%, #000 48%), linear-gradient(0deg, transparent 0%, #000 16%);
  mask-composite: intersect; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 20% 55%, #000000b0, transparent 70%); }
.hero-content { position: relative; }
.hero h1 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.005em; margin: 18px 0 22px; text-shadow: 0 4px 24px #000; }
.hero h1 span { color: var(--red-hot); }
.hero .lead { max-width: 500px; color: #d2d2d7; font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- services ---------- */
.services { position: relative; padding: 70px 0 80px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); border-color: #e3101e77; box-shadow: 0 18px 40px -18px #e3101e88; }
.service-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background: var(--hex), radial-gradient(circle at 50% 60%, #2a0508, #0c0c0e 70%); }
.service-media .ico { width: 46px; height: 46px; stroke-width: 1.3; color: var(--red-hot); filter: drop-shadow(0 0 10px #ff2a3588); }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service:hover .service-media img { transform: scale(1.06); }
.service-body { position: relative; flex: 1; padding: 20px 22px 66px; }
.service-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.service-body p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.service-link { position: absolute; left: 22px; bottom: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transition: background .2s, transform .2s; }
.service-link .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.service:hover .service-link { background: var(--red-hot); transform: translateX(3px); }
.service-soon .service-media img { filter: grayscale(.6) brightness(.55); }
.soon-badge { position: absolute; top: 14px; left: 14px; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; background: var(--red); box-shadow: 0 0 18px #e3101e99; }
.soon-note { position: absolute; left: 22px; bottom: 24px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hot); }

/* ---------- perks ---------- */
.perks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks li { display: flex; align-items: center; justify-content: center; gap: 14px; }
.perks .ico { width: 38px; height: 38px; stroke-width: 1.4; color: var(--red-hot); }
.perks b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.1; }
.perks span { color: var(--muted); font-size: 13px; }

/* ---------- about ---------- */
.about { padding: 90px 0; background: radial-gradient(ellipse 50% 70% at 15% 50%, #2a040855, transparent 70%), #0a0a0b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: var(--radius); box-shadow: 0 0 30px -6px #e3101e88; }
.about-photo img { position: relative; width: 100%; height: auto; border-radius: var(--radius); }
.about-text h2 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.02; margin: 10px 0 22px; }
.about-text h2 span { color: var(--red-hot); }
.about-text > p:not(.eyebrow) { color: #c9c9ce; font-size: 16px; margin-bottom: 14px; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 24px 0 32px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- process ---------- */
.process { padding: 90px 0 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { position: relative; padding: 28px 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red-hot), transparent); }
.step-no { display: block; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red-hot); margin-bottom: 14px; }
.steps h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14px; }

/* ---------- gallery ---------- */
.gallery { padding: 60px 0 90px; }
.section-head { margin-bottom: 32px; }
.section-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; }
.section-head-split > p { color: var(--muted); font-size: 15px; max-width: 560px; }
.text-link { color: var(--red-hot); border-bottom: 1px solid currentColor; }
.text-link:hover { color: #fff; }
.section-head h2 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 1; margin-top: 8px; }
.section-head h2 span { color: var(--red-hot); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid figure { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: url(../assets/logo/logo-providno.png) center / 62% auto no-repeat, var(--hex), radial-gradient(circle at 50% 50%, #1d0306, #0b0b0c 70%); }
.gallery-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- tagline band ---------- */
.tagline-band { position: relative; text-align: center; padding: 56px 16px 60px; overflow: hidden;
  background: var(--hex), linear-gradient(180deg, #120204, #070708 70%); }
.tagline-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red-hot), transparent); box-shadow: 0 0 18px var(--red-hot); }
.band-swoosh { width: min(560px, 90%); height: auto; margin: 0 auto; }
.tagline-band p { font-family: var(--font-body); font-style: italic; font-weight: 500; text-transform: uppercase; letter-spacing: .5em; font-size: clamp(12px, 1.6vw, 18px); margin-top: 18px; color: #e9e9ea; }
.tagline-band p i { color: var(--red-hot); font-style: normal; margin: 0 .5em; }

/* ---------- footer ---------- */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { width: 260px; height: auto; margin-bottom: 14px; }
.footer-brand .muted { max-width: 320px; }
.site-footer h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 18px; margin-bottom: 16px; }
.contact-list { list-style: none; display: grid; gap: 12px; color: #d2d2d7; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .ico { color: var(--red-hot); }
.contact-list a:hover { color: #fff; }
.muted { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: #d2d2d7; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--red-hot); color: var(--red-hot); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding: 20px 0 26px; border-top: 1px solid var(--line); color: #77777e; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }
.credit { color: #b5b5bb; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .brand img { height: 64px; }
  .menu-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 18px; background: #070708f5; border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a.active { border-bottom-color: var(--line); }
  .hero { display: block; min-height: 0; padding-top: calc(var(--header-h) + 52vw); padding-bottom: 60px; }
  .hero::after { display: none; }
  .hero-photo { top: var(--header-h); bottom: auto; left: 0; width: 100%; aspect-ratio: 3 / 2; background-image: url(../assets/img/hero-noc-1200.jpg); background-position: 62% 55%; background-size: cover;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head-split { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { margin-right: 18px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perks li { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .services, .about, .process { padding-top: 64px; }
  .perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-intro { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 360px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.faq-list details[open] { border-color: #e3101e66; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: #c2c2c8; font-size: 15px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; gap: 10px; } }
