/* ==========================================================================
   TJ Glass & Aluminium — main stylesheet
   Structure: 1. Tokens  2. Base  3. Layout  4. Components  5. Sections
              6. Animations  7. Responsive  8. Reduced motion / print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --crown: #dfaa26;
  --crown-soft: #f6e2ad;
  --red: #b72026;
  --red-dark: #8f171c;
  --blue: #183156;
  --blue-deep: #0f2240;
  --blue-ink: #0a1830;

  /* Neutrals */
  --white: #ffffff;
  --paper: #f6f4ef;      /* warm off-white, lets the crown gold sing */
  --mist: #eef1f6;
  --line: #e1e4ec;
  --text: #2c3446;
  --muted: #646c80;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px -4px rgba(15, 34, 64, .15);
  --shadow: 0 24px 60px -24px rgba(15, 34, 64, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --gutter: 16px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h3 { line-height: 1.15; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--crown); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--crown); color: var(--blue-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--crown); color: var(--blue-ink); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(1220px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--blue-deep); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

/* 4. Components ------------------------------------------------------------ */

/* Section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--crown); }
.section--dark .eyebrow { color: var(--crown); }
.section--dark .eyebrow::before { background: var(--red); }
.heading { font-size: clamp(38px, 5.4vw, 64px); text-transform: uppercase; margin-bottom: 18px; }
.heading em { font-style: normal; color: var(--red); }
.section--dark .heading em { color: var(--crown); }
.lede { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--muted); max-width: 62ch; }
.section--dark .lede { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* Buttons */
.btn {
  --btn-bg: var(--red); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; isolation: isolate;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.btn::before {  /* gold sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--crown);
  transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(183, 32, 38, .7); color: var(--blue-ink); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--crown { --btn-bg: var(--crown); --btn-fg: var(--blue-ink); }
.btn--crown::before { background: var(--white); }
.btn--crown:hover { box-shadow: 0 16px 32px -14px rgba(223, 170, 38, .8); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--crown); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(15, 34, 64, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .4s var(--ease), background .4s var(--ease), height .4s var(--ease); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: flex; align-items: center; padding: 7px 14px; border-radius: 14px; background: var(--white);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: transform .35s var(--ease);
}
.brand:hover { transform: rotate(-2deg) scale(1.03); }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 15px; transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav__links a[aria-current="page"] { color: var(--blue-ink); background: var(--crown); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 15px; }
.nav__phone span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.nav__phone svg { width: 18px; height: 18px; stroke: var(--crown); }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 34, 64, .4);
}
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero (home) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; background: var(--blue-ink); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 24, 48, .97) 0%, rgba(15, 34, 64, .88) 42%, rgba(24, 49, 86, .35) 100%),
    linear-gradient(0deg, rgba(10, 24, 48, .8), transparent 40%);
}
.hero__inner { padding-block: calc(var(--header-h) + 60px) 110px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13.5px; font-weight: 700; letter-spacing: .05em; backdrop-filter: blur(8px);
}
.hero__badge img { width: 26px; height: 26px; }
.hero__title { color: var(--white); font-size: clamp(54px, 9vw, 116px); text-transform: uppercase; margin: 24px 0 26px; line-height: .92; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .accent { color: var(--crown); }
.hero__title .outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.hero__text { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 255, 255, .8); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__text, .hero__actions, .hero__badge { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero__badge { animation-delay: .05s; }
.hero__text { animation-delay: .5s; }
.hero__actions { animation-delay: .65s; }
.hero__dots { position: absolute; right: max(var(--gutter), calc((100vw - 1220px) / 2)); bottom: 90px; display: flex; flex-direction: column; gap: 12px; }
.hero__dot { width: 4px; height: 34px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; position: relative; overflow: hidden; }
.hero__dot::after { content: ""; position: absolute; inset: 0; background: var(--crown); transform: scaleY(0); transform-origin: top; }
.hero__dot.is-active::after { animation: fillDot 6s linear forwards; }

/* Divisions ticker under hero */
.ticker { position: relative; z-index: 2; background: var(--red); color: var(--white); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 22px; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker__item::after { content: ""; width: 10px; height: 10px; background: var(--crown); transform: rotate(45deg); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 120px; color: var(--white); overflow: hidden; isolation: isolate; background: var(--blue-ink); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10, 24, 48, .96) 10%, rgba(24, 49, 86, .72) 60%, rgba(183, 32, 38, .35)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--white); clip-path: polygon(0 100%, 100% 30%, 100% 100%); }
.page-hero h1 { color: var(--white); font-size: clamp(52px, 8vw, 100px); text-transform: uppercase; margin: 10px 0 18px; animation: fadeUp .9s var(--ease) both; }
.page-hero p { max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, .8); animation: fadeUp .9s .15s var(--ease) both; }
.breadcrumb ol { display: flex; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--crown); }
.breadcrumb a:hover { color: var(--crown); }

/* Stats */
.stats { position: relative; z-index: 3; margin-top: clamp(40px, 6vw, 64px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px); font-weight: 700; color: var(--blue); line-height: 1; }
.stat__num sup { font-size: .5em; color: var(--red); vertical-align: super; }
.stat__label { font-size: 14.5px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 34px; height: 4px; background: var(--crown); border-radius: 0 0 4px 4px; }

/* Division / service card */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__num { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--white); background: rgba(10, 24, 48, .6); padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.card__icon {
  position: absolute; left: 22px; top: -30px; z-index: 1; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; background: var(--blue); box-shadow: 0 12px 26px -10px rgba(15, 34, 64, .7);
  transition: background .4s, transform .5s var(--ease);
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--crown); }
.card:hover .card__icon { background: var(--red); transform: rotate(-8deg); }
.card__body { position: relative; padding: 46px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 28px; text-transform: uppercase; margin-bottom: 10px; }
.card__text { font-size: 15.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--mist); padding: 6px 12px; border-radius: 999px; }
.card .link-arrow { margin-top: 20px; }
.card__link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* About / media composition */
.media-stack { position: relative; padding: 0 40px 50px 0; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__float { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; aspect-ratio: 1; }
.media-stack__float img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge { position: absolute; left: -24px; top: 40px; background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); text-align: center; }
.media-stack__badge b { display: block; font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--crown); }
.media-stack__badge span { font-size: 13px; font-weight: 600; opacity: .85; }
.section--paper .media-stack__float { border-color: var(--paper); }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 28px 0 34px; }
.checklist li { display: flex; gap: 12px; font-weight: 600; color: var(--blue); font-size: 15.5px; line-height: 1.4; }
.checklist svg { flex: none; width: 22px; height: 22px; }

.founder { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border-left: 4px solid var(--red); box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.founder__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--crown); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.founder b { display: block; color: var(--blue); font-size: 17px; }
.founder span { font-size: 14px; color: var(--muted); }

/* Value tiles */
.value { position: relative; padding: 38px 30px 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .5s; }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(155deg, var(--blue) 0%, var(--blue-deep) 70%); clip-path: circle(0% at 90% 10%); transition: clip-path .7s var(--ease); }
.value:hover { transform: translateY(-8px); color: rgba(255, 255, 255, .8); }
.value:hover::before { clip-path: circle(150% at 90% 10%); }
.value__num { font-family: var(--font-display); font-weight: 700; font-size: 84px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line); margin-bottom: 18px; transition: -webkit-text-stroke-color .5s; }
.value:hover .value__num { -webkit-text-stroke-color: var(--crown); }
.value h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 10px; transition: color .5s; }
.value:hover h3 { color: var(--white); }
.value p { font-size: 15.5px; }
.section--dark .value { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .value__num { -webkit-text-stroke-color: rgba(255, 255, 255, .2); }
.section--dark .value::before { background: linear-gradient(155deg, var(--red) 0%, var(--red-dark) 80%); }

/* Mission panel */
.mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.mission__item { padding: 44px 36px; border-right: 1px solid var(--line); }
.mission__item:last-child { border-right: 0; }
.mission__item:nth-child(2) { background: var(--blue); color: rgba(255, 255, 255, .8); }
.mission__item:nth-child(2) h2 { color: var(--white); }
.mission__item:nth-child(2) .mission__bar { background: var(--crown); }
.mission__bar { width: 48px; height: 5px; border-radius: 4px; background: var(--red); margin-bottom: 22px; }
.mission__item h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 14px; }
.mission__list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-weight: 600; color: var(--blue); }
.mission__list li::before { content: ""; width: 8px; height: 8px; background: var(--crown); transform: rotate(45deg); flex: none; }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; color: var(--blue); cursor: pointer; transition: all .3s var(--ease); }
.filter:hover { border-color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.product { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blue); }
.product[hidden] { display: none; }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 24, 48, .95)); transition: opacity .5s; }
.product:hover img { transform: scale(1.1); }
.product__info { position: absolute; inset: auto 0 0; z-index: 1; padding: 26px; color: var(--white); transform: translateY(40px); transition: transform .55s var(--ease); }
.product:hover .product__info, .product:focus-within .product__info { transform: none; }
.product__cat { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--crown); color: var(--blue-ink); margin-bottom: 12px; }
.product__info h3 { color: var(--white); font-size: 30px; text-transform: uppercase; }
.product__info p { font-size: 14.5px; color: rgba(255, 255, 255, .8); margin-top: 6px; opacity: 0; transition: opacity .5s .1s; }
.product:hover .product__info p, .product:focus-within .product__info p { opacity: 1; }

/* Why choose us (accordion) */
.accordion { display: grid; gap: 12px; }
.accordion__item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.accordion__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.accordion__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; color: var(--blue); font-size: 17px; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); transition: background .3s; }
.accordion__icon svg { width: 20px; height: 20px; stroke: var(--red); }
.accordion__item[open] .accordion__icon { background: var(--red); }
.accordion__item[open] .accordion__icon svg { stroke: var(--white); }
.accordion__plus { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.accordion__plus::before, .accordion__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--blue); translate: -50% -50%; }
.accordion__plus::after { rotate: 90deg; }
.accordion__item[open] .accordion__plus { transform: rotate(135deg); background: var(--crown); border-color: var(--crown); }
.accordion__body { padding: 0 24px 22px 80px; color: var(--muted); }
.accordion__item[open] .accordion__body { animation: fadeUp .45s var(--ease); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(223, 170, 38, .7) 0 10px, transparent 10px 20px); }
.step { text-align: center; position: relative; }
.step__circle { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-deep); border: 2px solid var(--crown); color: var(--crown); font-family: var(--font-display); font-weight: 700; font-size: 28px; transition: transform .5s var(--ease), background .4s, color .4s; position: relative; }
.step:hover .step__circle { background: var(--crown); color: var(--blue-ink); transform: scale(1.1) rotate(-8deg); }
.step h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 15px; }

/* Brands */
.brands { padding-block: 64px; border-bottom: 1px solid var(--line); }
.brands__label { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 90px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: 40px; text-transform: uppercase; color: #c3c8d4; white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: var(--blue); }

/* Quote / testimonial */
.quote { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px); background: var(--blue); color: rgba(255, 255, 255, .85); text-align: center; isolation: isolate; }
.quote::before, .quote::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.quote::before { width: 420px; height: 420px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(223, 170, 38, .35), transparent 70%); }
.quote::after { width: 360px; height: 360px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(183, 32, 38, .45), transparent 70%); }
.quote__crown { width: 64px; margin: 0 auto 18px; }
.quote h2 { color: var(--white); font-size: clamp(34px, 4.6vw, 56px); text-transform: uppercase; margin-bottom: 22px; }
.quote blockquote p { max-width: 820px; margin: 0 auto; font-size: clamp(16.5px, 1.5vw, 19px); }
.quote figcaption { margin-top: 28px; }
.quote figcaption b { display: block; color: var(--white); font-size: 17px; }
.quote figcaption span { font-size: 13px; letter-spacing: .18em; color: var(--crown); font-weight: 700; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 60px); background: var(--red); color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px); }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; border: 40px solid rgba(223, 170, 38, .25); }
.cta h2 { color: var(--white); font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; }
.cta p { color: rgba(255, 255, 255, .85); margin-top: 6px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Service detail rows (services page) */
.service-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.05); }
.service-row__index { position: absolute; left: 20px; top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; background: var(--crown); color: var(--blue-ink); }
.service-row h2 { font-size: clamp(36px, 4.4vw, 54px); text-transform: uppercase; margin-bottom: 16px; }
.service-row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 22px 0 28px; }
.service-row li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--blue); font-size: 15px; }
.service-row li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.panel--dark { background: var(--blue); color: rgba(255, 255, 255, .8); }
.panel--dark h2 { color: var(--white); }
.panel h2 { font-size: 38px; text-transform: uppercase; margin-bottom: 8px; }
.contact-list { display: grid; gap: 22px; margin: 30px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.contact-list__icon svg { width: 22px; height: 22px; stroke: var(--crown); }
.contact-list b { display: block; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.contact-list a { color: var(--white); font-weight: 600; transition: color .3s; }
.contact-list a:hover { color: var(--crown); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 15.5px; color: var(--blue-ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(24, 49, 86, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); font-weight: 600; min-height: 0; }
.form__hp { position: absolute; left: -9999px; }
.form__status { font-size: 14.5px; font-weight: 600; padding: 0; border-radius: 12px; }
.form__status.is-success { padding: 14px 16px; background: #e8f5ec; color: #1d6b3a; }
.form__status.is-error { padding: 14px 16px; background: #fbeaea; color: var(--red-dark); }
.form__note { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 800; font-size: 18px; color: var(--blue); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 48px 22px 0; color: var(--muted); }
.faq__item[open] p { animation: fadeUp .45s var(--ease); }

/* Footer */
.site-footer { background: var(--blue-ink); color: rgba(255, 255, 255, .7); padding-top: 90px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 50%, var(--crown) 50% 100%); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; }
.footer__brand { display: inline-flex; padding: 10px 16px; background: var(--white); border-radius: 14px; margin-bottom: 22px; }
.footer__brand img { height: 52px; width: auto; }
.site-footer h2 { font-size: 24px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .3s, padding .3s; }
.footer__links a:hover { color: var(--crown); padding-left: 6px; }
.footer__contact a { color: var(--white); font-weight: 600; }
.footer__contact a:hover { color: var(--crown); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: var(--white); }
.footer__bottom { margin-top: 70px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* Floating actions & progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 150; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--crown)); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; transform: translateY(140%); transition: transform .5s var(--ease); }
.fab.is-visible { transform: none; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab__call { background: var(--red); position: relative; }
.fab__call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ring 2.2s infinite; }
.fab__call svg { stroke: var(--white); }
.fab__top { background: var(--white); }
.fab__top svg { stroke: var(--blue); }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--blue-ink); color: rgba(255, 255, 255, .8); padding: 120px var(--gutter) 60px; }
.notfound h1 { font-size: clamp(120px, 24vw, 260px); color: var(--crown); line-height: .85; }
.notfound h2 { color: var(--white); font-size: 40px; text-transform: uppercase; margin: 10px 0; }

/* 6. Animations ------------------------------------------------------------ */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal="up"] { transform: translateY(44px); }
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes floaty { 50% { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring { to { transform: scale(1.7); opacity: 0; } }
@keyframes fillDot { to { transform: scaleY(1); } }

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav__phone { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .faq, .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .media-stack { max-width: 540px; margin-inline: auto; }
  .mission { grid-template-columns: 1fr; }
  .mission__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__dots { display: none; }
}
@media (max-width: 880px) {
  .nav__toggle { display: block; position: relative; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 1;
    flex-direction: column; gap: 4px; padding: 110px 26px 30px; background: var(--blue-ink);
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .4);
  }
  .nav__links a { font-size: 22px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; padding: 12px 18px; }
  .nav-open .nav__links { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .nav__actions .btn { display: none; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 24, 48, .5); z-index: 90; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .form__row, .checklist, .service-row ul, .process, .footer__grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .hero__inner { padding-bottom: 80px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title .outline { -webkit-text-stroke-width: 1.5px; }
  .media-stack { padding: 0 16px 36px 0; }
  .media-stack__badge { left: -6px; top: 20px; padding: 14px 18px; }
  .media-stack__badge b { font-size: 34px; }
  .product__info { transform: none; }
  .product__info p { opacity: 1; }
  .accordion__body { padding-left: 24px; }
  .stat { padding: 26px 20px; }
  .stat::before { left: 20px; }
}

/* 8. Reduced motion & print ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
@media print {
  .site-header, .fab, .scroll-progress, .ticker, .marquee, .hero__dots { display: none !important; }
  .hero, .page-hero { min-height: auto; padding: 40px 0; background: none; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* FAQ uses the same +/× indicator as the accordion */
.faq__item[open] .accordion__plus { transform: rotate(135deg); background: var(--crown); border-color: var(--crown); }
