/* Contacto · Figma 839:3311. Content and section settings remain editable. */
.ec-home *{box-sizing:border-box}
.ec-home :is(.ec-hero,.ec-info,.ec-newsletter){width:100%;margin:0;isolation:isolate}
/* Original Figma photograph and crop, followed by its exported gradient layers. */
.ec-hero{position:relative;text-align:center;overflow:hidden}
:is(.ec-home,.editor-styles-wrapper) .ec-hero>.uagb-container-inner-blocks-wrap{position:static!important}
:is(.ec-home,.editor-styles-wrapper) .ec-hero figure.ec-hero-photo{position:absolute!important;inset:0;width:100%;height:100%;margin:0!important;overflow:hidden;z-index:0;pointer-events:none}
.ec-hero-photo img{position:absolute;max-width:none;width:108.81%;height:112.82%;left:-4.41%;top:-11.89%}
.ec-hero::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 780' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)' opacity='0.5'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(144 0 0 78 0 0)'><stop stop-color='rgba(10,5,40,0.8)' offset='0'/><stop stop-color='rgba(0,10,50,0.3)' offset='0.5'/><stop stop-color='rgba(0,10,50,0)' offset='1'/></radialGradient></defs></svg>"), url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 780' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)' opacity='0.6000000238418579'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(227.85 -19.747 45.57 74.051 2278.5 582.53)'><stop stop-color='rgba(153,248,153,0.65)' offset='0'/><stop stop-color='rgba(153,248,153,0.15)' offset='0.45'/><stop stop-color='rgba(153,248,153,0)' offset='1'/></radialGradient></defs></svg>"), url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 780' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)' opacity='1'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(129.23 -5 18.462 55 1661.5 660)'><stop stop-color='rgba(153,248,153,1)' offset='0'/><stop stop-color='rgba(153,248,153,0.85)' offset='0.2'/><stop stop-color='rgba(153,248,153,0.3)' offset='0.45'/><stop stop-color='rgba(153,248,153,0.04)' offset='0.7'/><stop stop-color='rgba(153,248,153,0)' offset='1'/></radialGradient></defs></svg>"), url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 780' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)' opacity='0.800000011920929'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(130.91 0 0 78 -130.91 858)'><stop stop-color='rgba(50,120,220,0.85)' offset='0'/><stop stop-color='rgba(25,70,170,0.5)' offset='0.3'/><stop stop-color='rgba(1,32,109,0.1)' offset='0.65'/><stop stop-color='rgba(1,32,109,0)' offset='1'/></radialGradient></defs></svg>"), url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 780' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)' opacity='0.5'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(72 0 0 39 720 390)'><stop stop-color='rgba(1,32,109,0.7)' offset='0'/><stop stop-color='rgba(1,32,109,0.3)' offset='0.6'/><stop stop-color='rgba(0,10,50,0)' offset='1'/></radialGradient></defs></svg>"), linear-gradient(90deg, rgb(0, 10, 50) 0%, rgb(0, 10, 50) 100%);opacity:.72}

.ec-hero-content{position:relative;z-index:2;max-width:926px;margin-inline:auto;width:100%}
.ec-hero-copy{color:var(--el-white);margin-top:32px!important}
.ec-hero .el-buttons{margin-top:64px;gap:16px}
:is(.ec-hero,.ec-newsletter) mark{background:none;color:var(--el-green);font-weight:800;padding:0}
/* Three contact methods: 392 × 234 at the 1440 px design width. */
.ec-cards{width:100%}
.ec-card{min-width:0;text-align:center}
.ec-card-detail{margin-top:42px!important;line-height:24px!important}
.ec-card .el-buttons{margin-top:42px;justify-content:center}
.ec-card .wp-block-button__link,.ec-office .wp-block-button__link{font-weight:600}
/* Office panel: editable city photo in the design's 680 × 352 slot. */
.ec-office{display:grid;grid-template-columns:minmax(0,448fr) minmax(0,680fr);gap:48px;width:100%;align-items:center}
.ec-office-info{text-align:center;min-width:0;padding:51px 0}
.ec-address{margin-top:56px!important;line-height:24px!important}
.ec-postcode{margin-top:12px!important;line-height:24px!important}
.ec-office .el-buttons{margin-top:56px;justify-content:center}
.ec-office-photo{margin:0;width:100%;height:352px;overflow:hidden;border-radius:16px}
.ec-office-photo img{display:block;width:100%;height:100%;object-fit:cover}
/* Native newsletter composition; mailing integration is pending. */
.ec-newsletter{text-align:center;position:relative;isolation:isolate}
.ec-newsletter::before{content:'';position:absolute;inset:0;z-index:-1;background:url('../images/contact/newsletter.svg') center/cover no-repeat;pointer-events:none}
.ec-newsletter>.uagb-container-inner-blocks-wrap>.wp-block-group{width:100%}
.ec-newsletter-copy{max-width:808px;margin:32px auto 0!important}
.ec-newsletter-form{max-width:808px;margin:32px auto 0!important;text-align:left}
.ec-newsletter-form .uagb-forms-main-form{display:flex;align-items:flex-end;gap:8px}
.ec-newsletter-form .uagb-forms-email-wrap{flex:1;min-width:0;margin:0}
.ec-newsletter-form .uagb-forms-main-submit-button-wrap{flex:0 0 200px;margin:0}
.ec-newsletter-form input[type=email]{width:100%;height:48px;border:0;border-radius:8px;background:var(--el-card);color:var(--el-ink)}
.ec-newsletter-form button{width:100%;min-height:48px;border-radius:12px}
.ec-newsletter-form .uagb-forms-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ec-newsletter-privacy{margin-top:32px!important}
.ec-newsletter-status{margin-top:12px!important}

/* Entrances follow the prototype and reveal once; focus and reduced motion stay usable. */
.ec-reveal{transition:opacity 1.6s ease-out,transform 1.6s ease-out}
.ec-hero-content{transition-duration:1.5s}
.ec-entry-pending{opacity:0;transform:translateY(30px)}
.ec-hero-content.ec-entry-pending{transform:none}
.editor-styles-wrapper .ec-reveal{opacity:1;transform:none}
.page-template-contact #masthead .current-menu-item>.menu-link{color:var(--el-green)}
@media(max-width:1100px){.ec-hero-copy{font-size:22px!important}.ec-card{padding-inline:16px!important}.ec-card .wp-block-button__link{min-width:0;width:100%;padding-inline:12px}.ec-card .wp-block-button{width:100%}.ec-office{grid-template-columns:1fr 1.2fr}}
@media(max-width:767px){
 .ec-hero-copy,.ec-newsletter-copy{font-size:20px!important;line-height:1.4!important}
 .ec-hero-copy br{display:none}
 .ec-hero .el-buttons{margin-top:40px;flex-direction:column}
 .ec-hero .el-button,.ec-hero .wp-block-button__link{width:100%}
 .ec-hero-photo img{width:160%;left:-30%;object-fit:cover}
 .ec-cards{grid-template-columns:1fr!important;margin-top:40px!important}
 .ec-card-detail,.ec-card .el-buttons{margin-top:28px!important}
 .ec-card .wp-block-button{width:auto}
 .ec-card .wp-block-button__link{min-width:200px}
 .ec-office{grid-template-columns:1fr;padding:24px!important;margin-top:32px!important}
 .ec-office-info{padding:8px 0 16px}
 .ec-address,.ec-office .el-buttons{margin-top:32px!important}
 .ec-office-photo{height:auto;aspect-ratio:680/352}
 .ec-newsletter-form .uagb-forms-main-form{flex-direction:column;align-items:stretch;gap:12px}
 .ec-newsletter-form .uagb-forms-main-submit-button-wrap{flex-basis:auto}
}
@media(prefers-reduced-motion:reduce){.ec-reveal{transition:none}.ec-entry-pending{opacity:1;transform:none}}

/* Scoped specificity for Spectra's generated flex/button selectors. */
.ec-newsletter .ec-newsletter-form .uagb-forms-main-form{gap:8px}
.ec-newsletter .ec-newsletter-form .uagb-forms-main-submit-button-wrap{width:200px}
.ec-newsletter .ec-newsletter-form button.uagb-forms-main-submit-button{width:100%!important}
@media(max-width:767px){.ec-newsletter .ec-newsletter-form .uagb-forms-main-submit-button-wrap{width:100%}.ec-office{gap:24px}}
/* Hidden Spectra transport/error containers must not consume a flex gap. */
.ec-newsletter-form .uagb-forms-form-hidden-data,
.ec-newsletter-form [class^="uagb-form-reacaptcha-error-"]:empty{display:none}
