/* restore extras — generated by restore_04_polish.py */

/* Consent overlays: the restore ships no analytics or third-party tracking at all, so there
   is nothing to consent to. Their scripts are gone too, meaning the banner can never be
   dismissed and would cover the top of every page. Removing the markup is unreliable when a
   JS bundle re-renders it, so it is hidden here as well. */
.cookies-banner, .cookies-banner-content, .cookie-banner, .cookie-consent, .cookie-notice,
.cc-window, .cc-banner, #cookie-law-info-bar, #cookieChoiceInfo, .gdpr-banner,
#tarteaucitronRoot, .consent-overlay, .cookiebar {
  display: none !important;
}
body.cookie-banner-open, body.has-cookie-banner, html.cookies-open {
  overflow: auto !important;
}

/* Dead account/login modals left by the CMS (no backend on a static host) */
.modal-login, #loginModal, .login-modal { display: none !important; }

/* Carousel slots the platform's JS bundles would have filled at runtime: without a working
   bundle they stay as <img> elements with no src and render as broken-image icons. Nothing is
   lost by hiding them — they never had content in the restore. */
img:not([src]), img[src=""], img[src="#"] { display: none !important; }

/* The client's backlink block must read as the page's own copy. Where a theme only colours
   links inside specific containers, the anchor would otherwise look like plain text — inherit
   the surrounding colour but keep an underline so it is still visibly a link. */
.content-wraparea a { color: inherit; text-decoration: underline; }

/* A few px of horizontal overflow on phones (an absolutely-positioned login list, a wide footer
   logo) makes the whole page pannable sideways, which reads as broken.
   NB: use `clip`, never `hidden`, and never on html together with height:100%. `overflow:hidden`
   turns the element into a scroll container: on themes that set html{height:100%} it stops body's
   overflow propagating to the viewport, the window stops scrolling entirely and every
   scroll-driven behaviour (sticky nav, back-to-top, in-page anchors, PageDown/End) dies.
   `clip` suppresses the sideways pan without creating a scroll container. */
body { overflow-x: clip; }
/* ---- end generated block; anything below is preserved across re-runs ---- */

/* ===== ORDER 7 FIX ROUND (2026-10-17) ===================================================== */

/* GALLERIES WERE INVISIBLE. user-style sets `.gallery{opacity:0;visibility:hidden}` and the
   platform's gallery script (gone) revealed them once it had laid the slides out. Without it every
   picture on the site - the hero banner under the header, the three home photos, the servicios
   photo - stayed hidden and left a 470px white rectangle where it belonged. The files are on disk;
   the gallery is shown as a plain stack of pictures, one per slot. The slide link only opened the
   lightbox (also gone), so it is made inert instead of walking the visitor to a bare .jpg. */
.gallery { opacity: 1 !important; visibility: visible !important; }
.gallery .slides, .gallery .slide { display: block; }
.gallery .pics { list-style: none; margin: 0; padding: 0; }
.gallery .pics li { list-style: none; }
.gallery .thumb, .gallery .thumbInner { display: block; width: auto; height: auto; padding: 0; }
.gallery .caption { display: none; }
.gallery img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; }
.gallery a { pointer-events: none; cursor: default; }
.gallery .arrow, .gallery .dots { display: none; }

/* ICON FONT. The icon spans carry Font Awesome codepoints and ask for family FontAwesome. Pages
   that link external-libs-382ef8cd (/servicios/, /politica-de-cookies/) get FontAwesome from the
   grids sheet as ONE face whose first source is the brands font, which holds none of these glyphs,
   so they drew as tofu boxes (also the burger and back-to-top). These are the faces the sheet that
   works (external-libs-a106a909) declares, repeated here so every page gets the same ones; this
   sheet loads last and wins. */
@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/fonts/fa-brands-400-d5bcec15.woff2) format("woff2"),url(/fonts/fa-brands-400-5fbcbcf4.ttf) format("truetype")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(/fonts/fa-regular-400-0eb693d8.woff2) format("woff2"),url(/fonts/fa-regular-400-fb724f77.ttf) format("truetype")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/fonts/fa-solid-900-2f14f92b.woff2) format("woff2"),url(/fonts/fa-solid-900-ab6748e2.ttf) format("truetype")}
@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(/fonts/fa-brands-400-d5bcec15.woff2) format("woff2"),url(/fonts/fa-brands-400-5fbcbcf4.ttf) format("truetype")}
@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(/fonts/fa-solid-900-2f14f92b.woff2) format("woff2"),url(/fonts/fa-solid-900-ab6748e2.ttf) format("truetype")}
@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(/fonts/fa-regular-400-0eb693d8.woff2) format("woff2"),url(/fonts/fa-regular-400-fb724f77.ttf) format("truetype")}
@font-face{font-family:FontAwesome;font-display:block;src:url(/fonts/fa-solid-900-2f14f92b.woff2) format("woff2"),url(/fonts/fa-solid-900-ab6748e2.ttf) format("truetype")}
@font-face{font-family:FontAwesome;font-display:block;src:url(/fonts/fa-brands-400-d5bcec15.woff2) format("woff2"),url(/fonts/fa-brands-400-5fbcbcf4.ttf) format("truetype")}
@font-face{font-family:FontAwesome;font-display:block;src:url(/fonts/fa-regular-400-0eb693d8.woff2) format("woff2"),url(/fonts/fa-regular-400-fb724f77.ttf) format("truetype");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}
@font-face{font-family:FontAwesome;font-display:block;src:url(/fonts/fa-v4compatibility-8c49d32c.woff2) format("woff2"),url(/fonts/fa-v4compatibility-5341bc49.ttf) format("truetype");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a}

/* EMPTY MAP SLOT. The map was a cookie-gated embed and is gone; its column kept two-thirds of the
   'Donde estamos' band blank behind a divider line. The column goes and the address block takes
   the full row. */
/* (Only on the home page: on /contacto/ the map module shares its column with the opening hours.) */
#p4259 #c3722 { display: none !important; }
#p4259 #c1243 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
.module.map { display: none !important; }

/* 404. The page's text sits straight in the container on the theme's near-black page ground
   (body is rgb(37,37,37) with text of the same colour), so the heading and the two links were
   dark on dark. Same white boxed band the other pages use. */
#r5002:has(> .container > .col > h1.headline) { background: #fff; }
#r5002 > .container > .col:has(> h1.headline) {
  box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 56px 15px 64px;
  min-height: 40vh; color: #252525; font-size: 18px; line-height: 1.6; text-align: center; }
#r5002 > .container > .col > h1.headline { color: #055972; }
#r5002 > .container > .col > h1.headline ~ p a { color: #055972; text-decoration: underline; }

/* HOME 'PRESENTACION | QUE OFRECEMOS' CARDS. The row is a flex row, so both light-blue cards were
   stretched to the height of the taller one; once the right card carried the longer paragraph the
   left card continued as ~400px of empty pale blue. Each card now sizes to its own content.
   Governs only this row (#r4277, both homepage templates); stacked phone layout is unaffected. */
#r4277 > .container { align-items: flex-start; }
#r4277 > .container > .col { height: auto; }

/* ===== CONTRAST ROUND (2026-10-19, gate legibility) ======================================
   1. Off-canvas menu: at 768-1199px (the gate's "laptop" width is 1180) and below 768px the
   top-level menu panel is rgba(0,0,0,0.9), but its links keep the site's dark #252525, so
   "Inicio", "Servicios" and "Contacto" measured 1.14:1 (invisible). These rules make the top-level
   links white only where the panel is painted. Sub-level items sit on their own #e9f6ff fill and
   are left alone. The desktop horizontal menu sits on the white row and is untouched. */
/* WITHDRAWN 2026-10-20 (o7 round 3). The rgba(0,0,0,.9) panel those links were measured on is the
   CLOSED, off-canvas state - parked at left:100%, never seen by a visitor. The OPEN state the theme
   styles is `nav.opened-menu > ul` on the site's light fill, where white links would be white on
   white. Now that the menu really opens (js/restore-nav.js, BURGER section below), the closed panel
   is visibility:hidden and the links keep the theme's own #252525. */

/* 2. Contact links in the light-body text blocks: the site's blue (rgb 86,170,234) is 3.1:1 on the
   ground the gate measured. The same hue, lightened, keeps the link recognisable. The ground was
   inferred from the gate's ratio, not sampled, so this is the figure to re-check. */
.lightbodytext a, .lightbodytext a:hover { color: #b3dbf7; }

/* ===== NO CDN RUNTIME (o7 round 3, 2026-10-20) ===========================================
   The BeeDIGITAL/Mono loader and its site-assets.cdnmns.com runtime are removed from every page
   (rules in _recon/authored_luissanchezferreiro.com.json). What the visitor relied on from it is
   rebuilt from the site's own classes in js/restore-nav.js; the CSS it needs is here. */

/* WEBFONT. body is set in Gudea (user-style: `body{font-family:Gudea}`), which came from
   fonts.prod.extra-cdn.com, a Google Fonts proxy, through an @import - a third-party fetch on every
   page view. The same family, weights and styles the site asked for (400, 400 italic, 700), latin
   and latin-ext only, are self-hosted from fonts.gstatic.com/s/gudea/v16 (fetched 2026-10-20).
   Roboto (css-fonts.eu.extra-cdn.com) was linked too but is used only by the cookie infobar,
   which this site no longer has, so it is dropped rather than shipped unused. */
@font-face{font-family:'Gudea';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/gudea-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Gudea';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/gudea-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Gudea';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/gudea-400i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Gudea';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/gudea-400i-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Gudea';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/gudea-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Gudea';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/gudea-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* BURGER. Below 1200px the theme parks the menu off-canvas and draws `nav:before` as its burger;
   nav.js (CDN, gone) toggled `opened-menu`. A pseudo-element cannot be pressed on its own, so a
   real <button> carries the same glyph (FontAwesome f0c9), size and colour, and the panel opens by
   the same class the theme already styles. The closed panel is visibility:hidden so it is not
   painted (or measured) anywhere while it is shut. */
.restore-navtoggle { display: none; }
@media only screen and (max-width: 1199px) {
  header nav.module.nav:before { content: none !important; display: none !important; }
  header nav.module.nav .restore-navtoggle {
    display: inline-block; box-sizing: border-box; min-width: 44px; min-height: 44px;
    margin: 0; padding: 10px; border: 0; background: transparent; cursor: pointer;
    font-family: 'FontAwesome'; font-size: 21px; line-height: 1; color: #07b3e0;
  }
  header nav.module.nav .restore-navtoggle:before { content: "\f0c9"; }
  header nav.module.nav > ul.navContainer { visibility: hidden; }
  header nav.module.nav.opened-menu > ul.navContainer { visibility: visible; left: auto !important; right: 0 !important; }
  header nav.module.nav > ul .closeBtn {
    min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer;
  }
}
@media only screen and (max-width: 767px) {
  header nav.module.nav .restore-navtoggle { font-size: 18px; }
}
@media only screen and (min-width: 1200px) {
  header nav.module.nav .restore-navclose-item { display: none; }
}

/* WORDMARK. The text wordmark that stands in for the never-archived logo (header and footer) is an
   inline-block <span> inside an inline <a>, so the link's own box was only its 20px text line:
   a 20px-tall home link. The anchor wraps its span instead. Nothing moves. */
a.imageModuleWrap { display: inline-block; vertical-align: middle; }

/* CONTACT FORM consent line: the label measured 23px and its privacy link 20px tall. */
#m1989 .optin label, #m1989 .optin .optinLink { display: inline-block; min-height: 24px; line-height: 24px; }

/* COOKIE TABLE AT PHONE WIDTH. The archived three-column table kept its desktop structure at 390:
   the purpose column ran one to three words a line and the provider column was pushed past the
   right edge (page scrolled 14px sideways). Each row becomes a bordered block - name, purpose,
   provider - in the same order, and long browser-help URLs may break. */
@media only screen and (max-width: 767px) {
  #p6662 .module.text table, #p6662 .module.text thead, #p6662 .module.text tbody,
  #p6662 .module.text tr, #p6662 .module.text td {
    display: block; width: auto !important; max-width: 100%; box-sizing: border-box;
  }
  #p6662 .module.text table { border: 0; }
  #p6662 .module.text tr { border: 1px solid #c9dbe6; margin: 0 0 12px; padding: 4px 10px; }
  #p6662 .module.text td { border: 0; padding: 0; }
  #p6662 .module.text { overflow-wrap: anywhere; }
}

/* COOKIE TABLE, BLANK LINES (o7 round 5, 2026-10-20). The archived cells open with one or two
   <p><br></p> spacers and close with a <br>, which aligned the three columns on desktop. Once the
   rows are stacked at phone width those spacers become 40-80px holes inside every block, between
   the cookie's name, its purpose and its provider. Below 768px only, a paragraph whose sole
   element is a <br> and the trailing <br> are not drawn. Checked on all 25 cells of the one table
   on /politica-de-cookies/: no paragraph with text in it has a <br> as its only element. */
@media only screen and (max-width: 767px) {
  #p6662 .module.text td > p:has(> br:only-child),
  #p6662 .module.text td > br { display: none; }
}
