/* BG full site - Ubuntu server deploy (static) */
:root{
  --bg1:#16191e;
  --bg2:#181b20;
  --bg3:#14171b;
  --panel:#1a1e24;
  --panel2:#181c22;
  --text:#eaf0ff;
  --muted:#b7c3dd;
  --line: rgba(255,255,255,.10);
  --shadow: 0 16px 40px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

img{
  max-width:100%;
  height:auto;
  display:block;
}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    url("/images/bg-pattern.png"),
    linear-gradient(180deg, #1a1d22 0%, #171a1f 55%, #14171b 100%);
  background-repeat: repeat, no-repeat;
  background-size: 700px, auto;
  background-position: top left, center;
  color: var(--text);
  line-height: 1.45;
}

a{ color: inherit; text-decoration:none; }
a:hover{ opacity:.95; }

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:#11151a;
  backdrop-filter:none;
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  background:#1c2128;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow);
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.brand-name{ font-weight:800; }
.brand-tag{ font-size:12px; color:var(--muted); }

.nav{
  display:none;
  gap:18px;
  margin-left:10px;
  color:var(--muted);
}

.nav a{
  font-weight:700;
  font-size:14px;
}

.header-cta{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.phone{
  display:none;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#1a1e24;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:800;
  font-size:14px;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  background:#1a1e24;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
}

.btn:active{ transform:translateY(0); }

.btn-primary{
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border-color:rgba(255,255,255,.18);
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}

.btn-primary:hover{
  transform:translateY(-2px) scale(1.02);
}

.btn-primary.btn-lg{
  background:linear-gradient(180deg,#ff4d45,#c62828);
  border-color:rgba(229,57,53,.45);
  box-shadow:0 10px 25px rgba(229,57,53,.45);
}

.btn-ghost{ background:#1b2027; }
.btn-lg{ padding:14px 16px; font-size:15px; }

.btn-xl{
  padding:16px 22px;
  font-size:18px;
  font-weight:900;
  background:linear-gradient(180deg,#ff4d45,#c62828);
  border-color:rgba(229,57,53,.45);
  box-shadow:0 14px 35px rgba(229,57,53,.45);
}

/* Sticky CTA */
.sticky-cta{
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:30;
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:18px;
  background:#161a20;
  border:1px solid var(--line);
  backdrop-filter:none;
}

.sticky-cta .btn{ flex:1; }

/* Hero */
.hero{
  position:relative;
  padding:70px 0 50px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(10,12,16,0.84) 0%,
    rgba(10,12,16,0.68) 42%,
    rgba(10,12,16,0.36) 72%
  );
  z-index:0;
  pointer-events:none;
}

.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap:32px;
  align-items:stretch;
  max-width:1200px;
  margin:0 auto;
}

.hero-copy,
.hero-media{
  min-width:0;
}

.hero-copy{
  padding:28px 30px;
  border-radius:22px;
  background:rgba(22,26,32,0.82);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  justify-content:center;
  transform:translateY(0);
  transition:transform .35s ease, box-shadow .35s ease;
}

.hero-copy:hover{
  transform:translateY(-4px);
  box-shadow:
    0 36px 70px rgba(0,0,0,.50),
    0 0 0 1px rgba(255,255,255,.05);
}

.hero-media{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-self:stretch;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  color:#dce6ff;
  font-weight:800;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  padding:8px 12px;
  border-radius:999px;
  margin:0 0 14px;
  width:fit-content;
  max-width:100%;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.hero-headline{
  margin:0 0 14px;
}

.hero-bubble-main{
  display:inline-block;
  padding:16px 22px;
  border-radius:38px;
  background:#1e232a;
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
  font-weight:900;
  font-size:clamp(20px, 4.5vw, 38px);
  letter-spacing:-0.02em;
  box-shadow:
    0 20px 40px rgba(0,0,0,.55),
    0 0 25px rgba(229,57,53,.18);
  line-height:1.03;
}

.hero-bubble-main .bubble-white{
  display:block;
  margin-top:6px;
  color:#ffffff;
}

.subhead{
  margin:0 0 18px;
  color:#ffffff;
  font-size:16px;
  max-width:60ch;
  background:rgba(0,0,0,0.42);
  padding:12px 14px;
  border-radius:14px;
  display:inline-block;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:14px;
  align-items:center;
}

.hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:2px 0 14px;
  color:#f6f8ff;
  font-size:13px;
  font-weight:800;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 10px;
}

.meta-pill{
  font-size:13px;
  color:#d5def5;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  padding:8px 10px;
  border-radius:999px;
}

.micro{
  color:rgba(183,195,221,.88);
  font-size:13px;
  margin:10px 0 0;
}

.micro-hero{
  color:#ffffff;
  background:rgba(0,0,0,0.42);
  padding:9px 12px;
  border-radius:12px;
  display:inline-block;
  box-shadow:0 10px 24px rgba(0,0,0,.20);
}

.media-card{
  width:100%;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(20,24,30,.96);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}

.featured-top-photo-card{
  width:100%;
  min-width:0;
}

.featured-top-photo-img{
  width:100%;
  height:420px;
  min-height:420px;
  display:block;
  object-fit:cover;
  object-position:center;
  margin:0;
  border:0;
}

.media-badge{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.media-badge-panel{
  width:100%;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(20,24,30,.96);
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  padding:22px 22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:118px;
}

.badge-title{
  font-weight:900;
  font-size:28px;
  line-height:1.05;
  margin:0 0 10px;
  color:#ffffff;
}

.badge-sub{
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
  margin:0;
}

/* Trust */
.trustbar{ padding:12px 0 6px; }

.trustbar-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#171b21;
  padding:14px;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.trust-ico{ font-size:16px; }

/* Sections */
.section{ padding:54px 0; }

.section.alt{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head h2{
  font-size:28px;
  margin:0 0 8px;
  letter-spacing:-0.01em;
}

.section-head p{
  margin:0 0 18px;
  color:var(--muted);
  max-width:70ch;
}

/* Cards */
.cards-2{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.cards-3{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:var(--panel);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.card h3{
  margin:0 0 10px;
  font-size:18px;
}

.bullets{
  margin:0 0 14px;
  padding-left:18px;
  color:rgba(183,195,221,.92);
}

.bullets li{ margin:8px 0; }

.card-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.note{
  margin-top:16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:14px 16px;
  background:#171b21;
}

/* Emergency */
.emergency-card{
  border:1px solid rgba(255,255,255,.14);
  border-radius:calc(var(--radius) + 6px);
  padding:18px;
  background:linear-gradient(180deg, #22262d, #171b21);
  display:flex;
  flex-direction:column;
  gap:14px;
  box-shadow:0 16px 32px rgba(0,0,0,.35);
}

.emergency-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:#1a1e24;
  font-weight:900;
  width:fit-content;
  margin-bottom:8px;
}

.emergency-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.shot{
  margin:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--panel2);
}

.shot-img{
  min-height:150px;
  display:grid;
  place-items:center;
  color:rgba(183,195,221,.85);
  background:#1a1e24;
  border-bottom:1px solid var(--line);
  font-weight:900;
}

.shot figcaption{
  padding:12px 14px;
  font-size:14px;
}

/* Before / After split images */
.ba-photo-split{
  display:flex;
  width:100%;
  height:180px;
  min-height:180px;
  overflow:hidden;
  background:#1a1e24;
  border-bottom:1px solid var(--line);
}

.ba-half{
  width:50%;
  min-height:180px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#20252d;
}

.ba-half.before{
  border-right:1px solid var(--line);
}

/* Quotes */
.quote{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  background:var(--panel);
}

.quote p{ margin:0 0 10px; }

.quote .who{
  margin:0;
  color:var(--muted);
  font-weight:800;
}

/* CTA band */
.cta-band{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:calc(var(--radius) + 6px);
  padding:18px;
  background:#171b21;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cta-band h3{
  margin:0 0 4px;
  font-size:20px;
}

.cta-band p{
  margin:0;
  color:var(--muted);
}

.cta-band-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:start;
}

.contact-copy h2{
  margin:0 0 8px;
  font-size:28px;
}

.contact-copy p{
  margin:0 0 14px;
  color:var(--muted);
}

.contact-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-bottom:10px;
}

.mini-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px;
  background:var(--panel2);
}

.mini-title{
  font-weight:900;
  margin-bottom:4px;
}

.mini-body{ color:rgba(234,240,255,.92); }

.form{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  padding:18px;
  background:var(--panel);
}

.field{ margin-bottom:12px; }

label{
  display:block;
  font-weight:900;
  margin-bottom:6px;
  font-size:13px;
  color:rgba(234,240,255,.92);
}

input,
select,
textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:#12171d;
  color:var(--text);
  outline:none;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(255,255,255,.22);
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
}

.hint{
  margin:8px 0 0;
  font-size:12px;
  color:rgba(183,195,221,.85);
}

.form-foot{
  margin:12px 0 0;
  font-size:12px;
  color:rgba(183,195,221,.85);
}

/* Footer */
.footer{
  padding:26px 0 90px;
  border-top:1px solid var(--line);
  background:#11151a;
}

.footer-inner{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:space-between;
}

.footer-brand{ font-weight:900; }
.footer-small{ color:var(--muted); font-size:13px; }

.footer-right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer-link{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#1a1e24;
  font-weight:900;
}

/* ID Badge */
.id-badge{
  display:flex;
  gap:14px;
  align-items:stretch;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  background:#171b21;
  overflow:hidden;
}

.id-photo{
  width:120px;
  min-height:120px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:rgba(183,195,221,.9);
  background:#1a1e24;
  border-right:1px solid var(--line);
}

.id-info{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.id-name{
  font-weight:900;
  font-size:18px;
}

.id-role{
  color:rgba(183,195,221,.95);
  font-weight:900;
}

.id-desc{
  color:rgba(183,195,221,.9);
  font-size:13px;
  margin-top:4px;
}

.id-meta{
  color:rgba(183,195,221,.85);
  font-size:12px;
  margin-top:6px;
}

/* Tablet and mobile */
@media (max-width: 859px){
  .hero{
    padding:28px 0 22px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:18px;
    align-items:start;
  }

  .hero-copy{
    order:1;
    padding:22px 20px;
  }

  .hero-media{
    order:2;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-proof{
    gap:6px;
  }

  .hero-meta{
    gap:8px;
  }

  .meta-pill{
    width:fit-content;
    max-width:100%;
  }

  .featured-top-photo-img{
    height:280px;
    min-height:280px;
  }

  .media-badge-panel{
    padding:18px 16px;
    min-height:auto;
  }

  .badge-title{
    font-size:22px;
  }

  .badge-sub{
    font-size:14px;
  }
}

/* Tiny phones */
@media (max-width: 540px){
  .container{
    width:min(1120px, calc(100% - 24px));
  }

  .header-inner{
    gap:10px;
    padding:10px 0;
  }

  .brand-name{
    font-size:13px;
  }

  .brand-tag{
    font-size:11px;
  }

  .header-cta .btn{
    padding:10px 12px;
    font-size:12px;
    white-space:nowrap;
  }

  .hero-bubble-main{
    display:block;
    border-radius:28px;
    padding:14px 16px;
    font-size:clamp(18px, 8vw, 34px);
  }

  .subhead{
    font-size:14px;
    padding:10px 12px;
  }

  .micro-hero{
    padding:8px 10px;
  }

  .featured-top-photo-img{
    height:220px;
    min-height:220px;
  }

  .trustbar-inner{
    grid-template-columns:1fr 1fr;
  }

  .id-badge{
    flex-direction:column;
  }

  .id-photo{
    width:100%;
    min-height:140px;
    border-right:none;
    border-bottom:1px solid var(--line);
  }
}

/* Desktop */
@media (min-width: 860px){
  .nav{ display:flex; }
  .phone{ display:inline-flex; }
  .hero-actions{ flex-direction:row; }
  .trustbar-inner{ grid-template-columns:repeat(4, 1fr); }
  .cards-2{ grid-template-columns:1fr 1fr; }
  .cards-3{ grid-template-columns:1fr 1fr 1fr; }
  .gallery{ grid-template-columns:repeat(3, 1fr); }
  .card-actions{ flex-direction:row; }
  .cta-band{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .cta-band-actions{ flex-direction:row; }
  .contact-grid{ grid-template-columns:1fr 1fr; }
  .contact-cards{ grid-template-columns:repeat(3, 1fr); }
  .footer-inner{
    flex-direction:row;
    align-items:center;
  }
  .emergency-card{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .emergency-actions{ flex-direction:row; }
}

/* Hide sticky CTA on desktop */
@media (min-width: 980px){
  .sticky-cta{ display:none; }
  .footer{ padding-bottom:26px; }
}
