:root{
  --brand-gray:#6e747b;
  --brand-dark-gray:#323538;
  --brand-cyan:#15BEF0;
  --brand-blue:#007DCC;
  --brand-navy:#003882;

  --bg:#ffffff;
  --fg:var(--brand-dark-gray);
  --text:var(--brand-gray);
  --muted:rgba(110,116,123,.82);
  --card:#ffffff;
  --card2:#f6f8fb;
  --line:rgba(50,53,56,.14);
  --shadow:0 18px 40px rgba(0,0,0,.10);
  --radius:18px;
  --container:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}


h1,h2,h3,h4,h5,h6{color:var(--brand-dark-gray)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--container);margin:0 auto;padding:0 18px}
.section{padding:64px 0}

/* Shared sub-page hero banner (all pages except home) */
.subpage-hero{
  padding:0;
  line-height:0;
  position:relative;
  overflow:hidden;
}
.subpage-hero img,
.subpage-hero-video{
  width:100%;
  height:clamp(260px, 55vh, 640px);
  object-fit:cover;
  object-position:center;
  display:block;
}

.section-alt{background:var(--card2)}
.section-head{margin-bottom:22px}
.section-title{margin:0;font-size:28px;letter-spacing:-.02em}
.section-subtitle{margin:8px 0 0;color:var(--muted);max-width:720px}


/* Intro / "Consult. Design. Deliver." section */
.section-head-center{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.section-head-center .section-subtitle{margin-left:auto;margin-right:auto}
.section-underline{
  width:92px;
  height:3px;
  border-radius:999px;
  background:#1f4cff;
  margin:14px 0 2px;
}


/* Intro typography adjustments */
.section-intro .section-title{
  font-size:42px;
  font-weight:300;
  letter-spacing:-.03em;
}
.section-intro .section-subtitle{
  font-size:18px;
  line-height:1.55;
  max-width:860px;
}
@media (max-width:720px){
  .section-intro .section-title{font-size:34px}
  .section-intro .section-subtitle{font-size:17px}
}

.intro-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}
.intro-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .16s ease, border-color .16s ease;
}
.intro-card:hover{transform:translateY(-2px);border-color:rgba(11,18,32,.18)}
.intro-media{aspect-ratio:16/10;overflow:hidden;background:var(--card2)}
.intro-media img{width:100%;height:100%;object-fit:cover}
.intro-body{padding:18px 18px 20px}
.intro-title{font-size:16px;font-weight:700;margin:0 0 8px}
.intro-text{color:var(--muted);font-size:13.5px;max-width:52ch}
.intro-link{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  opacity:.92;
}

/* About / Company News section */
.section-about{
  padding-top:48px;
  padding-bottom:48px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-about .section-title{
  font-size:42px;
  font-weight:300;
  letter-spacing:-.03em;
}
.about-grid{
  display:grid;
  /* Keep the "Who we are" copy comfortably readable on wide screens */
  grid-template-columns:minmax(0, 52ch) minmax(0, 1fr);
  gap:64px;
  align-items:start;
}
.about-paragraph{
  margin:0 0 14px;
  color:var(--muted);
  max-width:52ch;
}
.about-list{
  margin:10px 0 16px 18px;
  padding:0;
  color:var(--muted);
}
.about-list li{margin:6px 0}
.about-cta{margin-top:18px}

.about-estimate-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  padding:14px 28px;
  border-radius:0;
  font-weight:600;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:transparent;
  color:var(--brand-dark-gray);
  border:none;
  border-bottom:2px solid var(--brand-blue);
  position:relative;
  overflow:hidden;
  transition:color .2s ease, border-color .2s ease;
}
.about-estimate-btn::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:0;
  background:var(--brand-blue);
  transition:height .25s ease;
  z-index:-1;
}
.about-estimate-btn::after{
  content:"→";
  display:inline-block;
  transition:transform .2s ease;
}
.about-estimate-btn:hover{
  color:#fff;
  border-color:var(--brand-blue);
}
.about-estimate-btn:hover::before{
  height:100%;
}
.about-estimate-btn:hover::after{
  transform:translateX(4px);
}
.about-estimate-btn:active{
  transform:scale(0.98);
}

.about-news-head{
  display:flex;
  justify-content:flex-end;
  margin-bottom:12px;
}
.about-news-title{
  margin:0;
  text-align:right;
}

.about-news{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* News Card V2 - Custom frame shape image holder */
.news-card-v2{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  transition:transform .16s ease;
}
.news-card-v2:hover{
  transform:translateY(-3px);
}

.news-card-shape{
  position:relative;
  background:var(--card2);
  /* Custom shape matching frame.svg:
     - Top right: angled corner pointing up-right
     - Bottom left: angled corner pointing down-left  
     - Other corners: slightly rounded */
  clip-path:polygon(
    0% 7%,
    0.5% 2.5%,
    2.5% 0%,
    82% 0%,
    85% 2%,
    100% 28%,
    100% 93%,
    99.5% 96%,
    97% 100%,
    14% 100%,
    11% 98%,
    0% 81%
  );
  aspect-ratio:2.6/1;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.1);
  transition:box-shadow .16s ease;
}
.news-card-v2:hover .news-card-shape{
  box-shadow:0 14px 32px rgba(0,0,0,.14);
}

.news-logo-holder{
  width:100%;
  height:100%;
}
.news-logo-holder img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .2s ease;
}
.news-card-v2:hover .news-logo-holder img{
  transform:scale(1.03);
}

.news-description{
  padding:14px 4px 0;
}
.news-desc-text{
  font-size:13.5px;
  color:var(--muted);
  line-height:1.5;
  display:block;
  margin:0;
}
.news-read-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--brand-dark-gray);
  opacity:.85;
  transition:color .12s ease, opacity .12s ease;
}
.news-read-more::after{
  content:"→";
  transition:transform .12s ease;
}
.news-card-v2:hover .news-read-more{
  color:var(--brand-blue);
  opacity:1;
}
.news-card-v2:hover .news-read-more::after{
  transform:translateX(3px);
}

/* Legacy news card styles */
.news-card{
  position:relative;
  overflow:hidden;
  background:var(--card2);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .16s ease, border-color .16s ease;
  clip-path:polygon(7% 0, 100% 0, 100% 100%, 7% 100%, 0 78%, 0 22%);
}
.news-card:hover{transform:translateY(-2px);border-color:rgba(11,18,32,.18)}
.news-card img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/6}
.news-banner{
  position:absolute;
  left:0;right:0;
  bottom:18px;
  padding:10px 16px;
  background:#1d4ed8;
  color:#fff;
  font-weight:700;
  font-size:13px;
  line-height:1.2;
}
.news-text{display:block;max-width:90%}

/* Accent button (for contact form submit - matches footer CTA) */
.btn-accent{
  background:var(--brand-blue);
  border-color:var(--brand-blue);
  color:#fff;
  border-radius:0;
  padding:12px 20px;
  font-size:12px;
  font-weight:700;
}
.btn-accent:hover{
  background:var(--brand-navy);
  border-color:var(--brand-navy);
  transform:translateY(-1px);
}

.btn-accent:focus-visible{outline:2px solid rgba(0,125,204,.35);outline-offset:2px}
@media (max-width: 920px){
  .about-grid{grid-template-columns:1fr;gap:34px}
  .section-about .section-title{font-size:34px}
  .about-news-head{justify-content:flex-start}
  .about-news-title{text-align:left}
  .about-news{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
  }
  .news-card-shape{
    aspect-ratio:16/7;
  }
  .news-description{padding:12px 4px 0}
  .news-desc-text{font-size:13px}
}

@media (max-width: 580px){
  .about-news{
    grid-template-columns:1fr;
  }
  .news-card-shape{
    aspect-ratio:16/6;
  }
}

/* Clients marquee section */
.section-clients{padding-top:54px}
.clients-grid{
  display:grid;
  grid-template-columns:1fr 1.7fr;
  gap:48px;
  align-items:center;
}

/* Clients copy text styling */
.clients-intro{
  font-weight:700;
  font-size:18px;
  margin:0 0 8px;
  color:var(--brand-dark-gray);
}
.clients-title{
  margin:0;
  font-size:42px;
  font-weight:300;
  letter-spacing:-.03em;
  line-height:1.02;
}
.clients-tagline{
  margin:14px 0 8px;
  color:var(--muted);
  max-width:42ch;
  font-size:15px;
  line-height:1.5;
}
.clients-tagline-emphasis{
  font-weight:500;
  color:var(--brand-dark-gray);
}

/* Legacy support */
.clients-kicker{
  font-weight:700;
  font-size:18px;
  margin:0 0 12px;
}
.clients-text{
  margin:0 0 10px;
  color:var(--muted);
  max-width:42ch;
}

.clients-marquee-wrap{
  overflow:hidden;
  border-radius:22px;
  padding:10px 0;
  mask-image:linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image:linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-marquee{
  overflow:hidden;
}
.clients-marquee-track{
  display:flex;
  gap:32px;
  width:max-content;
  animation:clients-scroll 35s linear infinite;
}
.clients-marquee:hover .clients-marquee-track{
  animation-play-state:paused;
}
@keyframes clients-scroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
.clients-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  min-width:180px;
  flex-shrink:0;
}
.clients-logo img{
  max-height:160px;
  max-width:160px;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:transform .2s ease, opacity .2s ease;
  opacity:.85;
}
.clients-logo:hover img{
  transform:scale(1.05);
  opacity:1;
}

@media (max-width: 920px){
  .clients-grid{grid-template-columns:1fr;gap:28px}
  .clients-title{font-size:34px}
  .clients-intro{font-size:16px}
  .clients-tagline{font-size:14px}
  .clients-logo{min-height:140px;min-width:140px}
  .clients-logo img{max-height:120px;max-width:120px}
  .clients-marquee-track{gap:24px}
}

/* Header */
.site-header{
  position:fixed;top:0;left:0;right:0;
  z-index:50;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
  background:transparent;
  border-bottom:1px solid transparent;
  color:#fff;
}
.site-header[data-state="solid"]{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  backdrop-filter:saturate(140%) blur(10px);
  color:var(--fg);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:76px;
  gap:14px;
}

.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{
  height:clamp(54px, 9vw, 64px);
  width:auto;
  max-width:min(240px, 60vw);
  object-fit:contain;
  transition:filter .18s ease, opacity .18s ease;
}

.site-nav{
  display:flex;align-items:center;gap:18px;
}
.nav-link{
  font-weight:500;
  font-size:14px;
  color:inherit;
  opacity:.88;
  padding:10px 10px;
  border-radius:999px;
  transition:background .15s ease,color .15s ease;
  white-space:nowrap;
}
.nav-link:hover{background:rgba(255,255,255,.08)}
.nav-link.is-active{background:transparent}
.nav-cta{background:transparent}
.nav-cta:hover{background:rgba(255,255,255,.08)}

/* Login icon */
.nav-login{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  color:inherit;
  opacity:.88;
  transition:background .15s ease, opacity .15s ease, transform .15s ease;
  margin-left:4px;
}
.nav-login:hover{
  background:rgba(255,255,255,.1);
  opacity:1;
  transform:scale(1.05);
}
.nav-login-icon{
  width:20px;
  height:20px;
  flex-shrink:0;
}
.site-header[data-state="solid"] .nav-login:hover{
  background:rgba(0,0,0,.06);
}

.nav-toggle{
  display:none;
  appearance:none;border:0;background:transparent;color:inherit;
  width:44px;height:44px;border-radius:12px;
  position:relative;
}
.nav-toggle:hover{background:rgba(255,255,255,.08)}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;left:50%;
  width:20px;height:2px;background:currentColor;
  transform:translateX(-50%);
  border-radius:2px;
  transition:transform .16s ease, top .16s ease, opacity .16s ease;
}
.nav-toggle-bars{top:50%;transform:translate(-50%,-50%)}
.nav-toggle-bars::before{top:-7px}
.nav-toggle-bars::after{top:7px}

/* Hero */
.hero{
  position:relative;
  color:#fff;
  min-height:76vh;
  display:flex;
  align-items:stretch;
  padding-top:76px; /* header offset */
  overflow:hidden;
}
.hero-video{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  filter:saturate(110%) contrast(105%);
  transform:scale(1.02);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72));
}
.hero-inner{
  position:relative;
  display:flex;
  align-items:center;
  padding:64px 18px;
  width:100%;
  justify-content:center;
}

.hero-content{max-width:720px;
  margin:0 auto;
  text-align:center}
.hero-kicker{
  display:inline-flex;
  padding:6px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.88);
  margin-bottom:14px;
  background:rgba(255,255,255,.06);
}
.hero-title{
  margin:0 0 12px;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.03em;

  color:#fff;}
.hero-subtitle{
  margin:0 0 22px;
  font-size:16px;
  color:#fff;
  max-width:620px;
  margin-left:auto;
  margin-right:auto
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 16px;
  border-radius:14px;
  font-weight:600;
  font-size:14px;
  border:1px solid transparent;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.18);
}
.btn-primary:hover{background:rgba(255,255,255,.18)}
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.20);
}
.btn-ghost:hover{background:rgba(255,255,255,.08)}

/* Cards */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .16s ease, border-color .16s ease;
}
.card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16)}
.card-media{aspect-ratio:16/10;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:16px 16px 18px}
.card-title{font-size:16px;font-weight:700;margin:0 0 6px}
.card-text{color:var(--muted);font-size:13.5px}

/* Client logos */
.logo-track{
  display:flex;
  gap:14px;
  overflow:auto;
  padding:10px 2px 6px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.logo-item{
  flex:0 0 auto;
  width:160px;
  height:74px;
  display:flex;align-items:center;justify-content:center;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  scroll-snap-align:start;
}
.logo-item img{max-height:48px;max-width:120px;opacity:.92}

/* News */
.news-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.news-card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .16s ease, border-color .16s ease;
  box-shadow:var(--shadow);
}
.news-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16)}
.news-media{aspect-ratio:16/9;overflow:hidden}
.news-media img{width:100%;height:100%;object-fit:cover}
.news-body{padding:16px 16px 18px}
.news-title{font-size:16px;font-weight:700;margin:0 0 6px}
.news-text{color:var(--muted);font-size:13.5px}

/* Footer */
.site-footer{
  /* Light gray scheme to match site neutrals */
  background:var(--card2);
  color:var(--brand-dark-gray);
  border-top:1px solid var(--line);
}
.footer-top{
  padding:64px 0 48px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1.3fr;
  gap:40px;
  align-items:start;
}
.footer-col{min-width:0}

/* Footer Headings */
.footer-heading{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--brand-dark-gray);
  margin:0 0 18px;
}

/* Footer Contact */
.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-contact-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13px;
  color:var(--muted);
}
.footer-icon{
  color:var(--brand-blue);
  flex:0 0 auto;
  margin-top:2px;
}
.footer-contact-text{line-height:1.5}

/* Footer Links */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  color:rgba(50,53,56,.85);
  font-size:13px;
  text-decoration:none;
  transition:color .12s ease, opacity .12s ease;
}
.footer-links a:hover{
  color:var(--brand-blue);
  opacity:1;
}

/* Footer CTA */
.footer-cta-col{
  background:transparent;
  border:0;
  box-shadow:none;
}
.footer-cta-text{
  font-size:13px;
  color:var(--muted);
  margin:0 0 16px;
  line-height:1.5;
}
.footer-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  background:var(--brand-blue);
  color:#fff;
  font-size:12px;
  font-weight:700;
  border-radius:8px;
  text-decoration:none;
  transition:background .15s ease, transform .15s ease;
}
.footer-cta-btn:hover{
  background:var(--brand-navy);
  transform:translateY(-1px);
}
/* Footer Bottom */
.footer-bottom{
  border-top:1px solid var(--line);
  padding:20px 0;
  background:rgba(50,53,56,.04);
}
.footer-bottom-inner{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.footer-copyright{
  font-size:12px;
  color:rgba(110,116,123,.82);
}

/* Improve footer focus visibility on light background */
.site-footer a:focus-visible{
  outline:2px solid rgba(0,125,204,.45);
  outline-offset:3px;
  border-radius:8px;
}

/* Footer Responsive */
@media (max-width: 920px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:32px;
  }
  .footer-cta-col{
  background:transparent;
  border:0;
  box-shadow:none;
}
}
@media (max-width: 640px){
  .footer-top{padding:48px 0 32px}
  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
    text-align:center;
  }
  .footer-contact{align-items:center}
  .footer-contact-item{
    flex-direction:column;
    align-items:center;
    gap:6px;
    text-align:center;
  }
  .footer-links{align-items:center}
  .footer-cta-col{
  background:transparent;
  border:0;
  box-shadow:none;
}
  .footer-bottom-inner{justify-content:center}
}

/* Intro section */
.section-intro{padding:72px 0}
.section-head-center{display:flex;flex-direction:column;align-items:center;text-align:center}
.section-head-center .section-subtitle{margin-left:auto;margin-right:auto}
.section-underline{width:96px;height:3px;border-radius:999px;background:#1d4ed8;margin:14px 0 4px}

.intro-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}
.intro-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .16s ease, border-color .16s ease;
}
.intro-card:hover{transform:translateY(-2px);border-color:rgba(11,18,32,.22)}
.intro-media{aspect-ratio:16/10;overflow:hidden;background:var(--card2)}
.intro-media img{width:100%;height:100%;object-fit:cover}
.intro-body{padding:18px 18px 20px}
.intro-title{font-size:16px;font-weight:800;margin:0 0 10px}
.intro-text{color:var(--muted);font-size:13.5px;line-height:1.55}
.intro-link{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  opacity:.92;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:color .12s ease, opacity .12s ease;
}

.intro-link:visited{color:inherit}

.intro-arrow{
  display:inline-block;
  color:currentColor;
  transition:transform .12s ease, color .12s ease;
}

.intro-link:hover,
.intro-link:focus-visible,
.intro-link:active{
  color:#1d4ed8;
  opacity:1;
}

.intro-link:hover .intro-arrow,
.intro-link:focus-visible .intro-arrow,
.intro-link:active .intro-arrow{
  color:#1d4ed8;
  transform:translateX(2px);
}


/* Responsive */
@media (max-width: 920px){
  .card-grid{grid-template-columns:1fr;gap:14px}
  .intro-grid{grid-template-columns:1fr;gap:14px}
  .news-grid{grid-template-columns:1fr;gap:14px}
  .hero-title{font-size:36px}
}

@media (max-width: 820px){
  .nav-toggle{display:inline-flex}
  .site-nav{
    position:fixed;
    top:76px; left:12px; right:12px;
    /* Mobile dropdown should visually match the light gray footer scheme */
    background:var(--card2);
    color:var(--brand-dark-gray);
    border:1px solid var(--line);
    border-radius:18px;
    padding:14px;
    display:none;
    flex-direction:column;
    gap:2px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    backdrop-filter:none;
  }
  .site-nav.is-open{display:flex}
  .nav-link{
    width:100%;
    padding:12px 12px;
    border-radius:12px;
    color:rgba(50,53,56,.85);
    font-size:14px;
    background:transparent;
  }
  .nav-link:hover,
  .nav-link:focus-visible{
    background:rgba(50,53,56,.04);
    color:var(--brand-blue);
  }
  .nav-link.is-active{
    background:rgba(50,53,56,.04);
    color:var(--brand-dark-gray);
  }
  .nav-cta{justify-content:center}
  .nav-login{
    width:100%;
    height:auto;
    padding:12px;
    border-radius:12px;
    justify-content:center;
    gap:8px;
    color:rgba(50,53,56,.85);
    background:rgba(50,53,56,.04);
    border:1px solid var(--line);
  }
  .nav-login:hover,
  .nav-login:focus-visible{
    background:#fff;
    color:var(--brand-blue);
  }
  .nav-login::after{
    content:"Log in";
    font-size:14px;
    font-weight:500;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-video{display:none}
  .hero{background:linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72)), var(--bg)}
  .card, .news-card{transition:none}
}

/* CHANGE 2 — Section headings size (Who we are / Company News) — START */
/* Section headings sizing */
.section-title,
.about h2,
.news h2,
.about .section-title,
.news .section-title,
.about h3,
.news h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}
@media (max-width: 768px) {
  .section-title,
  .about h2,
  .news h2,
  .about .section-title,
  .news .section-title,
  .about h3,
  .news h3 {
    font-size: 20px;
  }
}
/* CHANGE 2 — Section headings size (Who we are / Company News) — END */

/* CHANGE 3 — About paragraph size/weight (With over 30 years...) — START */
/* About body copy refinement */
.about p,
.about .about-text,
.about .copy,
.about .text {
  font-size: 9px;
  line-height: 1.6;
  
}
@media (max-width: 768px) {
  .about p,
  .about .about-text,
  .about .copy,
  .about .text {
    font-size: 9px;
  }
}
/* CHANGE 3 — About paragraph size/weight (With over 30 years...) — END */

/* ============================================
   PAGE TEMPLATE STYLES (Services, Products, etc.)
   ============================================ */

/* Page Hero (Static Image) */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 56, 130, 0.75) 0%,
    rgba(0, 30, 70, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 35vh;
  }
  .page-hero-inner {
    padding: 80px 0 50px;
  }
  .page-hero-title {
    font-size: 36px;
  }
  .page-hero-subtitle {
    font-size: 16px;
  }
}

/* ============================================
   SERVICES LIST SECTION
   ============================================ */

.section-services-list {
  padding: 80px 0;
}

.service-item {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Section 1: Header */
.service-header {
  margin-bottom: 28px;
}

.service-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--brand-dark-gray);
  margin: 0;
}

/* Section 2: Framed Image */
.service-image-wrap {
  margin-bottom: 28px;
}

.service-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2.8 / 1;
  overflow: hidden;
  background: var(--card2);
  /* Custom clip-path matching the uploaded frame:
     - Top-right: angled corner cutting inward
     - Bottom-left: angled corner cutting inward
     - Other corners: subtle angles */
  clip-path: polygon(
    0% 7%,
    0.5% 2.5%,
    2% 0%,
    83% 0%,
    86% 3%,
    100% 28%,
    100% 93%,
    99.5% 97%,
    98% 100%,
    17% 100%,
    14% 97%,
    0% 72%
  );
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-frame:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
}

.service-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-frame:hover img {
  transform: none;
}
/* Section 3: Body */
.service-body {
  max-width: 800px;
}

.service-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.service-description:not(:empty) {
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.service-features li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--brand-dark-gray);
  font-weight: 500;
}

.service-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

@media (max-width: 920px) {
  .section-services-list {
    padding: 60px 0;
  }

  .service-item {
    margin-bottom: 60px;
    padding-bottom: 60px;
  }

  .service-title {
    font-size: 26px;
  }

  .service-frame {
    aspect-ratio: 2.2 / 1;
  }

  .service-features {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 580px) {
  .service-title {
    font-size: 22px;
  }

  .service-description {
    font-size: 15px;
  }

  .service-frame {
    aspect-ratio: 16 / 9;
    clip-path: polygon(
      0% 5%,
      0.5% 2%,
      2% 0%,
      85% 0%,
      88% 3%,
      100% 20%,
      100% 95%,
      99.5% 98%,
      98% 100%,
      15% 100%,
      12% 97%,
      0% 80%
    );
  }
}

/* ============================================
   PAGE CTA SECTION
   ============================================ */

.section-page-cta {
  padding: 0 0 80px;
}

.page-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.page-cta-content {
  flex: 1;
}

.page-cta-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-dark-gray);
  margin: 0 0 8px;
}

.page-cta-text {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .page-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .page-cta-title {
    font-size: 20px;
  }
}



/* Contact (matches Services/Products format) */
.section-contact-body{
  padding-top: 0;
}
.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start;
}
.contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}
.contact-card-alt{background:#fff}

/* Contact page: flat layout (no boxed panels) */
.contact-grid-flat .contact-card{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
}
.contact-grid-flat{
  /* extra breathing room between form (left) and info (right) */
  column-gap:52px;
  row-gap:18px;
}
.contact-grid-flat .contact-map{
  border:0;
  background:transparent;
}

.contact-alert{
  margin: 0 0 18px;
  border-radius:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  display:flex;
  gap:8px;
  flex-direction:column;
}
.contact-alert strong{font-size:13px}
.contact-alert ul{margin:8px 0 0 16px;color:var(--muted);font-size:13px}
.contact-alert-success{border-color:rgba(20,187,237,.35)}
.contact-alert-error{border-color:rgba(217, 48, 37, .35)}

.contact-field{margin-top:12px}
.contact-label{
  display:block;
  margin:0 0 8px;
  font-size:12px;
  font-weight:800;
}
.contact-required{color:#d93025}
.contact-required-note{color:var(--muted);font-weight:600;font-size:12px}
.contact-form-row{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.contact-input,
.contact-textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:0;
  padding:12px 12px;
  background:#fff;
  font-size:14px;
  outline:none;
  transition:border-color .14s ease, box-shadow .14s ease;
}
.contact-textarea{resize:vertical;min-height:160px}
.contact-input:focus,
.contact-textarea:focus{
  border-color:rgba(20,187,237,.55);
  box-shadow:0 0 0 4px rgba(20,187,237,.14);
}
.contact-hint{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
}
.contact-actions{margin-top:16px}
.contact-powered{
  margin-top:14px;
  font-size:12px;
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.contact-powered a{color:inherit;text-decoration:underline}
.contact-dot{opacity:.6}

.contact-side-head{margin-bottom:10px}
.contact-side-col-right{text-align:right}
.contact-side-title{margin:0 0 6px;font-size:16px;font-weight:700}
.contact-side-title-nowrap{white-space:nowrap}
.contact-side-section{margin-top:12px}
.contact-side-k{font-size:12px;font-weight:400;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;color:var(--fg)}
.contact-side-v{color:rgba(11,18,32,.78);font-size:13.5px;line-height:1.55}

/* Contact: side-by-side info columns (Address & Map / Manufacturing) */
.contact-side-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:start;
}
.contact-side-col{min-width:0}

.contact-side-section-tight{margin-top:6px}
.contact-side-head-sub{margin-top:10px}
.contact-divider{height:1px;background:var(--line);margin:16px 0}

.contact-side-v a{font-weight:400}

.contact-map{
  margin-top:14px;
  border-radius:0;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--card2);
}
.contact-map iframe{
  display:block;
  width:100%;
  height:240px;
  border:0;
}

/* Contact: make the map span the full width of the info area */
.contact-side-split .contact-map-wide{
  grid-column:1 / -1;
  margin-top:18px;
}

@media (max-width: 920px){
  .contact-grid{grid-template-columns:1fr}
  /* Keep Address & Map and Manufacturing on the same line on mobile/tablet */
  .contact-side-split{grid-template-columns:1fr 1fr; gap:14px}
  .contact-side-title{font-size:15px}
  .contact-side-k{font-size:11px;font-weight:400}
  .contact-side-v{font-size:13px; word-break:break-word}
  .contact-map iframe{height:220px}
}
@media (max-width: 560px){
  .contact-form-row{grid-template-columns:1fr}
}
