/* =====================================================================
   Pacific Cornerstone Consulting — site stylesheet
   Clean, professional estate-planning / financial-advisory theme.
   Palette: deep navy + warm gold + cream. Serif headings, sans body.
   ===================================================================== */

:root {
  --navy:      #4c6c73;   /* brand teal-slate (primary) */
  --navy-2:    #5c7f86;   /* lighter teal (hovers, gradients) */
  --navy-3:    #2e4247;   /* deep teal (footer, hero, dark sections) */
  --gold:      #97897a;   /* brand warm stone / taupe (accent) */
  --gold-2:    #c9bcac;   /* light stone (highlights on dark) */
  --cream:     #f5f5f5;   /* brand soft gray section bg */
  --cream-2:   #e8e8e6;
  --ink:       #232a2c;
  --muted:     #5f6b6d;
  --line:      #e3e2df;
  --white:     #ffffff;
  --shadow:    0 18px 40px -20px rgba(46, 66, 71, .38);
  --shadow-sm: 0 8px 22px -12px rgba(46, 66, 71, .30);
  --radius:    14px;
  --maxw:      1160px;
  --serif:     "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:      "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--navy-2); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-3); color: #d9e2e3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .78rem; color: var(--gold);
  margin-bottom: 14px;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.text-center { text-align: center; }
.center-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 14px 30px; border-radius: 40px; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  letter-spacing: .01em;
}
.btn--gold { background: var(--navy); color: #fff; }
.btn--gold:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--navy { background: var(--navy-3); color: var(--white); }
.btn--navy:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 16px 38px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.16rem; letter-spacing: .02em; }
.brand__sub  { font-family: var(--sans); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .97rem; position: relative; padding: 6px 0; }
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.nav__cta { margin-left: 6px; }
.nav__cta .btn,
.nav__cta .btn:link,
.nav__cta .btn:visited,
.nav__cta .btn:hover,
.nav__cta .btn:focus,
.nav__cta .btn:active { color: #fff; padding: 10px 24px; font-size: .92rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  padding: 130px 0 120px;
  background-size: cover; background-position: center;
  background-color: var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,66,71,.70), rgba(46,66,71,.86));
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero__sub { font-size: 1.2rem; color: #e7edf4; max-width: 60ch; margin: 0 auto 30px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero--inner { padding: 96px 0 84px; }
.rotator { color: var(--gold-2); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 58px; height: 58px; object-fit: contain; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------- Feature list (financial guidance) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 46px; }
.feature h3 { color: var(--white); font-size: 1.2rem; display: flex; align-items: center; gap: 12px; }
.feature h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.feature p { color: #c4d1de; margin-bottom: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
}
.price-card__head { background: var(--navy); color: var(--white); padding: 28px 30px 24px; text-align: center; }
.price-card__name { letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--gold-2); font-weight: 600; }
.price-card__amt { font-family: var(--serif); font-size: 2.8rem; margin: 6px 0 2px; }
.price-card__note { font-size: .85rem; color: #b9c6d4; }
.price-card__body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-card li { position: relative; padding-left: 30px; color: var(--ink); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; text-align: center; }

/* Standard (Living Trusts) card — filled with its header's medium teal */
.price-card--standard { background: var(--navy); border-color: var(--navy); }
.price-card--standard .price-card__head { background: transparent; }
.price-card--standard .price-card__body { color: #eef3f3; }
.price-card--standard li { color: #eef3f3; }
.price-card--standard li::before { color: var(--gold-2); }

/* Premium (Complete Estate Plans) card — darker shade for a more premium feel */
.price-card--premium { background: var(--navy-3); border-color: var(--navy-3); box-shadow: var(--shadow); }
.price-card--premium .price-card__head { background: transparent; }
.price-card--premium .price-card__body { color: #dbe4e5; }
.price-card--premium li { color: #dbe4e5; }
.price-card--premium li::before { color: var(--gold-2); }
.price-card--premium .btn,
.price-card--premium .btn:visited { background: var(--gold-2); color: var(--navy-3); }
.price-card--premium .btn:hover { background: #d8cdbe; color: var(--navy-3); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.contact-card { text-align: center; padding: 30px 22px; }
.contact-card img { width: 46px; height: 46px; object-fit: contain; margin: 0 auto 14px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; }
.contact-card a:hover { color: var(--gold); }

.form-wrap { max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); color: var(--ink); transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(76,108,115,.20); }
.field textarea { min-height: 140px; resize: vertical; }
.map-embed { margin-top: 54px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .96rem; text-align: center; }
.form-status.success { background: #e9f1ec; color: #1f5134; border: 1px solid #bcd9c6; }
.form-status.error   { background: #fbeaea; color: #8a2b2b; border: 1px solid #f0c4c4; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d3dde8; max-width: 60ch; margin: 0 auto 26px; }

/* ---------- Login (customer cabinet) ---------- */
.login-wrap { max-width: 420px; margin: 0 auto; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px; }
.login-wrap h2 { text-align: center; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #aebccb; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aebccb; }
.site-footer a:hover { color: var(--gold-2); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { color: #8ea0b2; max-width: 34ch; margin-top: 14px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7e91a4; }
.disclaimer { max-width: var(--maxw); margin: 18px auto 0; padding: 0 22px; font-size: .76rem; color: #6f8093; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .contact-cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--cream-2); }
  .nav__cta { margin: 12px 0 0; }
  .nav__toggle { display: block; }
  .grid-3, .grid-2, .contact-cards, .pricing, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 96px 0 84px; }
}
