:root {
    --maff-blue: #25498e;
    --maff-blue-dark: #182f5d;
    --maff-yellow: #fed424;
    --maff-ink: #20252d;
    --maff-muted: #5f6874;
    --maff-surface: #f4f5f7;
    --maff-white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--maff-white); color: var(--maff-ink); font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; margin: 0; }
img { height: auto; max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
.container { margin: 0 auto; max-width: 1200px; padding-left: 24px; padding-right: 24px; }

@media (min-width: 992px) {
    @font-face { font-family: FontAwesome; font-style: normal; font-weight: 400; src: url('../fonts/fontawesome-webfont.woff2') format('woff2'); }
}

.header-transparent-wrapper { position: relative; }
#site-header .container { max-width: 1170px; padding-left: 15px; padding-right: 15px; }
#headerbar { background: var(--maff-blue); }
#site-header #headerbar { color: var(--maff-white); font-size: 13px; padding: 10px 0; }
#site-header #headerbar .custom-info { float: left; }
#site-header #headerbar .social-links { float: right; margin-left: 10px; }
#site-header #headerbar .social-links a { display: block; float: left; margin-left: 10px; }
#headerbar::after, .header-wrap::after { clear: both; content: ''; display: table; }
.header { background: var(--maff-white); z-index: 9000; }
.header .header-wrap .logo { float: left; line-height: 107px; }
.header .header-wrap .logo img { display: inline; max-height: none; width: auto; }
.header.is-sticky { background-color: var(--maff-white); left: 0; position: absolute; right: 0; top: 0; width: 100%; z-index: 500; }
.header.is-sticky .header-wrap .nav-wrap { margin-top: 7px; }
.header.is-sticky .header-wrap .logo { line-height: 67px; }
.header .header-wrap .nav-wrap { float: right; margin-top: 27px; }
#mainnav { float: left; }
#mainnav ul { list-style: none; margin: 0; padding: 0; }
#mainnav ul li { position: relative; }
#mainnav > ul > li { display: inline-block; }
#mainnav > ul > li > a { color: #333; display: block; font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 15px; font-weight: 400; letter-spacing: 2px; line-height: 56px; padding: 0 15px; position: relative; text-transform: uppercase; }
#mainnav ul.submenu { background-color: #2d5aae; left: 0; opacity: 0; position: absolute; top: 56px; transition: all .3s ease-in-out; visibility: hidden; width: 250px; z-index: 9999; }
#mainnav ul li:hover > ul.submenu { opacity: 1; visibility: visible; }
#mainnav ul.submenu > li { border-top: 1px solid #25498e; }
#mainnav ul.submenu > li:first-child { border-top: 0; }
#mainnav ul.submenu > li > a { color: var(--maff-white); display: block; font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 1em; font-weight: 400; line-height: 1.8; padding: 10px 20px; text-align: left; }
#mainnav ul.submenu > li:hover { background-color: rgba(0, 0, 0, .1); }
#mainnav > ul > li > a:hover { color: #2d5aae; }
.header-transparent { background: linear-gradient(to top, transparent 0, rgba(0, 0, 0, .5) 100%) repeat-x; left: 0; position: absolute; top: 0; width: 100%; z-index: 99; }
.header-transparent .header { background: transparent; }
.header-transparent #mainnav > ul > li > a { color: var(--maff-white); }
.header-transparent #mainnav > ul > li > a:hover { background-color: #2d5aae; border-radius: 3px 3px 0 0; color: var(--maff-white); line-height: 3em; padding: 0 15px; }
.header-transparent .header.is-sticky { background: var(--maff-white); box-shadow: 0 4px 18px rgba(32, 37, 45, .14); }
.header-transparent .header.is-sticky #mainnav > ul > li > a { color: #333; }
.header-transparent .header.is-sticky #mainnav > ul > li > a:hover { background: transparent; border-radius: 0; color: #2d5aae; line-height: 56px; }
.btn-menu { display: none; }

.home-hero { background: var(--maff-ink); color: var(--maff-white); min-height: min(650px, 76vh); overflow: hidden; position: relative; }
.home-hero picture, .home-hero picture img { display: block; height: 100%; width: 100%; }
.home-hero picture { inset: 0; position: absolute; }
.home-hero picture img { object-fit: cover; object-position: center; }
.home-hero::after { background: linear-gradient(90deg, rgba(16, 24, 37, .88) 0%, rgba(16, 24, 37, .65) 47%, rgba(16, 24, 37, .19) 100%); content: ''; inset: 0; position: absolute; }
.home-hero-content { align-items: center; display: flex; min-height: min(650px, 76vh); position: relative; z-index: 1; }
.home-hero-copy { max-width: 690px; padding: 78px 0; }

@media (min-width: 992px) {
    .home-hero-content { padding-top: 110px; }
}

.home-eyebrow { color: var(--maff-yellow); font-size: 13px; font-weight: 700; letter-spacing: .16em; margin: 0 0 16px; text-transform: uppercase; }
.home-hero h1, .home-section-heading h2, .home-cta h2 { font-family: Dosis, Arial, sans-serif; font-weight: 300; letter-spacing: .12em; line-height: 1.08; margin: 0; text-transform: uppercase; }
.home-hero h1 { font-size: clamp(34px, 5vw, 62px); max-width: 760px; }
.home-hero-lead { font-size: clamp(13.005px, 1.51725vw, 16.6175px); font-weight: 400; line-height: 1.5; margin: 24px 0 30px; max-width: 630px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-button { align-items: center; background: var(--maff-yellow); color: #20252d; display: inline-flex; font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 14px; font-weight: 700; justify-content: center; letter-spacing: .1em; min-height: 50px; padding: 0 24px; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.home-button:hover { background: var(--maff-white); transform: translateY(-2px); }
.home-button-outline { background: transparent; border: 1px solid rgba(255, 255, 255, .72); color: var(--maff-white); }
.home-button-outline:hover { border-color: var(--maff-white); color: var(--maff-ink); }

.home-proof { background: var(--maff-ink); color: var(--maff-white); }
.home-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-proof-item { border-left: 1px solid rgba(255, 255, 255, .22); padding: 21px 28px; }
.home-proof-item:last-child { border-right: 1px solid rgba(255, 255, 255, .22); }
.home-proof-item strong { display: block; font-size: 18px; line-height: 1.25; }
.home-proof-item span { color: rgba(255, 255, 255, .78); font-size: 13px; }

.home-section { padding: 88px 0; }
.home-section-muted { background: var(--maff-surface); }
.home-intro { display: grid; gap: 46px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.home-intro h2 { font-family: Dosis, Arial, sans-serif; font-size: clamp(29px, 4vw, 45px); font-weight: 300; letter-spacing: .12em; line-height: 1.12; margin: 0; text-transform: uppercase; }
.home-intro-copy { color: var(--maff-muted); font-size: 17px; }
.home-intro-copy p { margin: 0 0 18px; }
.home-text-link { border-bottom: 2px solid var(--maff-yellow); color: var(--maff-blue); font-weight: 700; }
.home-section-heading { margin-bottom: 36px; max-width: 690px; }
.home-section-heading h2 { color: var(--maff-ink); font-size: clamp(29px, 4vw, 44px); }
.home-section-heading p { color: var(--maff-muted); margin: 13px 0 0; }

.home-services { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.home-service-card { background: var(--maff-white); box-shadow: 0 8px 25px rgba(32, 37, 45, .08); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s ease, transform .2s ease; }
.home-service-card:hover { box-shadow: 0 16px 34px rgba(32, 37, 45, .15); transform: translateY(-4px); }
.home-service-card picture { aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.home-service-card picture img { height: 100%; object-fit: cover; width: 100%; }
.home-service-card-content { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.home-service-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 10px; }
.home-service-card p { color: var(--maff-muted); font-size: 14px; margin: 0 0 20px; }
.home-card-link { color: var(--maff-blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-top: auto; text-transform: uppercase; }
.home-card-link::after { content: ' →'; }

.home-realizations { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.home-realization { background: var(--maff-ink); color: var(--maff-white); min-width: 0; overflow: hidden; position: relative; }
.home-realization picture { aspect-ratio: 4 / 3; display: block; }
.home-realization picture img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.home-realization:hover picture img { transform: scale(1.04); }
.home-realization-content { background: linear-gradient(0deg, rgba(16, 24, 37, .93), rgba(16, 24, 37, .05)); bottom: 0; left: 0; padding: 52px 22px 20px; position: absolute; right: 0; }
.home-realization h3 { font-size: 20px; line-height: 1.25; margin: 0; }
.home-realization p { color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.4; margin: 7px 0 0; }

.home-process { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.home-process-step { border-top: 3px solid var(--maff-yellow); padding-top: 16px; }
.home-process-step span { color: var(--maff-blue); display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-process-step h3 { font-size: 21px; line-height: 1.25; margin: 8px 0; }
.home-process-step p { color: var(--maff-muted); font-size: 15px; margin: 0; }

.home-google-reviews { background: var(--maff-surface); }
.home-google-reviews-content { align-items: center; background: var(--maff-white); border-left: 4px solid var(--maff-yellow); box-shadow: 0 8px 25px rgba(32, 37, 45, .08); display: flex; gap: 32px; justify-content: space-between; padding: 36px 40px; }
.home-google-reviews-label { color: var(--maff-muted); font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; margin: 0 0 8px; text-transform: uppercase; }
.home-google-reviews h2 { font-family: Dosis, Arial, Helvetica, sans-serif; font-size: clamp(27px, 3.2vw, 38px); font-weight: 300; letter-spacing: .1em; line-height: 1.12; margin: 0; text-transform: uppercase; }
.home-google-reviews h2 + p { color: var(--maff-muted); margin: 12px 0 0; max-width: 650px; }
.home-google-reviews .home-button { flex: 0 0 auto; }

.home-cta { background: var(--maff-ink); color: var(--maff-white); padding: 72px 0; text-align: center; }
.home-cta h2 { font-size: clamp(29px, 4vw, 43px); }
.home-cta p { color: rgba(255, 255, 255, .82); font-size: 18px; margin: 16px auto 25px; max-width: 650px; }
.home-cta .home-actions { justify-content: center; }
.home-location { background: var(--maff-white); border-top: 1px solid #e1e4e8; color: var(--maff-muted); font-size: 14px; padding: 22px 0; text-align: center; }
.home-location strong { color: var(--maff-ink); }
.home-location a { color: var(--maff-blue); font-weight: 700; }

.site-footer { background: #191e28; color: #c9ced7; font-size: 14px; }
.site-footer .footer-widgets { padding: 58px 0 24px; }
.site-footer .footer-widgets .row { display: grid; gap: 26px; grid-template-columns: 2fr repeat(3, 1fr); }
.site-footer .widget { margin: 0; padding: 0; width: auto; }
.site-footer .footer-info img { margin-bottom: 13px; max-width: 150px; }
.site-footer .footer-info p { margin: 0 0 15px; }
.site-footer .widget-title { color: var(--maff-white); font-size: 15px; letter-spacing: .08em; margin: 0 0 14px; text-transform: uppercase; }

.home-service-card h3,
.home-realization h3,
.home-process-step h3,
.site-footer .widget-title {
    font-family: Dosis, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.home-eyebrow,
.home-card-link,
.home-process-step span {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 7px; }
.site-footer a { color: #c9ced7; }
.site-footer a:hover { color: var(--maff-white); }
.site-footer .footer-widgets .widget.widget_nav_menu ul li a { display: inline-block; margin-bottom: 5px; padding-left: 25px; position: relative; }
.site-footer .footer-widgets .widget.widget_nav_menu ul li a::after { color: var(--maff-white); left: 0; position: absolute; top: 0; }
.site-footer .footer-content { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; }
.site-footer .copyright { display: flex; justify-content: space-between; }
.site-footer .social-links { display: none; }
.go-top { background: var(--maff-yellow); border: 0; bottom: 18px; color: var(--maff-ink); cursor: pointer; display: none; font-size: 0; height: 45px; position: fixed; right: 18px; width: 45px; z-index: 30; }
.go-top.show { display: block; }
.go-top::after { content: '↑'; font-size: 23px; line-height: 45px; }

#cookie-msg { background: #374046; bottom: 0; color: var(--maff-white); font-size: 14px; left: 0; padding: 14px 24px; position: fixed; right: 0; text-align: center; z-index: 100; }
#cookie-msg a { color: var(--maff-yellow); text-decoration: underline; }
.btn-aceptar { background: var(--maff-yellow); border: 0; cursor: pointer; font-size: 12px; font-weight: 700; margin-left: 14px; padding: 8px 14px; }

@media (max-width: 991px) {
    #headerbar { display: none; }
    .header-transparent { position: relative; }
    .btn-menu { background-color: #2d5aae; box-shadow: 1px 1px 1px rgba(0, 0, 0, .1); color: var(--maff-white); cursor: pointer; display: block; font-family: Arial, sans-serif; font-size: 26px; height: 50px; line-height: 46px; position: relative; text-align: center; top: 0; width: 50px; }
    .btn-menu::before { content: '\2630'; }
    .btn-menu.active { background-color: #333; }
    #mainnav { display: none; }
    #mainnav-mobi { background-color: var(--maff-white); box-shadow: 0 10px 10px rgba(0, 0, 0, .2); display: block; left: 0; margin: 0 auto; position: absolute; right: 0; width: 100%; z-index: 900000; }
    #mainnav-mobi ul { display: block; list-style: none; margin: 0; padding: 0; }
    #mainnav-mobi ul li { border-top: 1px solid #e6e6e6; cursor: pointer; margin: 0; position: relative; text-align: left; }
    #mainnav-mobi > ul > li { display: block; float: none; width: 100%; }
    #mainnav-mobi ul > li > a { color: #333; display: block; font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400; height: 50px; letter-spacing: normal; line-height: 50px; padding: 0 0 0 20px; text-decoration: none; }
    #mainnav-mobi .submenu { background: transparent; box-shadow: none; left: auto; min-width: 0; padding: 0; position: static; top: auto; }
    #mainnav-mobi .submenu a { margin-left: 20px; }
    #mainnav-mobi .btn-submenu { appearance: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #ccc; cursor: pointer; display: block; font: 25px/44px Arial, sans-serif; height: 44px; margin: 0; padding: 0; position: absolute; right: 20px; top: 0; width: 70px; }
    #mainnav-mobi .btn-submenu::before { content: '\2304'; }
    #mainnav-mobi .btn-submenu.active::before { content: '\2303'; }
    .home-hero, .home-hero-content { min-height: 570px; }
    .home-hero::after { background: linear-gradient(90deg, rgba(16, 24, 37, .86), rgba(16, 24, 37, .47)); }
    .home-services { grid-template-columns: repeat(2, 1fr); }
    .site-footer .footer-widgets .row { grid-template-columns: repeat(2, 1fr); }
    .site-footer #text01 { grid-column: span 2; }
}

@media (max-width: 640px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .home-hero, .home-hero-content { min-height: 540px; }
    .home-hero-copy { padding: 55px 0; }
    .home-proof-grid, .home-intro, .home-services, .home-realizations, .home-process { grid-template-columns: 1fr; }
    .home-proof-item, .home-proof-item:last-child { border-left: 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: 16px 0; }
    .home-proof-item:first-child { border-top: 0; }
    .home-section { padding: 62px 0; }
    .home-google-reviews-content { align-items: stretch; flex-direction: column; padding: 28px 24px; }
    .home-actions { align-items: stretch; flex-direction: column; }
    .home-button { width: 100%; }
    .site-footer .footer-widgets .row { grid-template-columns: 1fr; }
    .site-footer #text01 { grid-column: auto; }
    .site-footer .copyright { display: block; text-align: center; }
    #cookie-msg { padding: 12px 18px; }
    .btn-aceptar { display: block; margin: 10px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
