/* ═══════════════════════════════════════════════════════════
   PHILIPPIANS 4:13 — Full Redesign with Pyramid Aesthetic
   Color palette extracted from logo: gold pyramid on black
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  /* Core palette from logo */
  --gold-bright:  #F5C518;
  --gold-main:    #E8B016;
  --gold-deep:    #C8900A;
  --gold-muted:   #A87020;
  --gold-glow:    rgba(232, 176, 22, 0.18);
  --gold-line:    rgba(245, 197, 24, 0.22);

  /* Dark backgrounds */
  --bg-void:      #060504;
  --bg-dark:      #0C0A06;
  --bg-panel:     rgba(14, 11, 5, 0.92);
  --bg-card:      rgba(20, 16, 6, 0.88);
  --bg-card-edge: rgba(232, 176, 22, 0.08);

  /* Text */
  --text-bright:  #FFF8E7;
  --text-main:    #F0DFA0;
  --text-muted:   #B89850;
  --text-dim:     #7A6030;

  /* Accents */
  --accent:       #F5C518;
  --accent-hover: #FFD740;
  --whatsapp:     #25D366;

  /* Angular clip values */
  --clip-sm:   8px;
  --clip-md:   16px;
  --clip-lg:   24px;

  --max-width: 1200px;
  --shadow-gold: 0 8px 40px rgba(232, 176, 22, 0.15), 0 2px 8px rgba(0,0,0,0.6);
  --shadow-deep: 0 24px 64px rgba(0,0,0,0.7);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Body ─────────────────────────────────────────────── */
body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-void);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232,176,22,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(200,144,10,0.07) 0%, transparent 50%),
    linear-gradient(160deg, #0e0b04 0%, #060504 40%, #0a0804 70%, #060504 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Pyramid corner clip utility ─────────────────────── */
/* Sharp angular corners — mirrors the pyramid geometry */
.clip-tl   { clip-path: polygon(var(--clip-md) 0%, 100% 0%, 100% 100%, 0% 100%, 0% var(--clip-md)); }
.clip-tr   { clip-path: polygon(0% 0%, calc(100% - var(--clip-md)) 0%, 100% var(--clip-md), 100% 100%, 0% 100%); }
.clip-br   { clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - var(--clip-md)), calc(100% - var(--clip-md)) 100%, 0% 100%); }
.clip-bl   { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, var(--clip-md) 100%, 0% calc(100% - var(--clip-md))); }
.clip-all  { clip-path: polygon(var(--clip-lg) 0%, calc(100% - var(--clip-lg)) 0%, 100% var(--clip-lg), 100% calc(100% - var(--clip-lg)), calc(100% - var(--clip-lg)) 100%, var(--clip-lg) 100%, 0% calc(100% - var(--clip-lg)), 0% var(--clip-lg)); }
.clip-card { clip-path: polygon(var(--clip-md) 0%, 100% 0%, 100% calc(100% - var(--clip-md)), calc(100% - var(--clip-md)) 100%, 0% 100%, 0% var(--clip-md)); }

/* ── Gold border line ─────────────────────────────────── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
  margin: 16px 0;
}

/* ── Sketch background SVG ────────────────────────────── */
.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.sketch-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.sketch-svg { width: 100%; height: 100%; }

.scribble-set {
  filter: drop-shadow(0 0 6px rgba(232, 176, 22, 0.10));
}

.home-scribble {
  transform-origin: 58% 50%;
  animation: graphiteFloat 8s ease-in-out infinite;
}

.draw {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.07;
  vector-effect: non-scaling-stroke;
}

.pencil          { stroke: rgba(245, 197, 24, 0.80); stroke-width: 2.4; }
.pencil.soft     { stroke: rgba(245, 197, 24, 0.35); stroke-width: 1.4; }
.pencil.detail   { stroke-width: 2; }
.pencil.notes    { stroke-width: 1.6; stroke-dasharray: 10 16; }
.pencil.hatch    { stroke-width: 1.15; stroke-dasharray: 4 12; }
.pencil.earth    { stroke: rgba(220, 170, 60, 0.40); stroke-width: 3.2; }

@keyframes graphiteFloat {
  0%   { transform: translate3d(0, 0, 0) rotate(-0.3deg); }
  50%  { transform: translate3d(0, 10px, 0) rotate(0.3deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-0.3deg); }
}

/* ── Header ───────────────────────────────────────────── */
.site-header,
main { position: relative; z-index: 1; }

.site-header {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 22px auto 0;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(8, 6, 2, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-top: 2px solid var(--gold-main);
  /* Pyramid-cut corners on header */
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  box-shadow: 0 0 0 1px rgba(245,197,24,0.08), var(--shadow-deep);
}

/* ── Brand logo in header ─────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-logo-img {
  filter: drop-shadow(0 0 20px rgba(245, 197, 24, 0.80));
  transform: scale(1.06);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy span:last-child {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Nav ──────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid transparent;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--gold-bright);
  background: rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.25);
}

/* ── Main content ─────────────────────────────────────── */
main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 100px;
}

.section { padding: 100px 0 24px; }

/* ── Eyebrow / tag labels ─────────────────────────────── */
.eyebrow, .mini-tag, .card-label, .section-tag {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before, .section-tag::before {
  content: "◆";
  font-size: 0.55rem;
  color: var(--gold-main);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding-top: 80px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--text-bright);
  margin: 16px 0 0;
  /* Gold gradient on title */
  background: linear-gradient(145deg, #FFF8E7 30%, #F5C518 65%, #C8900A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 20px;
}

/* ── Bible verse callout ─────────────────────────────── */
.verse-banner {
  margin: 24px 0;
  padding: 16px 22px;
  background: rgba(232, 176, 22, 0.07);
  border-left: 3px solid var(--gold-main);
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%);
}

.verse-banner p {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--gold-bright);
  line-height: 1.6;
}

.verse-banner cite {
  display: block;
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Action buttons ───────────────────────────────────── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-bright));
  color: #0C0800;
  font-weight: 900;
  box-shadow: 0 4px 24px rgba(232, 176, 22, 0.4);
}

.button-secondary {
  background: rgba(245, 197, 24, 0.08);
  color: var(--gold-bright);
  border: 1px solid rgba(245, 197, 24, 0.30);
}

.button-whatsapp {
  background: linear-gradient(135deg, #1a9e50, var(--whatsapp));
  color: #050f07;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* ── Hero logo card (right side) ─────────────────────── */
.hero-logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(232,176,22,0.14) 0%, transparent 65%),
    rgba(12, 9, 3, 0.80);
  border: 1px solid rgba(245, 197, 24, 0.20);
  clip-path: polygon(24px 0%, 100% 0%, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0% 100%, 0% 24px);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Decorative corner lines */
.hero-logo-card::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 36px; height: 36px;
  border-top: 2px solid var(--gold-main);
  border-left: 2px solid var(--gold-main);
  opacity: 0.6;
}
.hero-logo-card::after {
  content: "";
  position: absolute;
  bottom: 14px; right: 14px;
  width: 36px; height: 36px;
  border-bottom: 2px solid var(--gold-main);
  border-right: 2px solid var(--gold-main);
  opacity: 0.6;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-big {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 30px rgba(245, 197, 24, 0.55))
    drop-shadow(0 0 70px rgba(232, 176, 22, 0.25));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(245,197,24,0.5)) drop-shadow(0 0 60px rgba(232,176,22,0.22)); }
  50%       { filter: drop-shadow(0 0 46px rgba(245,197,24,0.80)) drop-shadow(0 0 90px rgba(245,197,24,0.35)); }
}

/* ── Page hero (subpages) ─────────────────────────────── */
.page-hero {
  min-height: calc(88vh - 150px);
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* ── Cards (service, contact, stats) ─────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.14);
  clip-path: polygon(var(--clip-md) 0%, 100% 0%, 100% calc(100% - var(--clip-md)), calc(100% - var(--clip-md)) 100%, 0% 100%, 0% var(--clip-md));
  padding: 28px 30px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s;
  box-shadow: var(--shadow-gold);
}

.card:hover {
  border-color: rgba(245, 197, 24, 0.32);
  transform: translateY(-3px);
}

/* ── Section headings ─────────────────────────────────── */
.section-heading { max-width: 780px; margin-bottom: 36px; }

.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin-top: 12px;
}

/* ── Services grid ────────────────────────────────────── */
.service-grid { display: grid; gap: 20px; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.14);
  clip-path: polygon(14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0% 100%, 0% 14px);
  padding: 28px 30px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  box-shadow: var(--shadow-gold);
}

.service-card:hover {
  border-color: rgba(245, 197, 24, 0.35);
  transform: translateY(-4px);
  background: rgba(26, 20, 6, 0.95);
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin: 10px 0 10px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
}

.inline-link::after { content: " →"; }

/* ── Stats strip ──────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.stats .stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.14);
  clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
  padding: 28px 24px;
}

.stats .stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats .stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

/* ── Credentials/badges row ───────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 197, 24, 0.07);
  border: 1px solid rgba(245, 197, 24, 0.22);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
}

.badge-icon { font-size: 1rem; }

/* ── Features list ────────────────────────────────────── */
.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "◆";
  color: var(--gold-main);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── Services list (simple 2-col) ─────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 20px;
}

.services-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.98rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(245,197,24,0.08);
  padding-bottom: 10px;
}

.services-list li::before {
  content: "▸";
  color: var(--gold-main);
  flex-shrink: 0;
}

/* ── Contact section ──────────────────────────────────── */
.contact-card {
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.18);
  clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
  padding: 40px 44px;
  box-shadow: var(--shadow-gold);
}

.contact-link {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--gold-bright);
  margin: 14px 0 6px;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--accent-hover); }

/* ── Divider line ─────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,24,0.25), transparent);
  margin: 16px 0;
}

/* ── Reveal animation ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.70s ease, transform 0.70s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Pyramid decorative background element ────────────── */
.pyramid-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(245,197,24,0.12);
  background: rgba(6,5,2,0.7);
}

.site-footer p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-footer strong { color: var(--gold-muted); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1060px) {
  .service-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-logo-card { min-height: 300px; }
  .hero-logo-big { max-width: 220px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    clip-path: none;
    border-radius: 4px;
  }
  .site-nav { flex-wrap: wrap; gap: 6px; }
  .service-grid-3, .service-grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .services-list { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; clip-path: none; }
  .button { clip-path: none; }
  .hero { padding-top: 50px; }
}

@media (max-width: 480px) {
  .brand-logo-img { width: 44px; height: 44px; }
  .hero-logo-big { max-width: 170px; }
  .hero-actions .button { width: 100%; }
}
