
:root {
  --vsp-blue: #173B5E;
  --vsp-blue-deep: #0D2942;
  --vsp-gold: #CA8A04;
  --vsp-gold-soft: #D9AD55;
  --vsp-cream: #F7F1E8;
  --vsp-ivory: #FFFDFC;
  --vsp-beige: #EFE5D6;
  --vsp-brown: #654535;
  --vsp-text: #243444;
  --vsp-muted: #6D6A65;
  --vsp-border: rgba(202, 138, 4, .30);
  --vsp-shadow: 0 8px 24px rgba(75, 48, 20, .10);
}

/* Keep the Astra content wrapper from constraining the Elementor page. */
body.elementor-page .site-content,
body.elementor-page .ast-container,
body.elementor-page .entry-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

.vsp-header-wrap,
.vsp-header-wrap * ,
.vsp-hero,
.vsp-hero *,
.vsp-journey,
.vsp-journey * {
  box-sizing: border-box;
}

/* HEADER */
.vsp-header-wrap {
  position: relative;
  z-index: 999;
  width: 100%;
  background: rgba(255, 253, 252, .96);
  border-bottom: 1px solid rgba(202, 138, 4, .20);
  box-shadow: 0 2px 10px rgba(23, 59, 94, .05);
}
.vsp-header-inner {
  width: min(1440px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.vsp-site-logo {
  flex: 0 0 auto;
  width: 360px;
  max-width: 28vw;
}
.vsp-site-logo img {
  display: block;
  width: 100% !important;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}
.vsp-nav-widget {
  flex: 1 1 auto;
}
.vsp-nav-shell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.vsp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--vsp-gold);
  border-radius: 6px;
  background: var(--vsp-ivory);
  color: var(--vsp-blue);
  padding: 10px;
  cursor: pointer;
}
.vsp-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.vsp-menu-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
}
.vsp-menu-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 32px);
}
.vsp-menu-links a {
  position: relative;
  padding: 12px 0;
  color: var(--vsp-blue-deep);
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(15px, 1.04vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.vsp-menu-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--vsp-gold);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.vsp-menu-links a:hover,
.vsp-menu-links a:focus-visible,
.vsp-menu-links a[aria-current='page'] {
  color: var(--vsp-blue);
}
.vsp-menu-links a:hover::after,
.vsp-menu-links a:focus-visible::after,
.vsp-menu-links a[aria-current='page']::after {
  width: 100%;
}
.vsp-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid var(--vsp-gold);
  border-radius: 8px;
  background: var(--vsp-blue-deep);
  box-shadow: 0 3px 12px rgba(202, 138, 4, .20);
  color: var(--vsp-ivory) !important;
  font-family: 'Spectral', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.vsp-header-cta svg {
  width: 23px;
  height: 23px;
  stroke: var(--vsp-gold-soft);
  fill: none;
  stroke-width: 1.7;
}
.vsp-header-cta:hover,
.vsp-header-cta:focus-visible {
  background: var(--vsp-blue);
  box-shadow: 0 5px 18px rgba(202, 138, 4, .32);
  transform: translateY(-1px);
}

/* HERO */
.vsp-hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--vsp-cream);
  background-image: var(--vsp-casa-hero-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 47%;
}
.vsp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 45% 18%, rgba(255, 245, 210, .72), transparent 30%),
    linear-gradient(90deg,
      rgba(255, 253, 248, .99) 0%,
      rgba(255, 251, 243, .98) 31%,
      rgba(255, 248, 235, .90) 43%,
      rgba(255, 247, 229, .50) 56%,
      rgba(255, 247, 229, .08) 74%,
      rgba(255, 247, 229, .02) 100%);
}
.vsp-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: 20.5%;
  bottom: -4px;
  width: clamp(520px, 42vw, 760px);
  height: 96%;
  background-image: var(--vsp-sao-pio-image, none);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: drop-shadow(0 18px 24px rgba(54, 35, 19, .18));
  pointer-events: none;
}
.vsp-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1440px, calc(100% - 64px));
  min-height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.vsp-hero-copy {
  width: min(560px, 40vw);
  padding: 42px 0 40px;
}
.vsp-ornament {
  width: 360px;
  max-width: 90%;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--vsp-gold);
}
.vsp-ornament::before,
.vsp-ornament::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
}
.vsp-ornament span {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 21px;
  line-height: 1;
}
.vsp-hero-line .elementor-heading-title {
  margin: 0;
  color: var(--vsp-blue-deep);
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(42px, 4.1vw, 66px) !important;
  font-weight: 600 !important;
  line-height: 1.06 !important;
  letter-spacing: -.7px;
}
.vsp-hero-line.vsp-gold-line .elementor-heading-title {
  color: #B8750B;
}
.vsp-hero-copy .elementor-widget-heading {
  margin-bottom: 0;
}
.vsp-hero-text {
  width: 520px;
  max-width: 100%;
  margin-top: 18px;
}
.vsp-hero-text,
.vsp-hero-text p {
  color: var(--vsp-blue-deep);
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 19px;
  line-height: 1.46;
}
.vsp-hero-text p { margin: 0; }
.vsp-hero-actions {
  display: flex;
  flex-flow: row wrap;
  gap: 18px;
  margin-top: 22px;
}
.vsp-hero-actions .elementor-widget-button {
  width: auto;
}
.vsp-btn-primary .elementor-button,
.vsp-btn-secondary .elementor-button {
  min-height: 52px;
  padding: 13px 25px;
  border-radius: 7px;
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.vsp-btn-primary .elementor-button {
  border: 1px solid var(--vsp-gold);
  background: var(--vsp-blue-deep);
  box-shadow: 0 4px 14px rgba(23, 59, 94, .16);
  color: var(--vsp-ivory);
}
.vsp-btn-primary .elementor-button:hover {
  background: var(--vsp-blue);
  box-shadow: 0 7px 20px rgba(202, 138, 4, .25);
  transform: translateY(-1px);
}
.vsp-btn-secondary .elementor-button {
  border: 1px solid var(--vsp-gold);
  background: rgba(255, 253, 252, .80);
  color: var(--vsp-blue-deep);
}
.vsp-btn-secondary .elementor-button:hover {
  background: var(--vsp-ivory);
  box-shadow: 0 5px 16px rgba(202, 138, 4, .18);
  transform: translateY(-1px);
}
.vsp-house-link {
  margin-top: 18px;
}
.vsp-house-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vsp-blue-deep);
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.vsp-house-link a svg {
  width: 26px;
  height: 26px;
  stroke: var(--vsp-gold);
  fill: none;
  stroke-width: 1.6;
}
.vsp-house-link a span:last-child {
  transition: transform .25s ease;
}
.vsp-house-link a:hover span:last-child { transform: translateX(4px); }

/* CARDS */
.vsp-journey {
  position: relative;
  padding: 24px 0 18px;
  background: linear-gradient(180deg, #FFFDFC 0%, #FBF6EE 100%);
}
.elementor-element.vsp-cards-grid {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  display: grid !important;
  flex-direction: initial !important;
  flex-wrap: initial !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.elementor-element.vsp-card {
  position: relative;
  min-height: 230px;
  padding: 25px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: 1px solid var(--vsp-border);
  border-top: 2px solid rgba(202, 138, 4, .60);
  border-radius: 8px;
  background: rgba(255, 253, 252, .93);
  box-shadow: var(--vsp-shadow);
  transition: transform .30s ease, box-shadow .30s ease, border-color .30s ease;
}
.elementor-element.vsp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(202, 138, 4, .58);
  box-shadow: 0 14px 30px rgba(202, 138, 4, .16);
}
.vsp-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 5px;
  color: var(--vsp-gold);
}
.vsp-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vsp-card-title .elementor-heading-title {
  margin: 0;
  color: var(--vsp-blue-deep);
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(21px, 1.7vw, 27px) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
.vsp-card-divider {
  width: 88%;
  margin: 10px auto 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vsp-gold);
}
.vsp-card-divider::before,
.vsp-card-divider::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
}
.vsp-card-divider span {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  line-height: 1;
}
.vsp-card-copy,
.vsp-card-copy p {
  color: var(--vsp-blue-deep);
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 15.5px;
  line-height: 1.35;
}
.vsp-card-copy p { margin: 0; }
.vsp-quote {
  width: min(760px, calc(100% - 40px));
  margin: 16px auto 0;
}
.vsp-quote .elementor-heading-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #B8750B;
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-align: center;
}
.vsp-quote .elementor-heading-title::before,
.vsp-quote .elementor-heading-title::after {
  content: '';
  width: 70px;
  height: 1px;
  background: var(--vsp-gold);
}

@media (max-width: 1280px) {
  .vsp-header-inner,
  .vsp-hero-inner,
  .elementor-element.vsp-cards-grid { width: min(1180px, calc(100% - 48px)); }
  .vsp-header-inner { gap: 22px; }
  .vsp-site-logo { width: 300px; }
  .vsp-menu-panel { gap: 22px; }
  .vsp-menu-links { gap: 20px; }
  .vsp-header-cta { padding-inline: 16px; font-size: 14px; }
  .vsp-hero::after { right: 13.5%; width: clamp(520px, 47vw, 690px); }
  .vsp-hero-copy { width: 47%; }
}

@media (max-width: 1024px) {
  .vsp-header-inner { min-height: 90px; }
  .vsp-site-logo { width: 260px; max-width: 54vw; }
  .vsp-menu-toggle { display: block; margin-left: auto; }
  .vsp-menu-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    padding: 22px;
    border: 1px solid var(--vsp-border);
    border-radius: 8px;
    background: var(--vsp-ivory);
    box-shadow: 0 16px 34px rgba(13, 41, 66, .16);
  }
  .vsp-header-inner.is-open .vsp-menu-panel { display: block; }
  .vsp-header-inner.is-open .vsp-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .vsp-header-inner.is-open .vsp-menu-toggle span:nth-child(2) { opacity: 0; }
  .vsp-header-inner.is-open .vsp-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .vsp-menu-links { display: grid; gap: 0; }
  .vsp-menu-links a { padding: 13px 4px; border-bottom: 1px solid rgba(202, 138, 4, .16); }
  .vsp-menu-links a::after { display: none; }
  .vsp-header-cta { width: 100%; margin-top: 18px; }

  .vsp-hero,
  .vsp-hero-inner { min-height: 660px; }
  .vsp-hero::after { right: -5%; width: 60vw; height: 88%; opacity: .98; }
  .vsp-hero-copy { width: 52%; }
  .vsp-hero-line .elementor-heading-title { font-size: clamp(39px, 5.1vw, 54px) !important; }
  .elementor-element.vsp-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .vsp-header-inner,
  .vsp-hero-inner,
  .elementor-element.vsp-cards-grid { width: calc(100% - 36px); }
  .vsp-header-inner { min-height: 78px; }
  .vsp-site-logo { width: 230px; max-width: calc(100vw - 92px); }
  .vsp-site-logo img { max-height: 68px; }
  .vsp-menu-panel { right: 18px; left: 18px; }

  .vsp-hero { min-height: 820px; background-position: 68% center; }
  .vsp-hero::before {
    background:
      linear-gradient(180deg,
        rgba(255, 253, 248, .99) 0%,
        rgba(255, 251, 243, .97) 44%,
        rgba(255, 248, 235, .76) 62%,
        rgba(255, 247, 229, .26) 100%);
  }
  .vsp-hero::after {
    right: -4%;
    bottom: -8px;
    width: 104vw;
    height: 54%;
    background-position: center bottom;
  }
  .vsp-hero-inner { min-height: 820px; align-items: flex-start; }
  .vsp-hero-copy { width: 100%; padding: 42px 0 360px; }
  .vsp-ornament { width: 270px; margin-bottom: 14px; }
  .vsp-hero-line .elementor-heading-title {
    font-size: clamp(34px, 10.7vw, 48px) !important;
    line-height: 1.08 !important;
  }
  .vsp-hero-text,
  .vsp-hero-text p { font-size: 17px; line-height: 1.5; }
  .vsp-hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .vsp-hero-actions .elementor-widget-button { width: 100%; }
  .vsp-hero-actions .elementor-button { width: 100%; }
  .vsp-house-link a { align-items: flex-start; font-size: 16px; line-height: 1.3; }

  .vsp-journey { padding-top: 20px; }
  .elementor-element.vsp-cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .elementor-element.vsp-card { min-height: 0; padding: 24px 22px; }
  .vsp-card-title .elementor-heading-title { font-size: 24px !important; }
  .vsp-quote .elementor-heading-title { font-size: 20px !important; }
  .vsp-quote .elementor-heading-title::before,
  .vsp-quote .elementor-heading-title::after { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .vsp-header-wrap *, .vsp-hero *, .vsp-journey * { transition: none !important; }
}


/* Elementor frontend hardening: the editor loads styles in a different order. */
body.elementor-page .elementor-element.vsp-hero {
  background-image: var(--vsp-casa-hero-image, none) !important;
}
body.elementor-page .elementor-element.vsp-hero::after {
  background-image: var(--vsp-sao-pio-image, none) !important;
}
body.elementor-page .elementor-element.vsp-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  flex-direction: initial !important;
  flex-wrap: initial !important;
}
body.elementor-page .elementor-element.vsp-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border: 1px solid var(--vsp-border) !important;
  border-top: 2px solid rgba(202, 138, 4, .60) !important;
  border-radius: 8px !important;
  background: rgba(255, 253, 252, .93) !important;
  box-shadow: var(--vsp-shadow) !important;
}
@media (max-width: 1024px) {
  body.elementor-page .elementor-element.vsp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  body.elementor-page .elementor-element.vsp-cards-grid {
    grid-template-columns: 1fr !important;
  }
}
