/* Phrineffacc Landing — kit-specific styles on top of foundations */

* { box-sizing: border-box; }
body { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

/* === Top Nav === */
.nav {
  position: sticky; top: 0; z-index: 50;
  position: -webkit-sticky;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.nav-logo { height: 38px; cursor: pointer; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-link {
  font-size: 14px; color: var(--fg); font-weight: 500;
  cursor: pointer; transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}
.nav-link:hover { color: var(--phn-teal); }
.nav-link.active { color: var(--phn-teal); }
.nav-link.active::after {
  content: ""; position: absolute; bottom: -22px; left: 0; right: 0;
  height: 2px; background: var(--phn-red);
}

/* === Buttons === */
.btn {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  padding: 11px 24px; border-radius: 999px; border: none;
  cursor: pointer; letter-spacing: 0.02em;
  transition: all var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--phn-red); color: #fff; box-shadow: var(--shadow-inset-bevel), var(--shadow-sm); }
.btn-primary:hover { background: var(--phn-red-80); transform: translateY(-1px); box-shadow: var(--shadow-inset-bevel), var(--shadow-md); }
.btn-primary:active { transform: translateY(1px); }
.btn-dark { background: var(--phn-navy); color: #fff; }
.btn-dark:hover { background: var(--phn-navy-90); }
.btn-outline { background: transparent; color: var(--phn-navy); border: 1.5px solid var(--phn-navy); }
.btn-outline:hover { background: var(--phn-navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--phn-teal); padding: 8px 12px; }
.btn-ghost:hover { background: var(--phn-teal-10); }
.btn-lg { padding: 14px 30px; font-size: 15px; }

/* === Hero === */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, var(--phn-navy-05) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { color: var(--phn-teal); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow .losango { width: 10px; height: 10px; background: var(--phn-red); transform: rotate(45deg); box-shadow: var(--shadow-inset-bevel); flex-shrink: 0; }
.hero-title { font-family: var(--font-display); font-weight: 300; font-size: 56px; line-height: 1.08; letter-spacing: 0.01em; color: var(--phn-navy); margin: 0 0 22px; }
.hero-title strong { font-weight: 500; color: var(--phn-teal); }
.hero-title em { font-style: normal; letter-spacing: 0.42em; text-transform: uppercase; font-weight: 300; font-size: 0.55em; color: var(--phn-red); display: block; margin-top: 10px; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--fg-muted); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-mark { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-mark img { width: 100%; max-width: 480px; height: auto; }

/* Decorative spaced-caps strip behind hero */
.hero-strip {
  position: absolute; left: 0; right: 0; bottom: -20px;
  font-family: var(--font-display); font-weight: 300;
  font-size: 110px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--phn-navy); opacity: 0.04;
  white-space: nowrap; pointer-events: none;
  text-align: center;
}

/* === Section === */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--phn-navy); color: #fff; }
.section-soft { background: var(--phn-navy-05); }

.section-eyebrow { color: var(--phn-teal); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.section-dark .section-eyebrow { color: #8fb8b8; }
.section-title { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1.15; letter-spacing: 0.01em; color: var(--phn-navy); margin: 0 0 18px; max-width: 760px; }
.section-dark .section-title { color: #fff; }
.section-sub { font-size: 17px; line-height: 1.65; color: var(--fg-muted); max-width: 680px; margin: 0; }
.section-dark .section-sub { color: #c1c8d2; }

/* === Service grid === */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.svc-card {
  background: #fff; border: 1px solid var(--phn-gray-cool); border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out); cursor: pointer; position: relative;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--phn-teal-20); }
.svc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--phn-teal-10); color: var(--phn-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.svc-title { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--phn-navy); margin: 0 0 10px; }
.svc-body { font-size: 14px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

/* === PHRINEFFACC manifesto === */
.manifesto-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: 8px; margin-top: 40px; }
.manifesto-tile {
  aspect-ratio: 1 / 1.1; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; transition: all 220ms;
  padding: 8px;
}
.manifesto-tile:hover { background: rgba(255,255,255,0.10); transform: translateY(-2px); }
.manifesto-tile.active { background: var(--phn-red); border-color: var(--phn-red); }
.manifesto-glyph { font-family: var(--font-display); font-weight: 300; font-size: 32px; color: #fff; letter-spacing: 0.02em; }
.manifesto-word { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb8b8; text-align: center; }
.manifesto-tile.active .manifesto-word { color: rgba(255,255,255,0.85); }
.manifesto-detail {
  margin-top: 28px; padding: 32px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  min-height: 140px;
}
.manifesto-detail h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: #fff; margin: 0 0 12px; }
.manifesto-detail p { font-size: 15px; line-height: 1.65; color: #c1c8d2; margin: 0; }

/* === Quote === */
.quote {
  font-family: var(--font-display); font-weight: 300;
  font-size: 32px; line-height: 1.4; letter-spacing: 0.01em;
  color: var(--phn-navy); max-width: 880px; margin: 0 auto;
  text-align: center;
}
.quote em { font-style: normal; color: var(--phn-red); letter-spacing: 0.42em; text-transform: uppercase; font-size: 0.7em; }
.quote-attr { display: block; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin-top: 24px; font-weight: 600; }

/* === Stats === */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
.stat-num { font-family: var(--font-display); font-weight: 300; font-size: 56px; line-height: 1; color: #fff; letter-spacing: 0.01em; }
.stat-num span { color: var(--phn-red); }
.stat-lbl { font-size: 13px; line-height: 1.5; color: #c1c8d2; margin-top: 12px; max-width: 220px; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--fg); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  font: 400 14px var(--font-body); color: var(--fg);
  padding: 12px 14px; border: 1px solid var(--phn-gray-cool);
  border-radius: 8px; background: #fff; outline: none;
  transition: all 140ms;
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--font-body); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--phn-teal);
  box-shadow: 0 0 0 3px rgba(50,100,100,0.18);
}

.contact-info { padding: 32px; border-radius: 14px; background: var(--phn-navy); color: #fff; }
.contact-info h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 18px; color: #fff; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; color: #c1c8d2; }
.contact-row svg { width: 18px; height: 18px; color: #8fb8b8; flex-shrink: 0; }

/* === Footer === */
.footer { background: var(--phn-navy); color: #c1c8d2; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 44px; margin-bottom: 18px; }
.footer h5 { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: #fff; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li { font-size: 13px; color: #c1c8d2; cursor: pointer; transition: color 140ms; }
.footer li:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: #8fb8b8; }

/* === Decision marker (losango) === */
.losango-marker { display: inline-block; width: 12px; height: 12px; background: var(--phn-red); transform: rotate(45deg); box-shadow: var(--shadow-inset-bevel); vertical-align: middle; margin-right: 10px; }

/* === Mobile menu trigger === */
.nav-burger {
  display: none;
  background: transparent; border: none; padding: 8px;
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 24px; height: 24px; color: var(--phn-navy); }
.nav-mobile-panel {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: #ffffff; padding: 22px 24px 28px;
  flex-direction: column; gap: 2px;
  border-top: 1px solid var(--divider-soft);
  box-shadow: 0 16px 40px rgba(0,20,50,0.14);
  animation: slideIn 220ms var(--ease-out);
}
.nav-mobile-panel.open { display: flex; }
.nav:has(.nav-mobile-panel.open)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 100vh; background: rgba(0,20,50,0.45); z-index: 55;
  animation: fadeIn 220ms var(--ease-out);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.nav-mobile-panel .nav-link {
  font-size: 18px; padding: 14px 0;
  border-bottom: 1px solid var(--divider-soft);
}
.nav-mobile-panel .nav-link.active::after { display: none; }
.nav-mobile-panel .btn { margin-top: 18px; align-self: flex-start; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* === Responsive — tablet === */
@media (max-width: 960px) {
  .container, .container-narrow { padding: 0 22px; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-mark { order: -1; }
  .hero-mark img { max-width: 320px; }
  .hero-strip { font-size: 64px; bottom: -10px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 15px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc-card { padding: 22px; }
  .manifesto-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .manifesto-glyph { font-size: 26px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* === Responsive — phone === */
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 18px; }
  .nav-inner { height: 64px; }
  .nav-logo { height: 30px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 40px 0 56px; }
  .hero-mark img { max-width: 220px; }
  .hero-strip { font-size: 44px; letter-spacing: 0.32em; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .hero-title { font-size: 32px; line-height: 1.12; }
  .hero-title em { font-size: 0.42em; letter-spacing: 0.32em; }
  .hero-sub { font-size: 15px; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 12px 22px; font-size: 14px; }

  .section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
  .section-eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  .svc-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .svc-card { padding: 20px; }
  .svc-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .svc-title { font-size: 17px; }

  .manifesto-grid { grid-template-columns: repeat(4, 1fr); }
  .manifesto-tile { aspect-ratio: 1 / 1.05; padding: 6px; }
  .manifesto-glyph { font-size: 24px; }
  .manifesto-word { font-size: 8px; }
  .manifesto-detail { padding: 22px; margin-top: 22px; }
  .manifesto-detail h4 { font-size: 18px; }
  .manifesto-detail p { font-size: 14px; }

  .quote { font-size: 22px; line-height: 1.45; }
}
