/* WordPress-specific additions on top of style.css */

/* Menu markup (ul/li) behaves like the plain links of the static site */
.nav ul,.nav li{display:contents;list-style:none}

/* Red highlighted words: *word* in the Customizer */
.hl{color:var(--red);font-style:normal}
.footer-bottom .slogan .hl{color:var(--white);font-weight:700}

/* Admin bar offset for the sticky header */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
@media (max-width:600px){.admin-bar .site-header{top:0}}

/* Home "why" block (was inline styles) */
.split-title{font-size:calc(clamp(36px,4.6vw,58px)*var(--fs,1));font-weight:800;margin:12px 0 14px;color:var(--navy)}
.split-text{color:var(--ink-soft);font-size:calc(18px*var(--fs,1))}

/* Service text coming from the editor */
.service-text > * + *{margin-top:14px}
.service-text ul{margin-top:18px}

/* Rich text from the editor (About, generic pages) */
.prose{max-width:820px}
.prose > * + *{margin-top:1.1em}
.prose h2{font-family:"Barlow Condensed",sans-serif;text-transform:uppercase;font-size:calc(clamp(30px,3.4vw,44px)*var(--fs,1));line-height:1;color:var(--navy);margin-top:1.6em}
.prose h3{font-family:"Barlow Condensed",sans-serif;text-transform:uppercase;font-size:calc(26px*var(--fs,1));line-height:1.05;color:var(--navy);margin-top:1.4em}
.prose > h2:first-child,.prose > h3:first-child{margin-top:0}
.prose p,.prose li{font-size:calc(17px*var(--fs,1));color:var(--ink-soft)}
.prose ul,.prose ol{padding-left:1.3em}
.prose li + li{margin-top:6px}
.prose a{color:var(--red)}
.prose img{border-radius:var(--radius);height:auto}
.prose figure{margin:1.6em 0}
.prose figcaption{font-size:calc(14px*var(--fs,1));color:var(--ink-soft);margin-top:8px}
.prose blockquote{border-left:4px solid var(--red);padding-left:18px;font-size:calc(19px*var(--fs,1));color:var(--navy)}
.prose .wp-block-columns{display:flex;gap:28px;flex-wrap:wrap}
.prose .wp-block-column{flex:1 1 240px}
.services-intro,.contact-intro{margin-bottom:40px}
.alignwide{max-width:var(--wrap)}
.alignleft{float:left;margin:0 24px 16px 0}
.alignright{float:right;margin:0 0 16px 24px}
.aligncenter{margin-left:auto;margin-right:auto}

.section .btn + .btn{margin-left:10px}

.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* About — team */
.team-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:1800/574;background:var(--navy) center/cover no-repeat;margin-bottom:28px}
.team-text{margin:0 0 36px}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px}
.member{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid #cdd6e6;box-shadow:var(--shadow);display:flex;flex-direction:column}
.member-ph{aspect-ratio:4/5;background:var(--navy) center top/cover no-repeat}
.member-body{padding:24px 28px 30px}
.member h3{font-family:"Barlow Condensed",sans-serif;font-size:calc(26px*var(--fs,1));text-transform:uppercase;color:var(--navy);line-height:1.05}
.member .role{color:var(--red);font-family:"Barlow Condensed",sans-serif;font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:calc(15px*var(--fs,1));margin:4px 0 12px}
.member .placeholder{padding:14px}

/* About texts from the Customizer */
.about-text p{color:var(--ink-soft);font-size:calc(17px*var(--fs,1))}
.about-text p + p{margin-top:12px}
.card .about-text p,.member .about-text p{font-size:calc(15.5px*var(--fs,1))}
.split .about-text{margin-top:4px}
.certs{margin:0}

/* Logo intro screen (home, once per visit) */
.splash{display:none}
.js .splash{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;
  position:fixed;inset:0;z-index:100000;overflow:hidden;
}
.splash::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(ellipse at center, var(--navy) 0%, var(--navy-deep) 70%);
  transition:opacity 1.4s ease;
}
/* Exit: the background fades, the logo shrinks into the header logo */
.splash.out{pointer-events:none}
.splash.out::before,.splash.out .stripes,.splash.out .splash-bar{opacity:0}
.splash .stripes,.splash-bar{transition:opacity .8s ease}
.splash .stripes span{animation:stripeIn 1s cubic-bezier(.2,.7,.2,1) both}
.splash-logo{
  background:var(--white);border-radius:18px;padding:14px 24px;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
  height:min(84vh,62vw);
  animation:splashIn .9s cubic-bezier(.2,.7,.2,1) both;
}
.splash-logo img{height:100%;width:auto}
.splash-logo{transform-origin:center center}
.splash.out .splash-logo{transition:transform 1.6s cubic-bezier(.65,0,.25,1), opacity 1.6s ease;opacity:0}
.splash-bar{width:clamp(140px,18vw,220px);height:3px;border-radius:3px;background:rgba(255,255,255,.15);overflow:hidden}
.splash-bar span{display:block;height:100%;width:100%;background:var(--red);transform-origin:left;animation:splashBar 1.1s ease-out both}
@keyframes splashIn{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}
@keyframes splashBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* Hero entrance waits until the intro screen goes away */
.splashing .hero-bg,.splashing .hero .wrap > *,.splashing .hero .stripes span,.splashing .flyby .jet{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.splash-logo,.splash-bar span{animation:none}}
@media (max-width:640px){
  .splash-logo{height:auto;width:94vw;padding:12px 18px}
  .splash-logo img{width:100%;height:auto}
}

/* WhatsApp icon next to the main phone */
.btn-group{display:inline-flex;align-items:stretch;gap:8px}
.wa-mini{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:52px;border-radius:10px;background:#25D366;color:#fff;text-decoration:none;
  transition:transform .15s ease, background .15s ease;
}
.wa-mini:hover{background:#1ebe5b;transform:translateY(-2px)}
.wa-mini span{display:none}
.nav .nav-wa{width:40px;height:40px;padding:0;margin-left:6px;border-radius:8px}
.nav .nav-wa:hover{background:#1ebe5b}
.phone-wa{display:flex;align-items:center;gap:10px}
.wa-mini.wa-tiny{width:26px;height:26px;border-radius:6px}
.wa-mini.wa-tiny svg{width:15px;height:15px}
.wa-text{display:inline-flex;align-items:center;gap:6px;font-size:calc(14px*var(--fs,1))!important;font-weight:500!important;color:#128C4A!important}
@media (max-width:860px){
  .nav .nav-wa{width:auto;height:auto;margin:8px 0 0;padding:12px;gap:8px;border-radius:8px;font-family:"Barlow Condensed",sans-serif;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
  .nav .nav-wa span{display:inline}
}
@media (max-width:640px){
  .hero .actions .btn-group,.cta-band .actions .btn-group{flex:1 1 100%}
  .hero .actions .btn-group .btn,.cta-band .actions .btn-group .btn{flex:1 1 auto}
}
.site-footer .wa-mini,.site-footer .wa-mini:hover{color:#fff}

/* Home hero background video (slow, plays once, stops on last frame) */
.hero-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;background:var(--navy-deep)}
/* With a video, the old hero photo is not shown: the video's first frame shows right away */
.hero.has-video .hero-bg{display:none}
.hero.has-video::before{background:linear-gradient(90deg, rgba(6,19,46,.9) 0%, rgba(6,19,46,.68) 45%, rgba(11,31,69,.3) 100%)}

/* Services: request button */
.service-cta{margin-top:18px}
#request{scroll-margin-top:140px}

/* About: company information */
.info-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.info-cards.info-n1{grid-template-columns:1fr}
.info-cards.info-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.info-cards.info-n3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1000px){.info-cards.info-n3,.info-cards.info-n4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.info-cards[class*="info-n"]{grid-template-columns:1fr}}
.info-val{font-size:calc(20px*var(--fs,1));font-weight:700;color:var(--navy);margin:0}
.card .placeholder + .placeholder,.about-text + .placeholder{margin-top:12px}

/* Footer contact list with icons */
.site-footer li.fc{display:flex;align-items:flex-start;gap:10px}
.site-footer li.fc .fi{flex:none;margin-top:3px;color:var(--red)}
.site-footer li.fc-wa .fi{color:#25d366}
.site-footer li.fc a{min-width:0;overflow-wrap:anywhere}

/* Developer credit (discreet) */
.footer-bottom .credit{font-size:calc(11px*var(--fs,1));opacity:.4;letter-spacing:.02em;align-self:center}
.footer-bottom .credit a{color:inherit;text-decoration:none}
.footer-bottom .credit a:hover{text-decoration:underline;opacity:1}
@media (max-width:640px){.footer-bottom .credit{order:3;width:100%}}

/* About: Mission + Values side by side, Experience full width below (text in columns) */
.mv-cards{grid-template-columns:1fr 1fr}
.mv-cards .mv-experience{grid-column:1/-1}
.mv-cards .mv-experience .about-text{columns:2 300px;column-gap:40px}
.mv-cards .mv-experience .about-text p{break-inside:avoid;margin:0 0 12px}
.mv-cards .mv-values strong{color:var(--navy)}
@media (max-width:800px){.mv-cards{grid-template-columns:1fr}}

/* About: Mission & Values with color (client 2026-11-17): navy background, white cards with red top edge */
.section.mv-section{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-2) 100%);color:var(--white)}
.mv-section .section-head h2{color:var(--white)}
.mv-section .section-head .eyebrow{color:var(--muted)}
.mv-section .card{border:1px solid rgba(255,255,255,.18);border-top:5px solid var(--red);box-shadow:0 18px 44px rgba(0,0,0,.28)}
