/* Patramas v3.0.31.17 — STRICT HERO / NAVIGATION VISUAL REFINEMENT
   Layer only. No markup, content, asset, JavaScript or routing changes.
   Desktop: one continuous blue-to-photograph gradient on the expanded image plane.
   Tablet/mobile: stacked solid copy + photographic panel with vertical fade. */

/* Critical CTA hierarchy: white text on deep emerald green. */
.hero .hero-actions > .btn:not(.btn-outline),
.site-header .header-cta {
  background:#087F69 !important;
  border-color:#087F69 !important;
  color:#FFFFFF !important;
}
.hero .hero-actions > .btn:not(.btn-outline):is(:hover,:active),
.site-header .header-cta:is(:hover,:active) {
  background:#066653 !important;
  border-color:#066653 !important;
  color:#FFFFFF !important;
}
.hero .hero-actions > .btn:not(.btn-outline):focus-visible,
.site-header .header-cta:focus-visible {
  outline:3px solid #B5F3DF !important;
  outline-offset:3px;
}
/* Preserve the existing white-on-blue secondary action with a clear focus ring. */
.hero .hero-actions > .btn.btn-outline:focus-visible {
  outline:3px solid #B5F3DF;
  outline-offset:3px;
}

/* Utility band and desktop navigation: slightly larger text, less wasted gap. */
.utility-inner {
  font-size:.72rem;
  letter-spacing:.045em;
  gap:14px;
}
.utility-right {gap:clamp(12px,1.8vw,25px)}
@media (min-width:1280px) {
  .header-inner {gap:clamp(14px,1.2vw,21px)}
  .brand img {width:clamp(164px,12.1vw,180px)}
  .nav {gap:clamp(10px,.9vw,16px)}
  .nav a {font-size:.86rem}
  .header-cta {font-size:.82rem;padding:12px 15px}
}
@media (min-width:1121px) and (max-width:1279px) {
  .header-inner {gap:13px}
  .brand img {width:146px}
  .nav {gap:11px}
  .nav a {font-size:.84rem}
  .header-cta {font-size:.78rem;padding:11px 12px}
}

/* Desktop hero: eliminate the two intersecting translucent overlay slabs.
   The photograph starts *under* the blue field, so there is no visible
   rectangular starting edge or discontinuity. */
@media (min-width:901px) {
  .hero {background:#0D5881 !important}
  .hero-grid {position:relative;isolation:isolate}
  .hero-copy {z-index:2;background:transparent !important}
  .hero-copy::after {content:none !important;display:none !important}
  .hero-visual {
    position:absolute !important;
    inset:0 0 0 36% !important;
    opacity:1 !important;
    z-index:0;
    background-image:
      linear-gradient(90deg,
        #0D5881 0%,
        rgba(13,88,129,.98) 10%,
        rgba(13,88,129,.79) 22%,
        rgba(13,88,129,.38) 34%,
        rgba(13,88,129,0) 49%),
      url('assets/hero-main.webp') !important;
    background-size:cover !important;
    background-position:center 47% !important;
    background-repeat:no-repeat !important;
  }
  .hero-visual::before {content:none !important;display:none !important}
  .hero-topline {text-shadow:0 1px 8px rgba(3,40,65,.65)}
}

/* Hamburger/compact nav. Keep the existing menu and same destination links. */
@media (max-width:1120px) {
  .site-header .nav .pgt-nav-contact,
  .site-header .nav .pgt-nav-contact:link,
  .site-header .nav .pgt-nav-contact:visited {
    background:#087F69 !important;
    border-color:#087F69 !important;
    color:#FFFFFF !important;
  }
  .site-header .nav .pgt-nav-contact:is(:hover,:active,:focus-visible) {
    background:#066653 !important;
    border-color:#066653 !important;
    color:#FFFFFF !important;
  }
  .site-header .nav .pgt-nav-contact:focus-visible {
    outline:3px solid #087F69;
    outline-offset:3px;
  }
  .nav.open {max-height:calc(100dvh - 67px);overflow-y:auto;overscroll-behavior:contain}
  .menu-toggle {min-width:44px;min-height:44px;flex:none}
}

/* Tablet: photo and copy become stacked, avoiding the horizontal fade
   colliding with long text. Gradient is vertical and ends fully transparent. */
@media (max-width:900px) {
  .hero {background:#0D5881 !important;min-height:0 !important}
  .hero-grid {display:flex !important;flex-direction:column !important;min-height:0 !important}
  .hero-copy {
    order:1;
    z-index:2;
    min-height:0 !important;
    padding:68px 30px 50px;
    background:#0D5881 !important;
  }
  .hero-copy::after {content:none !important;display:none !important}
  .hero-visual {
    order:2;
    position:relative !important;
    inset:auto !important;
    z-index:1 !important;
    opacity:1 !important;
    flex:none;
    min-height:clamp(230px,30vw,310px);
    background-image:
      linear-gradient(180deg,
        #0D5881 0%,
        rgba(13,88,129,.94) 13%,
        rgba(13,88,129,.48) 39%,
        rgba(13,88,129,0) 75%),
      url('assets/hero-main.webp') !important;
    background-position:center 48% !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
  }
  .hero-visual::before {content:none !important;display:none !important}
  .hero-bottom {display:none !important}
  .hero-actions > .btn {min-height:48px}
}

/* Phones: compact copy, intact headline and full-width touch-friendly CTA. */
@media (max-width:650px) {
  .utility-inner {font-size:.63rem;letter-spacing:.035em}
  .site-header .brand img {width:clamp(140px,39vw,160px)}
  .header-inner {gap:12px}
  .hero-copy {padding:clamp(45px,7vw,58px) 22px 34px}
  .hero h1 {
    font-size:clamp(2.15rem,10.35vw,3rem);
    line-height:1.09;
    overflow-wrap:normal;
  }
  .hero-copy > p {font-size:.94rem;line-height:1.65}
  .hero-actions {width:100%;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:27px}
  .hero-actions > .btn {
    width:100%;min-width:0;min-height:48px;
    justify-content:space-between;
    gap:10px;
    white-space:normal;
    text-align:left;
  }
  .hero-visual {min-height:clamp(205px,56vw,255px)}
}
@media (prefers-reduced-motion:reduce) {
  .hero .btn,.site-header .btn {transition:none !important;transform:none !important}
}
