/*
Theme Name: Xpandex recuperación de frontend
Version: 1.0.0
*/
@font-face { font-family: "League Spartan"; src: url("assets/league-spartan.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Teko; src: url("assets/teko.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Roboto; src: url("assets/roboto.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

* { box-sizing: border-box; }
html { font-size: 62.5%; }
body { margin: 0; min-height: 100vh; color: #202124; font: 1.6rem/1.55 Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; }
h1 { font-size: clamp(3.5rem, 6vw, 7rem); }
h2 { font-size: clamp(2.7rem, 4vw, 4.5rem); }
h3 { font-size: 2.6rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
input, textarea, select, button { font: inherit; }
button:not([disabled]) { cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7em; border-bottom: 1px solid #e0e0e0; text-align: start; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; background: white; padding: .7em 1em; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
#brx-content.wordpress { max-width: 1440px; padding: 3rem 0; margin: 0 auto; }
.brxe-section, .brxe-container, .brxe-block { display: flex; position: relative; flex-direction: column; }
.brxe-section { width: 100%; align-items: center; }
.brxe-container { width: 85%; max-width: 1440px; margin-inline: auto; }
.brxe-block { width: 100%; min-width: 0; }
.brx-grid { display: grid; }
.brxe-heading, .brxe-text, .brxe-text-basic { max-width: 100%; }
.brxe-logo, .brxe-image { display: inline-flex; }
.bricks-site-logo { width: auto; object-fit: contain; }
.bricks-button { display: inline-flex; align-items: center; justify-content: center; gap: .7em; }
.bricks-nav-menu, .bricks-mobile-menu, .brxe-list ul { list-style: none; margin: 0; padding: 0; }
.bricks-nav-menu { display: flex; align-items: center; }
.bricks-nav-menu > li > a, .bricks-mobile-menu > li > a { display: block; }
.bricks-mobile-menu-wrapper, .bricks-mobile-menu-toggle, .bricks-mobile-menu-overlay { display: none; }
.bricks-mobile-menu-toggle { border: 0; background: transparent; padding: .55em; }
.bricks-mobile-menu-toggle::before { content: "☰"; font: 2.5rem/1 sans-serif; }
.bricks-mobile-menu-toggle > * { display: none; }
.bricks-background-primary { background-color: #004aad; color: white; }
.brxe-list .content { display: flex; align-items: center; gap: .65em; }
.brxe-list .content > a { display: inline-flex; align-items: center; gap: .5em; }
.brxe-divider { width: 100%; border-bottom: 1px solid currentColor; }
.brxe-divider svg, .brxe-icon svg { width: 1em; height: 1em; }
.bricks-lazy-hidden { visibility: visible; }
.fa-phone::before { content: "☎"; font-style: normal; }
.ion-ios-mail::before { content: "✉"; font-style: normal; }
.fa-angle-right::before { content: "›"; font-style: normal; }
.brxe-image-gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr)); gap: 1.2rem; }
.brxe-image-gallery a, .brxe-image-gallery img { display: block; width: 100%; }
.brxe-image-gallery img { object-fit: cover; }
.brxe-form { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
.brxe-form .form-group { flex: 1 1 100%; }
.brxe-form input, .brxe-form textarea { width: 100%; border: 1px solid #ccc; border-radius: 0; padding: .55em .7em; background: #fff; color: inherit; }
.xph-preview-note { flex: 1 1 100%; color: inherit; font-size: .9em; opacity: .85; }
.xph-gallery-dialog { max-width: min(95vw, 105rem); max-height: 95vh; border: 0; border-radius: .8rem; padding: 1rem; background: #151515; color: white; }
.xph-gallery-dialog::backdrop { background: #000a; }
.xph-gallery-dialog img { display: block; max-height: 76vh; margin-inline: auto; object-fit: contain; }
.xph-gallery-controls { display: flex; justify-content: space-between; gap: 1rem; }
.xph-gallery-controls button { padding: .6em .8em; color: white; background: transparent; border: 1px solid #999; border-radius: .3em; }
@media (max-width: 767px) {
    .bricks-mobile-menu-toggle { display: block; }
    .bricks-nav-menu-wrapper { display: none; }
    .xph-mobile-open .bricks-mobile-menu-wrapper { display: block; position: absolute; z-index: 50; right: 0; top: 100%; min-width: 19rem; max-width: 85vw; padding: 1rem; background: white; color: #202124; box-shadow: 0 8px 25px #2021242b; }
    .bricks-mobile-menu li > a { padding: .5em .75em; }
    .brxe-image-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Owned contact UI: controls wrap at narrow widths; hidden trap never shifts layout. */
.xph-mogini-contact { width:100%; min-width:0; }
.xph-mogini-contact input:not([type=checkbox]), .xph-mogini-contact textarea { box-sizing:border-box; width:100%; max-width:100%; font:inherit; }
.xph-mogini-contact label { display:block; }
.xph-contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.xph-contact-status { padding:1rem; overflow-wrap:anywhere; }

/* Grid children must shrink to their track on phones and tablets. */
.brxe-div { min-width:0; max-width:100%; }
.brxe-div > * { min-width:0; }
.hero { overflow:hidden; }
@media (max-width: 767px) { .brxe-heading { overflow-wrap:anywhere; } }
