/**
 * PRYMADONA 3.2 — definitive black, white and gold palette.
 * Loaded after all theme and Elementor styles so database-generated CSS cannot
 * reintroduce the former blue and green identity.
 */

:root,
body.prymadona-theme,
body.prymadona-theme.elementor-kit-26,
body.prymadona-theme .elementor-kit-26 {
  --navy-deep: #050505;
  --navy: #111111;
  --navy-soft: #1e1e1e;
  --blue: #b68a2e;
  --blue-bright: #c79a3b;
  --cyan: #d4af37;
  --cyan-light: #e2c269;
  --sky: #f0d98a;
  --ice: #f7f4ec;
  --ice-soft: #fbfaf7;
  --white: #ffffff;
  --text: #111111;
  --text-soft: #5b554b;
  --text-light: #81796b;
  --green: #d4af37;
  --line: rgba(226, 194, 105, 0.18);
  --e-global-color-primary: #d4af37 !important;
  --e-global-color-secondary: #111111 !important;
  --e-global-color-text: #5b554b !important;
  --e-global-color-accent: #b68a2e !important;
  --e-global-typography-primary-font-family: "Montserrat", sans-serif !important;
  --e-global-typography-secondary-font-family: "Montserrat", sans-serif !important;
  --e-global-typography-text-font-family: "Inter", system-ui, sans-serif !important;
  --e-global-typography-accent-font-family: "Inter", system-ui, sans-serif !important;
}

body.prymadona-theme {
  color: #111111;
  background: #ffffff;
}

body.prymadona-theme nav,
body.prymadona-theme footer,
body.prymadona-theme .dk,
body.prymadona-theme .hero-home,
body.prymadona-theme .phero,
body.prymadona-theme .cta-block {
  background-color: #050505;
}

body.prymadona-theme .elementor-widget-button .elementor-button,
body.prymadona-theme .e-button-base,
body.prymadona-theme .btn-primary,
body.prymadona-theme .nav-cta,
body.prymadona-theme .prymadona-menu-cta > a,
body.prymadona-theme input[type="submit"],
body.prymadona-theme .comment-form .submit {
  border-color: transparent !important;
  background-color: #d4af37 !important;
  background-image: linear-gradient(135deg, #b68a2e, #d4af37) !important;
  color: #111111 !important;
  fill: #111111 !important;
}

body.prymadona-theme .elementor-widget-button .elementor-button:hover,
body.prymadona-theme .elementor-widget-button .elementor-button:focus-visible,
body.prymadona-theme .btn-primary:hover,
body.prymadona-theme .nav-cta:hover,
body.prymadona-theme .prymadona-menu-cta > a:hover,
body.prymadona-theme input[type="submit"]:hover {
  background-color: #e2c269 !important;
  background-image: linear-gradient(135deg, #d4af37, #e2c269) !important;
  color: #050505 !important;
}

body.prymadona-theme .elementor-icon,
body.prymadona-theme .elementor-icon-list-icon,
body.prymadona-theme .eyebrow,
body.prymadona-theme .accent,
body.prymadona-theme .stat .n,
body.prymadona-theme .pma-home-rentals-card h3 {
  color: #d4af37 !important;
  fill: #d4af37 !important;
}

body.prymadona-theme .elementor-view-stacked .elementor-icon {
  background-color: rgba(212, 175, 55, 0.14) !important;
}

body.prymadona-theme .elementor-view-framed .elementor-icon {
  border-color: #d4af37 !important;
}

body.prymadona-theme input:not([type="submit"]):focus,
body.prymadona-theme select:focus,
body.prymadona-theme textarea:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.14) !important;
}

body.prymadona-theme a:focus-visible,
body.prymadona-theme button:focus-visible,
body.prymadona-theme input:focus-visible,
body.prymadona-theme select:focus-visible,
body.prymadona-theme textarea:focus-visible {
  outline-color: #e2c269 !important;
}

/* Old homepage video: removed from the content and hidden defensively while
 * WordPress or Elementor caches are being regenerated after the update. */
body.home.prymadona-theme .elementor-element-1eb767e,
body.home.prymadona-theme .e-0885ed4-08b1463,
body.home.prymadona-theme video.e-self-hosted-video-base[data-id="0885ed4"] {
  display: none !important;
}

/* Defensive palette for the previous Arrendamientos layout during cache
 * invalidation. The corrected page uses the more specific pma-exact classes. */
body.pma-arrendamientos-page .pma-arrendamientos,
body.pma-arrendamientos-page .pma-hero,
body.pma-arrendamientos-page .pma-contract-band,
body.pma-arrendamientos-page .pma-care-section,
body.pma-arrendamientos-page .pma-benefits-row,
body.pma-arrendamientos-page .pma-cta-section,
body.pma-arrendamientos-page .pma-dark {
  border-color: rgba(212, 175, 55, 0.25) !important;
  background-color: #050505 !important;
  background-image: linear-gradient(135deg, #050505, #181818) !important;
}

body.pma-arrendamientos-page .pma-arrendamientos :is(h1, h2, h3),
body.pma-arrendamientos-page .pma-hero :is(h1, h2, h3),
body.pma-arrendamientos-page .pma-contract-band :is(h1, h2, h3) {
  color: #ffffff !important;
}

body.pma-arrendamientos-page .pma-arrendamientos :is(.eyebrow, .accent, strong),
body.pma-arrendamientos-page .pma-hero :is(.eyebrow, .accent, strong),
body.pma-arrendamientos-page .pma-contract-band :is(.eyebrow, .accent, strong) {
  color: #d4af37 !important;
}

body.pma-arrendamientos-page :is(
  .pma-heading-section,
  .pma-services-row,
  .pma-process-row,
  .pma-faq-section
) {
  border-color: rgba(182, 138, 46, 0.18) !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

body.pma-arrendamientos-page :is(
  .pma-service-card,
  .pma-process-card,
  .pma-faq-list
) {
  border-color: rgba(182, 138, 46, 0.2) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 14px 38px rgba(5, 5, 5, 0.08) !important;
}

body.pma-arrendamientos-page :is(
  .pma-service-card,
  .pma-process-card,
  .pma-heading-section,
  .pma-services-row,
  .pma-process-row,
  .pma-faq-section
) :is(h1, h2, h3, p) {
  color: #111111 !important;
}

/* Presentation attributes in the original illustrations are mapped to the
 * same palette. CSS declarations override SVG presentation attributes. */
body.prymadona-theme svg :is(
  [fill="#29B6F6"], [fill="#29b6f6"],
  [fill="#4FC3F7"], [fill="#61c9f8"],
  [fill="#2196F3"], [fill="#1E88E5"], [fill="#1e88e5"],
  [fill="#1565C0"], [fill="#6EC1E4"], [fill="#7DD3FC"],
  [fill="#61CE70"], [fill="#10B981"]
) {
  fill: #d4af37 !important;
}

body.prymadona-theme svg :is(
  [stroke="#29B6F6"], [stroke="#29b6f6"],
  [stroke="#4FC3F7"], [stroke="#61c9f8"],
  [stroke="#2196F3"], [stroke="#1E88E5"], [stroke="#1e88e5"],
  [stroke="#1565C0"], [stroke="#6EC1E4"], [stroke="#7DD3FC"],
  [stroke="#61CE70"], [stroke="#10B981"]
) {
  stroke: #d4af37 !important;
}

body.prymadona-theme svg :is(
  [fill="#0A1F3D"], [fill="#0E2A52"], [fill="#0e2a52"],
  [fill="#071b35"], [fill="#0d3769"], [fill="#16386B"],
  [fill="#16386b"]
) {
  fill: #111111 !important;
}

body.prymadona-theme svg :is(
  [stroke="#0A1F3D"], [stroke="#0E2A52"], [stroke="#0e2a52"],
  [stroke="#071b35"], [stroke="#0d3769"], [stroke="#16386B"],
  [stroke="#16386b"]
) {
  stroke: #111111 !important;
}

body.prymadona-theme svg stop[stop-color="#29B6F6"],
body.prymadona-theme svg stop[stop-color="#4FC3F7"],
body.prymadona-theme svg stop[stop-color="#2196F3"],
body.prymadona-theme svg stop[stop-color="#1E88E5"],
body.prymadona-theme svg stop[stop-color="#61CE70"],
body.prymadona-theme svg stop[stop-color="#10B981"] {
  stop-color: #d4af37 !important;
}

@media (max-width: 767px) {
  body.prymadona-theme .elementor-widget-button .elementor-button,
  body.prymadona-theme .btn-primary,
  body.prymadona-theme .nav-cta,
  body.prymadona-theme .prymadona-menu-cta > a {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
