/* =====================================================================
   landing-ph.css — joemarvillalobos.com
   ---------------------------------------------------------------------
   Page-scoped styles for the Philippines (international hire-me) batch:
     /services/seo/seo-philippines/
     /services/seo/local-seo/local-seo-philippines/
     /services/gmb/gmb-philippines/
     /services/web-development/web-development-philippines/
     /services/ai-seo/ai-seo-philippines/
     /services/aeo/aeo-philippines/
     /services/geo/geo-philippines/
     /services/llm-seo/llm-seo-philippines/
     /services/web-design/web-design-philippines/
     /services/content-creation/content-creation-philippines/
     /services/audits/audits-philippines/

   Audience: AU, US, SG (and global) buyers hiring from the Philippines.
   Visual differentiation from the Pasig batch is intentional — different
   palette (navy + emerald) so search engines treat the two batches as
   genuinely different pages, not near-duplicates.

   Class prefix: .ph- to avoid clashes with the Pasig .pp- classes.
   Loaded AFTER components.css.
   ===================================================================== */

:root {
  --ph-navy:        #0a1628;
  --ph-navy-2:      #0e1f3a;
  --ph-navy-3:      #15294d;
  --ph-emerald:     #10b981;
  --ph-emerald-dk:  #047857;   /* WCAG AA-compliant on white for text */
  --ph-emerald-sf:  #6ee7b7;
  --ph-mint:        #ecfdf5;   /* light tint for soft sections */
  --ph-light:       #f6faf8;
  --ph-text-dark:   #0e1a2b;
  --ph-text-muted:  #56657a;
  --ph-border:      #d1fae5;
  --ph-border-2:    #e5eaf0;
}

main#main {
  background: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Light-background defaults. Specificity intentionally class+element so
   dark-section overrides (.ph-hero, .ph-spotlight, .ph-contact) defined
   later in this file win on cascade. */
.ph-section {
  color: var(--ph-text-dark);
  padding-block: clamp(64px, 9vw, 112px);
}
.ph-section--soft { background: var(--ph-light); }
.ph-section--mint { background: var(--ph-mint); }
.ph-section h2 { color: var(--ph-navy); font-weight: 700; letter-spacing: -0.024em; }
.ph-section h3 { color: var(--ph-navy); font-weight: 600; }
.ph-section p  { line-height: 1.7; }
.ph-section a  { color: var(--ph-emerald-dk); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ph-section a:hover { color: var(--ph-navy); }

.ph-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}
.ph-container--narrow { max-width: 880px; }

.ph-section__head { max-width: 760px; margin-bottom: 48px; }
.ph-section__head--center { text-align: center; margin-inline: auto; }
.ph-eyebrow {
  display: inline-block;
  color: var(--ph-emerald-dk);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ph-section h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 16px;
}
.ph-lead {
  font-size: 1.08rem;
  color: var(--ph-text-muted);
  max-width: 62ch;
}

/* ========================================================== HERO ===== */
.ph-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 540px at 85% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(110, 231, 183, 0.10), transparent 70%),
    linear-gradient(140deg, var(--ph-navy) 0%, var(--ph-navy-2) 60%, var(--ph-navy-3) 100%);
  isolation: isolate;
}
/* Subtle world-grid pattern overlay (CSS only, no images) */
.ph-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: -1;
}
.ph-hero__inner {
  display: grid;
  gap: 28px;
  align-content: center;
  min-height: clamp(540px, 64vh, 720px);
  padding-block: clamp(80px, 12vh, 140px);
}
.ph-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  width: max-content;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 999px;
  color: var(--ph-emerald-sf);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ph-hero__eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ph-emerald);
  box-shadow: 0 0 12px var(--ph-emerald);
  animation: phPulse 2.4s ease-in-out infinite;
}
@keyframes phPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
.ph-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: #fff;
  max-width: 24ch;
}
.ph-hero h1 .ph-mark { color: var(--ph-emerald); }
.ph-hero__lead {
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}
.ph-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ph-btn--primary {
  background: var(--ph-emerald);
  color: var(--ph-navy);
  box-shadow: 0 10px 30px -12px rgba(16, 185, 129, 0.7);
}
.ph-btn--primary:hover {
  background: #34d399;
  transform: translateY(-2px);
  color: var(--ph-navy);
  box-shadow: 0 16px 38px -10px rgba(16, 185, 129, 0.85);
}
.ph-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
.ph-btn--ghost:hover {
  border-color: var(--ph-emerald);
  color: var(--ph-emerald);
}

/* Hero trust strip — country flags via emoji + tagline */
.ph-hero__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}
.ph-hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.ph-hero__flag-emoji {
  font-size: 1.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ============================================== TIMEZONE STRIP ====== */
.ph-tz {
  background: linear-gradient(180deg, var(--ph-navy-3) 0%, var(--ph-navy-2) 100%);
  color: #fff;
  padding-block: 36px;
  border-top: 1px solid rgba(16, 185, 129, 0.18);
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
}
.ph-tz__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  align-items: center;
}
.ph-tz__cell {
  text-align: center;
}
.ph-tz__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ph-emerald-sf);
  margin-bottom: 6px;
  font-weight: 700;
}
.ph-tz__value {
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
}
.ph-tz__value-sub {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
  font-weight: 400;
}

/* ====================================================== PAIN ========= */
.ph-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.ph-pain-card {
  background: #fff;
  border: 1px solid var(--ph-border-2);
  border-left: 4px solid var(--ph-emerald);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ph-pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(10, 22, 40, 0.25);
  border-left-color: var(--ph-emerald-dk);
}
.ph-pain-card blockquote {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ph-navy);
  line-height: 1.4;
}
.ph-pain-card blockquote::before { content: "\201C"; color: var(--ph-emerald-dk); margin-right: 2px; font-weight: 700; }
.ph-pain-card blockquote::after  { content: "\201D"; color: var(--ph-emerald-dk); margin-left: 2px; font-weight: 700; }
.ph-pain-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ph-text-muted);
  line-height: 1.55;
}

/* ============================================ EXPLAINER + GLOBE ====== */
.ph-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .ph-explainer { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}
.ph-globe {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, var(--ph-navy-3) 0%, var(--ph-navy) 70%);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 40, 0.5);
}
.ph-globe::before {
  /* longitude/latitude grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 90% 1px at 50% 50%, rgba(110, 231, 183, 0.18) 50%, transparent 60%),
    radial-gradient(ellipse 70% 1px at 50% 30%, rgba(110, 231, 183, 0.12) 50%, transparent 60%),
    radial-gradient(ellipse 70% 1px at 50% 70%, rgba(110, 231, 183, 0.12) 50%, transparent 60%),
    radial-gradient(ellipse 1px 90% at 50% 50%, rgba(110, 231, 183, 0.18) 50%, transparent 60%),
    radial-gradient(ellipse 1px 70% at 30% 50%, rgba(110, 231, 183, 0.12) 50%, transparent 60%),
    radial-gradient(ellipse 1px 70% at 70% 50%, rgba(110, 231, 183, 0.12) 50%, transparent 60%);
  pointer-events: none;
}
.ph-globe::after {
  /* dot pattern (continents feel) */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(110, 231, 183, 0.18) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  mix-blend-mode: screen;
  pointer-events: none;
}
.ph-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ph-emerald);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.22), 0 0 0 14px rgba(16, 185, 129, 0.10);
  z-index: 2;
}
.ph-pin--ph { top: 56%;  left: 70%;  background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 0 0 14px rgba(255, 255, 255, 0.10); }
.ph-pin--au { top: 76%;  left: 78%; }
.ph-pin--sg { top: 62%;  left: 60%; }
.ph-pin--us { top: 36%;  left: 24%; }
.ph-pin-tag {
  position: absolute;
  z-index: 3;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ph-pin-tag--ph { top: 50%;  left: 56%; }
.ph-pin-tag--au { top: 70%;  left: 60%; }
.ph-pin-tag--sg { top: 56%;  left: 38%; }
.ph-pin-tag--us { top: 30%;  left: 36%; }

.ph-explainer__body p { font-size: 1.04rem; }

/* ============================================ INCLUDED (6 items) ===== */
.ph-included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.ph-included__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--ph-border-2);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ph-included__item:hover {
  border-color: var(--ph-emerald);
  transform: translateY(-2px);
}
.ph-included__num {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--ph-navy);
  color: var(--ph-emerald);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 1.08rem;
}
.ph-included__item h3 { margin: 0 0 6px; font-size: 1.06rem; }
.ph-included__item p { margin: 0; color: var(--ph-text-muted); font-size: 0.95rem; }

/* ====================================== WHY HIRE FROM PH (NEW) ======= */
.ph-spotlight {
  background: linear-gradient(155deg, var(--ph-navy) 0%, var(--ph-navy-2) 60%, var(--ph-navy-3) 100%);
  color: #fff;
}
.ph-spotlight h2 { color: #fff; }
.ph-spotlight p  { color: rgba(255, 255, 255, 0.92); }
.ph-spotlight__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.ph-spotlight__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 14px;
  padding: 26px 24px;
}
.ph-spotlight__card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ph-emerald-sf);
  margin: 0 0 10px;
}
.ph-spotlight__card-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.16);
  display: grid; place-items: center;
  color: var(--ph-emerald);
}
.ph-spotlight__card-icon svg { width: 18px; height: 18px; }
.ph-spotlight__card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* =============================================== PROOF (testimonials) */
.ph-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}
.ph-proof-card {
  background: #fff;
  border: 1px solid var(--ph-border-2);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 1px 3px rgba(10, 22, 40, 0.05);
  position: relative;
}
.ph-proof-card__flag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.1rem;
  line-height: 1;
}
.ph-proof-card--results {
  background: linear-gradient(155deg, var(--ph-navy) 0%, var(--ph-navy-3) 100%);
  color: #fff;
  border: none;
}
.ph-proof-card--results h3 { color: #fff; }
.ph-proof-card__quote {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ph-text-dark);
  margin: 0 0 18px;
}
.ph-proof-card__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ph-border-2);
}
.ph-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ph-emerald);
  color: var(--ph-navy);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.92rem;
}
.ph-proof-card__name { display: block; font-weight: 700; color: var(--ph-navy); font-size: 0.95rem; }
.ph-proof-card__role { display: block; color: var(--ph-text-muted); font-size: 0.84rem; margin-top: 2px; }

.ph-results-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.ph-results-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ph-results-list li:last-child { border-bottom: none; }
.ph-results-list strong {
  color: var(--ph-emerald);
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
  min-width: 90px;
}
.ph-results-list span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
}

.ph-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--ph-border-2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ph-border-2);
}
.ph-strip__item {
  background: #fff;
  padding: 24px;
  text-align: center;
}
.ph-strip__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ph-navy);
  line-height: 1;
  margin-bottom: 6px;
}
.ph-strip__value--accent { color: var(--ph-emerald-dk); }
.ph-strip__label { font-size: 0.86rem; color: var(--ph-text-muted); }

/* ===================================================== FAQ =========== */
.ph-faq { max-width: 840px; margin: 0 auto; }
.ph-faq__item {
  background: #fff;
  border: 1px solid var(--ph-border-2);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.ph-faq__item:hover { border-color: var(--ph-emerald); }
.ph-faq__item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ph-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ph-faq__item summary::-webkit-details-marker { display: none; }
.ph-faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--ph-emerald-dk);
  font-weight: 400;
  flex-shrink: 0;
}
.ph-faq__item[open] summary::after { content: "−"; }
.ph-faq__item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--ph-text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

/* ================================================ CONTACT =========== */
.ph-contact {
  background: linear-gradient(155deg, var(--ph-navy) 0%, var(--ph-navy-2) 100%);
  color: #fff;
}
.ph-contact h2 { color: #fff; }
.ph-contact p  { color: rgba(255, 255, 255, 0.82); }
.ph-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .ph-contact__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
.ph-contact__form {
  background: #fff;
  color: var(--ph-text-dark);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.ph-contact__form label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ph-navy);
  margin-bottom: 6px;
}
.ph-contact__form input,
.ph-contact__form textarea,
.ph-contact__form select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--ph-border-2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ph-text-dark);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  background: #fff;
}
.ph-contact__form input:focus,
.ph-contact__form textarea:focus,
.ph-contact__form select:focus {
  outline: none;
  border-color: var(--ph-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.ph-field { margin-bottom: 18px; }
.ph-form-row { display: grid; gap: 14px; }
@media (min-width: 600px) {
  .ph-form-row { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.ph-contact__form button {
  width: 100%;
  padding: 16px 24px;
  background: var(--ph-emerald);
  color: var(--ph-navy);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ph-contact__form button:hover { background: #34d399; transform: translateY(-1px); }
.ph-contact__alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ph-border-2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--ph-text-muted);
}
.ph-contact__alt a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ph-navy);
  font-weight: 700;
  text-decoration: none;
}
.ph-contact__alt a:hover { color: var(--ph-emerald-dk); }
.ph-contact__side ul {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: grid; gap: 14px;
}
.ph-contact__side li::before {
  content: "✓";
  color: var(--ph-emerald);
  margin-right: 10px;
  font-weight: 700;
}
