/*
Theme Name:   Blocksy Child - eNotary One
Theme URI:    https://enotaryone.com
Description:  Blocksy child theme for eNotary One
Author:       eNotary One
Author URI:   https://enotaryone.com
Template:     blocksy
Version:      1.9.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  blocksy-child
*/

:root {
  /* Iranian-aligned: flag green + saffron gold + flag red (urgency only) */
  --enotary-primary: #239F40;
  --enotary-primary-hover: #1B7F33;
  --enotary-accent: #E8B920;
  --enotary-accent-deep: #C99A12;
  --enotary-accent-soft: #A8C9AB;
  --enotary-navy: #14261C;
  --enotary-navy-soft: #1B3326;
  --enotary-orange: #DA0000;
  --enotary-orange-btn: #C00000;
  --enotary-text: #2C3540;
  --enotary-muted: #66707C;
  /* Content links: clear blue on sage wash (distinct from body text) */
  --enotary-link: #1565C0;
  --enotary-link-hover: #0D47A1;
  --enotary-light: #EFF5F1;
  /* Canvas: true light green (gray-sage steps were too desaturated) */
  --enotary-wash: #A8C9AB;
  --enotary-white: #ffffff;
  --enotary-panel: #B8CDBA;
  --enotary-panel-deep: #15241C;
  --enotary-panel-input: #1B3326;
  --enotary-footer-bg: #0E1A14;
  --enotary-footer-mid: #15241C;
  --enotary-font: "Source Sans 3", system-ui, sans-serif;
  --enotary-heading: "Source Sans 3", system-ui, sans-serif;
  --enotary-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --enotary-max: 1140px;
  --enotary-radius: 12px;
  --enotary-section-y: 4.75rem;
  --enotary-hero-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);

  /* Scroll ambient system (updated by enotary-scroll.js) */
  --enotary-scroll-progress: 0;
  --enotary-focus-x: 50%;
  --enotary-focus-y: 42%;
  --enotary-wash-a: rgba(168, 201, 171, 0.55);
  --enotary-wash-b: rgba(35, 159, 64, 0.1);
  --enotary-ambient-opacity: 0.35;
}

/* Blocksy-equivalent base (parent theme CSS is not loaded on the static origin) */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--enotary-wash);
  color: var(--enotary-text);
  font-family: var(--enotary-font);
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Baked blog posts (Blocksy page-title / entry-content are not present) */
.enotary-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.enotary-post .page-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
  line-height: 1.25;
}
.enotary-post h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}
.enotary-post h3 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.6rem;
}
.enotary-post p {
  margin: 0 0 1rem;
}
.enotary-post ul, .enotary-post ol {
  margin: 0 0 1rem 1.25rem;
}
.enotary-post a {
  color: var(--enotary-link);
}
.enotary-post a:hover {
  color: var(--enotary-link-hover);
}



/* Reset Blocksy chrome interference */
.enotary-site .ct-header,
.enotary-site header#header,
.enotary-site .ct-footer,
.enotary-site footer#footer,
.enotary-site .hero-section,
.enotary-site .ct-container > .entry-header {
  display: none !important;
}

.enotary-site #main-container,
.enotary-site main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: var(--enotary-wash);
}

.enotary-site .entry-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.enotary-site .entry-content.is-layout-constrained > * {
  max-width: none !important;
}

.enotary-site,
.enotary-site body,
.enotary-site p,
.enotary-site a,
.enotary-site li,
.enotary-site input,
.enotary-site textarea,
.enotary-site button {
  font-family: var(--enotary-font);
  color: var(--enotary-text);
}

/* Dark chrome overrides (header / contact / news) */
.enotary-site .enotary-header,
.enotary-site .enotary-header a,
.enotary-site .enotary-sidebar-contact,
.enotary-site .enotary-sidebar-contact p,
.enotary-site .enotary-sidebar-contact a,
.enotary-site .enotary-sidebar-contact li,
.enotary-site .enotary-sidebar-contact label,
.enotary-site .enotary-mobile-menu a {
  color: #f0f3f8;
}

.enotary-site h1,
.enotary-site h2,
.enotary-site h3,
.enotary-site h4 {
  font-family: var(--enotary-heading);
  color: var(--enotary-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Force readable white titles on photographic heroes */
.enotary-site .enotary-page-hero h1,
.enotary-site .enotary-page-hero-title,
.enotary-site h1.enotary-home-hero-title,
.enotary-site .enotary-home-hero-title,
.enotary-site p.enotary-home-hero-title,
.enotary-site .enotary-contact-hero h1,
.enotary-site .enotary-video-panel h3 {
  color: #fff !important;
  text-shadow: var(--enotary-hero-shadow);
}

/* Beat .enotary-site p dark text on hero subcopy */
.enotary-site p.enotary-home-hero-sub,
.enotary-site .enotary-home-hero-sub,
.enotary-site p.enotary-page-hero-sub,
.enotary-site .enotary-page-hero-sub {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.enotary-display {
  font-family: var(--enotary-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ========== HEADER ========== */
.enotary-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(35, 159, 64, 0.22), transparent 50%),
    linear-gradient(180deg, #121f18 0%, var(--enotary-navy) 100%);
  border-bottom: 0;
  box-shadow: 0 8px 28px rgba(8, 20, 14, 0.35);
}

/* Brand signature: green → gold only (no red / traffic-light) */
.enotary-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--enotary-primary) 0%,
    #2DB34F 40%,
    var(--enotary-accent) 100%
  );
}

.enotary-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.enotary-logo {
  flex: 0 0 auto;
  flex-shrink: 0;
}

.enotary-logo img {
  display: block;
  height: 72px;
  width: auto;
  max-width: none;
  max-height: 72px;
}

.enotary-header-actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.enotary-mobile-jump {
  display: none;
  color: #e8f0ea;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.enotary-nav-bands {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0.15rem 0.5rem;
  text-align: center;
}

.enotary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.35rem;
}

.enotary-nav-primary {
  padding-bottom: 0.4rem;
}

.enotary-nav-services {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.enotary-nav > a {
  color: #f0f3f8;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.enotary-nav-services > a {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(240, 243, 248, 0.88);
}

.enotary-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 2px;
  background: var(--enotary-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.enotary-nav > a.is-active,
.enotary-nav > a:hover {
  color: var(--enotary-accent);
}

.enotary-nav > a.is-active::after,
.enotary-nav > a:hover::after {
  transform: scaleX(1);
}

.enotary-nav-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f0f3f8 !important;
}

.enotary-nav-blog.is-active,
.enotary-nav-blog:hover {
  color: var(--enotary-accent) !important;
}

.enotary-nav-blog svg {
  flex-shrink: 0;
}

.enotary-nav-blog-label {
  font-size: 1.02rem;
}

.enotary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--enotary-accent);
  color: var(--enotary-navy) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(232, 185, 32, 0.35);
}

.enotary-cta:hover {
  background: var(--enotary-accent-deep);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(201, 154, 18, 0.32);
}

.enotary-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.35rem;
}

.enotary-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f0f3f8;
}

.enotary-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.35rem;
  background: var(--enotary-panel-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.enotary-mobile-menu a {
  color: #f0f3f8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.enotary-mobile-menu[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .enotary-nav-bands {
    display: none;
  }
  .enotary-mobile-toggle {
    display: flex;
  }
  .enotary-mobile-jump {
    display: inline-block;
  }
  .enotary-header-actions .enotary-cta {
    display: none;
  }
  .enotary-header-inner {
    justify-content: space-between;
  }
}

/* ========== FOOTER ========== */
.enotary-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(35, 159, 64, 0.28), transparent 55%),
    linear-gradient(165deg, var(--enotary-footer-mid) 0%, var(--enotary-footer-bg) 55%, #08140E 100%);
  color: #f0f3f8;
  margin-top: 0;
  border-top: 3px solid var(--enotary-primary);
}

/* Beat .enotary-site p/a/li dark body text inside footer */
.enotary-site .enotary-footer,
.enotary-site .enotary-footer p,
.enotary-site .enotary-footer li,
.enotary-site .enotary-footer a,
.enotary-site .enotary-footer .enotary-footer-meta,
.enotary-site .enotary-footer .enotary-footer-review-label,
.enotary-site .enotary-footer .enotary-footer-bottom,
.enotary-site .enotary-footer .enotary-footer-bottom p {
  color: #f0f3f8 !important;
}

.enotary-footer a {
  text-decoration: none;
}

.enotary-footer a:hover {
  color: #fff !important;
}

.enotary-footer-inner {
  max-width: var(--enotary-max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.25rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.35fr 0.95fr;
  gap: 2.25rem;
  align-items: start;
}

.enotary-footer h3 {
  color: #fff !important;
  font-size: 1rem;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.enotary-footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 0.85rem;
}

.enotary-footer-brand p {
  line-height: 1.55;
}

.enotary-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.enotary-footer li {
  margin-bottom: 0.5rem;
}

.enotary-footer-meta {
  margin: 0.4rem 0;
}

.enotary-footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.enotary-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #fff !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.enotary-footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.enotary-footer-review-label {
  margin: 1rem 0 0.45rem;
  font-size: 0.9rem;
}

.enotary-footer-review-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.enotary-footer-review img {
  display: block;
  max-width: 150px;
  height: auto;
  border-radius: 6px;
  background: var(--enotary-panel);
}

.enotary-footer-qr {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--enotary-panel);
  border-radius: 6px;
  padding: 4px;
}

.enotary-footer-cta {
  display: inline-block;
  background: var(--enotary-accent);
  color: var(--enotary-navy) !important;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  box-shadow: 0 6px 16px rgba(232, 185, 32, 0.32);
}

.enotary-footer-cta:hover {
  background: var(--enotary-accent-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

.enotary-footer-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.enotary-footer-badge-stack img {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
}

.enotary-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: var(--enotary-max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.enotary-footer-bottom span {
  margin: 0 0.35rem;
  opacity: 0.7;
}

/* ========== SHARED PAGE HELPERS ========== */
.enotary-page-hero {
  position: relative;
  min-height: clamp(220px, 28svh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}

.enotary-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 14, 0.55) 0%,
    rgba(8, 20, 14, 0.42) 45%,
    rgba(10, 28, 18, 0.7) 100%
  );
}

/* Same signature as header: green → gold */
.enotary-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--enotary-primary) 0%,
    #2DB34F 40%,
    var(--enotary-accent) 100%
  );
  z-index: 2;
}

.enotary-page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 4svh, 2.75rem) 1.25rem;
}

.enotary-page-hero h1,
.enotary-page-hero-title {
  position: relative;
  z-index: 1;
  color: #fff !important;
  font-size: clamp(1.9rem, 4.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.12;
  text-shadow: var(--enotary-hero-shadow);
}

/* Legacy single-h1 heroes without copy wrapper */
.enotary-page-hero > h1 {
  padding: 2.5rem 1rem;
}

.enotary-page-hero-sub {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.enotary-page-hero-sub::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 0.95rem;
  border-radius: 2px;
  background: var(--enotary-accent, #E8B920);
}

/* Banner page title → Google search (white on hero) */
.enotary-title-search {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  background-image: linear-gradient(
    90deg,
    rgba(232, 185, 32, 0.95),
    rgba(45, 179, 79, 0.85)
  );
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left 92%;
  transition:
    color 0.22s ease,
    background-size 0.28s ease,
    text-shadow 0.22s ease,
    filter 0.22s ease;
  box-shadow: none;
}

.enotary-title-search:hover,
.enotary-title-search:focus-visible {
  color: #fff !important;
  background-size: 100% 2px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(232, 185, 32, 0.35);
  filter: brightness(1.06);
  outline: none;
}

.enotary-title-search::after {
  content: "";
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  margin-left: 0.38em;
  vertical-align: 0.1em;
  opacity: 0.55;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M20 20l-3.5-3.5' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M20 20l-3.5-3.5' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.enotary-title-search:hover::after,
.enotary-title-search:focus-visible::after {
  opacity: 0.95;
  transform: translateY(-1px);
  color: var(--enotary-accent, #E8B920);
}

@media (prefers-reduced-motion: reduce) {
  .enotary-title-search,
  .enotary-title-search::after {
    transition: none;
  }
}

.enotary-section {
  max-width: var(--enotary-max);
  margin: 0 auto;
  padding: var(--enotary-section-y) 1.25rem;
}

/* Inline content links — bold blue so they read as links on sage wash */
.enotary-main p a,
.enotary-main li a,
.enotary-main .enotary-article-expand a,
.enotary-main .enotary-ron-copy a,
.enotary-main .enotary-process-note a,
.enotary-main .enotary-home-article a,
.enotary-main .enotary-svc-intro a,
.enotary-main .enotary-gnw-intro a {
  color: var(--enotary-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

.enotary-main p a:hover,
.enotary-main li a:hover,
.enotary-main .enotary-article-expand a:hover,
.enotary-main .enotary-ron-copy a:hover,
.enotary-main .enotary-process-note a:hover,
.enotary-main .enotary-home-article a:hover,
.enotary-main .enotary-svc-intro a:hover,
.enotary-main .enotary-gnw-intro a:hover {
  color: var(--enotary-link-hover);
}

/* Dark credentials panel keeps gold links */
.enotary-main .enotary-intro-copy a {
  color: var(--enotary-accent, #E8B920);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.enotary-main .enotary-intro-copy a:hover {
  color: #fff;
}

.enotary-main .enotary-intro-copy a.enotary-ron-btn {
  color: var(--enotary-navy, #14261C) !important;
  text-decoration: none;
}

.enotary-main .enotary-intro-copy a.enotary-ron-btn:hover {
  color: #fff !important;
}

/* Outbound resource links under page H1 */
.enotary-outbound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  margin: 1.15rem auto 0;
  max-width: 52rem;
  padding: 0;
}
.enotary-outbound-links a {
  color: var(--enotary-navy, #14261C);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.enotary-outbound-links a:first-child {
  color: var(--enotary-primary, #239F40);
  border-bottom-color: var(--enotary-accent, #E8B920);
}
.enotary-outbound-links a:hover {
  color: var(--enotary-primary, #239F40);
  border-bottom-color: var(--enotary-accent, #E8B920);
}
.enotary-section > .enotary-outbound-links,
.enotary-svc-intro > .enotary-outbound-links,
.enotary-gnw-intro > .enotary-outbound-links {
  justify-content: flex-start;
  margin-left: 0;
  margin-bottom: 1.25rem;
}
.enotary-article-expand p {
  margin: 0 0 1rem;
  line-height: 1.7;
}
.enotary-article-expand h3 {
  margin: 1.5rem 0 0.65rem;
}
.enotary-footer-intro.is-home-portrait-moved .enotary-footer-intro-left img {
  display: none;
}

.enotary-two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.25rem;
  align-items: start;
}

.enotary-two-col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: start;
}

.enotary-rounded-img {
  width: 100%;
  height: auto;
  border-radius: var(--enotary-radius);
  display: block;
}

.enotary-sidebar-card {
  background: linear-gradient(180deg, var(--enotary-panel) 0%, #9EBEA1 100%);
  border: 1px solid rgba(20, 38, 28, 0.08);
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 10px 28px rgba(20, 38, 28, 0.05);
  border-top: 3px solid var(--enotary-primary);
}

.enotary-sidebar-card > p:first-child {
  margin-top: 0;
  color: var(--enotary-muted);
}

.enotary-sidebar-phone {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--enotary-navy);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.enotary-sidebar-phone a {
  color: inherit;
  text-decoration: none;
}

.enotary-btn-orange {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--enotary-orange);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.98rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(218, 0, 0, 0.28);
}

.enotary-btn-orange:hover {
  background: var(--enotary-orange-btn);
  transform: translateY(-1px);
}

.enotary-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.enotary-step img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.enotary-step h4 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.enotary-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--enotary-muted);
}

.enotary-btn-primary {
  display: inline-flex;
  background: var(--enotary-accent);
  color: var(--enotary-navy) !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  box-shadow: 0 6px 16px rgba(232, 185, 32, 0.32);
}

.enotary-btn-primary:hover {
  background: var(--enotary-accent-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Contact form */
.enotary-cf7-mount .wpcf7-form label,
.enotary-cf7-mount .wpcf7-form p,
.enotary-cf7-mount .enotary-contact-form label,
.enotary-cf7-mount .enotary-contact-form p {
  display: block;
  margin-bottom: 0.85rem;
  color: #f0f3f8;
}

.enotary-sidebar-contact .enotary-cf7-mount .wpcf7-form label,
.enotary-sidebar-contact .enotary-cf7-mount .wpcf7-form p,
.enotary-sidebar-contact .enotary-cf7-mount .enotary-contact-form label,
.enotary-sidebar-contact .enotary-cf7-mount .enotary-contact-form p {
  color: #f0f3f8;
}

.enotary-cf7-mount .enotary-contact-form label abbr {
  text-decoration: none;
  color: var(--enotary-accent);
}

.enotary-contact-form {
  position: relative;
}

.enotary-cf7-mount input[type="text"],
.enotary-cf7-mount input[type="email"],
.enotary-cf7-mount textarea {
  width: 100%;
  background: var(--enotary-panel-input);
  border: 1px solid rgba(35, 159, 64, 0.35);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: var(--enotary-font);
  color: #f0f3f8;
}

.enotary-cf7-mount input[type="text"]::placeholder,
.enotary-cf7-mount input[type="email"]::placeholder,
.enotary-cf7-mount textarea::placeholder {
  color: rgba(240, 243, 248, 0.45);
}

.enotary-cf7-mount input[type="text"]:focus,
.enotary-cf7-mount input[type="email"]:focus,
.enotary-cf7-mount textarea:focus {
  outline: 2px solid var(--enotary-accent);
  outline-offset: 1px;
  border-color: var(--enotary-primary);
}

.enotary-cf7-mount input[type="submit"] {
  width: 100%;
  background: var(--enotary-accent);
  color: var(--enotary-navy);
  border: 0;
  border-radius: 999px;
  padding: 0.98rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--enotary-font);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(232, 185, 32, 0.32);
}

.enotary-cf7-mount input[type="submit"]:hover {
  background: var(--enotary-accent-deep);
  color: #fff;
}

.enotary-cf7-mount input[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

.enotary-contact-status {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #f0f3f8;
}

.enotary-contact-status.is-success {
  background: rgba(35, 159, 64, 0.22);
  border: 1px solid rgba(125, 206, 160, 0.55);
}

.enotary-contact-status.is-error {
  background: rgba(229, 57, 53, 0.22);
  border: 1px solid rgba(239, 154, 154, 0.55);
}

.enotary-contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .enotary-cta,
  .enotary-btn-primary,
  .enotary-btn-orange,
  .enotary-nav > a::after,
  .enotary-nav-item > a::after {
    transition: none !important;
  }

  .enotary-cta:hover,
  .enotary-btn-primary:hover,
  .enotary-btn-orange:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .enotary-footer-inner,
  .enotary-two-col,
  .enotary-two-col-equal {
    grid-template-columns: 1fr;
  }

  .enotary-page-hero {
    min-height: 240px;
  }
}

/* ========== LAYOUT + SIDEBAR ========== */
.enotary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 25%);
  gap: 0 1.75rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 0.5rem 0 0;
}

.enotary-main {
  min-width: 0;
  background: transparent;
}

.enotary-sidebar {
  position: sticky;
  top: 8rem;
  align-self: start;
  padding: 1.75rem 1.15rem 2.5rem 0.5rem;
  max-height: calc(100vh - 8.5rem);
  overflow-y: auto;
}

.enotary-sidebar-contact {
  background: var(--enotary-panel-deep);
  border: 1px solid rgba(35, 159, 64, 0.28);
  border-top: 3px solid var(--enotary-accent);
  border-radius: 12px;
  padding: 1.35rem 1.2rem 1.4rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 10px 28px rgba(8, 20, 14, 0.22);
  color: #f0f3f8;
}

.enotary-sidebar-heading {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--enotary-accent) !important;
}

.enotary-sidebar-name {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  color: #f0f3f8;
}

.enotary-sidebar-biz {
  margin: 0 0 0.75rem;
  color: rgba(240, 243, 248, 0.7);
  font-size: 0.9rem;
}

.enotary-sidebar-meta {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: #f0f3f8;
}

.enotary-sidebar-meta a {
  color: #f0f3f8;
  font-weight: 600;
  text-decoration: none;
}

.enotary-sidebar-meta a:hover {
  color: var(--enotary-accent);
}

.enotary-sidebar-loc {
  color: rgba(240, 243, 248, 0.7);
  font-size: 0.88rem;
}

.enotary-sidebar-cta-wrap {
  margin: 0.85rem 0 1rem;
}

.enotary-sidebar-cta-wrap .enotary-btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.enotary-cf7-placeholder {
  font-size: 0.88rem;
  color: rgba(240, 243, 248, 0.7);
  margin: 0.5rem 0 0;
}

/* Full-bleed heroes inside constrained main column */
.enotary-main .enotary-home-hero {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.enotary-main .enotary-page-hero,
.enotary-main .enotary-section,
.enotary-main .enotary-home-services,
.enotary-main .enotary-ron-process,
.enotary-main .enotary-video-panels,
.enotary-main .enotary-svc-grid,
.enotary-main .enotary-gnw-lists,
.enotary-main .enotary-news,
.enotary-main .enotary-credentials {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .enotary-layout {
    grid-template-columns: 1fr;
  }

  .enotary-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 1.5rem 1.25rem 2.5rem;
    order: 2;
    background: transparent;
    border-top: 1px solid rgba(20, 38, 28, 0.12);
  }
}

/* ========== FOOTER INTRO (Javid callout) ========== */
.enotary-footer-intro {
  background: var(--enotary-wash);
  border-top: 1px solid rgba(20, 38, 28, 0.08);
}

.enotary-footer-intro-inner {
  max-width: var(--enotary-max);
  margin: 0 auto;
  padding: 4rem 1.25rem 3.75rem;
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 3.25rem;
  align-items: center;
}

.enotary-footer-intro-left {
  text-align: center;
}

.enotary-footer-intro-left h2 {
  font-family: var(--enotary-display);
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0 0 0.35rem;
  color: var(--enotary-navy);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.enotary-footer-intro-left .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--enotary-muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.enotary-footer-intro-left img {
  max-width: 270px;
  width: 100%;
  height: auto;
}

.enotary-footer-intro-right .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--enotary-primary);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.enotary-footer-intro-right h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  margin: 0 0 1rem;
  color: var(--enotary-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.enotary-footer-intro-right p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--enotary-text);
}

.enotary-footer-intro-phone {
  font-size: 1.25rem;
  font-weight: 700;
}

.enotary-footer-intro-phone a {
  color: var(--enotary-navy);
  text-decoration: none;
}

.enotary-footer-intro-phone a:hover {
  color: var(--enotary-primary);
}

.enotary-footer-maps {
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--enotary-primary);
  line-height: 0;
}

.enotary-footer-map-iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

@media (max-width: 700px) {
  .enotary-footer-map-iframe {
    height: 220px;
  }
}

@media (max-width: 800px) {
  .enotary-footer-intro-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .enotary-footer-intro-left {
    text-align: left;
  }
}

/* ========== SIDEBAR RSS (theme-matched Latest News) ========== */
.enotary-sidebar .dynamic-news-feed-block,
.enotary-sidebar-news .dynamic-news-feed-block {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(35, 159, 64, 0.28), transparent 55%),
    linear-gradient(165deg, var(--enotary-footer-mid, #15241C) 0%, var(--enotary-footer-bg, #0E1A14) 100%);
  border: 1px solid rgba(35, 159, 64, 0.35);
  border-top: 3px solid var(--enotary-accent, #E8B920);
  border-radius: 12px;
  padding: 1rem 1rem 0.85rem;
  color: #f0f3f8;
  box-shadow: 0 10px 28px rgba(14, 26, 20, 0.18);
}

.enotary-sidebar .dynamic-news-feed-header {
  text-align: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.enotary-sidebar .dynamic-news-feed-latest-heading {
  margin: 0 0 0.35rem;
  color: var(--enotary-accent, #E8B920) !important;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enotary-sidebar .dynamic-news-feed-context-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.enotary-sidebar .dynamic-news-feed-context-link {
  color: #7dcea0 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.enotary-sidebar .dynamic-news-feed-context-link:hover {
  color: var(--enotary-accent, #E8B920) !important;
}

.enotary-sidebar .dynamic-news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.enotary-sidebar .dynamic-news-feed li {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enotary-sidebar .dynamic-news-feed li:last-child {
  border-bottom: none;
}

.enotary-sidebar .dynamic-news-feed a {
  display: block;
  color: #f0f3f8 !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.enotary-sidebar .dynamic-news-feed a:hover {
  color: var(--enotary-accent, #E8B920) !important;
}

.enotary-sidebar .dynamic-news-feed .news-date {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(240, 243, 248, 0.62) !important;
}

.enotary-sidebar .rss-error-message {
  color: rgba(240, 243, 248, 0.75);
  font-size: 0.88rem;
  margin: 0.75rem 0 0.25rem;
}

/* Credentials strip (about merge) */
.enotary-credentials {
  max-width: var(--enotary-max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
}

.enotary-credentials h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.enotary-credentials p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  color: var(--enotary-text);
}

/* -------------------------------------------------------------------------- */
/* Scroll ambient + reveal system                                              */
/* -------------------------------------------------------------------------- */

.enotary-site .enotary-header,
.enotary-site header.enotary-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.enotary-site #main-container,
.enotary-site .enotary-footer,
.enotary-site footer.enotary-footer {
  position: relative;
  z-index: 1;
}

.enotary-scroll-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--enotary-ambient-opacity, 0.42);
  transition: opacity 0.45s ease;
  background:
    radial-gradient(
      ellipse 72% 58% at var(--enotary-focus-x, 50%) var(--enotary-focus-y, 42%),
      var(--enotary-wash-a, rgba(245, 248, 246, 0.55)),
      transparent 72%
    ),
    radial-gradient(
      ellipse 58% 48% at calc(100% - var(--enotary-focus-x, 50%)) calc(100% - var(--enotary-focus-y, 42%)),
      var(--enotary-wash-b, rgba(35, 159, 64, 0.08)),
      transparent 68%
    );
  will-change: opacity;
}

.enotary-site.enotary-scroll-ready .enotary-scroll-ambient {
  transition: opacity 0.45s ease, background 0.6s ease;
}

/* Section in focus — thin brand accent, no scale/shadow theater */
[data-enotary-section] {
  position: relative;
  transition: background-color 0.45s ease;
}

/* Skip photo/video heroes — their ::before is the brand green wash */
[data-enotary-section].is-enotary-focus:not(.enotary-home-hero):not(.enotary-page-hero)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--enotary-primary, #239F40) 0%,
    var(--enotary-accent, #E8B920) 100%
  );
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}

[data-enotary-section].is-enotary-focus:not(.enotary-home-hero):not(.enotary-page-hero) {
  background-color: rgba(255, 255, 255, 0.22);
}

[data-enotary-section].is-enotary-focus h2::after,
[data-enotary-section].is-enotary-focus .enotary-home-services h2::after {
  transform: scaleX(1.15);
}

/* Reveal on enter */
.enotary-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.48s ease,
    transform 0.48s ease;
  transition-delay: calc(var(--enotary-reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

.enotary-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .enotary-scroll-ambient {
    display: none !important;
  }

  [data-enotary-section].is-enotary-focus:not(.enotary-home-hero):not(.enotary-page-hero)::before {
    display: none;
  }

  [data-enotary-section].is-enotary-focus:not(.enotary-home-hero):not(.enotary-page-hero) {
    background-color: transparent;
  }

  .enotary-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
