/* S03 Services (#services). Owner: S03 agent. Native controls set photos, colours, fonts, radius, shadow, button and the centred alignment.
   This file adds only what the panel cannot: square cards, the even photo shade behind the centred title, the orange mark,
   the hover reveal of description + button, equal description heights, and always-visible text on touch screens. */
/* Title: hero display style (Bookmania 700 with the same "ss10" swash capitals as the hero title), kept on one line. */
body.page-id-5703 #services .lz-svc-title .elementor-heading-title{font-family:"Bookmania",Georgia,serif!important;font-weight:700;font-feature-settings:"ss10" 1,"kern" 1,"liga" 1;text-rendering:optimizeLegibility;white-space:nowrap}
@media (min-width:768px) and (max-width:1024px){body.page-id-5703 #services .lz-svc-title .elementor-heading-title{font-size:min(60px,calc(6.5vw - 7px))}}
@media (max-width:767px){body.page-id-5703 #services .lz-svc-title .elementor-heading-title{font-size:min(46px,11.6vw)}}
/* Square cards at every width: the card box is 1 / 1 and the grid rows follow it. */
body.page-id-5703 #services .lz-svc-grid{grid-auto-rows:auto!important;grid-template-rows:none!important}
body.page-id-5703 #services .lz-svc,body.page-id-5703 #services .lz-svc>.elementor-widget-container{height:auto;align-self:start}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container{aspect-ratio:1/1;height:auto!important;min-height:0!important;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;isolation:isolate;outline:1px solid rgba(255,255,255,.14);outline-offset:-9px;transition:box-shadow .35s ease,transform .35s ease}
/* Wide navy shade behind the centred text: the white title reads on any photo (about 4.5:1 or better on the palest rooms) without a dark smudge. */
body.page-id-5703 #services .lz-svc .trx-addons-info-box-overlay{background:radial-gradient(ellipse 110% 80% at 50% 50%,rgba(0,17,36,.54) 0%,rgba(0,17,36,.3) 60%,rgba(0,17,36,.06) 100%)!important;transition:opacity .35s ease}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-overlay::after{content:"";position:absolute;inset:0;background:rgba(0,17,36,.8);opacity:0;transition:opacity .35s ease}
body.page-id-5703 #services .lz-svc .trx-addons-info-box,body.page-id-5703 #services .lz-svc .trx-addons-info-box-content{width:100%;text-align:center}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{text-shadow:0 0 1px rgba(0,17,36,.6),0 1px 3px rgba(0,17,36,.55),0 2px 16px rgba(0,17,36,.5);white-space:nowrap;text-align:center}
/* Round 3: card titles in the hero title face. Family, weight 700 and sizes (25 / 28 / 27px) are native controls; the "ss10" swash capitals are not. */
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{font-family:"Bookmania",Georgia,serif;font-feature-settings:"ss10" 1,"kern" 1,"liga" 1;text-rendering:optimizeLegibility}
/* Title mark: approved orange, centred under the title. */
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title::after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:#CF4700;margin:12px auto 0;transition:width .35s ease}
/* Reveal: description and button collapse to zero height until hover or keyboard focus; the group stays centred. */
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description,body.page-id-5703 #services .lz-svc .trx-addons-info-box-footer{max-height:0;opacity:0;overflow:hidden;transform:translateY(10px);text-align:center;transition:max-height .45s ease,opacity .3s ease,transform .45s ease,margin .45s ease}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{max-width:310px;margin-left:auto;margin-right:auto}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description p{margin:0}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-footer{display:flex;justify-content:center;padding-bottom:2px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;transition:background-color .25s ease}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button .trx-addons-button-icon{transition:transform .25s ease}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button:hover .trx-addons-button-icon{transform:translateX(4px)}
/* Keyboard ring: !important beats the theme rule body.show_outline a:focus{outline:1px dotted #888!important}. */
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
@media (hover:hover) and (min-width:1025px){
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within{transform:translateY(-4px)}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-overlay::after,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-overlay::after{opacity:1}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-title::after,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-title::after{width:56px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-description,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-description{max-height:7em;height:4.5em;opacity:1;transform:none;margin-top:14px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-footer,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-footer{max-height:80px;opacity:1;transform:none;margin-top:18px;transition-delay:.05s}
}
/* Touch screens, tablets and phones: no hover, so description and button are always visible, centred under the title. */
@media (hover:none),(max-width:1024px){
body.page-id-5703 #services .lz-svc .trx-addons-info-box-overlay{background:radial-gradient(ellipse 120% 95% at 50% 50%,rgba(0,17,36,.74) 0%,rgba(0,17,36,.6) 60%,rgba(0,17,36,.42) 100%)!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{max-height:none;height:auto;margin:14px auto 0;opacity:1;transform:none}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-footer{max-height:none;opacity:1;transform:none;margin-top:18px}
}
@media (prefers-reduced-motion:reduce){
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container,body.page-id-5703 #services .lz-svc .trx-addons-info-box-description,body.page-id-5703 #services .lz-svc .trx-addons-info-box-footer,body.page-id-5703 #services .lz-svc .trx-addons-info-box-overlay::after{transition:none}
}
/* Laptops (1025 to 1439): the theme container narrows below 1440, so the squares are about 250 px. Tighter padding and type keep 1 title line (Bookmania 21 px), 3 description lines and 1 line buttons inside the square. */
@media (min-width:1025px) and (max-width:1439px){
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container{padding:20px 18px!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{font-size:21px!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{font-size:14px!important;line-height:1.45!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-description,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-description{height:4.35em;margin-top:12px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:hover .trx-addons-info-box-footer,body.page-id-5703 #services .lz-svc .trx-addons-info-box-container:focus-within .trx-addons-info-box-footer{margin-top:14px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button{font-size:14px!important;padding:12px 14px!important}
body.page-id-5703 #services .lz-svc-title .elementor-heading-title{font-size:clamp(56px,4.6vw,66px)}
}
/* 1025 to 1279: Elementor's tablet grid would give two columns of 470 to 550 px squares; keep three columns (about 300 to 390 px squares, 4 rows). */
@media (min-width:1025px) and (max-width:1279px){body.page-id-5703 #services .lz-svc-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* 1025 to 1279: the three column squares are 307 to 392 px, so the Bookmania card title grows with them (about 25 to 28 px); the longest title, "Vanities and Storage", keeps 25 px or more of air each side. */
@media (min-width:1025px) and (max-width:1279px){body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{font-size:clamp(24px,calc(2.7vw - 3px),28px)!important}}
@media (min-width:1025px) and (max-width:1099px){body.page-id-5703 #services .lz-svc .trx-addons-info-box-container{padding:20px 16px!important} body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{font-size:13px!important}}
/* Small phones (below 390): a little less side padding and 14 px text so every description stays at 2 lines like 390. */
@media (max-width:389px){
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container{padding:22px 14px!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{font-size:14px!important}
}
/* Very small phones (under 360): the 27 px card title steps down with the screen so "Vanities and Storage" stays on one line inside the square. */
@media (max-width:359px){body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{font-size:min(27px,calc(10vw - 8px))}}

/* Body copy: no single-word last line (intro paragraph and card descriptions). */
body.page-id-5703 #services .elementor-widget-text-editor p,body.page-id-5703 #services .lz-svc .trx-addons-info-box-description p{text-wrap:pretty}

/* Wide phones, phone landscape and 600/712 tablets (540-767): two compact card columns instead of one full-screen card each. */
@media (min-width:540px) and (max-width:767px){
body.page-id-5703 #services .lz-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-container{padding:20px 14px!important}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title{font-size:clamp(21px,calc(4.4vw - 2px),27px)}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-title::after{margin-top:10px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-description{font-size:14px!important;line-height:1.45!important;margin-top:12px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-footer{margin-top:14px}
body.page-id-5703 #services .lz-svc .trx-addons-info-box-button{font-size:14px!important;padding:13px 14px!important}
}
