/*
Theme Name:  GRUSA Theme
Theme URI:   https://retireinbulgariausa.com
Author:      Axel Real Estate & Home Loans Inc.
Description: Custom theme for RetireInBulgariaUSA.com — clean, full-width, no sidebars.
Version:     1.0.0
License:     Private
Text Domain: grusa
*/

/* ── TARGETED RESET — only constrain wrapper elements, never children ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  overflow-x: hidden;
}
body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2c3440;
  background: #ffffff;
  overflow-x: hidden;
}

/* Kill WP wrapper constraints — padding/margin/width only, NOT display properties */
#page, #content, #main, #primary,
.site, .site-content, .content-area,
.entry, .entry-content, .post-content,
.page-content, .hentry, .wp-block-group,
.ast-container, .ast-article-single,
.entry-header, .entry-footer {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}

/* Ensure grids inside content work */
.entry-content *,
.post-content *,
.page-content * {
  max-width: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5em; padding: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { cursor: pointer; }


/* ── NAVIGATION ── */
.grusa-nav {
  position: sticky; top: 0; z-index: 1000;
  background: #0d1f30;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.grusa-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px,4vw,48px);
  height: 64px;
}
.grusa-nav-logo {
  font: 700 15px/1 Georgia, serif;
  color: #ffffff; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.grusa-nav-logo span {
  color: #c8a96e;
}
.grusa-nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.grusa-nav-links a {
  font: 500 13px/1 -apple-system, sans-serif;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 8px 14px; border-radius: 5px;
  transition: all .2s;
}
.grusa-nav-links a:hover { color: #ffffff; background: rgba(255,255,255,.08); }
.grusa-nav-cta {
  background: #c8a96e !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: 5px !important;
  font-weight: 600 !important;
}
.grusa-nav-cta:hover { background: #a8893e !important; }

/* ── HAMBURGER MOBILE ── */
.grusa-nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; padding: 8px;
}
@media (max-width: 768px) {
  .grusa-nav-links { display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #0d1f30; padding: 8px 0; }
  .grusa-nav-links.open { display: flex; }
  .grusa-nav-links a { padding: 12px 24px; border-radius: 0; }
  .grusa-nav-toggle { display: block; }
}

/* ── FOOTER ── */
.grusa-footer {
  background: #0a1929;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px clamp(16px,4vw,48px) 32px;
  color: rgba(255,255,255,.45);
  font: 400 13px/1.7 -apple-system, sans-serif;
}
.grusa-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.grusa-footer h4 {
  font: 700 13px/1 -apple-system, sans-serif;
  color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px;
}
.grusa-footer a {
  color: rgba(255,255,255,.45);
  text-decoration: none; display: block;
  margin-bottom: 8px; transition: color .2s;
}
.grusa-footer a:hover { color: #c8a96e; }
.grusa-footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px;
}
@media (max-width: 680px) {
  .grusa-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .grusa-footer-bottom { flex-direction: column; text-align: center; }
}
/* Fix boxed hero backgrounds on inner wrappers */
.rib-hero-inner,
.rib-hero-text,
.rib-hero-form-box,
.au-hero-inner,
.op-hero-inner,
.wb-hero-inner {
  background: transparent !important;
  box-shadow: none !important;
}
/* ── HERO SYSTEM PROTECTION (prevents boxed hero issue in future) ── */

/* Only outer hero sections get gradient */
.rib-hero,
.au-hero,
.op-hero,
.wb-hero {
  background: linear-gradient(135deg,#0d1f30 0%,#1a3a5c 60%,#1a4a6a 100%);
}

/* Inner hero wrappers must always stay transparent */
[class$="-hero-inner"],
[class$="-hero-text"],
[class$="-hero-form-box"] {
  background: transparent !important;
  box-shadow: none !important;
}
/* ── GLOBAL SECTION POLISH ── */

/* Consistent vertical spacing for all sections */
[class*="section--"],
.rib-section,
.op-section,
.wb-section {
  padding: clamp(56px,7vw,96px) clamp(20px,4vw,60px);
}

/* Constrain readable text width */
[class*="section--"] p,
[class*="section--"] li {
  max-width: 720px;
}

/* Better heading rhythm */
h1 {
  font-size: clamp(32px,4vw,48px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px,3vw,34px);
  line-height: 1.25;
}

/* Improve section separation */
.section-divider {
  width: 60px;
  height: 3px;
  background: #c8a96e;
  margin: 0 0 24px;
  border-radius: 2px;
}

/* Smooth page flow */
.section--smoke {
  background: #f8f6f2;
}

.section--white {
  background: #ffffff;
}

.section--navy {
  background: #1a3a5c;
  color: #ffffff;
}
/* HERO LAYOUT BALANCE */

.rib-hero-inner{
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: clamp(40px,5vw,80px);
  align-items: center;
}

/* Better vertical breathing */
.rib-hero{
  padding: clamp(90px,10vw,140px) clamp(20px,5vw,60px);
}
.rib-hero-text p{
  max-width: 520px;
  line-height: 1.65;
  font-size: 15px;
}
.rib-hero-form-box{
  transform: translateY(10px);
}
.rib-hero-text{
  position: relative;
}

.rib-hero-text:before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -40px;
  background: radial-gradient(circle at center, rgba(255,255,255,.06), transparent 70%);
  z-index:-1;
}
/* HERO DEPTH EFFECT */

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

.rib-hero-text::before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -40px;
  background: radial-gradient(circle at center, rgba(255,255,255,.05), transparent 70%);
  z-index:-1;
  pointer-events:none;
}

