/*
Theme Name: Nate's Financial Services
Theme URI: https://example.com/
Author: OpenAI
Description: A custom, responsive one-page financial services theme recreated from the supplied design reference.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: nates-financial
*/

:root {
  --navy: #00163a;
  --navy-deep: #00102e;
  --navy-soft: #14285e;
  --purple: #9b68dd;
  --purple-bright: #a873ea;
  --ink: #06163e;
  --muted: #536078;
  --white: #fff;
  --surface: #fbfbfd;
  --shadow: 0 14px 30px rgba(18, 32, 64, .10);
  --radius: 4px;
  --page: 932px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 4px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.section-kicker::before, .section-kicker::after { content: ""; width: 20px; height: 1px; background: var(--purple); }
.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #8e5dd3, #a974e2);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover, .button:focus-visible { filter: brightness(1.12); transform: translateY(-1px); }
.button--outline { border-color: rgba(255,255,255,.85); background: transparent; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { flex: 0 0 190px; }
.brand img { width: 190px; height: 48px; object-fit: cover; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .button { width: 178px; }
.phone { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.phone .icon { width: 18px; color: var(--purple); fill: currentColor; stroke: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; padding: 8px; }
.menu-toggle .icon { width: 28px; height: 28px; }

.hero {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background: radial-gradient(circle at 73% 45%, #0b3670 0, #061f4c 35%, var(--navy-deep) 75%);
  color: var(--white);
}
.hero-inner { position: relative; min-height: 550px; }
.hero-copy { position: relative; z-index: 3; width: 53%; padding-top: 145px; }
.hero-copy .eyebrow { margin-bottom: 5px; font-size: 18px; }
.hero h1 { margin: 0; font-size: clamp(38px, 4.5vw, 48px); line-height: 1.14; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--purple-bright); }
.hero-rule { width: 40px; height: 2px; margin: 20px 0 17px; background: var(--purple); }
.hero-subtitle { margin: 0; font-size: 17px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; margin-top: 23px; }
.hero-buttons .button:first-child { min-width: 250px; }
.hero-buttons .button--outline { min-width: 130px; }
.hero-art { position: absolute; z-index: 1; top: 82px; right: -44px; width: 500px; height: 468px; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-art::after { content: ""; position: absolute; left: 0; bottom: 0; width: 78px; height: 86px; background: linear-gradient(145deg, rgba(1,18,49,.98) 0 55%, rgba(1,18,49,0) 78%); }
.trust-row { position: absolute; z-index: 4; bottom: 31px; left: 0; display: grid; width: 55%; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-item { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.trust-item .icon { width: 32px; height: 32px; color: var(--purple); }
.trust-item strong { display: block; margin-bottom: 1px; font-size: 9px; text-transform: uppercase; }
.trust-item span { display: block; font-size: 10px; line-height: 1.55; }

.services { padding: 25px 0 23px; background: linear-gradient(135deg, #fff 0%, #fafafd 55%, #fff 100%); }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -.01em; }
.section-heading > p:last-child { max-width: 475px; margin: 5px auto 0; font-size: 12px; line-height: 1.5; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 17px; }
.service-card { min-height: 196px; padding: 18px 10px 12px; border: 1px solid #f2f2f6; border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); text-align: center; }
.service-icon { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 2px; border: 1px solid #e5e4ef; border-radius: 50%; }
.service-icon .icon { width: 48px; height: 48px; color: #172a70; stroke-width: 1.45; }
.service-card h3 { min-height: 35px; margin: 0; font-size: 12px; line-height: 1.3; text-transform: uppercase; }
.service-card p { margin: 6px 0 0; font-size: 10px; line-height: 1.65; }
.protection-message { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; max-width: 790px; margin: 20px auto 2px; padding: 14px 18px; border-left: 3px solid var(--purple); background: #f5f1fb; }
.protection-message-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #fff; color: #7445b6; }
.protection-message-icon .icon { width: 27px; height: 27px; }
.protection-message p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.protection-message strong { color: var(--ink); }

.legalshield { padding: 40px 0 26px; background: #f3f6f5; }
.legalshield-inner { display: grid; grid-template-columns: 42% 58%; gap: 48px; align-items: center; }
.legalshield-copy h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; letter-spacing: -.015em; }
.legalshield-copy > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.legalshield-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button--dark-outline { border-color: #18735c; background: transparent; color: #155c4a; }
.legalshield-benefits { display: grid; gap: 10px; }
.legalshield-benefit { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid #e1e9e6; border-radius: var(--radius); background: #fff; box-shadow: 0 7px 20px rgba(18, 48, 40, .07); }
.legalshield-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #edf7f3; color: #18735c; }
.legalshield-icon .icon { width: 28px; height: 28px; }
.legalshield-benefit h3 { margin: 0 0 2px; font-size: 13px; text-transform: uppercase; }
.legalshield-benefit p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.legalshield-benefit--identity { border-color: #cfe4dc; }
.legalshield-note { margin-top: 18px; color: #6d7774; font-size: 9px; text-align: center; }

.about { overflow: hidden; background: linear-gradient(105deg, #001438 0%, #072250 55%, #0b2b5c 100%); color: var(--white); }
.about-grid { display: grid; min-height: 254px; grid-template-columns: 40% 28% 32%; align-items: stretch; }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding-right: 32px; }
.about-copy h2 { margin: 0 0 9px; font-size: 26px; line-height: 1.3; font-weight: 500; }
.about-copy p:not(.eyebrow) { margin: 0 0 14px; font-size: 11px; line-height: 1.55; }
.about-copy .button { align-self: flex-start; }
.mission-wrap { position: relative; z-index: 2; padding: 18px 0 12px; }
.mission-card { height: 100%; padding: 15px 28px 15px; border-radius: 5px; background: #fff; color: var(--ink); box-shadow: 0 10px 32px rgba(0,0,0,.16); }
.quote-mark { height: 42px; color: var(--purple); font-family: Georgia, serif; font-size: 60px; font-weight: 800; line-height: 1; }
.mission-card p { margin: 0; font-size: 15px; line-height: 1.45; }
.mission-card p strong { color: var(--purple); }
.signature { margin-top: 4px; color: #263771; font-family: Georgia, serif; font-size: 29px; font-style: italic; line-height: 1; }
.about-photo { margin-left: -1px; }
.about-photo img { width: calc(100% + 48px); max-width: none; height: 100%; object-fit: cover; object-position: center; }

.testimonials { padding: 11px 0 13px; background: linear-gradient(140deg, #fff, #f9f9fc); }
.testimonials .section-heading h2 { font-size: 24px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 4px auto 0; max-width: 792px; }
.testimonial-card { min-height: 170px; padding: 14px 22px 12px; border: 1px solid #f2f2f6; border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(20,32,65,.10); }
.stars { color: var(--purple); font-size: 17px; letter-spacing: 0; line-height: 1.1; }
.testimonial-card blockquote { margin: 6px 0 9px; font-size: 9px; line-height: 1.55; }
.testimonial-card cite { display: block; font-size: 9px; font-style: normal; font-weight: 700; }
.testimonial-card cite span { display: block; color: var(--muted); font-weight: 400; }

.cta { background: linear-gradient(90deg, #34236f, #273a82, #392977); color: var(--white); }
.cta-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 690px; }
.cta-copy { display: flex; align-items: center; gap: 20px; }
.cta-copy .icon { width: 37px; height: 37px; color: var(--purple-bright); }
.cta h2 { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 500; text-transform: uppercase; }
.cta p { margin: 0; font-size: 12px; }
.cta .button { width: 255px; }

.site-footer { background: linear-gradient(115deg, var(--navy-deep), #031944 55%, #001638); color: #fff; }
.footer-main { display: grid; min-height: 94px; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
.footer-brand img { width: 190px; height: 48px; object-fit: cover; }
.footer-brand p { margin: 0 0 0 32px; color: var(--purple); font-size: 9px; text-transform: uppercase; }
.footer-heading { margin: 0 0 5px; font-size: 12px; font-weight: 500; text-transform: uppercase; }
.footer-contact-copy { max-width: 330px; margin: 0 0 5px; color: rgba(255,255,255,.72); font-size: 9px; }
.footer-contact-link { color: var(--purple-bright); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.contact-list { margin: 0; padding: 0; list-style: none; font-size: 9px; line-height: 1.75; }
.contact-list li { display: flex; gap: 7px; align-items: center; }
.contact-list .icon { width: 12px; height: 12px; color: var(--purple); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom .container { min-height: 33px; display: flex; align-items: center; justify-content: space-between; font-size: 8px; }
.legal-links { display: flex; gap: 16px; }
.legal-links a + a::before { content: "|"; margin-right: 16px; color: rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Blog and articles */
.blog-main, .article-main { background: #f9fafc; }
.blog-hero, .article-header { padding: 125px 0 56px; background: radial-gradient(circle at 78% 40%, #143a78, var(--navy-deep) 62%); color: #fff; }
.blog-hero .container { max-width: 740px; text-align: center; }
.blog-hero .eyebrow { margin-bottom: 4px; }
.blog-hero h1, .article-header h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.blog-hero p:last-child { max-width: 650px; margin: 14px auto 0; color: rgba(255,255,255,.82); }
.blog-listing { min-height: 520px; padding: 58px 0 70px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { overflow: hidden; border: 1px solid #eceef4; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.blog-card-image { display: block; height: 190px; overflow: hidden; background: linear-gradient(135deg, #172a65, #7952bd); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card-image:hover img { transform: scale(1.035); }
.blog-card-image > span { display: grid; height: 100%; place-items: center; }
.blog-card-image .icon { width: 74px; height: 74px; color: rgba(255,255,255,.72); }
.blog-card-body { padding: 22px 22px 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.blog-meta span { position: relative; }
.blog-meta span::before { content: "•"; position: absolute; left: -9px; color: #aeb5c5; }
.blog-card h2 { margin: 10px 0 10px; font-size: 21px; line-height: 1.28; }
.blog-card h2 a:hover { color: #7449ba; }
.blog-excerpt, .blog-excerpt p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.read-more { display: inline-block; margin-top: 15px; color: #7044b5; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pagination { margin-top: 42px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: 8px 13px; border-radius: 3px; background: #fff; box-shadow: 0 4px 14px rgba(18,32,64,.08); }
.pagination .current { background: var(--purple); color: #fff; }
.article-header-inner { max-width: 820px; }
.article-header h1 { max-width: 840px; margin-top: 14px; font-size: clamp(34px, 4.5vw, 50px); }
.article-header .blog-meta { color: #c49af2; }
.back-link { display: inline-block; margin-bottom: 24px; color: rgba(255,255,255,.8); font-size: 12px; text-transform: uppercase; }
.article-featured { max-width: 980px; margin-top: 48px; }
.article-featured img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 58px; max-width: 980px; padding-top: 48px; padding-bottom: 62px; align-items: start; }
.article-content { min-width: 0; color: #25334e; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.85; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { margin: 1.6em 0 .55em; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.25; }
.article-content h2 { font-size: 29px; }
.article-content h3 { font-size: 23px; }
.article-content img { height: auto; margin: 28px auto; border-radius: 5px; }
.article-content a { color: #7549bb; text-decoration: underline; }
.article-content blockquote { margin: 30px 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--purple); color: #4d5670; font-size: 20px; font-style: italic; }
.article-content ul, .article-content ol { padding-left: 24px; }
.article-content .elementor-section, .article-content .elementor-container, .article-content .elementor-row { width: 100% !important; max-width: 100% !important; }
.article-content .elementor-column { width: 100% !important; }
.article-aside { position: sticky; top: 26px; padding: 26px; border-radius: 7px; background: linear-gradient(145deg, #071c47, #173771); color: #fff; box-shadow: var(--shadow); }
.article-aside h2 { margin: 4px 0 10px; font-size: 23px; line-height: 1.28; }
.article-aside p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 13px; }
.article-aside .button { width: 100%; margin-top: 8px; }
.article-nav { max-width: 980px; padding: 0 0 62px; }
.article-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.article-nav a { display: block; padding: 20px; border-radius: 5px; background: #fff; box-shadow: var(--shadow); font-weight: 700; }
.article-nav span { display: block; margin-bottom: 3px; color: var(--purple); font-size: 9px; text-transform: uppercase; }
.article-nav .nav-next { text-align: right; }

/* Contact page */
.contact-main { background: #f9fafc; }
.contact-hero { padding: 135px 0 68px; background: radial-gradient(circle at 78% 40%, #143a78, var(--navy-deep) 62%); color: #fff; }
.contact-hero .container { max-width: 760px; text-align: center; }
.contact-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.contact-hero p:last-child { max-width: 650px; margin: 14px auto 0; color: rgba(255,255,255,.82); }
.contact-section { padding: 72px 0 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 70px; align-items: center; max-width: 900px; }
.section-kicker--left { justify-content: flex-start; }
.section-kicker--left::before { display: none; }
.contact-intro h2 { margin: 2px 0 14px; font-size: 32px; line-height: 1.2; }
.contact-intro > p:not(.section-kicker) { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.contact-details { display: grid; gap: 14px; }
.contact-card { display: grid; min-width: 0; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid #e7eaf1; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
a.contact-card { transition: transform .2s ease, border-color .2s ease; }
a.contact-card:hover, a.contact-card:focus-visible { border-color: #c9afe9; transform: translateY(-2px); }
.contact-card-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #f3ecfb; color: #7549bb; }
.contact-card-icon .icon { width: 27px; height: 27px; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { margin-bottom: 2px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-card strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .primary-nav, .header-actions .button { display: none; }
  .menu-toggle { display: block; }
  .primary-nav.is-open { position: absolute; top: 74px; left: 24px; right: 24px; display: block; padding: 18px; border-radius: 6px; background: #06193d; box-shadow: var(--shadow); }
  .primary-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-copy { width: 58%; }
  .hero-art { right: -115px; opacity: .8; }
  .trust-row { width: 64%; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .legalshield-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 24px 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--page)); }
  .nav-shell { min-height: 72px; }
  .brand, .brand img { width: 158px; height: 40px; }
  .phone span { display: none; }
  .hero, .hero-inner { min-height: 760px; }
  .hero-copy { width: 100%; padding-top: 100px; }
  .hero-copy .eyebrow { font-size: 14px; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .button { width: 100%; }
  .hero-art { top: 382px; right: -70px; width: 410px; height: 384px; opacity: .68; }
  .trust-row { bottom: 20px; width: 100%; grid-template-columns: 1fr; gap: 8px; }
  .trust-item { grid-template-columns: 25px 1fr; max-width: 235px; }
  .trust-item .icon { width: 25px; height: 25px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .protection-message { grid-template-columns: 38px 1fr; padding: 12px; }
  .protection-message-icon { width: 38px; height: 38px; }
  .legalshield { padding-top: 32px; }
  .legalshield-copy h2 { font-size: 26px; }
  .legalshield-benefit { grid-template-columns: 42px 1fr; padding: 12px; }
  .legalshield-icon { width: 42px; height: 42px; }
  .legalshield-actions .button { width: 100%; }
  .section-heading h2 { font-size: 24px; }
  .about-grid { grid-template-columns: 1fr; padding: 30px 0; }
  .about-copy { padding: 0 0 24px; }
  .mission-wrap { padding: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-inner { padding-block: 18px; flex-direction: column; align-items: stretch; }
  .cta .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom .container { padding-block: 10px; flex-direction: column; gap: 7px; }
  .blog-hero, .article-header { padding: 105px 0 44px; }
  .blog-listing { padding: 38px 0 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 215px; }
  .article-layout { padding-top: 34px; gap: 34px; }
  .article-content { font-size: 16px; }
  .article-nav .nav-links { grid-template-columns: 1fr; }
  .contact-hero { padding: 110px 0 48px; }
  .contact-section { padding: 44px 0 52px; }
  .contact-intro h2 { font-size: 27px; }
  .contact-card { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .contact-card-icon { width: 46px; height: 46px; }
}
