@charset "UTF-8";
/* =========================================================
   Homepage redesign v2 - minimal white base, brand accents
   used sparingly (reference: remote-angels.com structure).
   Reuses tokens, buttons, header, reveal-animation and
   WhatsApp FAB from style.css. This file only styles the
   "hp-" prefixed sections unique to this redesign.
========================================================= */

body.hp { background: var(--color-white); }

.hp-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* ---------- Hero ---------- */
.hp-hero {
  padding-block: var(--space-10) var(--space-9);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M30 170 L170 30 M96 30 L170 30 L170 104' stroke='%231333c5' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' fill='none' stroke-opacity='0.06'/%3E%3C/svg%3E") no-repeat -60px -50px / 340px 340px,
    radial-gradient(560px 380px at 88% -8%, rgba(19, 51, 197, 0.07), transparent 70%),
    radial-gradient(480px 340px at 6% 108%, rgba(242, 187, 6, 0.09), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M0 72L72 0' stroke='%231333c5' stroke-width='1' stroke-opacity='0.05'/%3E%3C/svg%3E") repeat;
}
.hp-hero-inner { max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }
.hp-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.35;
  color: var(--color-dark);
  margin: 0 0 var(--space-5);
}
.hp-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}
.hp-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.hp-hero-cta .btn svg { width: 20px; height: 20px; }

/* ---------- shared section chrome ---------- */
.hp-section { padding-block: var(--space-9); }
.hp-section h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--color-dark);
  text-align: center;
  line-height: 1.4;
  margin: 0 0 var(--space-8);
  max-width: 680px;
  margin-inline: auto;
}

/* ---------- Problem ---------- */
.hp-problem { background: var(--color-light); }
.hp-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 860px) {
  .hp-pillars { grid-template-columns: repeat(3, 1fr); }
}
.hp-pillar {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.hp-pillar-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--color-secondary);
  -webkit-text-stroke: 1.5px var(--color-primary);
  margin-bottom: var(--space-4);
}
.hp-pillar h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-dark);
  margin: 0 0 var(--space-3);
}
.hp-pillar p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}
.hp-quote {
  color: var(--color-primary-darker);
  font-weight: 700;
  font-style: normal;
  background-image: linear-gradient(to top, rgba(242, 187, 6, 0.4) 0 38%, transparent 38%);
  padding-inline: 2px;
}

/* ---------- What you actually need ---------- */
.hp-needs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-needs-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.hp-needs-list li:last-child { border-bottom: none; }
.hp-needs-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-secondary);
  -webkit-text-stroke: 1px var(--color-primary);
  width: 46px;
}
.hp-needs-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.85;
  padding-top: 4px;
}
.hp-needs-list strong { color: var(--color-dark); font-weight: 800; }
.hp-needs-bridge {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  max-width: 640px;
  margin: var(--space-7) auto 0;
}
.hp-needs-bridge--pop {
  background: var(--color-primary-tint);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  border-inline-start: 3px solid var(--color-secondary);
}

/* ---------- Why us ---------- */
.hp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .hp-why-grid { grid-template-columns: 1fr 1fr; }
}
.hp-why-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.hp-why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}
.hp-why-icon svg { width: 24px; height: 24px; }
.hp-why-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin: 0 0 var(--space-3);
}
.hp-why-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Case studies ---------- */
.hp-cases { background: var(--color-light); }
.hp-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .hp-cases-grid { grid-template-columns: repeat(3, 1fr); }
}
.hp-case-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.hp-case-head { height: 40px; display: flex; align-items: center; justify-content: center; }
.hp-case-head img { max-height: 36px; width: auto; }
.hp-case-industry {
  position: absolute;
  top: -16px;
  inset-inline-end: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  border: 3px solid var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.hp-case-industry svg { width: 17px; height: 17px; }
.hp-case-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.hp-case-nums { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.hp-case-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--color-primary-darker);
  line-height: 1;
}
.hp-case-unit { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 600; }
.hp-case-cpl {
  display: inline-flex;
  background: var(--color-secondary);
  color: var(--color-primary-darker);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

/* ---------- Founder bio ---------- */
.hp-founder { background: var(--color-light); }
.hp-founder-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  max-width: 980px;
}
@media (min-width: 780px) {
  .hp-founder-inner { grid-template-columns: 0.8fr 1.2fr; }
}
.hp-founder-photo {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: block;
}
.hp-founder-photo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}
.hp-founder-photo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}
.hp-founder-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  opacity: 0.18;
  filter: blur(3px);
  z-index: 0;
}
.hp-founder-photo--sm {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  max-width: 140px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 4px var(--color-white), 0 8px 24px rgba(19, 51, 197, 0.15);
}
.hp-founder-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-dark);
  margin: 0;
}
.hp-founder-copy p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 var(--space-5);
}
.hp-founder-copy .hp-eyebrow { margin-bottom: var(--space-3); }

/* ---------- Final CTA ---------- */
.hp-final-cta {
  padding-block: var(--space-9);
  text-align: center;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-darker) 100%);
}
.hp-final-cta-inner { max-width: 560px; margin-inline: auto; }
.hp-final-cta h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--color-white);
  margin: 0 0 var(--space-4);
}
.hp-final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 var(--space-7);
}
.hp-final-cta .btn svg { width: 20px; height: 20px; }

/* ---------- Header logo (icon only, no landscape swap) ---------- */
.hp-brand-logo { height: 34px; width: auto; }

/* ---------- Smaller mobile navbar ---------- */
@media (max-width: 639px) {
  body.hp { --header-h: 56px; }
  .hp-brand-logo { height: 22px; }
  .nav-toggle { width: 36px; height: 36px; gap: 4px; }
  .nav-toggle span { width: 18px; }
}

/* ---------- Mobile nav icon ---------- */
.mobile-nav-logo {
  display: block;
  height: 26px;
  width: auto;
  margin: var(--space-6) auto 0;
  opacity: 0.55;
}

/* ---------- AED currency symbol ---------- */
.hp-aed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.72em;
  height: 0.72em;
  margin-inline-end: 0.18em;
  vertical-align: -0.05em;
}
.hp-aed svg { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.hp-faq { background: var(--color-white); }
.hp-faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.hp-faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.hp-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  min-height: 32px;
  color: var(--color-dark);
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}
.hp-faq-item[open] summary::after { transform: rotate(180deg); }
.hp-faq-answer { padding-top: var(--space-3); }
.hp-faq-answer p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Case study name label ---------- */
.hp-case-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: calc(-1 * var(--space-2));
}
.hp-case-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.8;
  margin-top: calc(-1 * var(--space-3));
}
