:root {
  --bg: #08110d;
  --bg-soft: #0f1d17;
  --panel: #16271f;
  --panel-soft: #22372b;
  --paper: #efe1c5;
  --paper-soft: #f7efe1;
  --ink: #112017;
  --muted-dark: #5c6a5f;
  --muted-light: #b8c7b8;
  --forest: #214c34;
  --forest-deep: #143423;
  --sage: #6c8b6f;
  --gold: #c79b5b;
  --gold-soft: #ebd2a4;
  --terracotta: #9b6642;
  --water: #4f7d8b;
  --line: rgba(247, 239, 225, 0.12);
  --line-dark: rgba(17, 32, 23, 0.1);
  --shadow: 0 28px 60px rgba(3, 7, 5, 0.24);
  --shadow-soft: 0 18px 40px rgba(15, 23, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", sans-serif;
  color: var(--paper-soft);
  background:
    radial-gradient(circle at top right, rgba(199, 155, 91, 0.18), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(79, 125, 139, 0.16), transparent 22%),
    linear-gradient(180deg, #0a1510 0%, #13231b 38%, #0c1813 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 30px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero,
.section,
.footer {
  position: relative;
}

.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fffef9;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, #1b9f53, #15743c);
  box-shadow: 0 18px 30px rgba(12, 73, 35, 0.35);
}

.hero {
  padding: 24px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(199, 155, 91, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(79, 125, 139, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(14, 28, 21, 0.96), rgba(10, 21, 16, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 155, 91, 0.12), transparent 68%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(247, 239, 225, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong,
.eyebrow,
h1,
h2,
h3,
.hero-stats dt,
.brand-badge strong {
  font-family: "Changa", sans-serif;
}

.brand-text strong {
  color: var(--paper-soft);
}

.brand-text small {
  color: var(--muted-light);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a,
.social-links a,
.footer a {
  color: var(--paper-soft);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover,
.social-links a:hover,
.footer a:hover {
  color: var(--gold-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
  padding: 42px 0 22px;
}

.hero-copy,
.hero-media {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy {
  padding: 10px 4px 10px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 1.02;
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.service-card p,
.project-row p,
.process-grid p,
.contact-panel p,
.footer p,
.evidence-card p,
.signature-copy p,
.signature-copy li {
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-text {
  max-width: 620px;
  color: var(--muted-light);
}

.hero-flags,
.hero-actions,
.contact-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-flags {
  margin: 24px 0 4px;
}

.hero-flags span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--paper-soft);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 239, 225, 0.08);
}

.hero-actions {
  margin: 32px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.button-primary {
  color: #fff9ee;
  background: linear-gradient(135deg, var(--gold), #8b5b34 90%);
}

.button-secondary {
  color: var(--paper-soft);
  border-color: rgba(247, 239, 225, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(247, 239, 225, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-stats div:nth-child(1) {
  border-top: 3px solid var(--gold);
}

.hero-stats div:nth-child(2) {
  border-top: 3px solid var(--water);
}

.hero-stats div:nth-child(3) {
  border-top: 3px solid var(--sage);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--paper-soft);
  font-size: 1.55rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted-light);
}

.hero-media {
  display: grid;
  grid-template-rows: 1.18fr 0.82fr;
  gap: 18px;
}

.hero-main-shot,
.mini-shot,
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.hero-main-shot {
  min-height: 460px;
  border: 1px solid rgba(247, 239, 225, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.hero-main-shot img,
.mini-shot img,
.portfolio-card img,
.signature-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-main-shot::after,
.mini-shot::after,
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.12), rgba(6, 10, 8, 0.86) 92%);
}

.hero-overlay-card,
.mini-shot div,
.portfolio-caption {
  position: absolute;
  right: 18px;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff8ed;
}

.hero-overlay-card span,
.mini-shot span,
.portfolio-caption span,
.evidence-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-overlay-card span,
.mini-shot span,
.portfolio-caption span {
  background: rgba(255, 248, 236, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-overlay-card strong,
.mini-shot strong,
.portfolio-caption strong {
  display: block;
  font-family: "Changa", sans-serif;
  font-size: 1.32rem;
  line-height: 1.38;
}

.hero-side-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-shot {
  min-height: 220px;
  border: 1px solid rgba(247, 239, 225, 0.1);
}

.mini-shot:first-child {
  transform: translateY(18px);
}

.mini-shot-dark {
  transform: translateY(-12px);
}

.trust-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.trust-ribbon div {
  padding: 16px 14px;
  border-radius: 20px;
  text-align: center;
  font-weight: 800;
  color: var(--paper-soft);
  border: 1px solid rgba(247, 239, 225, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-ribbon div:nth-child(3n + 1) {
  background: rgba(199, 155, 91, 0.14);
}

.trust-ribbon div:nth-child(3n + 2) {
  background: rgba(79, 125, 139, 0.16);
}

.trust-ribbon div:nth-child(3n + 3) {
  background: rgba(108, 139, 111, 0.16);
}

main {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.section {
  padding: 34px;
  border-radius: 38px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.intro-strip {
  background:
    linear-gradient(135deg, rgba(239, 225, 197, 0.98), rgba(230, 210, 173, 0.94));
  border-color: rgba(17, 32, 23, 0.08);
}

.intro-strip p {
  margin: 0;
  color: var(--ink);
  font-size: 1.22rem;
  text-align: center;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.1;
}

#services {
  background: linear-gradient(180deg, rgba(247, 239, 225, 0.98), rgba(232, 218, 191, 0.96));
  border-color: var(--line-dark);
}

#services .section-heading h2,
#services .service-card h3,
.section-highlight .section-heading h2,
.section-highlight .project-row h3 {
  color: var(--ink);
}

#services .section-heading p,
#services .service-card p,
.section-highlight .section-heading p,
.section-highlight .project-row p {
  color: var(--muted-dark);
}

.service-grid,
.process-grid,
.portfolio-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-grid article,
.evidence-card {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border-radius: 28px;
}

.service-card {
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(17, 32, 23, 0.08);
  box-shadow: 0 18px 34px rgba(57, 45, 24, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 28px 28px 0 0;
}

.service-card:nth-child(1)::before,
.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--forest), var(--sage));
}

.service-card:nth-child(2)::before,
.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--water), #79a5b1);
}

.service-card:nth-child(3)::before,
.service-card:nth-child(6)::before {
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--ink);
  font-family: "Changa", sans-serif;
  font-weight: 700;
  background: rgba(17, 32, 23, 0.06);
}

.service-card h3,
.project-row h3,
.process-grid h3,
.evidence-card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
}

.service-card p,
.project-row p,
.process-grid p,
.evidence-card p {
  margin: 0;
}

.evidence-section {
  background:
    linear-gradient(135deg, rgba(20, 42, 31, 0.96), rgba(12, 24, 19, 0.97));
}

.evidence-section .section-heading h2,
.evidence-section .section-heading p,
.evidence-card h3,
.evidence-card p {
  color: var(--paper-soft);
}

.evidence-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 239, 225, 0.08);
}

.evidence-card:nth-child(1) span {
  color: var(--paper-soft);
  background: rgba(199, 155, 91, 0.18);
}

.evidence-card:nth-child(2) span {
  color: var(--paper-soft);
  background: rgba(79, 125, 139, 0.18);
}

.evidence-card:nth-child(3) span {
  color: var(--paper-soft);
  background: rgba(108, 139, 111, 0.18);
}

.portfolio-section {
  background:
    linear-gradient(180deg, rgba(14, 25, 19, 0.98), rgba(18, 33, 25, 0.98));
}

.portfolio-section .section-heading h2,
.portfolio-section .section-heading p {
  color: var(--paper-soft);
}

.portfolio-grid {
  grid-auto-rows: 250px;
}

.portfolio-card {
  min-height: 250px;
  border: 1px solid rgba(247, 239, 225, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.portfolio-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card:nth-child(2) {
  transform: translateY(24px);
}

.portfolio-card:nth-child(4) {
  transform: translateY(-12px);
}

.signature-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.signature-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 30px;
  border-radius: 38px;
  border: 1px solid rgba(247, 239, 225, 0.1);
  background:
    radial-gradient(circle at top right, rgba(79, 125, 139, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(31, 58, 42, 0.98), rgba(18, 35, 26, 0.98));
  box-shadow: var(--shadow);
}

.signature-copy h2,
.signature-copy p,
.signature-copy li,
.signature-copy .eyebrow,
.brand-badge {
  color: var(--paper-soft);
}

.signature-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.signature-points li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 239, 225, 0.08);
}

.signature-brand {
  display: grid;
  gap: 16px;
  align-content: center;
}

.signature-brand img {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: #fff;
  padding: 16px;
}

.brand-badge {
  padding: 18px;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 239, 225, 0.1);
}

.brand-badge strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.section-highlight {
  background: linear-gradient(180deg, rgba(226, 204, 162, 0.98), rgba(212, 180, 125, 0.96));
  border-color: rgba(17, 32, 23, 0.08);
}

.project-rows {
  display: grid;
  gap: 16px;
}

.project-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 251, 244, 0.66);
  border: 1px solid rgba(17, 32, 23, 0.08);
}

.project-row span,
.process-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-family: "Changa", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.project-row span {
  color: var(--ink);
  background: rgba(17, 32, 23, 0.08);
}

.process-section {
  background:
    linear-gradient(135deg, rgba(17, 35, 26, 0.98), rgba(10, 20, 15, 0.98));
}

.process-section .section-heading h2,
.process-section .section-heading p,
.process-grid h3,
.process-grid p {
  color: var(--paper-soft);
}

.process-grid article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 239, 225, 0.08);
}

.process-grid article:nth-child(1) strong {
  color: var(--paper-soft);
  background: rgba(199, 155, 91, 0.2);
}

.process-grid article:nth-child(2) strong {
  color: var(--paper-soft);
  background: rgba(79, 125, 139, 0.2);
}

.process-grid article:nth-child(3) strong {
  color: var(--paper-soft);
  background: rgba(108, 139, 111, 0.2);
}

.contact-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 38px;
  border: 1px solid rgba(247, 239, 225, 0.1);
  background:
    radial-gradient(circle at right top, rgba(199, 155, 91, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(30, 62, 43, 0.98), rgba(14, 33, 23, 0.98));
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p,
.contact-panel a,
.contact-panel .eyebrow {
  color: #fcf4e8;
}

.contact-panel .button-primary {
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
}

.contact-panel .button-secondary {
  color: #fcf4e8;
  border-color: rgba(252, 244, 232, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px 0;
}

.footer p {
  color: var(--muted-light);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-panel,
  .service-grid,
  .process-grid,
  .signature-panel,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .trust-ribbon,
  .hero-side-stack,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .contact-panel {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1240px);
    padding-top: 12px;
  }

  .hero,
  .section,
  .contact-panel,
  .signature-panel {
    border-radius: 28px;
  }

  .nav,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: space-between;
    gap: 12px 18px;
  }

  h1 {
    font-size: 2.7rem;
    max-width: none;
  }

  .hero,
  .section,
  .contact-panel,
  .signature-panel,
  .service-card,
  .process-grid article,
  .evidence-card,
  .project-row {
    padding: 22px;
  }

  .hero-stats,
  .trust-ribbon,
  .hero-side-stack,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card-large {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    left: 12px;
    bottom: 12px;
    min-width: 82px;
    min-height: 42px;
  }
}