/* The shop's look for the pages that were gripteck.ae's own (SUV & 4x4, commercial vehicles, contact, FAQs): the same
   tokens, top bar and type as accessories.html, with scroll-driven reveals and the real mat as the ground. */
:root {
  --bg: #07060a;
  --ink: #f6efe6;
  --ink-soft: #b5a796;
  --accent: #ea7a1e;
  --glass: rgba(14, 12, 12, .62);
  --line: rgba(255, 255, 255, .09);
  --display: "Archivo", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--display); overflow-x: hidden;
  background: var(--bg) url("../mat_cell.webp") 0 0 / 92px 92px repeat;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(240, 150, 70, .16), transparent 60%),
    radial-gradient(140% 110% at 50% 40%, transparent 45%, rgba(4, 3, 6, .82) 100%);
}
/* a warm light that follows the pointer across the mat */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
        background: radial-gradient(420px 420px at var(--gx, 50%) var(--gy, 40%), rgba(234, 122, 30, .13), transparent 70%); }
.glow.is-on { opacity: 1; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* top bar (as the shop's) */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
       padding: clamp(14px, 2.4vw, 22px) var(--gutter); background: linear-gradient(180deg, rgba(7, 6, 10, .9), rgba(7, 6, 10, 0)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand i { width: 22px; height: 22px; border-radius: 4px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, var(--accent) 0 2px, transparent 2px 6px);
  outline: 1.5px solid var(--accent); outline-offset: 1px; }
.brand b { font-weight: 800; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; }
.brand img { display: block; height: 27px; width: auto; }
@media (max-width: 600px) { .brand img { height: 24px; } }
.top__links { display: flex; gap: 10px; align-items: center; }
.pill { text-decoration: none; font-size: .85rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 8, 7, .5);
        backdrop-filter: blur(10px); transition: border-color .3s, background .3s; white-space: nowrap; cursor: pointer; }
.pill:hover { border-color: rgba(234, 122, 30, .6); }
.pill--accent { background: var(--accent); color: #140a04; border-color: transparent; font-weight: 600; }
.pill__short { display: none; }
@media (max-width: 560px) {
  .top__film, .top__more { display: none; }
  .top .pill__long { display: none; } .top .pill__short { display: inline; }
}

main { position: relative; z-index: 1; padding: clamp(8px, 2vh, 20px) var(--gutter) 90px; max-width: 1360px; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1 { font-weight: 850; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin: 12px 0 0;
     font-size: clamp(2.3rem, 6.4vw, 5rem); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-weight: 850; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; margin: 10px 0 0;
     font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; font-size: 1.1rem; margin: 0; }
.lede { color: var(--ink-soft); max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; margin: 16px 0 0; }
p { line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
              border: 1px solid var(--line); background: rgba(10, 8, 7, .45); color: rgba(246, 239, 230, .85); }
.cta { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 15px 26px; border-radius: 999px;
       color: #140a04; background: var(--accent); border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(234, 122, 30, .4); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.actions .pill { padding: 15px 22px; font-size: .95rem; }
.cta:focus-visible, .pill:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.panel { border-radius: 26px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(6px); padding: clamp(18px, 2.6vw, 32px); }

/* the cinematic opening: a full-bleed picture that eases in and drifts as the page scrolls, the words over it */
.cine { position: relative; margin: 0 calc(-1 * var(--gutter)); min-height: min(86vh, 860px); display: flex; align-items: flex-end;
        overflow: hidden; border-bottom: 1px solid var(--line); }
.cine__img { position: absolute; inset: -6% 0; background: center / cover no-repeat; transform: translate3d(0, var(--py, 0), 0) scale(var(--ps, 1.08));
             will-change: transform; animation: cine-in 2.4s var(--ease) both; }
.cine::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 6, 10, .55) 0%, rgba(7, 6, 10, .05) 30%, rgba(7, 6, 10, .35) 62%, rgba(7, 6, 10, .96) 100%),
              linear-gradient(90deg, rgba(7, 6, 10, .75), transparent 60%); }
.cine__words { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(30px, 7vh, 70px); max-width: 860px; }
.cine__words > * { opacity: 0; animation: rise .9s var(--ease) forwards; }
.cine__words > :nth-child(1) { animation-delay: .25s; } .cine__words > :nth-child(2) { animation-delay: .38s; }
.cine__words > :nth-child(3) { animation-delay: .52s; } .cine__words > :nth-child(4) { animation-delay: .66s; }
.cine__words > :nth-child(5) { animation-delay: .8s; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(30px, 7vh, 70px); z-index: 1; font-family: var(--mono); font-size: .68rem;
              letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }

/* reveals as things come into view */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.wipe { clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.wipe.is-in { clip-path: inset(0 0 0 0 round 22px); }
.wipe img { transform: scale(1.12); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.wipe.is-in img { transform: scale(1); }

.section { margin-top: clamp(56px, 11vh, 120px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.shot { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #1d1b1a; }
.shot img { display: block; width: 100%; height: auto; }

.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: clamp(56px, 10vh, 110px);
        padding: clamp(22px, 3vw, 36px); border-radius: 26px; border: 1px solid rgba(234, 122, 30, .28);
        background: linear-gradient(120deg, rgba(234, 122, 30, .14), rgba(14, 12, 12, .62) 60%); backdrop-filter: blur(6px); }
.band h2 { margin: 0; }
.band p { color: var(--ink-soft); margin: 12px 0 0; max-width: 52ch; }
.band__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.band .pill { padding: 15px 22px; font-size: .95rem; }

/* forms (they write a message to send by e-mail or WhatsApp: the site has no server behind it) */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field label b { color: var(--accent); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7, 6, 10, .7);
  font-size: 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(234, 122, 30, .7); box-shadow: 0 0 0 4px rgba(234, 122, 30, .16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff6b5a; }
.form__err { min-height: 1.2em; margin: 0; font-size: .9rem; color: #ff8f80; }
.form__send { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form__note { margin: 0; font-size: .85rem; color: var(--ink-soft); }

@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .scroll-cue { display: none; }
  .cine::after { background: linear-gradient(180deg, rgba(7, 6, 10, .45) 0%, rgba(7, 6, 10, .06) 22%, rgba(7, 6, 10, .62) 48%, rgba(7, 6, 10, .97) 100%); }
}
@keyframes cine-in { from { opacity: 0; filter: blur(8px) brightness(.6); } to { opacity: 1; filter: none; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .wipe, .wipe img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .cine__img, .cine__words > * { animation: none; opacity: 1; }
  .scroll-cue i { animation: none; }
}
