/* =========================================================
   Business Card Printing — Brand Stylesheet
   Logo palette: UAE Red #FF0000 · UAE Green #00843D
                 Black #111111 · White #FFFFFF
   ========================================================= */

:root {
  --red: #ff0000;
  --red-ink: #d40000;
  --red-soft: #fff0f0;
  --green: #00843d;
  --green-ink: #006e33;
  --green-soft: #eef8f2;
  --ink: #111111;
  --white: #ffffff;

  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --bg-tint: #fbf9f7;
  --text: #1a1a1a;
  --muted: #5f6360;
  --border: #e6e5e0;
  --border-strong: #d6d5cf;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.05);
  --shadow: 0 18px 40px -24px rgba(17, 17, 17, 0.35);
  --shadow-lift: 0 30px 60px -32px rgba(17, 17, 17, 0.4);
  --shadow-red: 0 18px 40px -18px rgba(255, 0, 0, 0.45);
  --shadow-green: 0 18px 40px -18px rgba(0, 132, 61, 0.4);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;

  --max: 1200px;
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
  font-weight: 800;
}

ul {
  list-style: none;
}

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

@media (min-width: 1024px) {
  .wrap {
    padding: 0 32px;
  }
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--tint {
  background: var(--bg-tint);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-red {
  color: var(--red-ink);
}

.text-green {
  color: var(--green);
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.muted {
  color: var(--muted);
}

.brand-rule {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.brand-rule span {
  display: block;
  height: 3px;
  width: 30px;
  border-radius: var(--radius-pill);
}

.brand-rule .r {
  background: var(--red);
}
.brand-rule .g {
  background: var(--green);
}
.brand-rule .k {
  background: var(--ink);
}

.section-head {
  max-width: 680px;
}

.section-head--center {
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--red:hover {
  background: var(--red-ink);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn--green:hover {
  background: var(--green-ink);
}

.btn--ghost {
  border-color: var(--border-strong);
  background: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--sm {
  padding: 11px 22px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red-ink);
}

.link-arrow svg {
  transition: transform 0.3s ease;
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.header--solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 30px -26px rgba(17, 17, 17, 0.6);
}

.header__logo img {
  height: 52px;
  width: auto;
}

.header--onlight .header__nav a,
.header--solid .header__nav a {
  color: var(--muted);
}

.header__nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header__nav a:hover,
.header__nav a.is-active {
  color: var(--ink);
}

.header__nav a:hover::after,
.header__nav a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  display: none;
  align-items: center;
  gap: 14px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  transition: color 0.25s ease;
}

.header__phone:hover {
  color: var(--red-ink);
}

.header__burger {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.header__mobile {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 14px 0 24px;
}

.header__mobile.is-open {
  display: block;
}

.header__mobile nav {
  display: flex;
  flex-direction: column;
}

.header__mobile nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.header__mobile .mobile-actions {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.header__mobile .btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .header__nav,
  .header__cta {
    display: flex;
  }
  .header__burger {
    display: none;
  }
  .header__logo img {
    height: 60px;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolate: isolation;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      95deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 42%,
      rgba(255, 255, 255, 0.45) 74%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%, #ffffff 100%);
}

.hero__content {
  max-width: 780px;
  will-change: transform;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.03;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero p.lead {
  margin-top: 26px;
  max-width: 560px;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__rating {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--red);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.eyebrow--flex {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: start center;
  padding-top: 7px;
  background: rgba(255, 255, 255, 0.6);
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--red);
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 62px;
  text-align: center;
  background: var(--bg);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: 0;
  background:
    radial-gradient(58% 100% at 18% 0%, rgba(255, 0, 0, 0.13) 0%, transparent 68%),
    radial-gradient(55% 100% at 84% 8%, rgba(0, 132, 61, 0.15) 0%, transparent 70%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.page-hero p {
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--muted);
}

.page-hero .brand-rule {
  margin-top: 30px;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--4,
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .split--form {
    grid-template-columns: 1fr 1.15fr;
  }
}

.card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__media img {
  transform: scale(1.08);
}

.card__body {
  padding: 24px;
}

.card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.card__body p {
  margin-top: 9px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.panel {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.panel:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.panel--green:hover {
  border-color: var(--green);
}

.panel h2,
.panel h3 {
  font-size: 1.16rem;
  margin-top: 12px;
}

.panel p {
  margin-top: 11px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.panel__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--red-ink);
}

.panel__num--green {
  color: var(--green);
}

.panel__step {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 0, 0, 0.22);
  line-height: 1;
}

.panel__step--green {
  color: rgba(0, 132, 61, 0.25);
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red-ink);
}

.icon-badge--green {
  background: var(--green-soft);
  color: var(--green);
}

/* ---------- Stats ---------- */
.stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats .value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red-ink);
}

.stats div:nth-child(even) .value {
  color: var(--green);
}

.stats .label {
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Framed image ---------- */
.framed {
  position: relative;
}

.framed::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255, 0, 0, 0.16), rgba(0, 132, 61, 0.16));
  filter: blur(26px);
  z-index: -1;
}

.framed img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  object-fit: cover;
}

/* ---------- Parallax band ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: var(--white);
  text-align: center;
}

.band__bg {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.68) 60%, rgba(0, 132, 61, 0.55) 100%);
}

.band .wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.band h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: 14px;
}

.band p {
  color: rgba(255, 255, 255, 0.86);
}

.band .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.band__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-top: 22px;
}

.band__source {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.band__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.glass {
  height: 100%;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  text-align: left;
}

.glass h3 {
  color: var(--white);
  font-size: 1.08rem;
}

.glass p {
  margin-top: 11px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Portfolio tile ---------- */
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.tile:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
}

.tile img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover img {
  transform: scale(1.06);
}

.tile__cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.45) 45%, rgba(17, 17, 17, 0) 78%);
}

.tile__cat {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6ee7a3;
  font-weight: 700;
}

.tile__cap h2,
.tile__cap h3 {
  margin-top: 5px;
  font-size: 1.08rem;
  color: var(--white);
}

.tile__cap p {
  margin-top: 5px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--white);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 44px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: flex;
  gap: 44px;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(17, 17, 17, 0.28);
}

.marquee span i {
  font-style: normal;
  color: var(--red);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.faq__sign {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--red-ink);
  font-weight: 700;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq__item.is-open .faq__sign {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.contact-card + .contact-card {
  margin-top: 14px;
}

.contact-card .label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card .value {
  margin-top: 5px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  display: block;
}

.contact-card a.value:hover {
  color: var(--red-ink);
}

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-box h2 {
  font-size: 1.5rem;
}

.form-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .full {
    grid-column: 1 / -1;
  }
}

.field {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--bg-tint);
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.field::placeholder {
  color: #8d918e;
}

.field:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.12);
}

textarea.field {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-status {
  margin-top: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 11px;
  padding: 12px;
}

.form-status.is-ok {
  display: flex;
  background: var(--green-soft);
  color: var(--green-ink);
}

.form-status.is-error {
  display: flex;
  background: var(--red-soft);
  color: var(--red-ink);
}

.callout {
  margin: 52px auto 0;
  max-width: 720px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--muted);
}

.callout strong {
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding: 62px 0;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }
}

.footer__grid img {
  height: 58px;
  width: auto;
}

.footer__about p {
  margin-top: 18px;
  max-width: 360px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer__about .brand-rule {
  margin-top: 22px;
}

.footer h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.footer ul {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer ul a:hover {
  color: var(--red-ink);
}

.footer li.row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.footer li.row .icon {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  color: var(--red);
}

.footer li.row .icon.g {
  color: var(--green);
}

.footer__bar {
  border-top: 1px solid var(--border);
}

.footer__bar .wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer__bar .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-48 {
  margin-top: 48px;
}
.center {
  text-align: center;
}
.flex-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}
.actions-center {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =========================================================
   Materials, delivery speed & extra motion (v2)
   ========================================================= */

/* ---- Materials grid ---- */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1024px) {
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mat-grid { grid-template-columns: 1fr; }
}

.mat {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.mat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mat:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: #fff;
  box-shadow: var(--shadow-lift);
}
.mat:hover::before { transform: scaleY(1); }

.mat__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.mat:nth-child(even) .mat__ico { background: var(--green-soft); color: var(--green-ink); }
.mat:hover .mat__ico { transform: rotate(-8deg) scale(1.08); }

.mat h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--ink);
}
.mat p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.mat-note {
  margin: 32px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 18px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
}

/* ---- Delivery speed cards ---- */
.speed {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.speed::after {
  content: "";
  position: absolute;
  inset: -40% -60% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 132, 61, 0.12), transparent 70%);
  transition: transform 0.7s ease;
}
.speed--red::after { background: radial-gradient(circle, rgba(255, 0, 0, 0.12), transparent 70%); }
.speed:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
.speed:hover::after { transform: scale(1.25); }

.speed__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.speed__time {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.speed--green .speed__time { color: var(--green); }
.speed--red .speed__time { color: var(--red); }
.speed__unit {
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
}
.speed p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), var(--green));
  z-index: 200;
  pointer-events: none;
}

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 150;
  cursor: pointer;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--red); color: var(--red); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Richer reveal variants ---- */
.reveal { will-change: transform, opacity; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }

/* soft float for framed images */
.framed { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.framed img { transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.framed:hover img { transform: scale(1.04); }

/* tilt hover on cards & tiles */
.card, .tile, .panel {
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease;
}

/* subtle gradient sheen sweep on buttons */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
}
.btn:hover::after { left: 130%; }

/* section entrance for headings */
.section-head h2 { transition: transform 0.8s cubic-bezier(0.22,1,0.36,1); }

@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .scroll-progress, .to-top { transition: none; }
}
