/*
Theme Name: Emprendi
Theme URI: https://emprendi.io
Author: Cameron Bingham
Author URI: https://cameronbingham.com
Description: Custom theme for Emprendi.es — Revenue Operations consulting for early-stage startups. HubSpot setup, pipeline architecture, CRM automation, and ICP analysis.
Version: 1.25
License: GNU General Public License v2 or later
Text Domain: emprendi
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #236DDA;
  --blue-light: #7CB7EB;
  --blue-dark: #1a56b0;
  --text: #1a2332;
  --text-muted: #516383;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

/* Global visited link reset — no purple/dark visited states anywhere */
a:visited { color: inherit; }
a.btn-primary:visited { color: var(--white) !important; }
a.btn-outline:visited { color: var(--blue) !important; }


body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background-color: #cfe0f2;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 15%, rgba(124,183,235,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 70%, rgba(35,109,218,0.25) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 55% 5%, rgba(215,232,250,0.85) 0%, transparent 50%),
    radial-gradient(ellipse 65% 55% at 35% 90%, rgba(124,183,235,0.4) 0%, transparent 55%);
  background-attachment: fixed;
}

/* Section alternating backgrounds */
.section-light { background: rgba(255,255,255,0.28); }
.section-mid { background: rgba(35,109,218,0.06); }
.section-transparent { background: transparent; }

/* NAV */
.nav-outer {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
}
#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 0.6rem 0.6rem 0.6rem 1.6rem;
  box-shadow: 0 4px 20px rgba(35,109,218,0.10), 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.mobile-nav {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  max-width: none !important;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-logo-icon { width: 26px; height: 26px; }
.nav-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links .current-menu-item a { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-lang { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); background: none; border: none; cursor: pointer; font-family: inherit; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: var(--white); }
.btn-primary:visited, .btn-primary:link { color: var(--white) !important; }
.btn-outline:visited, .btn-outline:link { color: var(--blue) !important; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(35,109,218,0.3);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); background: rgba(35,109,218,0.05); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 1rem; right: 1rem;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  border-radius: 16px; padding: 1.5rem 2rem; z-index: 99;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1); flex-direction: column; gap: 1.2rem;
}
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--text); text-decoration: none; }
.mobile-menu .mobile-cta { background: var(--blue); color: var(--white); text-align: center; padding: 0.9rem; border-radius: 8px; }
.mobile-menu.open { display: flex; }

/* SHARED TYPOGRAPHY */
.section-eyebrow { font-size: 0.9rem; font-weight: 600; color: var(--blue); margin-bottom: 0.75rem; display: block; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 4vw 5rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}
.hero-left { display: flex; flex-direction: column; }
.hero-eyebrow { font-size: 1rem; font-weight: 500; color: var(--blue); margin-bottom: 1.2rem; line-height: 1.4; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 700; line-height: 1.1; color: var(--text); margin-bottom: 1.4rem; letter-spacing: -0.03em; }
.hero-sub { font-size: 1rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 0.8rem; max-width: 500px; }
.hero-tag { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2.2rem; }
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-right img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(35,109,218,0.18)); }

/* SERVICES */
.services-outer { max-width: 1400px; margin: 0 auto; padding: 5rem 4vw; }
.services-intro { text-align: center; margin-bottom: 3rem; }
.services-intro .section-sub { max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.services-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.service-card {
  background: rgba(255,255,255,0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; padding: 2rem 1.8rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(35,109,218,0.06);
}
.service-card:hover { background: rgba(255,255,255,0.85); box-shadow: 0 8px 32px rgba(35,109,218,0.12); transform: translateY(-2px); }
.service-icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: rgba(35,109,218,0.09); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.service-icon-wrap svg { width: 22px; height: 22px; color: var(--blue); }
.service-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; line-height: 1.65; color: var(--text-muted); }

/* ABOUT */
.about-wrap {
  max-width: 1400px; margin: 0 auto; padding: 3rem 4vw 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-img { width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 3/4; object-position: top center; box-shadow: 0 16px 60px rgba(35,109,218,0.14); }
.about-text .section-title { text-align: left; margin-bottom: 1.5rem; }
.about-text p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.1rem; }
.about-checks { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.8rem 0 2.2rem; }
.about-check { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 500; color: var(--text); }
.check-icon { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-icon svg { width: 13px; height: 13px; color: var(--blue); }

/* TOOLS */
.tools-band { border-top: 1px solid rgba(255,255,255,0.45); border-bottom: 1px solid rgba(255,255,255,0.45); padding: 3rem 4vw; }
.tools-inner { max-width: 1400px; margin: 0 auto; }
.tools-label { font-size: 0.88rem; font-weight: 600; color: var(--blue); text-align: center; margin-bottom: 2rem; display: block; }
.tools-logos { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.tool-logo { height: 44px !important; width: auto !important; max-width: 140px !important; object-fit: contain; opacity: 0.55; transition: opacity 0.2s; filter: grayscale(30%); flex-shrink: 0; }
.tool-logo:hover { opacity: 1; }

/* CRM CALCULATOR */
.calc-outer { max-width: 780px; margin: 0 auto; padding: 5rem 4vw; text-align: center; }
.calc-outer .section-sub { margin-bottom: 2.5rem; }
.calc-box { background: rgba(255,255,255,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.9); border-radius: 20px; padding: 2.5rem; box-shadow: 0 8px 40px rgba(35,109,218,0.1); text-align: left; }
.calc-progress { height: 3px; background: rgba(35,109,218,0.12); margin-bottom: 2rem; border-radius: 99px; overflow: hidden; }
.calc-progress-bar { height: 100%; background: var(--blue); transition: width 0.4s ease; }
.calc-question { display: none; flex-direction: column; gap: 1rem; }
.calc-question.active { display: flex; }
.calc-label { font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 0.4rem; }
.calc-hint { font-size: 0.8rem; color: var(--blue); background: rgba(35,109,218,0.07); padding: 0.6rem 1rem; border-left: 3px solid var(--blue-light); border-radius: 0 6px 6px 0; }
.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.calc-option { padding: 0.9rem 1.1rem; border: 1.5px solid rgba(35,109,218,0.15); background: rgba(255,255,255,0.6); font-size: 0.88rem; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; text-align: left; border-radius: 10px; color: var(--text); }
.calc-option:hover { border-color: var(--blue); background: rgba(35,109,218,0.05); }
.calc-option.selected { border-color: var(--blue); background: var(--blue); color: var(--white); }
.calc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.calc-nav-btn { background: none; border: 1.5px solid rgba(35,109,218,0.3); color: var(--blue); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; padding: 0.6rem 1.4rem; cursor: pointer; transition: all 0.2s; border-radius: 8px; }
.calc-nav-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.calc-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calc-step { font-size: 0.8rem; color: var(--text-muted); }
.calc-result { display: none; text-align: center; padding: 1rem 0; }
.calc-result.show { display: block; }
.calc-hours { font-size: 5rem; color: var(--blue); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.calc-hours-label { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* BLOG INDEX */
.blog-wrap { max-width: 1400px; margin: 0 auto; padding: 5rem 4vw; }
.blog-header { margin-bottom: 3rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.blog-card { background: rgba(255,255,255,0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.85); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(35,109,218,0.12); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.5rem; }
.blog-tag { font-size: 0.75rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; display: block; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.6rem; }
.blog-card-body p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); margin-bottom: 1rem; }
.blog-link { font-size: 0.82rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.blog-link:hover { text-decoration: underline; }

/* SINGLE POST */
.post-wrap { max-width: 900px; margin: 0 auto; padding: 2.5rem 4vw 5rem; }
.post-header { margin-bottom: 2.5rem; }
.post-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.post-meta a { color: var(--blue); text-decoration: none; }
.post-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--text); letter-spacing: -0.025em; margin-bottom: 1rem; }
.post-thumbnail { width: 100%; border-radius: 16px; height: 400px; object-fit: cover; margin-bottom: 2.5rem; box-shadow: 0 8px 40px rgba(35,109,218,0.12); }
.post-content { font-size: 1rem; line-height: 1.85; color: var(--text); }
.post-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.post-content h3 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin: 2rem 0 0.75rem; }
.post-content p { margin-bottom: 1.4rem; color: var(--text-muted); }
.post-content a { color: var(--blue); }
.post-content ul, .post-content ol { margin: 0 0 1.4rem 1.5rem; color: var(--text-muted); }
.post-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.post-content blockquote { border-left: 3px solid var(--blue); padding: 1rem 1.5rem; margin: 2rem 0; background: rgba(35,109,218,0.05); border-radius: 0 10px 10px 0; font-style: italic; color: var(--text-muted); }
.post-content img { width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.post-content code { background: rgba(35,109,218,0.08); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(35,109,218,0.1); }
.post-nav a { font-size: 0.85rem; font-weight: 600; color: var(--blue); text-decoration: none; max-width: 45%; }
.post-nav a:hover { text-decoration: underline; }
.post-nav .nav-prev::before { content: '← '; }
.post-nav .nav-next::after { content: ' →'; }

/* DOWNLOAD */
.download-outer { max-width: 760px; margin: 0 auto; padding: 2rem 4vw 5rem; }
.download-card { background: rgba(255,255,255,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.9); border-radius: 20px; padding: 3rem 3.5rem; box-shadow: 0 8px 40px rgba(35,109,218,0.1); text-align: center; }
.download-eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-bottom: 1.2rem; display: block; }
.download-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.download-card > p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.8rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.download-form { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.download-field-wrap { width: 100%; max-width: 420px; text-align: left; }
.download-field-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; }
.download-field-label span { color: var(--blue); }
.download-input { width: 100%; padding: 0.85rem 1.1rem; border: 1.5px solid rgba(35,109,218,0.2); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; background: rgba(255,255,255,0.8); color: var(--text); outline: none; transition: border-color 0.2s; }
.download-input:focus { border-color: var(--blue); }
.download-form .btn-primary { padding: 0.85rem 2.2rem; border-radius: 8px; font-size: 0.95rem; margin-top: 0.5rem; }
.download-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }
.download-note a { color: var(--blue); }
.download-checks { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 420px; }
.download-check-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; text-align: left; }
.download-check-row input[type="checkbox"] { margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }

/* FOOTER */
footer { background: #0f1824; padding: 4rem 4vw 2.5rem; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo svg { width: 22px; height: 22px; }
.footer-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; margin-bottom: 1.2rem; }
.footer-email { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-email:hover { color: var(--white); }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a, .footer-col a:visited { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-newsletter-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1rem; }
.footer-newsletter-form { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); margin-bottom: 0.6rem; }
.footer-newsletter-form input { flex: 1; padding: 0.65rem 0.9rem; background: rgba(255,255,255,0.06); border: none; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--white); outline: none; }
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-form input:focus { background: rgba(255,255,255,0.1); }
.footer-newsletter-form button { background: var(--blue); border: none; color: var(--white); font-size: 1rem; font-weight: 700; padding: 0.65rem 1rem; cursor: pointer; transition: background 0.2s; line-height: 1; }
.footer-newsletter-form button:hover { background: var(--blue-dark); }
.footer-newsletter-note { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.social-links { display: flex; gap: 1.2rem; }
.social-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.social-links a:hover { color: rgba(255,255,255,0.7); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 110px 1.5rem 4rem; min-height: auto; gap: 2rem; }
  .hero-right { order: 2; }
  .hero-right img { max-width: 340px; }
  .about-wrap { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .services-outer { padding: 3rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-row2 { grid-template-columns: 1fr 1fr; }
  .blog-wrap { padding: 3rem 1.5rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .tools-logos { gap: 1.5rem; }
  .nav-links { display: none; }
  .nav-lang { display: none; }
  .hamburger { display: flex; }
  .download-card { padding: 2rem 1.5rem; }
  .calc-outer { padding: 3rem 1.5rem; }
  footer { padding: 3rem 1.5rem 2rem; }
  .post-wrap { padding: 2rem 1.5rem 4rem; }
  .post-thumbnail { height: 250px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-row2 { grid-template-columns: 1fr; }
  .calc-options { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
}

/* Inner pages — tighter top gap since there's no hero */
.inner-page-section {
  padding-top: 140px;
  min-height: 70vh;
}
.inner-page-section .post-wrap {
  padding-top: 2.5rem;
}
.inner-page-section .blog-wrap {
  padding-top: 2.5rem;
}


/* Blog category & tag links */
.blog-tag a,
.blog-tag a:visited,
.blog-tag a:hover {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Post content links — keep blue but no underline by default */
.post-content a { color: var(--blue); text-decoration: none; }
.post-content a:hover { text-decoration: underline; }
.post-content a:visited { color: var(--blue-dark); }

/* General — nuke visited purple sitewide */
a:visited { color: inherit; }

/* FAQ SECTION */
.faq-outer { max-width: 1400px; margin: 0 auto; padding: 5rem 4vw; }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.faq-left .section-title { text-align: left; margin-bottom: 1rem; }
.faq-right { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(35,109,218,0.12);
}
.faq-item:first-child { border-top: 1px solid rgba(35,109,218,0.12); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.2rem; }
.faq-answer p { font-size: 0.9rem; line-height: 1.75; color: var(--text-muted); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-outer { padding: 3rem 1.5rem; }
}


.tool-name-text:hover { opacity: 1; }

/* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tools-carousel-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: carousel-scroll 28s linear infinite;
}
.tools-carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-logo {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(20%);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.carousel-logo:hover { opacity: 1; }
.carousel-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2332;
  opacity: 0.55;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
  cursor: default;
}
.carousel-name:hover { opacity: 1; }
.carousel-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(35,109,218,0.25);
  flex-shrink: 0;
}


/* CAROUSEL — clean version */
.tools-carousel-wrap { overflow: hidden; position: relative; width: 100%; }
.tools-carousel-wrap::before,
.tools-carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.tools-carousel-wrap::before { left: 0; background: linear-gradient(to right, rgba(220,232,245,0.9), transparent); }
.tools-carousel-wrap::after  { right: 0; background: linear-gradient(to left,  rgba(220,232,245,0.9), transparent); }
.tools-carousel-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: carousel-scroll 30s linear infinite;
}
.tools-carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.carousel-logo { height: 28px !important; width: auto !important; opacity: 0.55; transition: opacity 0.2s; flex-shrink: 0; }
.carousel-logo:hover { opacity: 1; }
.carousel-name { font-size: 0.95rem; font-weight: 700; color: #1a2332; opacity: 0.55; white-space: nowrap; transition: opacity 0.2s; letter-spacing: -0.01em; }
.carousel-name:hover { opacity: 1; }
.carousel-dot { color: rgba(35,109,218,0.3); font-size: 0.7rem; flex-shrink: 0; }

/* CONTACT PAGE */
.contact-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw 5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

/* Left column */
.contact-left { padding-top: 0.5rem; }
.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.contact-what { margin-bottom: 2.5rem; }
.contact-what-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-what-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.contact-what-list li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}
.contact-what-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-alt-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-alt-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-alt-item a:hover { color: var(--blue); }

/* Right column — form card */
.contact-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(35,109,218,0.08);
}

/* Form fields */
.contact-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}
.contact-required { color: var(--blue); font-size: 0.85rem; display: inline !important; margin-left: 3px; vertical-align: middle; }
.contact-optional { font-weight: 400; color: rgba(81,99,131,0.6); font-size: 0.78rem; }

.contact-gdpr {
  background: rgba(35,109,218,0.04);
  border: 1px solid rgba(35,109,218,0.12);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.contact-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.contact-check-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.contact-check-label a { color: var(--blue); }
.contact-gdpr-note {
  font-size: 0.73rem;
  color: rgba(81,99,131,0.65);
  line-height: 1.6;
}
.contact-submit {
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  align-self: flex-end;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-outer { padding: 0 1.5rem 4rem; }
  .contact-submit { align-self: stretch; text-align: center; }
}
@media (max-width: 600px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-card { padding: 1.8rem 1.5rem; }
}

/* All CF7 inputs match our .contact-input style */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(35,109,218,0.18);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  display: block;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,109,218,0.08);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

/* Labels */
.wpcf7-form label.contact-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 100%;
}

/* Checkbox */
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Submit button */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 2.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-end;
}
.wpcf7-form input[type="submit"]:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Validation messages */
.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 0.25rem;
  display: block;
}
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #e53e3e;
}
.wpcf7-response-output {
  font-size: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  border: none !important;
}
.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(35,109,218,0.08);
  color: var(--blue);
}
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background: rgba(229,62,62,0.08);
  color: #e53e3e;
}

/* Spinner */
.wpcf7-spinner { display: none; }

/* CF7 required marker — style it inline rather than fighting it */
.wpcf7-form .wpcf7-required-field,
.wpcf7 abbr[title="required"] {
  display: none !important;
  visibility: hidden !important;
}
/* The blue dot CF7 injects — hide it */
.wpcf7 .wpcf7-form-control-wrap::before { display: none !important; }
/* Labels rendered by CF7 — ensure block display, gap between text and input */
.wpcf7 label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); width: 100%; }
/* Remove all spacing CF7 adds around controls */
.wpcf7 .wpcf7-form-control-wrap { display: block !important; margin: 0 !important; padding: 0 !important; }
/* The dot is actually a separate <span> CF7 creates — nuke it */
.wpcf7 span[data-required-field] { display: none !important; }
.wpcf7 .wpcf7-required-field + br { display: none !important; }


/* Contact form error states */

/* Contact form inputs — on-brand styling */
.contact-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(35,109,218,0.18);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  color: var(--text);
  background: rgba(255,255,255,0.85);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
  margin-top: 0.4rem;
}
.contact-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,109,218,0.08);
}
.contact-input::placeholder {
  color: rgba(81,99,131,0.45);
  font-family: 'DM Sans', sans-serif;
}
.contact-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.contact-input-error { border-color: #e53e3e !important; }
.contact-input-error:focus { box-shadow: 0 0 0 3px rgba(229,62,62,0.08) !important; }
.contact-field-error { font-size: 0.75rem; color: #e53e3e; margin-top: 0.2rem; display: block; }
.contact-gdpr-error { border-color: rgba(229,62,62,0.4) !important; }
.contact-error-msg {
  background: rgba(229,62,62,0.07);
  border: 1px solid rgba(229,62,62,0.2);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: #c53030;
  margin-bottom: 1rem;
}
.contact-error-msg a { color: #c53030; font-weight: 600; }

/* Contact success state */
.contact-success {
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.contact-success h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.contact-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}
.contact-success a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.contact-success a:hover { text-decoration: underline; }

/* Footer newsletter GDPR */
.footer-newsletter-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}
.footer-newsletter-gdpr input[type="checkbox"] {
  accent-color: var(--blue);
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}
.footer-newsletter-gdpr a { color: rgba(255,255,255,0.6); }

/* FOOTER NEWSLETTER — final override, highest specificity */
footer .footer-newsletter-gdpr span,
footer .footer-newsletter-gdpr span a,
footer .footer-newsletter-gdpr span a:link,
footer .footer-newsletter-gdpr span a:visited,
footer .footer-newsletter-note {
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none !important;
  line-height: 1.4;
}
footer .footer-newsletter-gdpr span a:hover {
  color: rgba(255,255,255,0.65) !important;
  text-decoration: underline !important;
}

/* ── FULLSCREEN MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: #ffffff;
  z-index: 9999;
  overflow: hidden;
}
.mobile-menu.open {
  display: block !important;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100vh; /* fallback */
  height: 100dvh; /* accounts for mobile browser chrome */
  padding: 1.5rem 2rem 3rem;
  padding-bottom: max(3rem, env(safe-area-inset-bottom, 3rem));
  box-sizing: border-box;
  overflow-y: auto;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-shrink: 0;
}
.mobile-menu-header .nav-logo img {
  height: 40px !important;
  width: auto;
}
.mobile-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  font-weight: 300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.25rem;
}
.mobile-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none !important;
  letter-spacing: -0.02em;
  padding: 0.6rem 0;
  transition: color 0.2s;
  display: block;
  text-align: center;
  width: 100%;
}
.mobile-nav a:hover { color: var(--blue) !important; }
.mobile-cta-full {
  display: block !important;
  background: var(--blue);
  color: #ffffff !important;
  text-align: center;
  padding: 1.1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 2rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mobile-cta-full:hover {
  background: var(--blue-dark);
}

@media (max-width: 900px) {
  .nav-right { display: none !important; }
}

/* Hide WordPress auto-appended HR at end of post content */
.post-content hr:last-child { display: none; }
.post-content > hr { display: none; }

/* Footer nav menu output from wp_nav_menu() */
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 0.8rem; }
.footer-nav-list li a,
.footer-nav-list li a:visited {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-list li a:hover { color: var(--white) !important; }

/* Blog category filter pills */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0 2.5rem;
}
.blog-filter-pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(35,109,218,0.2);
  color: var(--text-muted);
  background: rgba(255,255,255,0.6);
  transition: all 0.18s;
  white-space: nowrap;
}
.blog-filter-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(35,109,218,0.05);
}
.blog-filter-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Blog card placeholder image */
.blog-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35,109,218,0.05);
}

/* Hide stray HR WordPress renders after post content */
.inner-page-section hr,
.post-wrap hr,
.page-wrap hr,
article hr:last-of-type,
.entry-content + hr,
hr.wp-block-separator { display: none !important; }

/* 404 PAGE */
.not-found-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 4vw 6rem;
  text-align: center;
}
.not-found-code {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 700;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.not-found-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.not-found-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.not-found-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.not-found-links .btn-primary {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.not-found-links .btn-outline {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Disable fade-in delay on single posts and pages — content should be immediately visible */
.single .post-wrap .fade-in,
.single .post-content,
.page .post-wrap .fade-in,
.page .post-content {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* CALCULATOR GATE */
.calc-gate {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}
.calc-gate.show { display: flex; }
.calc-gate-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.calc-gate-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 1.5rem;
}
.calc-gate-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}
.calc-gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.calc-gate-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.calc-gate-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.calc-gate-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(35,109,218,0.18);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255,255,255,0.85);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.calc-gate-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,109,218,0.08);
}
.calc-gdpr-wrap {
  background: rgba(35,109,218,0.04);
  border: 1px solid rgba(35,109,218,0.12);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.calc-gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.calc-gdpr-label input[type="checkbox"] {
  accent-color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.calc-gdpr-label a { color: var(--blue); }
.calc-gdpr-note {
  font-size: 0.72rem;
  color: rgba(81,99,131,0.65);
  line-height: 1.5;
}
.calc-gate-submit {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

/* Calculator results — two stat columns */
.calc-result-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.calc-result-stat { text-align: center; }
.calc-result-divider {
  width: 1px;
  height: 60px;
  background: rgba(35,109,218,0.15);
}

@media (max-width: 500px) {
  .calc-gate-row { grid-template-columns: 1fr; }
  .calc-result-divider { display: none; }
}

/* Calculator result stat sizes — smaller than the giant default */
.calc-result-stat .calc-hours {
  font-size: clamp(2rem, 6vw, 3rem) !important;
  margin-bottom: 0.25rem;
}
.calc-result-stat .calc-hours-label {
  font-size: 0.82rem;
}

/* Newsletter feedback message */
.footer-newsletter-feedback {
  font-size: 0.72rem !important;
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Calculator result — properly centered */
.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}
.calc-result-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}
.calc-result-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Ensure calc-result and calc-gate are hidden by default */
.calc-result { display: none; }
.calc-result.show { display: flex; }
.calc-gate { display: none; }
.calc-gate.show { display: flex; }

/* Prevent WordPress active/current page class from changing nav link colors */
#navbar .nav-links li.current-menu-item a,
#navbar .nav-links li.current-page-ancestor a,
#navbar .nav-links li.current-menu-ancestor a,
#navbar .nav-links li.current_page_item a,
#navbar .nav-links li.current_page_ancestor a {
  color: var(--text) !important;
}
#navbar .nav-links li.current-menu-item a:hover,
#navbar .nav-links li.current_page_item a:hover {
  color: var(--blue) !important;
}

/* NAV LINKS — consistent color always, regardless of active/visited/current state */
#navbar .nav-links a,
#navbar .nav-links a:link,
#navbar .nav-links a:visited,
#navbar .nav-links a:hover,
#navbar .nav-links li a,
#navbar .nav-links li.current-menu-item a,
#navbar .nav-links li.current-page-ancestor a,
#navbar .nav-links li.current-menu-ancestor a,
#navbar .nav-links li.current_page_item a,
#navbar .nav-links li.current_page_ancestor a,
#navbar .nav-links li.current-menu-item a:visited,
#navbar .nav-links li.current_page_item a:visited {
  color: var(--text) !important;
  text-decoration: none !important;
}
#navbar .nav-links a:hover {
  color: var(--blue) !important;
}

/* MOBILE MENU — CTA pinned to bottom */
.mobile-cta-full {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.5rem;
}
