/*
Theme Name:   S2 Solutions Child
Theme URI:    https://s2-solutions.com/
Description:  Child theme for GeneratePress. Navy, white and cyan styling, block patterns for the homepage and service pages, a working contact form, and call/WhatsApp buttons.
Author:       S2 Solutions
Template:     generatepress
Version:      1.9.3
License:      GPLv2 or later
Text Domain:  s2-solutions-child
*/

:root{
  --s2-navy:#0B1F3A;
  --s2-navy-deep:#071428;
  --s2-navy-soft:#16315A;
  --s2-cyan:#00B8D9;
  --s2-cyan-text:#00758C;
  --s2-ink:#16263A;
  --s2-muted:#4A5B70;
  --s2-tint:#EEF6FA;
  --s2-line:#D3E3EB;
  --s2-radius:8px;
}

body{font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--s2-ink);line-height:1.65;overflow-x:clip}
h1,h2,h3,h4{font-weight:750;letter-spacing:-.015em;line-height:1.2;color:var(--s2-navy)}
h1{font-size:clamp(2.1rem,5vw,3.4rem);letter-spacing:-.025em}
h2{font-size:clamp(1.6rem,3.2vw,2.2rem)}
h3{font-size:1.2rem}
a{color:var(--s2-cyan-text)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--s2-cyan);outline-offset:2px}
.home .entry-header{display:none}

/* ---------- Top contact bar ---------- */
.s2-topbar{background:var(--s2-navy-deep);color:#fff;font-size:.9rem}
.s2-topbar__inner{max-width:1120px;margin:0 auto;padding:.5rem 1.25rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.s2-topbar a{color:#fff;text-decoration:none;font-weight:600}
.s2-topbar a:hover{text-decoration:underline;color:var(--s2-cyan)}
.s2-topbar__links{display:flex;gap:1.5rem;flex-wrap:wrap}
@media (max-width:600px){.s2-topbar__email{display:none}}

/* ---------- Navigation call-to-action (add CSS class s2-cta to a menu item) ---------- */
.main-navigation .main-nav ul li.s2-cta>a{background:var(--s2-cyan);color:var(--s2-navy);font-weight:700;border-radius:6px;margin:0 0 0 .5rem;line-height:44px;padding:0 1.1rem}
.main-navigation .main-nav ul li.s2-cta>a:hover{background:var(--s2-navy);color:#fff}

/* ---------- Layout ---------- */
.s2-section{padding:clamp(3rem,7vw,5.5rem) 1.25rem}
.s2-inner{max-width:1120px;margin-inline:auto}
.s2-tint{background:var(--s2-tint)}
.s2-navy{background:var(--s2-navy);color:#fff}
.s2-navy h1,.s2-navy h2,.s2-navy h3,.s2-navy p,.s2-navy li{color:#fff}
.s2-section h2{margin:0 0 .75rem}
.s2-intro{max-width:62ch;color:var(--s2-muted);margin:0 0 2rem}
.s2-lead{font-size:1.15rem;max-width:56ch;color:#D8E6F0}

/* ---------- Hero ---------- */
.s2-hero{padding-block:clamp(3rem,8vw,6rem)}
.s2-hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:3rem;align-items:center}
.s2-hero-copy h1{margin:0 0 1rem}
.s2-hero-panel{border:1px solid rgba(255,255,255,.25);border-radius:var(--s2-radius);padding:1.5rem;background:var(--s2-navy-soft)}
.s2-hero-panel .s2-panel-title{font-size:1.15rem;margin:0 0 .5rem}
.s2-problems{list-style:none;margin:0;padding:0}
.s2-problems li{margin:0;border-top:1px solid rgba(255,255,255,.18)}
.s2-problems a{display:block;padding:.8rem 0;color:#fff;text-decoration:none;font-weight:600}
.s2-problems a:hover{color:var(--s2-cyan);text-decoration:underline}
@media (max-width:860px){.s2-hero-grid{grid-template-columns:1fr;gap:2rem}}

/* ---------- Buttons ---------- */
.wp-block-buttons{gap:.75rem}
body .wp-block-button .wp-block-button__link{background:var(--s2-cyan);color:var(--s2-navy);font-weight:700;border-radius:6px;padding:.85em 1.5em;text-decoration:none;border:2px solid var(--s2-cyan);transition:background .15s,color .15s,border-color .15s}
body .wp-block-button .wp-block-button__link:hover,body .wp-block-button .wp-block-button__link:focus{background:#fff;color:var(--s2-navy);border-color:var(--s2-navy)}
body .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--s2-navy);border-color:var(--s2-navy)}
body .wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--s2-navy);color:#fff}
body .s2-navy .wp-block-button.is-style-outline .wp-block-button__link{color:#fff;border-color:#fff}
body .s2-navy .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#fff;color:var(--s2-navy)}
body .s2-navy .wp-block-button .wp-block-button__link:hover{border-color:#fff}

/* ---------- Trust strip ---------- */
.s2-trust{padding-block:2rem}
.s2-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.5rem}
.s2-trust-item{border-left:3px solid var(--s2-cyan);padding-left:1rem}
.s2-trust-item p{margin:0}
.s2-trust-item .s2-trust-head{font-weight:750;font-size:1.15rem;color:var(--s2-navy)}
.s2-trust-item .s2-trust-sub{color:var(--s2-muted);font-size:.95rem}

/* ---------- Cards ---------- */
.s2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}
.s2-card{background:#fff;border:1px solid var(--s2-line);border-radius:var(--s2-radius);padding:1.5rem;display:flex;flex-direction:column}
.s2-card h3{margin:0 0 .5rem}
.s2-card p{margin:0 0 1rem;color:var(--s2-muted)}
.s2-card p:last-child{margin:auto 0 0;padding-top:.25rem}
.s2-card p:last-child a{font-weight:700}
.s2-card:hover{border-color:var(--s2-cyan)}
.s2-card--plain p:last-child{margin:0}

/* ---------- Business IT ---------- */
.s2-two{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
@media (max-width:860px){.s2-two{grid-template-columns:1fr;gap:1.5rem}}
.s2-checks{list-style:none;margin:0;padding:0}
.s2-checks li{padding:.9rem 0 .9rem 2rem;border-top:1px solid var(--s2-line);position:relative}
.s2-checks li:last-child{border-bottom:1px solid var(--s2-line)}
.s2-checks li::before{content:"";position:absolute;left:.25rem;top:1.35rem;width:.9rem;height:.5rem;border-left:3px solid var(--s2-cyan-text);border-bottom:3px solid var(--s2-cyan-text);transform:rotate(-45deg)}

/* ---------- Process ---------- */
.s2-steps{list-style:none;counter-reset:s2step;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.25rem}
.s2-steps li{counter-increment:s2step;border-top:3px solid var(--s2-cyan);padding-top:1rem}
.s2-steps li::before{content:counter(s2step);display:block;font-weight:800;font-size:1.6rem;color:var(--s2-cyan-text);line-height:1;margin-bottom:.4rem}

/* ---------- FAQ ---------- */
.s2-faq{max-width:820px}
.wp-block-details{border-bottom:1px solid var(--s2-line);padding:1rem 0}
.wp-block-details summary{font-weight:700;color:var(--s2-navy);cursor:pointer;font-size:1.05rem}
.wp-block-details p{margin:.75rem 0 0;color:var(--s2-muted);max-width:70ch}

/* ---------- Contact ---------- */
.s2-contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}
@media (max-width:860px){.s2-contact-grid{grid-template-columns:1fr;gap:2rem}}
.s2-contact-lines{font-size:1.1rem}
.s2-contact-lines a{font-weight:700}
.s2-form{background:#fff;border:1px solid var(--s2-line);border-radius:var(--s2-radius);padding:1.5rem}
.s2-form label{display:block;font-weight:650;margin:0 0 .3rem;color:var(--s2-navy)}
.s2-form .s2-field{margin:0 0 1rem}
.s2-form input[type=text],.s2-form input[type=tel],.s2-form input[type=email],.s2-form select,.s2-form textarea{width:100%;border:1px solid #7C90A4;border-radius:6px;padding:.7rem .8rem;font:inherit;background:#fff;color:var(--s2-ink)}
.s2-form textarea{min-height:140px}
.s2-form .s2-req{color:#B00020}
.s2-form .s2-hint{font-size:.9rem;color:var(--s2-muted);margin:.25rem 0 0}
.s2-form button[type=submit]{background:var(--s2-cyan);color:var(--s2-navy);border:2px solid var(--s2-cyan);border-radius:6px;font-weight:700;padding:.85em 1.8em;cursor:pointer;font-size:1rem}
.s2-form button[type=submit]:hover{background:var(--s2-navy);color:#fff;border-color:var(--s2-navy)}
.s2-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.s2-notice{border-radius:6px;padding:.9rem 1rem;margin:0 0 1rem;font-weight:600}
.s2-notice--ok{background:#E3F6EC;border:1px solid #1B7F4B;color:#0F4D2E}
.s2-notice--err{background:#FDECEC;border:1px solid #B00020;color:#7A0016}

/* ---------- Placeholder (testimonials, case studies) ---------- */
.s2-quote{background:#fff;border-left:4px solid var(--s2-cyan);padding:1.25rem 1.5rem;border-radius:0 var(--s2-radius) var(--s2-radius) 0}
.s2-quote p{margin:0 0 .5rem}
.s2-quote .s2-quote-by{color:var(--s2-muted);font-weight:650;margin:0}

/* ---------- Floating call / WhatsApp ---------- */
.s2-float{position:fixed;right:1rem;bottom:1rem;z-index:90;display:flex;flex-direction:column;gap:.5rem}
.s2-float a{display:block;padding:.7rem 1.1rem;border-radius:999px;font-weight:700;text-decoration:none;text-align:center;box-shadow:0 2px 8px rgba(7,20,40,.3)}
.s2-float__call{background:var(--s2-navy);color:#fff;border:2px solid var(--s2-cyan)}
.s2-float__wa{background:#0F7A43;color:#fff;border:2px solid #0F7A43}
.s2-float a:hover{filter:brightness(1.15)}
@media (max-width:700px){
  .s2-float{left:0;right:0;bottom:0;flex-direction:row;gap:0}
  .s2-float a{flex:1;border-radius:0;box-shadow:none;padding:.95rem .5rem}
  body{padding-bottom:3.4rem}
}

/* ---------- Footer ---------- */
.site-info{background:var(--s2-navy-deep);color:#C7D6E3}
.site-info a{color:#fff}


/* ---------- Layout reset: stop WordPress's built-in group-block width rules from squeezing our sections ---------- */
.s2-section .wp-block-group > *{max-width:none!important;margin-left:0!important;margin-right:0!important;margin-block-start:0}
.s2-section .s2-inner{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;width:100%}
.s2-section p{margin:0 0 1rem}
.s2-section .s2-trust-item p,.s2-section .s2-quote p{margin-bottom:0}
.s2-section .s2-card p:last-child{margin-bottom:0}
.s2-section .wp-block-buttons{margin-top:1.5rem}
.s2-section .s2-faq{max-width:820px!important;margin-left:0!important}
.s2-section .s2-lead{max-width:56ch!important}
.s2-section .s2-intro{max-width:62ch!important}
.s2-section .wp-block-list{margin-left:0}

/* ---------- v1.0.3: this site wraps every Group block's contents in an extra
   ".wp-block-group__inner-container" div, so grids/flex must be set on that inner div ---------- */
body .s2-section .wp-block-group__inner-container{max-width:none!important;margin:0!important;padding:0!important;width:100%}
body .s2-section .wp-block-group__inner-container > *{max-width:none!important;margin-left:0!important;margin-right:0!important;margin-block-start:0!important}
body .s2-section .s2-inner{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;width:100%}
body .s2-section .s2-faq{max-width:820px!important}
body .s2-section .s2-lead{max-width:56ch!important}
body .s2-section .s2-intro{max-width:62ch!important}
body .s2-section .wp-block-buttons{margin-top:1.5rem!important}

/* outer wrappers stay plain blocks; the inner div does the layout */
body .s2-section .s2-grid,body .s2-section .s2-hero-grid,body .s2-section .s2-two,body .s2-section .s2-contact-grid,body .s2-section .s2-trust-grid{display:block!important}
body .s2-section .s2-grid > .wp-block-group__inner-container{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}
body .s2-section .s2-hero-grid > .wp-block-group__inner-container{display:grid!important;grid-template-columns:1.25fr 1fr;gap:3rem;align-items:center}
body .s2-section .s2-two > .wp-block-group__inner-container{display:grid!important;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
body .s2-section .s2-contact-grid > .wp-block-group__inner-container{display:grid!important;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}
body .s2-section .s2-trust-grid > .wp-block-group__inner-container{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.5rem}

/* cards: the outer div carries the border, the inner div carries the padding */
body .s2-section .s2-card{display:flex!important;flex-direction:column;padding:0!important;margin:0!important}
body .s2-section .s2-card > .wp-block-group__inner-container{display:flex!important;flex-direction:column;flex:1;padding:1.5rem!important}
body .s2-section .s2-card--plain > .wp-block-group__inner-container{display:block!important}
body .s2-section .s2-trust-item{padding:0 0 0 1rem!important}

@media (max-width:860px){
  body .s2-section .s2-hero-grid > .wp-block-group__inner-container,
  body .s2-section .s2-two > .wp-block-group__inner-container,
  body .s2-section .s2-contact-grid > .wp-block-group__inner-container{grid-template-columns:1fr;gap:1.75rem}
}

/* ---------- v1.0.5: service pages ---------- */
body .s2-section.s2-navy > .wp-block-group__inner-container > .s2-hero-copy{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
body .s2-section .wp-block-group__inner-container > h2:not(:first-child){margin-top:2.75rem!important}
body .s2-section .wp-block-group__inner-container > .wp-block-details:first-of-type{margin-top:.5rem!important}

/* ======================================================================
   v1.1.0: premium refinements
   ====================================================================== */
:root{--s2-space:clamp(3.25rem,6.5vw,5.25rem)}
body .s2-section{padding-top:var(--s2-space);padding-bottom:var(--s2-space)}
body .s2-section.s2-trust{padding-top:2.25rem;padding-bottom:2.25rem}
body{font-size:1.0625rem;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{text-wrap:balance}
.s2-section h2{font-size:clamp(1.65rem,3vw,2.15rem)}
.s2-lead{font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.6}

/* Hero two-column with illustration */
body .s2-section .s2-hero-grid > .wp-block-group__inner-container{grid-template-columns:1.1fr 1fr;gap:clamp(2rem,5vw,4rem)}
body .s2-section .s2-hero-visual > .wp-block-group__inner-container{display:flex;justify-content:flex-end}
.s2-hero-svg{display:block;width:100%;max-width:520px;height:auto}
@media (max-width:860px){
  body .s2-section .s2-hero-visual > .wp-block-group__inner-container{justify-content:center}
  .s2-hero-svg{max-width:400px}
}

/* Trust and coverage */
body .s2-section .s2-cov-grid > .wp-block-group__inner-container{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1.5rem!important}
body .s2-section .s2-cov-grid{display:block!important}
body .s2-section .s2-cov{background:var(--s2-tint);border:1px solid var(--s2-line);border-radius:10px;padding:1rem 1.25rem!important}
.s2-cov p{margin:0!important}
.s2-cov .s2-cov-head{font-weight:750;color:var(--s2-navy)}
.s2-cov .s2-cov-sub{color:var(--s2-muted)}

/* Services: groups, chips, cards */
.s2-chips-label{font-weight:650;color:var(--s2-navy);margin-bottom:.6rem!important}
.s2-chips{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2.75rem!important;padding:0}
.s2-chips li{margin:0;padding:0}
.s2-chips li:empty{display:none}
.s2-chips a{display:block;padding:.5rem 1rem;border:1px solid var(--s2-line);border-radius:999px;background:#fff;text-decoration:none;font-weight:600;font-size:.95rem;color:var(--s2-navy);transition:border-color .15s,box-shadow .15s}
.s2-chips a:hover{border-color:var(--s2-cyan);box-shadow:0 2px 8px rgba(11,31,58,.08)}
.s2-group-title{font-size:1.3rem;margin:0 0 1rem!important;padding-bottom:.6rem;border-bottom:2px solid var(--s2-cyan);display:inline-block}
body .s2-section .s2-svc-group + .s2-svc-group{margin-top:3rem!important}
.s2-card h3,.s2-card h4{font-size:1.1rem;line-height:1.3}
body .s2-section .s2-card{border-radius:10px;transition:border-color .15s,box-shadow .15s}
body .s2-section .s2-card:hover{border-color:var(--s2-cyan);box-shadow:0 8px 24px rgba(11,31,58,.08)}
body .s2-section .s2-card p:last-child:empty{display:none}
.s2-card a{text-underline-offset:3px}
.s2-card a:hover{color:var(--s2-navy)}
.s2-pending{display:inline-block;font-size:.85rem;color:#7A5300;background:#FFF4CC;border:1px dashed #C99A00;border-radius:6px;padding:.2rem .5rem}
li .s2-pending{margin:.3rem 0}

/* Service icons (CSS only: they sit before the card title, so the text stays editable) */
body .s2-section .s2-card[class*="s2-ic-"] > .wp-block-group__inner-container::before{content:"";display:block;width:46px;height:46px;margin-bottom:1rem;border-radius:12px;background-color:#E3F4F9;background-repeat:no-repeat;background-position:center;background-size:26px 26px}
body .s2-section .s2-ic-amc > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-recovery > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M5 13l2.5-7h9L19 13'/%3E%3Cpath d='M7 16.5h.01M11 16.5h.01'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-board > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='10' height='10' rx='1.5'/%3E%3Cpath d='M10 3v4M14 3v4M10 17v4M14 17v4M3 10h4M3 14h4M17 10h4M17 14h4'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-support > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-dash > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-db > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5'/%3E%3Cpath d='M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-auto > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='6' rx='1'/%3E%3Crect x='15' y='15' width='6' height='6' rx='1'/%3E%3Cpath d='M9 6h3a3 3 0 0 1 3 3v6'/%3E%3C/svg%3E")}
body .s2-section .s2-ic-web > .wp-block-group__inner-container::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300758C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.2 3 14.8 0 18M12 3c-3 3.2-3 14.8 0 18'/%3E%3C/svg%3E")}

/* Project showcase / draft */
.s2-project-type{font-size:.85rem;font-weight:700;color:var(--s2-cyan-text);margin:0 0 .35rem!important}
.s2-draft{background:#FFFBEA;border-top:2px dashed #C99A00;border-bottom:2px dashed #C99A00}
.s2-draft-note{background:#fff;border:1px solid #C99A00;border-radius:6px;padding:.75rem 1rem;color:#5A4200}
.s2-draft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}
.s2-draft-card{border:2px dashed #C99A00;border-radius:10px;padding:1.25rem;background:#fff}
.s2-draft-card h3{font-size:1.05rem;margin:0 0 .4rem}
.s2-draft-card p{margin:0;color:var(--s2-muted)}
.s2-related{list-style:disc;padding-left:1.25rem}
.s2-related li:empty{display:none}
.s2-coverage-note{color:var(--s2-muted);margin-top:1rem!important;max-width:46ch}

/* Form: two fields per row on desktop */
.s2-form .s2-row{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.s2-form .s2-hint{margin:-.25rem 0 1rem}
@media (max-width:640px){
  .s2-form .s2-row{grid-template-columns:1fr}
  .s2-form button[type=submit]{width:100%;padding:1em}
}

/* Mobile polish */
@media (max-width:700px){
  body .s2-section{padding-left:1rem;padding-right:1rem}
  .s2-topbar__inner{justify-content:center}
  .wp-block-buttons .wp-block-button{width:100%}
  .wp-block-buttons .wp-block-button__link{display:block;text-align:center}
}

/* ---------- Stacked logo ---------- */
.main-title{margin:0;line-height:1}
.main-title a,.main-title a:hover{text-decoration:none;display:inline-block}
.s2-logo{display:inline-flex;flex-direction:column;align-items:stretch;text-align:center;line-height:1}
.s2-logo__mark{background:var(--s2-navy);color:#fff;font-size:1.7rem;font-weight:800;letter-spacing:.04em;padding:.3rem .8rem .25rem;border-radius:7px 7px 0 0;border-bottom:3px solid var(--s2-cyan)}
.s2-logo__word{color:var(--s2-navy);font-size:.66rem;font-weight:700;letter-spacing:.34em;text-indent:.34em;padding-top:.35rem}
@media (max-width:700px){.s2-logo__mark{font-size:1.45rem}}

/* ---------- v1.3.0: service page hero images ---------- */
.s2-hero-visual .wp-block-image{margin:0;width:100%;max-width:520px}
.s2-hero-visual .wp-block-image img{display:block;width:100%;height:auto;border-radius:18px}
@media (max-width:860px){.s2-hero-visual .wp-block-image{max-width:400px;margin-inline:auto}}

/* ---------- v1.4.0: photos on cards and hero ---------- */
body .s2-section .s2-card.s2-has-img > .wp-block-group__inner-container::before{display:none!important}
.s2-card .wp-block-image{margin:0 0 1rem}
.s2-card .wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:var(--s2-tint)}
.s2-hero-visual .wp-block-image{max-width:480px}
.s2-hero-visual .wp-block-image img{border-radius:14px;border:1px solid rgba(255,255,255,.2)}

/* ---------- v1.6.1: keep neighbouring sections from blending into one white block ---------- */
body:not(.home) .s2-section#contact{background:var(--s2-tint)}
body:not(.home) .s2-section#contact .s2-form{background:#fff}
/* ---------- v1.7.0 ---------- */
.s2-card h2{font-size:1.1rem;line-height:1.3;margin:0 0 .5rem}
.s2-details p{margin:0 0 1rem;color:var(--s2-ink)}
.s2-details a,.s2-footer-social a{text-underline-offset:3px}
.s2-social a{display:inline-block;margin:.35rem .5rem 0 0;padding:.35rem .85rem;border:1px solid var(--s2-line);border-radius:999px;background:#fff;font-weight:600;text-decoration:none;color:var(--s2-navy)}
.s2-social a:hover{border-color:var(--s2-cyan)}
.s2-footer-social a{margin:0 .6rem;color:#fff}
.s2-map iframe{display:block;width:100%;height:380px;border:0;border-radius:10px;margin:0 0 1rem}
.s2-map h2{margin:0 0 1rem}
/* ---------- v1.9.1: plain text pages (policies and similar) get a readable width and side padding ---------- */
.page .entry-header{max-width:820px;margin-left:auto;margin-right:auto;padding:2rem 1.25rem 0;box-sizing:border-box}
.page .entry-content > :not(.s2-section):not(.alignfull){max-width:820px;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}
.page .entry-content > ul,.page .entry-content > ol{padding-left:2.75rem}
.page .entry-content > h2{font-size:1.45rem;margin-top:2.25rem;margin-bottom:.6rem}

@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
