/* styles.css (FULL) */
:root{
  --bg: #fbf7f2;
  --surface: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;

  --brand: #b56a2a;      /* warm bronze */
  --brand-2: #234a57;    /* deep teal/navy */
  --line: rgba(31,41,55,.12);

  --radius: 16px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg), #fff);
  line-height: 1.55;
}

a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}

/* Topbar */
.topbar{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding: 14px 0;
}
.brand{text-decoration:none; display:flex; flex-direction:column}
.brand__name{
  font-family:"Playfair Display", serif;
  font-weight:700;
  font-size: 22px;
  letter-spacing:.2px;
}
.brand__tag{font-size:12px;color:var(--muted); margin-top:2px}

.nav{display:flex; gap:14px}
.nav a{
  text-decoration:none;
  font-size:14px;
  color: var(--muted);
}
.nav a:hover{color: var(--ink)}

.topbar__cta{display:flex; gap:12px; align-items:center}
.link{
  font-size:14px;
  color: var(--muted);
  text-decoration:none;
}
.link:hover{color: var(--ink)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: var(--brand);
  color:#fff;
  box-shadow: 0 10px 20px rgba(181,106,42,.25);
}
.btn--primary:hover{filter: brightness(1.02)}
.btn--secondary{
  background: var(--brand-2);
  color:#fff;
}
.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* Hero */
.hero{
  padding: 54px 0 22px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:center;
}
.hero h1{
  font-family:"Playfair Display", serif;
  font-size: 44px;
  line-height:1.08;
  margin: 0 0 14px;
}
.subhead{color: var(--muted); font-size: 16px; margin: 0 0 18px}
.hero__buttons{display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 14px}
.hero__bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.note{
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.6);
}

.hero__media{position:relative}
.portrait{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.portrait img{
  width:100%;
  display:block;
  object-fit:cover;
  aspect-ratio: 4 / 5;
}
.badge{
  position:absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(35,74,87,.92);
  color:#fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

/* Sections */
.section{padding: 25px 0}
.section--soft{background: rgba(251,247,242,.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line)}
.section__title{
  font-family:"Playfair Display", serif;
  font-size: 30px;
  margin: 0 0 18px;
}

/* Cards */

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.card .btn{
 margin-top: auto;
  align-self: flex-start;
}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  display: flex;
  flex-direction: column;
  height: 100%;
}

/* NEW header row (icon + title side by side) */
.card__header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* Icon next to title */
.card__icon{
  font-size: 26px;   /* adjust to 28–30 if you want slightly larger */
  margin-bottom: 0;  /* remove old vertical spacing */
}

/* Remove old h3 spacing so it aligns cleanly */
.card h3{
  margin: 0;
}

/* Keep bullets styling */
.card ul{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
}
/* Split */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}
.checks{list-style:none; padding:0; margin: 0}
.checks li{
  padding-left: 30px;
  position:relative;
  margin: 10px 0;
}
.checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  background: rgba(181,106,42,.12);
  color: var(--brand);
  font-weight: 800;
}
.about__box{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.disclosures{margin-top: 14px; color: var(--muted)}

/* Quotes */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote{
  margin:0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.quote blockquote{margin: 0 0 10px; color: var(--ink)}
.quote figcaption{color: var(--muted); font-weight:600}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.contact__details a{color: var(--brand-2)}
.legal{
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* Form */
.form{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.form label{
  display:block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.form input, .form textarea, .form select{
  width:100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  margin-top: 6px;
  background: rgba(255,255,255,.9);
}
.form textarea{resize: vertical}
.form__hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(255,255,255,.75);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.footer__small{color: var(--muted); font-size: 12px}

/* Responsive */
@media (max-width: 900px){
  .nav{display:none}
  .hero__grid{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr}
  .quotes{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .hero h1{font-size: 36px}
}

/* ===== Loan page additions (boxes) ===== */

.loan-hero {
  padding-top: 2.5rem;
}

.loan-hero__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.loan-hero__title {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 0.5rem;
}

.loan-hero__subhead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 1rem;
  max-width: 60ch;
}

.loan-hero__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.service-card h3 {
  margin: 6px 0 8px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .loan-hero__grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .loan-hero__title { font-size: 36px; }
}

/* ===== Notary Fee Tables (professional) ===== */

.fee-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}

.fee-heading{
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin: 0 0 12px;
}

.fee-table{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.06); /* matches your cards */
  overflow: hidden;
}

.fee-table table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.fee-table thead th{
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(35,74,87,.06);
  border-bottom: 1px solid var(--line);
}

.fee-table tbody td{
  padding: 14px 18px;
  font-size: 14px;
  vertical-align: top;
}

.fee-table tbody tr + tr td{
  border-top: 1px solid var(--line);
}

/* subtle zebra for readability */
.fee-table tbody tr:nth-child(even) td{
  background: rgba(251,247,242,.45);
}

/* Fee column: clean, aligned, consistent */
.fee-table td:last-child,
.fee-table th:last-child{
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fee-table td:last-child{
  font-weight: 700;
  color: var(--brand-2);
}

/* if you keep $0.00 placeholders, make them look "pending" not final */
.fee-table td:last-child .fee--pending{
  font-weight: 600;
  color: var(--muted);
}

.fee-note{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px){
  .fee-grid{ grid-template-columns: 1fr; }
}

/* ===== Notary ID Notice (Refined) ===== */

.id-notice{
  margin-top: 24px;
  padding: 20px;
  background: rgba(181,106,42,.05);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.id-notice__inner{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.id-notice__icon{
  width: 26px;
  height: 26px;
  color: var(--brand); /* bronze color */
  flex-shrink: 0;
}

.id-notice__icon svg{
  width: 100%;
  height: 100%;
}

.id-notice p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}