@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');
body{overflow-x:hidden!important}
.entry-title, .wp-block-post-title, h1.page-title { display: none !important; }
.entry-header { display: none !important; }
.site,.wp-site-blocks,#page,#content,#primary,#main,.site-main,.content-area,.entry-content,article.page,.site-content,.wp-block-group,.wp-block-post-content,.post-content,.hentry,article.type-page,article[id^="post-"]{max-width:none!important;width:100%!important;padding:0!important;margin-left:0!important;margin-right:0!important}
.entry-content>*,.post-content>*,.ec-page{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
.site-header{background:#0F2440!important;padding:0!important;border-bottom:2px solid #B45309!important}
.site-header .site-title a,.site-header .site-title{color:#FFF!important;font-family:'EB Garamond',serif!important;font-size:1.6em!important;font-weight:600!important}
.site-header .site-description{color:rgba(255,255,255,0.7)!important;font-family:'Lato',sans-serif!important;font-size:0.85em!important}
.site-header .site-branding{padding:16px 24px!important}
.main-navigation,.genesis-block-theme-navigation{background:#0F2440!important;padding:0!important}
.menu-toggle,.button-toggle,button.menu-toggle{background:#1E3A5F!important;color:#FFF!important;font-family:'Lato',sans-serif!important;font-size:0.9em!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0.08em!important;border:none!important;outline:none!important;box-shadow:none!important;padding:12px 24px!important;width:100%!important;margin:0!important}
.menu-toggle:hover,.button-toggle:hover{background:#B45309!important}
.menu-toggle:focus,.button-toggle:focus{outline:none!important;box-shadow:none!important}
.main-navigation ul{background:#0F2440!important}
.main-navigation ul li a{color:#E2E8F0!important;font-family:'Lato',sans-serif!important;font-size:0.9em!important;padding:10px 20px!important;transition:color 0.2s,background 0.2s!important}
.main-navigation ul li a:hover,.main-navigation ul li.current-menu-item a{color:#FFF!important;background:rgba(180,83,9,0.15)!important}
.site-footer{background:#0F2440!important;color:#E2E8F0!important;font-family:'Lato',sans-serif!important;padding:48px 24px 24px!important;border-top:2px solid #B45309!important}
.site-footer .site-info{color:rgba(255,255,255,0.5)!important;font-size:0.85em!important;text-align:center!important;padding-top:24px!important;border-top:1px solid rgba(255,255,255,0.1)!important;margin-top:32px!important}
.site-footer a{color:#D97706!important;text-decoration:none!important}
.site-footer a:hover{color:#FFF!important}
@media(min-width:800px){
.main-navigation ul{display:flex!important;align-items:center!important;justify-content:center!important}
.main-navigation ul li a{padding:14px 16px!important}
.menu-toggle,.button-toggle{display:none!important}
.site-header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 32px!important}
.site-header .site-branding{padding:16px 0!important}
}
.ec-page * { box-sizing: border-box; }
.ec-page { font-family: 'Lato', sans-serif; color: #0F172A; line-height: 1.7; }
.ec-page h1, .ec-page h2, .ec-page h3 { font-family: 'EB Garamond', serif; line-height: 1.25; margin: 0 0 16px; }
.ec-page p { margin: 0 0 16px; }
.ec-page a { text-decoration: none; }
.ec-section { padding: 64px 24px; max-width: 1100px; margin: 0 auto; }
.ec-btn, .ec-footer-cta-btn { display: inline-block; background: #B45309; color: #FFFFFF !important; padding: 16px 40px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.4; border-radius: 6px; border: none; cursor: pointer; text-decoration: none !important; text-align: center; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.ec-btn:hover, .ec-footer-cta-btn:hover { background: #D97706; color: #FFFFFF !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3); }
.ec-btn:active, .ec-footer-cta-btn:active { transform: translateY(0); box-shadow: none; }
.ec-btn:focus-visible, .ec-footer-cta-btn:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }
.ec-btn-o { display: inline-block; background: transparent; color: #1E3A5F; padding: 14px 36px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.4; border-radius: 6px; border: 2px solid #1E3A5F; cursor: pointer; text-decoration: none !important; text-align: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.ec-btn-o:hover { background: #1E3A5F; color: #FFFFFF; }
.ec-btn-o:focus-visible { outline: 2px solid #1E3A5F; outline-offset: 2px; }
.ec-btn-o.ec-btn-o--light { color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
.ec-btn-o.ec-btn-o--light:hover { background: rgba(255,255,255,0.12); border-color: #FFFFFF; color: #FFFFFF; }
.ec-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
@media(max-width:480px){ .ec-hero-actions { flex-direction: column; align-items: stretch; } .ec-hero-actions .ec-btn, .ec-hero-actions .ec-btn-o { text-align: center; } }
.ec-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; padding: 32px; }
.ec-card:hover { box-shadow: 0 8px 30px rgba(30,58,95,0.1); transform: translateY(-3px); }
.ec-gold { color: #B45309; font-weight: 700; font-size: 0.8em; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; }
.ec-blog-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; padding: 32px; transition: all 0.3s ease; }
.ec-blog-card:hover { box-shadow: 0 8px 30px rgba(30,58,95,0.1); transform: translateY(-3px); }
.ec-svc-grid>p,.ec-svc-grid>br,.ec-svc-grid>:not(.ec-svc-card){display:none!important}
[style*="grid-template-columns"]>p,[style*="grid-template-columns"]>br{display:none!important}

/* ═══════════════════════════════════════════════════
   DEPTH & DIMENSION EFFECTS
   ═══════════════════════════════════════════════════ */

/* --- Animated gradient hero --- */
.ec-hero-animated {
  background: linear-gradient(135deg, #0F2440 0%, #162D4A 25%, #1E3A5F 50%, #162D4A 75%, #0F2440 100%);
  background-size: 300% 300%;
  animation: ec-grad 10s ease infinite;
  position: relative;
}
.ec-hero-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 0;
}
.ec-hero-animated > * { position: relative; z-index: 1; }
@keyframes ec-grad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Scroll-reveal --- */
.ec-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.ec-reveal-stagger > .ec-reveal:nth-child(1) { transition-delay: 0s; }
.ec-reveal-stagger > .ec-reveal:nth-child(2) { transition-delay: 0.08s; }
.ec-reveal-stagger > .ec-reveal:nth-child(3) { transition-delay: 0.08s; }
.ec-reveal-stagger > .ec-reveal:nth-child(4) { transition-delay: 0.24s; }
.ec-reveal-stagger > .ec-reveal:nth-child(5) { transition-delay: 0.32s; }
.ec-reveal-stagger > .ec-reveal:nth-child(6) { transition-delay: 0.40s; }
.ec-reveal-stagger > .ec-reveal:nth-child(7) { transition-delay: 0.48s; }
.ec-reveal-stagger > .ec-reveal:nth-child(8) { transition-delay: 0.56s; }
.ec-reveal-stagger > .ec-reveal:nth-child(9) { transition-delay: 0.64s; }
.ec-reveal-stagger > .ec-reveal:nth-child(10) { transition-delay: 0.72s; }

/* --- Perspective card tilt --- */
.ec-tilt {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-tilt:hover {
  transform: perspective(800px) rotateX(1.5deg) rotateY(-2deg) translateY(-6px);
  box-shadow: 0 20px 48px rgba(30, 58, 95, 0.16), 0 0 0 1px rgba(180, 83, 9, 0.1);
}

/* --- Glassmorphism --- */
.ec-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}
.ec-glass--dark {
  background: rgba(15, 36, 64, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Wave section dividers --- */
.ec-wave {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.ec-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Step connecting line --- */
.ec-steps-connected {
  position: relative;
}
.ec-steps-connected::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(180, 83, 9, 0.35) 20%, rgba(180, 83, 9, 0.35) 80%, transparent 100%);
  z-index: 0;
}
@media(max-width: 700px) {
  .ec-steps-connected::before { display: none; }
}

/* --- FAQ accordion --- */
.ec-faq-item {
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}
.ec-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 24px 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.1em;
  color: #1E3A5F;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  transition: color 0.2s;
}
.ec-faq-item summary::-webkit-details-marker { display: none; }
.ec-faq-item summary::after {
  content: '+';
  font-family: 'Lato', sans-serif;
  font-size: 1.4em;
  font-weight: 300;
  color: #B45309;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.ec-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.ec-faq-item summary:hover { color: #B45309; }
.ec-faq-item .ec-faq-body {
  padding: 0 0 24px;
  color: #475569;
  font-size: 0.95em;
  line-height: 1.7;
  animation: ec-faq-open 0.3s ease;
}
@keyframes ec-faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Gold accent heading underline --- */
.ec-heading-accent {
  position: relative;
  display: inline-block;
}
.ec-heading-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #B45309, #D97706);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-heading-accent:hover::after,
.ec-reveal--visible .ec-heading-accent::after {
  width: 60px;
}

/* --- Decorative dot pattern overlay --- */
.ec-float-dots {
  position: relative;
}
.ec-float-dots::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.12) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
@media(max-width: 768px) {
  .ec-float-dots::before { display: none; }
}

/* --- Gold glow border for featured cards --- */
.ec-glow-border {
  position: relative;
}
.ec-glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, #B45309, #D97706, #B45309);
  background-size: 200% 200%;
  animation: ec-glow-shift 4s ease infinite;
  z-index: -1;
  opacity: 0.7;
}
@keyframes ec-glow-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Hero fade-up entrance --- */
.ec-hero-enter {
  opacity: 0;
  transform: translateY(20px);
  animation: ec-hero-fade 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ec-hero-enter:nth-child(1) { animation-delay: 0.15s; }
.ec-hero-enter:nth-child(2) { animation-delay: 0.3s; }
.ec-hero-enter:nth-child(3) { animation-delay: 0.45s; }
.ec-hero-enter:nth-child(4) { animation-delay: 0.6s; }
@keyframes ec-hero-fade {
  to { opacity: 1; transform: translateY(0); }
}

/* --- prefers-reduced-motion --- */
@media(prefers-reduced-motion: reduce) {
  .ec-reveal { opacity: 1; transform: none; transition: none; }
  .ec-hero-animated { animation: none; }
  .ec-tilt:hover { transform: translateY(-4px); }
  .ec-hero-enter { opacity: 1; transform: none; animation: none; }
  .ec-glow-border::before { animation: none; }
  .ec-faq-item .ec-faq-body { animation: none; }
  .ec-heading-accent::after { width: 60px; transition: none; }
}

/* Restore display values stripped by WordPress wp_kses_post sanitization */
.ec-page [style*="flex-wrap"] {
    display: flex;
}
.ec-page [style*="border-radius: 50%"][style*="align-items: center"][style*="justify-content: center"] {
    display: flex;
}
.ec-page [style*="grid-template-columns"] {
    display: grid;
}
