/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: min(900px, 100vh);
  padding-top: 140px;
  padding-bottom: 80px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: -2;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  /* Lowered opacity: blobs now act as faint coloured tints over the
     white hero canvas instead of being the dominant fill. */
  opacity: 0.25;
}

.hero__blob--a {
  width: 520px; aspect-ratio: 1;
  top: -10%; left: -8%;
  background: radial-gradient(circle, var(--magenta-500) 0%, transparent 65%);
  animation: drift 14s ease-in-out infinite;
}

.hero__blob--b {
  width: 580px; aspect-ratio: 1;
  bottom: -20%; right: -12%;
  background: radial-gradient(circle, var(--gold-500) 0%, transparent 65%);
  animation: drift 18s ease-in-out infinite reverse;
}

.hero__blob--c {
  width: 420px; aspect-ratio: 1;
  top: 30%; right: 30%;
  background: radial-gradient(circle, var(--violet-700) 0%, transparent 60%);
  animation: drift 22s ease-in-out infinite;
  opacity: 0.18;
}

.hero__swoosh {
  position: absolute;
  right: -10%;
  top: 12%;
  width: 52vw;
  max-width: 920px;
  z-index: 0;
  opacity: 0.4;
  animation: floatY 14s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1rem 0.5rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--violet-900);
  border: 1px solid var(--violet-900);
  color: var(--gold-400);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__tagline b {
  background: var(--gold-500);
  color: var(--violet-950);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(2.3rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: var(--violet-900);
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(1.9rem, 10vw, 2.8rem); letter-spacing: -0.02em; }
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Gold stroke text on white reads as a soft outline accent —
   inverse of the old gold-stroke-on-dark, but the same editorial
   marking. */
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--gold-500);
  text-stroke: 2.5px var(--gold-500);
}

.hero__sub {
  font-size: var(--fs-18);
  max-width: 54ch;
  color: var(--ink-700);
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-100);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  color: var(--violet-900);
  line-height: 1;
}

.hero__meta-item span {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--ink-500);
  font-weight: 600;
}

/* Hero media */
.hero__media {
  position: relative;
  min-height: 540px;
}

.hero__hex {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hex-photo {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.1;
  clip-path: polygon(50% 2%, 95% 25%, 95% 75%, 50% 98%, 5% 75%, 5% 25%);
  overflow: hidden;
  box-shadow: 0 60px 100px -30px rgba(38, 26, 107, 0.35);
}

/* Illustration sits inside a vibrant brand-purple capsule on the
   white hero — reads as a "tile of brand colour" against the
   editorial-white background. */
.hex-photo--illust {
  clip-path: none;
  border-radius: 260px 260px 40px 40px;
  background: linear-gradient(160deg, var(--violet-800), var(--violet-950));
  border: 2px solid var(--gold-500);
}

.hex-photo--illust .hex-photo__frame { display: none; }

.hex-photo img,
.hex-photo svg.brand-illust {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.hex-photo:hover img,
.hex-photo:hover svg.brand-illust { transform: scale(1.04); }

.hex-photo__frame {
  position: absolute;
  inset: -18px;
  z-index: 1;
  pointer-events: none;
}

.hex-photo__frame svg { width: 100%; height: 100%; }

.hero__badge {
  position: absolute;
  z-index: 3;
  background: var(--gold-500);
  color: var(--violet-950);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-caps);
  box-shadow: var(--shadow-gold);
  max-width: 180px;
  line-height: 1.2;
}

.hero__badge--nw {
  top: 8%; left: -6%;
  transform: rotate(-6deg);
}

.hero__badge--se {
  bottom: 8%; right: -6%;
  transform: rotate(4deg);
  background: var(--violet-900);
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
}

.hero__badge strong {
  display: block;
  font-size: var(--fs-20);
  color: var(--violet-950);
}
.hero__badge--se strong { color: var(--gold-400); }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { min-height: 440px; }
  .hero__badge--nw { left: 0; }
  .hero__badge--se { right: 0; }
}

@media (max-width: 640px) {
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero__badge { max-width: 140px; padding: 0.75rem 1rem; font-size: var(--fs-12); }
  .hero__meta { gap: 1.5rem; }
  .hero__meta-item strong { font-size: var(--fs-24); }
}

/* ================= ABOUT TEASER ================= */
/* Editorial-white: white background with the stat panel as the only
   coloured element — a vibrant brand-purple card with gold mega
   numerals. Reads as "the one strong accent on this section." */
.about-teaser {
  position: relative;
  background: var(--paper);
  color: var(--ink-900);
  overflow: hidden;
}

.about-teaser::before {
  content: none;
}

.about-teaser__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-teaser__copy h2 {
  color: var(--violet-900);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.about-teaser__copy p {
  font-size: var(--fs-18);
  color: var(--ink-700);
  margin-bottom: 1rem;
}

.about-teaser__stat {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(242, 201, 64, 0.22), transparent 60%),
    linear-gradient(160deg, var(--violet-900), var(--violet-950));
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.about-teaser__stat .mega {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 0.85;
  color: var(--gold-500);
  text-shadow: 6px 6px 0 var(--violet-950);
  letter-spacing: -0.04em;
}

.about-teaser__stat .plus {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--magenta-500);
}

.about-teaser__stat span {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  color: var(--paper);
  letter-spacing: var(--ls-caps);
}

.about-teaser__stat small {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--fs-14);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .about-teaser__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ================= SERVICES ================= */
/* Cream alternation row — gives visual rhythm without breaking the
   white-dominant feel. Service cards are white pills with a soft
   purple shadow, so they "float" on the cream. */
.services {
  background: var(--cream-50);
  color: var(--ink-900);
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } }

/* ================= CREDENTIALS ================= */
.credentials {
  background: var(--paper);
  color: var(--ink-900);
  position: relative;
}

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.credential-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.credential-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--violet-900);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.credential-card__icon svg { width: 28px; height: 28px; }

.credential-card h3 {
  font-size: var(--fs-20);
  color: var(--violet-900);
  margin-bottom: 0.6rem;
}

.credential-card p {
  font-size: var(--fs-14);
  color: var(--ink-700);
  line-height: 1.65;
}

.credential-card a {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: var(--fs-12);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--violet-900);
}

.credential-card a:hover { color: var(--magenta-600); }

@media (max-width: 1024px) { .credentials__grid { grid-template-columns: 1fr; } }

/* ================= CLIENTS ================= */
.clients {
  background: var(--cream-50);
  color: var(--ink-900);
  position: relative;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

/* ================= PAINT TEASER ================= */
.paint-teaser {
  position: relative;
  padding: 4rem 3rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 30%, var(--magenta-500) 0%, transparent 40%),
    linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--violet-950);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.paint-teaser::before {
  content: "الرسامون";
  position: absolute;
  font-family: var(--font-arabic);
  font-weight: 900;
  font-size: clamp(14rem, 30vw, 28rem);
  color: rgba(26, 8, 48, 0.08);
  top: 50%; right: -5%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.paint-teaser__copy { position: relative; z-index: 1; }

.paint-teaser h2 {
  color: var(--violet-950);
  margin-bottom: 0.8rem;
}

.paint-teaser h2 .ar {
  display: inline-block;
  margin-inline-start: 0.5em;
  color: var(--magenta-700);
}

.paint-teaser p {
  font-size: var(--fs-18);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.paint-teaser__phones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.paint-teaser__phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(26, 8, 48, 0.9);
  color: var(--gold-400);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  transition: background var(--dur-fast) var(--ease-out);
}

.paint-teaser__phones a:hover { background: var(--violet-950); }

.paint-teaser__swatches {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 1rem;
  background: rgba(26, 8, 48, 0.88);
  border-radius: var(--radius-lg);
}

.paint-teaser__swatches span {
  aspect-ratio: 1;
  border-radius: 8px;
  display: block;
}

@media (max-width: 900px) {
  .paint-teaser {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
}

/* ================= CONTACT CTA ================= */
.contact-cta {
  padding: 0;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--violet-950);
  position: relative;
  overflow: hidden;
}

.contact-cta__inner::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(ellipse, var(--magenta-500) 0%, transparent 60%);
  opacity: 0.2;
  z-index: 0;
}

.contact-cta__copy { position: relative; z-index: 1; }

.contact-cta h2 {
  color: var(--violet-950);
  margin-bottom: 1rem;
}

.contact-cta__phones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.contact-cta__phones a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--violet-950);
  color: var(--gold-400);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: var(--fs-18);
  letter-spacing: 0.02em;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.contact-cta__phones a:hover {
  background: var(--violet-900);
  transform: translateX(4px);
}

.contact-cta__phones svg {
  width: 20px; height: 20px; flex: none;
}

.contact-cta__extras {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-cta__extras a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(26, 8, 48, 0.08);
  color: var(--violet-950);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-14);
}

@media (max-width: 900px) {
  .contact-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ================= DIAGONAL SECTION DIVIDER ================= */
.section-diag {
  position: relative;
}

.section-diag::before {
  content: "";
  position: absolute;
  inset: auto 0 100% 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ================= RIBBON HEADING ARRANGEMENT ================= */
.section-head .ribbon {
  transform: translateY(-12px);
}
