:root{
  --pv-red:#c4161c;
  --pv-dark:#1f1f1f;
  --pv-dark-2:#2b2b2b;
  --pv-light:#f5f6f7;
  --pv-white:#ffffff;
  --pv-text:#111111;
  --pv-muted:#6b7280;
  --pv-radius:18px;
  --pv-shadow: 0 10px 30px rgba(0,0,0,.12);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,Montserrat,Roboto,Arial,sans-serif;
  color:var(--pv-text);
  background:var(--pv-white);
  line-height:1.6;
}

a{color:inherit}

.pv-container{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
}

/* Joomla accessibility helper (prevents "More about:" label from breaking layout) */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.pv-header{
  background:var(--pv-dark);
  color:var(--pv-white);
  position:sticky;
  top:0;
  z-index:99;
}

/* Premium topbar (from index.php: pv-topbar-wrap/pv-topbar-inner) */
.pv-topbar-wrap{
  width:100%;
  background: linear-gradient(90deg, #0b0b0b 0%, #151515 45%, #0b0b0b 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.pv-topbar-inner{
  max-width:1180px;
  margin:0 auto;
  padding:8px 18px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

/* The actual contact row you placed inside the module */
.pv-topbar{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:13px;
  letter-spacing:.2px;
}

.pv-topbar__link{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:700;
}

.pv-topbar__link:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.pv-topbar__sep{color:rgba(255,255,255,.35)}

@media (max-width:768px){
  .pv-topbar-inner{justify-content:center}
  .pv-topbar__sep{display:none}
  .pv-topbar{gap:10px;font-size:12.5px}
}

/* Main header row */
.pv-header-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.pv-logo img{
  max-height:44px;
  height:auto;
  width:auto;
  display:block;
}

/* Nav */
.pv-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  align-items:center;
}

.pv-nav a{
  display:block;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  color:var(--pv-white);
}

.pv-nav a:hover{background:rgba(255,255,255,.08)}

.pv-nav .active > a,
.pv-nav a:focus{
  outline:none;
  background:var(--pv-red);
}

.pv-nav li{position:relative}

/* Dropdown */
.pv-nav li ul{
  display:none;
  position:absolute;
  left:0;
  top:100%;
  min-width:240px;
  background:var(--pv-dark);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:10px;
  box-shadow:var(--pv-shadow);
  z-index:200;
}

.pv-nav li:hover > ul{display:block}

.pv-nav li ul a{
  padding:10px 12px;
  border-radius:12px;
}

/* Breadcrumbs wrapper (from index.php: pv-breadcrumbs) */
.pv-breadcrumbs{background:var(--pv-white)}
.pv-breadcrumbs .breadcrumb{
  list-style:none;
  padding:0;
  margin:15px 0;
  display:flex;
  flex-wrap:wrap;
  gap:0;
}

.pv-breadcrumbs .breadcrumb li{
  font-size:14px;
  color:#666;
}

.pv-breadcrumbs .breadcrumb li + li::before{
  content:"›";
  padding:0 8px;
  color:#999;
}

.pv-breadcrumbs .breadcrumb a{
  color:#c62828;
  text-decoration:none;
}

.pv-breadcrumbs .breadcrumb a:hover{text-decoration:underline}

/* Hero */
.pv-hero{
  background:
    radial-gradient(1000px 400px at 20% 0%, rgba(196,22,28,.35), transparent 60%),
    linear-gradient(180deg,#111, #222);
  color:var(--pv-white);
}

.pv-hero .pv-hero-inner{padding:70px 0}
.pv-hero h1{font-size:42px;line-height:1.1;margin:0 0 12px}
.pv-hero p{max-width:760px;margin:0 0 18px;color:rgba(255,255,255,.86)}

.pv-btn{
  display:inline-block;
  background:var(--pv-red);
  color:var(--pv-white);
  text-decoration:none;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
}

.pv-btn.secondary{
  background:transparent;
  border:1px solid rgba(255,255,255,.35);
}

.pv-btn:hover{filter:brightness(1.05)}

/* Services section */
.pv-services{background:var(--pv-light);padding:44px 0}

.pv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

.pv-card{
  background:var(--pv-white);
  border-radius:var(--pv-radius);
  box-shadow:var(--pv-shadow);
  padding:18px;
  border:1px solid rgba(0,0,0,.04);
}

.pv-card h3{margin:0 0 8px}
.pv-card p{margin:0;color:var(--pv-muted)}

@media (max-width:900px){
  .pv-grid{grid-template-columns:1fr}
}

/* Main */
.pv-main{padding:38px 0}
.pv-main h1{margin-top:0}

/* CTA */
.pv-cta{
  background:linear-gradient(90deg,var(--pv-red), #9f0f15);
  color:var(--pv-white);
  padding:54px 0;
}
.pv-cta h2{margin:0 0 10px}

/* Footer */
.pv-footer{
  background:#121212;
  color:rgba(255,255,255,.92);
}

.pv-footer-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  padding:34px 0;
}

.pv-footer-col{min-width:0}

@media (max-width:900px){
  .pv-footer-grid{grid-template-columns:1fr}
}

.pv-footer h4{
  color:#fff;
  margin:0 0 12px;
  font-weight:800;
}

.pv-footer p{
  margin:0 0 12px;
  line-height:1.6;
}

.pv-footer a{
  color:#fff;
  opacity:.9;
  text-decoration:none;
}

.pv-footer a:hover{
  opacity:1;
  text-decoration:underline;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{margin:8px 0}

.footer-links a{
  color:#ddd;
  text-decoration:none;
}

.footer-links a:hover{
  color:#fff;
  text-decoration:underline;
}

.pv-footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:16px 0;
  color:rgba(255,255,255,.75);
  font-size:14px;
}

/* Small animations */
.pv-anim{
  opacity:0;
  transform:translateY(12px);
  transition:all .55s ease;
}
.pv-anim.pv-in{opacity:1;transform:none}

/* Clean homepage article spacing (optional) */
.item-page{padding:0}
.page-header{display:none}
article{margin:0}
/* Fix misalignment for parent dropdown items (e.g., Services) */
.pv-nav > ul > li > a{
  display: inline-flex;
  align-items: center;
}

/* Hide Joomla submenu accessibility label so it doesn't affect layout */
.pv-nav .mod-menu__sub-label,
.pv-nav span.visually-hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.pv-services-hub__intro{
  padding: 18px 0 22px;
}

.pv-services-hub__intro h1{
  margin: 0 0 10px;
}

.pv-services-hub__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.pv-service-card{
  text-decoration:none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pv-service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

.pv-services-hub__bottom{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.pv-services .pv-btn.secondary{
  color: var(--pv-text);
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
}
.pv-services .pv-btn.secondary:hover{
  border-color: rgba(0,0,0,.28);
}
/* Premium header finishing */
.pv-header{
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.pv-header-main{
  padding: 16px 0; /* slightly more breathing room */
}

.pv-nav a{
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* Mobile menu toggle */
.pv-nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.25);
  background: transparent;
  color:#fff;
  font-weight:800;
  padding:10px 12px;
  border-radius:12px;
}

/* Mobile behavior */
@media (max-width: 980px){
  .pv-nav-toggle{ display:inline-flex; align-items:center; }

  /* hide menu by default on mobile */
  .pv-nav{ display:none; }

  /* when open */
  .pv-nav.is-open{
    display:block;
    width:100%;
    margin-top:12px;
  }

  .pv-header-main{
    flex-wrap:wrap;
    gap:12px;
  }

  .pv-nav ul{
    flex-direction:column;
    gap:8px;
    align-items:stretch;
    width:100%;
  }

  .pv-nav a{
    width:100%;
    justify-content:flex-start;
    padding:12px 14px;
  }

  /* dropdowns on mobile: show nested items under parent on tap/hover */
  .pv-nav li ul{
    position:static;
    display:block;
    min-width:unset;
    border:0;
    box-shadow:none;
    padding:0 0 0 10px;
    background: transparent;
  }
}
/* Hero layout upgrade */
.pv-hero-inner{
  padding: 70px 0 60px;
}

.pv-hero-main{
  max-width: 760px;
}

.pv-hero-features{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pv-hero-feature{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px;
}

.pv-hero-feature strong{
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.pv-hero-feature p{
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

/* Mobile */
@media (max-width: 900px){
  .pv-hero-features{
    grid-template-columns: 1fr;
  }
}
.pv-hero-inner{ padding: 70px 0 60px; }
.pv-hero-main{ max-width: 760px; }

.pv-hero-features{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pv-hero-feature{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px;
}

.pv-hero-feature strong{
  display:block;
  margin-bottom: 6px;
  color:#fff;
}

.pv-hero-feature p{
  margin:0;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

@media (max-width: 900px){
  .pv-hero-features{ grid-template-columns: 1fr; }
}

/* ===== Premium animations ===== */

/* Load-in reveal (hero text) */
.pv-reveal{
  opacity: 0;
  transform: translateY(10px);
  animation: pvFadeUp .7s ease forwards;
}

.pv-reveal--1{ animation-delay: .05s; }
.pv-reveal--2{ animation-delay: .16s; }
.pv-reveal--3{ animation-delay: .28s; }

@keyframes pvFadeUp{
  to { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .pv-reveal{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .pv-anim{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Hover lift micro-interaction */
.pv-hover-lift{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

.pv-hover-lift:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.20);
}

/* Button micro-interaction */
.pv-btn-anim{
  transition: transform .12s ease, filter .12s ease;
}

.pv-btn-anim:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.pv-btn-anim:active{
  transform: translateY(0);
}
/* Hero fine-tuning */
.pv-hero-inner{
  padding-top: 90px;
}

.pv-hero-main p{
  margin-bottom: 22px;
}
/* Stagger hero feature animations */
.pv-hero-feature:nth-child(1){ transition-delay: .05s; }
.pv-hero-feature:nth-child(2){ transition-delay: .12s; }
.pv-hero-feature:nth-child(3){ transition-delay: .20s; }
.pv-hero-feature{
  backdrop-filter: blur(2px);
}
/* ===== Fix overflowing images inside articles/service pages ===== */
.pv-main img,
.pv-main picture,
.pv-main figure,
.pv-main .pv-figure,
.pv-main .item-page img,
.pv-main article img{
  max-width: 100% !important;
}

.pv-main img,
.pv-main .item-page img,
.pv-main article img{
  height: auto !important;
  display: block;
}

/* Ensure figure/picture never exceed container width */
.pv-main figure,
.pv-main .pv-figure,
.pv-main picture{
  width: 100%;
  margin: 18px 0;
}

/* Prevent long content from forcing horizontal scroll */
.pv-main .item-page,
.pv-main article{
  overflow-x: hidden;
}
/* HERO SLIDER (Homepage) */
.pv-slider { position: relative; border-radius: var(--pv-radius); overflow: hidden; box-shadow: var(--pv-shadow); }
.pv-slide { min-height: 560px; background-size: cover; background-position: center; display: none; }
.pv-slide-overlay{
  min-height: 560px;
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.25));
}
.pv-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.pv-btn-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  color: var(--pv-white);
}

@media (max-width: 900px){
  .pv-slide, .pv-slide-overlay{ min-height: 520px; }
  .pv-slide-overlay{ padding: 46px 18px; }
  .pv-hero h1{ font-size: 34px; }
}
