/* =========================================================
   Prudentia Group — prudentia-group.com
   Palette drawn directly from the Prudentia shield logo:
     - Navy    #0c2b40  (primary, wordmark)
     - Tan     #ac9c83  (warm accent, shield outline)
     - Cream   #f6f1e7  (paper background)
   ========================================================= */

:root {
  /* Brand */
  --navy:            #0c2b40;
  --navy-2:          #0f3a52;
  --navy-3:          #17486a;
  --tan:             #ac9c83;
  --tan-2:           #c9b898;
  --tan-soft:        rgba(172, 156, 131, 0.14);
  --tan-line:        rgba(172, 156, 131, 0.55);

  /* Surfaces */
  --paper:           #f6f1e7;
  --paper-2:         #efe8d8;
  --surface:         #fdfaf3;
  --surface-warm:    #f2ead7;
  --ink:             #14212b;
  --ink-muted:       #4c5964;
  --line:            rgba(20, 33, 43, 0.14);
  --line-soft:       rgba(20, 33, 43, 0.08);

  /* Radii + shadows */
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
  --shadow-sm: 0 6px 14px rgba(12, 43, 64, 0.06);
  --shadow-md: 0 20px 44px rgba(12, 43, 64, 0.10);

  /* Layout */
  --content: 1180px;
}

/* ------------------------------ Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: #fff; color: var(--navy);
  padding: 0.75rem 1rem; border: 1px solid var(--line);
}

.container { width: min(var(--content), calc(100% - 2rem)); margin: 0 auto; }

/* ------------------------------ Typography ------------------------------ */
h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1rem;
}
h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
  letter-spacing: 0.005em;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 2px;
  background: var(--tan-soft);
  color: var(--navy);
  border: 1px solid var(--tan-line);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ------------------------------ Header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 241, 231, 0.9);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  /* Logo has a cream backing; multiply blends it into the frosted header cleanly */
  mix-blend-mode: multiply;
  filter: saturate(1.05);
}
.nav-links { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--ink-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-links a:hover {
  color: var(--navy);
  text-decoration: none;
  border-bottom-color: var(--tan);
}
.nav-links a.nav-cta {
  color: var(--navy);
  background: var(--tan-soft);
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  border: 1px solid var(--tan-line);
}
.nav-links a.nav-cta:hover {
  background: var(--tan);
  color: #fff;
  border-color: var(--tan);
  border-bottom-color: var(--tan);
}

/* ------------------------------ Buttons ------------------------------ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-2); }
.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.button-secondary:hover { background: var(--navy); color: #fff; }

/* ------------------------------ Hero ------------------------------ */
.hero { padding: 5.5rem 0 4.5rem; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(172,156,131,0.18), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(12,43,64,0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 3rem;
  align-items: start;
}
.hero-lead {
  font-size: 1.14rem;
  color: var(--ink);
  max-width: 40rem;
  margin-bottom: 0.85rem;
}
.hero-support {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 40rem;
  font-style: italic;
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
}
.trust-bar {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.3rem;
}
.trust-bar li {
  position: relative;
  padding-left: 1.1rem;
}
.trust-bar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--tan);
  border-radius: 50%;
}

/* Hero summary card */
.hero-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.summary-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.summary-item {
  padding: 0.5rem 0 0.5rem 0.9rem;
  border-left: 2px solid var(--tan);
}
.summary-label {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.summary-item p { margin: 0; color: var(--ink); font-size: 0.96rem; }

/* ------------------------------ Sections ------------------------------ */
.section { padding: 5.5rem 0; position: relative; }
.section-muted {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-intro-center {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.intro-lede {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ------------------------------ About / Meet the Buyer ------------------------------ */
.section-about { padding: 6rem 0 4rem; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  gap: 3.5rem;
  align-items: start;
}
.about-copy .lede {
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 3px solid var(--tan);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.about-copy p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin-bottom: 1.15rem;
}
.about-copy p:last-of-type { margin-bottom: 1.5rem; }

.pull-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--tan);
  box-shadow: var(--shadow-md);
}
.pull-quote p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 0.75rem;
}
.pull-quote footer {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-2);
  font-weight: 600;
}

/* Family photo band */
.family-band {
  margin-top: 4.5rem;
}

/* Photo placeholders */
.photo-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.photo-frame-portrait img { aspect-ratio: 4 / 5; }
.photo-frame-wide img { aspect-ratio: 16 / 9; }
.photo-frame-shop img { aspect-ratio: 4 / 3; }
.photo-frame figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  letter-spacing: 0.02em;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(172,156,131,0.10) 0px,
      rgba(172,156,131,0.10) 12px,
      rgba(172,156,131,0.18) 12px,
      rgba(172,156,131,0.18) 24px
    ),
    var(--paper-2);
  color: var(--navy);
}
.photo-placeholder-label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.photo-placeholder-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  max-width: 32ch;
}
.photo-frame-portrait .photo-placeholder { aspect-ratio: 4 / 5; }
.photo-frame-wide .photo-placeholder { aspect-ratio: 16 / 9; }
.photo-frame-shop { margin-top: 1.75rem; }
.photo-frame-shop .photo-placeholder { aspect-ratio: 4 / 3; }

/* ------------------------------ How a Deal Works ------------------------------ */
.section-deal {
  background: linear-gradient(180deg, var(--surface-warm) 0%, var(--paper) 100%);
  border-top: 1px solid var(--tan-line);
  border-bottom: 1px solid var(--tan-line);
}
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.deal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.deal-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  color: var(--tan);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.deal-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
  text-transform: none;
  letter-spacing: 0;
}
.deal-card p {
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

/* ------------------------------ Criteria ------------------------------ */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.criteria-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.criteria-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.criteria-card h3 {
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--tan-line);
  margin-bottom: 0.75rem;
}
.criteria-card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ------------------------------ Difference / Why Prudentia ------------------------------ */
.difference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}
.difference-copy p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.difference-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.difference-card h3 {
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  margin-bottom: 0.55rem;
}
.difference-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ------------------------------ Contact ------------------------------ */
.section-contact {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line-soft);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.contact-copy p { color: var(--ink-muted); font-size: 1rem; margin-bottom: 1rem; }

.contact-details {
  margin: 1.75rem 0 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--tan);
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.7rem;
}
.contact-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.contact-details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tan);
  font-weight: 700;
  margin: 0;
}
.contact-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}
.contact-details .dd-note {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-style: italic;
  margin-left: 0.35rem;
}
.confidentiality {
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  font-style: italic;
}

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-row > div { display: grid; gap: 0.4rem; }
.contact-form label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.contact-form label .optional {
  color: var(--ink-muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.85rem 0.95rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 43, 64, 0.14);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .button { margin-top: 0.5rem; width: 100%; }
.form-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  font-style: italic;
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--navy);
  color: #d8dee4;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer-brand { display: grid; gap: 0.75rem; }
.footer-logo {
  height: 54px;
  width: auto;
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 3px;
}
.footer-tag {
  color: #b6c1cc;
  font-size: 0.9rem;
  margin: 0;
}
.footer-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #b6c1cc;
}
.footer-meta a {
  color: #fff;
  border-bottom: 1px solid var(--tan);
  padding-bottom: 2px;
}
.footer-meta a:hover { color: var(--tan-2); text-decoration: none; }
.footer-meta p { margin: 0; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1000px) {
  .hero-layout,
  .about-layout,
  .difference-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .deal-grid { grid-template-columns: 1fr; }
  .criteria-grid,
  .difference-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 4rem 0; }
  .section-about { padding-top: 4rem; }
}

@media (max-width: 720px) {
  .nav-row {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .nav-links { gap: 0.9rem 1.1rem; }
  .brand-logo { height: 40px; }
  .contact-details div { grid-template-columns: 1fr; gap: 0.15rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .pull-quote { padding: 1.25rem 1.25rem; }
  .pull-quote p { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
