/* Stractical Financial Solutions — shared site styles */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sfs-black: #141414;
  --sfs-red: #c8102e;
  --sfs-red-dark: #9c0c23;
  --sfs-white: #ffffff;
  --sfs-gray-50: #f7f7f7;
  --sfs-gray-100: #eeeeee;
  --sfs-gray-400: #8a8a8a;
  --sfs-gray-700: #3a3a3a;
  --max-width: 1160px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 18px 40px rgba(0,0,0,0.12);
  --gradient-hero: linear-gradient(160deg,#f4f4f5 0%,#fdfdfd 55%,#ffffff 100%);
  --gradient-alt: linear-gradient(160deg,#f7f7f7 0%,#eeeeee 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sfs-gray-700);
  background: var(--sfs-white);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--sfs-black);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--sfs-red); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--sfs-gray-100);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 40px; width: auto; }

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--sfs-black);
  text-transform: uppercase;
  white-space: nowrap;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--sfs-gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--sfs-red);
  text-decoration: none;
}

.nav-cta {
  background: var(--sfs-red);
  color: var(--sfs-white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--sfs-red-dark); text-decoration: none; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
}

/* Full wordmark is too long to sit next to the icon + hamburger at
   phone widths — the icon mark alone carries brand recognition here,
   same as it does standalone as the favicon. Scoped to the header only;
   the footer's brand-name has no horizontal space constraint. */
@media (max-width: 480px) {
  .site-header .brand-name { display: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sfs-red);
  color: var(--sfs-white);
  box-shadow: 0 8px 22px rgba(200,16,46,0.3);
}
.btn-primary:hover { background: var(--sfs-red-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  border-color: var(--sfs-black);
  color: var(--sfs-black);
}
.btn-outline:hover { background: var(--sfs-black); color: var(--sfs-white); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 88px 0 72px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.hero-blob-a {
  width: 340px;
  height: 340px;
  background: rgba(200,16,46,0.14);
  top: -90px;
  right: -60px;
  animation: driftA 16s ease-in-out infinite;
}
.hero-blob-b {
  width: 260px;
  height: 260px;
  background: rgba(200,16,46,0.1);
  bottom: -70px;
  left: -40px;
  animation: driftB 18s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 24px) scale(1.08); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.05); }
}

.hero-logo {
  max-width: 340px;
  margin: 0 auto 24px;
}

.hero-narrow h1,
.hero-narrow p.lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .fade-in { animation: fadeDown 0.7s ease both; }
.hero .fade-in-1 { animation-delay: 0.1s; }
.hero .fade-in-2 { animation-delay: 0.2s; }
.hero .fade-in-3 { animation-delay: 0.3s; }
.hero .fade-in-4 { animation-delay: 0.4s; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .btn { margin: 0 6px; }

.hero .eyebrow {
  display: inline-block;
  background: var(--sfs-white);
  border: 1px solid var(--sfs-gray-100);
  color: var(--sfs-red);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero .tagline {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--sfs-red);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--sfs-gray-700);
}

/* Service cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0 70px;
}

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

.service-card {
  border: 1px solid var(--sfs-gray-100);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  background: var(--sfs-white);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card .badge,
.guide-card .badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--sfs-gray-100);
  color: var(--sfs-gray-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-card .badge.premium,
.guide-card .badge.premium { background: var(--sfs-black); color: var(--sfs-white); }
.service-card .badge.coming-soon,
.guide-card .badge.coming-soon { background: var(--sfs-red); color: var(--sfs-white); }

.service-card h3 { margin-bottom: 10px; }
.service-card p { flex-grow: 1; color: var(--sfs-gray-700); }
.service-card .btn { margin-top: 16px; align-self: flex-start; }

/* Section generic */
section { padding: 56px 0; }
section.alt { background: var(--gradient-alt); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Coverage grid (Life Insurance 4-up) */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 20px 0 70px;
}
@media (max-width: 960px) {
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .coverage-grid { grid-template-columns: 1fr; }
}
.coverage-grid .service-card:hover { border-color: var(--sfs-red); }

/* Sticky info card (e.g. Notary pricing) */
@media (min-width: 861px) {
  .info-box.sticky-card { position: sticky; top: 96px; }
}

/* Pulsing accent dot */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sfs-red);
  margin-right: 8px;
  animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(200,16,46,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }

/* Two-column layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* Feature list */
ul.check-list { list-style: none; margin: 0; padding: 0; }
ul.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}
ul.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sfs-red);
  font-weight: 700;
}

/* Pricing / info box */
.info-box {
  border: 1px solid var(--sfs-gray-100);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--sfs-gray-50);
}
.info-box .price {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--sfs-red);
}
.info-box .price small { font-size: 0.95rem; color: var(--sfs-gray-400); font-family: 'Inter', sans-serif; }

.skeleton-line {
  display: inline-block;
  height: 1em;
  width: 100%;
  background: linear-gradient(90deg, var(--sfs-gray-100) 25%, #e2e2e2 37%, var(--sfs-gray-100) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 4px;
  vertical-align: middle;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Booking embed frame */
.booking-embed {
  border: 1px solid var(--sfs-gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 640px;
  box-shadow: var(--shadow);
}

/* Funnel page (single CTA, minimal chrome) */
.funnel-page .site-header,
.funnel-page footer.site-footer nav { display: none; }

.funnel-hero {
  padding: 48px 0 40px;
  text-align: center;
}

/* Footer */
footer.site-footer {
  background: var(--sfs-black);
  color: #cfcfcf;
  padding: 44px 0 24px;
  margin-top: 40px;
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site-footer a { color: #cfcfcf; }
footer.site-footer a:hover { color: var(--sfs-white); }
footer.site-footer .fine-print {
  border-top: 1px solid #2c2c2c;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.8rem;
  color: var(--sfs-gray-400);
  width: 100%;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  padding: 13px 16px;
  border: 1px solid var(--sfs-gray-400);
  border-radius: 999px;
  font-size: 1rem;
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--sfs-red); }

/* Guides (articles) */
.guide-hero {
  padding: 44px 0 8px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.guide-meta .guide-date {
  font-size: 0.85rem;
  color: var(--sfs-gray-400);
}

.guide-dek {
  font-size: 1.1rem;
  color: var(--sfs-gray-700);
}

.guide-hero-image {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 32px;
  box-shadow: var(--shadow);
}

.guide-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.guide-content h2 {
  margin-top: 1.6em;
  font-size: 1.5rem;
}

.guide-content h3 {
  margin-top: 1.3em;
  font-size: 1.15rem;
}

.guide-content p { margin: 0 0 1.1em; }

.guide-content ul,
.guide-content ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}
.guide-content li { margin-bottom: 0.5em; }

.guide-content img {
  border-radius: var(--radius);
  margin: 8px 0 20px;
}

.guide-content figcaption {
  font-size: 0.85rem;
  color: var(--sfs-gray-400);
  margin-top: -12px;
  margin-bottom: 20px;
}

.guide-content blockquote {
  border-left: 3px solid var(--sfs-red);
  margin: 0 0 1.1em;
  padding: 4px 0 4px 20px;
  color: var(--sfs-gray-700);
  font-style: italic;
}

.guide-content a { text-decoration: underline; }

.guide-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 0.95rem;
}
.guide-content th,
.guide-content td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--sfs-gray-100);
  vertical-align: top;
}
.guide-content th {
  background: var(--sfs-gray-50);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.guide-author {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--sfs-gray-100);
  font-size: 0.9rem;
  color: var(--sfs-gray-400);
}
.guide-author strong { color: var(--sfs-black); }

.guide-cta { margin: 36px 0 8px; text-align: left; }

/* Guides index/listing */
.guides-hero {
  padding: 56px 0 24px;
  text-align: center;
}

.guide-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.guide-filter a {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--sfs-gray-100);
  color: var(--sfs-gray-700);
  font-size: 0.85rem;
  font-weight: 600;
}
.guide-filter a.active,
.guide-filter a:hover {
  background: var(--sfs-black);
  color: var(--sfs-white);
  text-decoration: none;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 20px 0 70px;
}
@media (max-width: 760px) {
  .guide-list { grid-template-columns: 1fr; }
}

.guide-card {
  border: 1px solid var(--sfs-gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  background: var(--sfs-white);
}
.guide-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.guide-card-body { padding: 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.guide-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.guide-card p { color: var(--sfs-gray-700); flex-grow: 1; }
.guide-card .guide-card-link { margin-top: 12px; font-weight: 600; }

.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status.success { color: #1a7a3a; }
.form-status.error { color: var(--sfs-red); }

.small-note { font-size: 0.85rem; color: var(--sfs-gray-400); margin-top: 8px; }
