@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #101b31;
  --blue: #1057f3;
  --header-blue: #2d9fe7;
  --muted: #5f6777;
  --line: #e8ebf0;
  --soft: #f5f7fa;
  --max: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Inter, Arial, sans-serif; background: #fff; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  width: 100%; height: 116px; display: flex; align-items: center; justify-content: space-between;
  margin: 0 auto; padding: 0 max(16px, calc((100vw - 1240px) / 2 + 16px));
  background: var(--header-blue); color: #fff; position: relative; z-index: 5;
}
.logo { width: 190px; }
.site-nav { display: flex; align-items: center; gap: 32px; font: 400 18px Poppins, sans-serif; }
.site-nav > a, .services-toggle { color: inherit; transition: opacity .2s; }
.site-nav > a:hover, .services-toggle:hover { opacity: .78; }
.site-nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.services-wrap:has(.services-menu a[aria-current="page"]) > .services-toggle { text-decoration: underline; text-underline-offset: 5px; }
.services-wrap { position: relative; }
.services-toggle {
  border: 0; background: none; font: inherit; cursor: pointer; padding: 12px 0;
  display: inline-flex; align-items: center; gap: 9px;
}
.services-toggle:after {
  content: ''; width: 0; height: 0; border-left: 4px solid transparent;
  border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transform: translateY(1px);
}
.services-menu {
  position: absolute; left: -18px; top: 44px; min-width: 225px; background: #fff; color: var(--ink);
  box-shadow: 0 12px 35px #1927481c; border: 1px solid var(--line); padding: 10px; display: none;
}
.services-menu.is-open { display: grid; }
.services-menu a { padding: 10px 13px; font-size: 13px; }
.services-menu a:hover { background: var(--soft); color: var(--blue); }
.menu-toggle {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: #fff;
  background: linear-gradient(#fff, #fff) 0 4px / 20px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 20px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 16px / 20px 2px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  font-size: 0;
}

.hero {
  min-height: 390px; display: flex; align-items: center; justify-content: center; text-align: left; color: #fff;
  position: relative; isolation: isolate; overflow: hidden; background: #101b31;
}
.hero:before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #061534b8, #06153466); }
.hero-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max); padding: 58px 0; }
.hero h1 { font: 400 clamp(38px, 4.1vw, 52px)/1.3 Poppins, sans-serif; max-width: 650px; margin: 0 0 35px; letter-spacing: -.8px; }
.custom-hero h1 { max-width: 850px; }
.hero .hero-copy { max-width: 760px; margin: 0; color: #f7faff; font: 400 19px/1.35 Poppins, sans-serif; }
.page-intro { max-width: 790px; text-align: center; margin: 72px auto 50px; padding: 0 24px; }
.page-intro h1 { font: 500 clamp(34px, 5vw, 52px)/1.15 Poppins, sans-serif; margin: 0 0 20px; letter-spacing: -1px; }
.page-intro p { color: var(--muted); font-size: 17px; }
.section { max-width: var(--max); margin: 0 auto; padding: 72px 0; }
.section h2, .section h3 { font-family: Poppins, sans-serif; line-height: 1.25; margin-top: 0; }
.section h2 { font-size: 32px; }
.section p { color: var(--muted); }
.eyebrow { text-transform: uppercase; color: var(--blue); font: 600 12px Poppins, sans-serif; letter-spacing: 2px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.card { border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px #19274816; }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { font-size: 14px; margin: 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature img { width: 100%; height: 360px; object-fit: cover; }
.feature.reverse .feature-image { order: 2; }
.feature + .feature { margin-top: 65px; }
.list { padding: 0; margin: 23px 0 0; list-style: none; display: grid; gap: 10px; }
.list li { color: var(--muted); padding-left: 22px; position: relative; }
.list li:before { content: '+'; color: var(--blue); position: absolute; left: 0; font-weight: 600; }
.band { background: var(--soft); }
.section.band { max-width: none; padding-left: max(20px, calc((100vw - var(--max)) / 2)); padding-right: max(20px, calc((100vw - var(--max)) / 2)); }
.cta { background: var(--blue); color: #fff; text-align: center; padding: 58px 25px; }
.cta h2 { font: 600 35px Poppins, sans-serif; margin: 0 0 12px; }
.cta p { max-width: 650px; margin: 0 auto 28px; color: #dce7ff; }
.button { display: inline-block; background: #fff; color: var(--blue); padding: 13px 25px; border-radius: 2px; font: 600 13px Poppins, sans-serif; transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.dark { background: var(--ink); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio-card { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.portfolio-card img { height: 230px; width: 100%; object-fit: cover; margin-bottom: 20px; }
.portfolio-card h3 { font: 500 19px Poppins, sans-serif; margin: 0 0 8px; }
.portfolio-card p { font-size: 14px; color: var(--muted); margin: 0; }
.site-footer { background: var(--ink); color: #fff; padding: 55px 28px 25px; }
.footer-inner { max-width: var(--max); margin: auto; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner p { color: #a8b1c3; font-size: 13px; }
.footer-nav { display: flex; gap: 25px; font-size: 13px; }
.copyright { max-width: var(--max); margin: 45px auto 0; border-top: 1px solid #ffffff20; padding-top: 18px; color: #8d97ab; font-size: 12px; }
.whatsapp { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; border: 1px solid #ffffff66; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 8; box-shadow: 0 8px 22px #101b3140; font-size: 0; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 11px 25px #101b3152; }
.whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp:after { content: '☎'; font: 24px/1 Arial, sans-serif; color: #fff; }
.whatsapp:has(svg):after { content: none; }

@media (prefers-reduced-motion: reduce) {
  .whatsapp { transition: none; }
}

/* Homepage service tiles follow the simpler image-and-label layout on the source site. */
.home-services { padding-top: 30px; padding-bottom: 48px; }
.home-services h2 { font: 400 28px/1.3 Poppins, sans-serif; margin: 0 0 29px; color: #1a1a1a; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 27px; }
.home-service { color: #171717; font: 400 16px Poppins, sans-serif; }
.home-service img { width: 100%; height: 230px; object-fit: cover; border-radius: 17px; margin-bottom: 10px; }
.home-stats { background: #101a23; color: #fff; }
.home-stats-inner { max-width: 730px; min-height: 290px; margin: auto; padding: 45px 24px; display: flex; align-items: center; gap: 36px; }
.home-stats-number { font: 300 clamp(80px, 11vw, 150px)/1 Poppins, sans-serif; white-space: nowrap; }
.home-stats-copy h2 { color: #fff; font: 600 25px Poppins, sans-serif; margin: 0 0 8px; }
.home-stats-copy p { color: #fff; margin: 0 0 22px; }
.home-stats-copy a { font: 600 12px Poppins, sans-serif; }
.home-copy { max-width: 680px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience-card img { width: 100%; height: 205px; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }
.audience-card h3 { font-size: 19px; margin-bottom: 12px; }
.audience-card p, .audience-card li { font-size: 14px; color: var(--muted); }
.audience-card ul { padding-left: 18px; }

.service-content { padding-top: 48px; padding-bottom: 58px; }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.solution-card { display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #e0e6ed; border-radius: 6px; background: #e9edf2; }
.solution-card-copy { flex: 1; min-height: 0; padding: 22px 24px 25px; }
.solution-card h2 { font: 500 21px/1.35 Poppins, sans-serif; margin: 0 0 12px; color: #142437; }
.solution-card p { color: #526071; font-size: 15px; line-height: 1.65; margin: 0; }
.solution-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.service-category h2 { font: 500 21px Poppins, sans-serif; margin: 0 0 16px; color: #151515; }
.plain-list { margin: 0; padding-left: 23px; color: #202530; }
.plain-list li { padding-left: 3px; margin: 0 0 7px; font-size: 15px; }
.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.service-gallery img { width: 100%; height: 225px; object-fit: cover; border-radius: 15px; }
.engineering-categories, .fabrication-categories { padding-top: 60px; padding-bottom: 18px; }
.engineering-categories .grid, .fabrication-categories .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.engineering-categories .service-category, .fabrication-categories .service-category { height: 100%; padding: 24px 22px 26px; border: 1px solid #e1e7ee; border-top: 3px solid var(--header-blue); border-radius: 6px; background: #f7f9fb; transition: transform .2s ease, box-shadow .2s ease; }
.engineering-categories .service-category:hover, .fabrication-categories .service-category:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #101b3112; }
.engineering-categories .service-category h2, .fabrication-categories .service-category h2 { margin: 0 0 18px; color: #142437; font: 500 21px/1.3 Poppins, sans-serif; }
.engineering-categories .plain-list, .fabrication-categories .plain-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.engineering-categories .plain-list li, .fabrication-categories .plain-list li { position: relative; margin: 0; padding: 0 0 0 16px; color: #526071; font: 400 14px/1.55 Inter, sans-serif; }
.engineering-categories .plain-list li::before, .fabrication-categories .plain-list li::before { position: absolute; top: .62em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #2d9fe7; content: ''; }
.engineering-gallery, .fabrication-gallery { padding-top: 30px; }
.engineering-gallery .service-gallery, .fabrication-gallery .service-gallery { gap: 18px; margin-top: 0; }
.engineering-gallery .service-gallery img, .fabrication-gallery .service-gallery img { height: 235px; border-radius: 6px; }

@media (max-width: 1040px) {
  .hero-content, .section { padding-left: 24px; padding-right: 24px; }
  .home-services { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 920px) {
  .site-header { height: 82px; padding: 0 20px; }
  .logo { width: 150px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--header-blue); box-shadow: 0 12px 25px #19274825; padding: 12px 25px 20px; align-items: stretch; gap: 0; flex-direction: column; }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .services-toggle { padding: 13px 0; text-align: left; }
  .services-toggle {
    color: #fff;
    -webkit-text-fill-color: #fff;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .services-toggle::after {
    border-top-color: #fff;
    filter: none;
    opacity: 1;
  }
  .services-menu { position: static; box-shadow: none; border: 0; padding: 0 10px 10px; }
  .services-menu a { color: var(--ink); }
  .hero { min-height: 440px; }
  .hero-content { padding: 55px 24px; }
  .hero h1 { font-size: 40px; margin-bottom: 24px; }
  .hero .hero-copy { font-size: 16px; }
  .grid, .portfolio-grid, .grid-2, .audience-grid { grid-template-columns: 1fr; }
  .section { padding: 55px 20px; }
  .page-intro { margin: 55px auto 35px; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .feature-image { order: 0; }
  .feature img { height: 270px; }
  .engineering-categories .grid, .fabrication-categories .grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; gap: 14px; }
  .solution-card-copy { min-height: 0; padding: 22px; }
  .solution-card img { height: auto; aspect-ratio: 16 / 10; }
  .service-gallery img { height: 220px; }
  .service-gallery { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .engineering-gallery, .fabrication-gallery { padding-top: 18px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; }
  .card img { height: 220px; }
  .home-services { padding: 38px 20px; }
  .home-service-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .home-service img { height: 230px; }
  .home-stats-inner { min-height: 230px; gap: 20px; }
  .home-stats-number { font-size: 76px; }
  .home-stats-copy h2 { font-size: 20px; }
}

.home-page { --home-width: 1224px; }
.home-content-width { width: min(var(--home-width), calc(100% - 32px)); margin: 0 auto; }
.home-page .site-header { position: sticky; top: 0; }
.home-page .hero { min-height: 479px; justify-content: flex-start; }
.home-page .hero:before { background: #061521a1; }
.home-page .hero-content { width: min(var(--home-width), calc(100% - 32px)); max-width: var(--home-width); margin: 0 auto; padding: 64px 0; }
.home-page .hero h1 { max-width: 860px; margin: 0 0 16px; font: 400 64px/1.3 Poppins, sans-serif; letter-spacing: 0; }
.home-page .hero .hero-copy { max-width: 906px; color: #fff; font: 400 24px/1.3 Poppins, sans-serif; }
.home-page .home-services { width: 100%; max-width: none; min-height: 959px; padding: 40px 0 72px; }
.home-page .home-services h2 { margin: 0 0 41px; color: #1a1a1a; font: 400 35px/1.3 Poppins, sans-serif; }
.home-page .home-services h2 + .home-service-grid + h2 { margin: 0 0 23px; }
.home-page .home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 38px; }
.home-page .home-service { color: #1a1a1a; font: 400 20px/1.3 Poppins, sans-serif; }
.home-page .home-service img { width: 100%; height: 280px; margin: 0 0 16px; border-radius: 20px; object-fit: cover; }
.home-page .home-service-grid + h2 + .home-service-grid { margin-bottom: 0; }
.home-page .home-stats { min-height: 361px; background: #0f1921; }
.home-page .home-stats-inner { max-width: 900px; min-height: 361px; padding: 60px 16px; display: grid; grid-template-columns: auto 1fr; gap: 48px; }
.home-page .home-stats-number { font: 300 clamp(120px, 16vw, 220px)/1 Poppins, sans-serif; letter-spacing: -.05em; }
.home-page .home-stats-copy h2 { margin: 0; color: #fff; font: 600 32px/1.3 Poppins, sans-serif; }
.home-page .home-stats-copy p { margin: 12px 0 28px; color: #fff; font: 400 20px/1.6 Poppins, sans-serif; }
.home-page .home-stats-copy a { color: #fff; font: 600 15px/1.5 Poppins, sans-serif; }
.home-page .home-what-we-do { min-height: 560px; padding: 64px 0 56px; background: #fff; }
.home-page .home-what-we-do h2 { margin: 0 0 24px; color: #142437; font: 500 40px/1.2 Poppins, sans-serif; }
.home-page .home-what-we-do h2::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 15px; background: #2d9fe7; }
.home-do-grid { display: grid; grid-template-columns: minmax(0, 595fr) minmax(0, 561fr); gap: 64px; align-items: center; }
.home-page .home-copy { max-width: 595px; }
.home-page .home-copy p { margin: 0 0 24px; color: #465366; font: 400 18px/1.7 Inter, sans-serif; }
.home-page .home-copy .button.dark { padding: 14px 25px; border: 1px solid #0e95dd; border-radius: 4px; background: #0e95dd; color: #fff; font: 600 15px/1.3 Poppins, sans-serif; }
.home-slideshow { min-width: 0; width: 100%; transform: translateY(-56px); }
.home-slideshow-viewport { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #e5eaf0; border-radius: 12px; background: #101921; box-shadow: 0 16px 38px #101b3118; }
.home-slideshow-track { display: flex; width: 100%; height: 100%; }
.home-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; }
.home-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.home-page .home-audiences { min-height: 0; padding: 72px 0; background: #f2f5f8; }
.home-page .home-audiences h2 { margin: 0 0 34px; color: #1a1a1a; font: 400 48px/1.3 Poppins, sans-serif; }
.home-audience-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.home-audience-row { display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #e1e6eb; border-radius: 6px; background: #fff; box-shadow: 0 7px 20px #101b3110; }
.home-audience-row img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; object-fit: cover; }
.home-audience-row > div { flex: 1; padding: 22px 22px 24px; }
.home-audience-row h3 { min-height: 60px; margin: 0 0 14px; color: #1a1a1a; font: 400 23px/1.3 Poppins, sans-serif; }
.home-audience-row p, .home-audience-row li { color: #424c59; font: 400 16px/1.5 Poppins, sans-serif; }
.home-audience-row p { margin: 0 0 8px; }
.home-audience-row ul { margin: 0; padding-left: 20px; }
.home-audience-row li { padding-left: 0; }
.home-page .home-book-call { min-height: 520px; background: #101b31; color: #fff; }
.home-book-inner { display: grid; width: min(var(--home-width), calc(100% - 32px)); min-height: 520px; margin: 0 auto; padding: 64px 0; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.home-book-copy { width: auto; margin: 0; position: relative; z-index: 1; }
.home-book-eyebrow { margin: 0 0 16px; color: #6bc7ed; font: 600 13px/1.3 Poppins, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.home-book-copy h2 { margin: 0 0 16px; color: #fff; font: 400 42px/1.2 Poppins, sans-serif; }
.home-book-description { max-width: 520px; margin: 0 0 30px; color: #d7e2eb; font: 400 17px/1.6 Inter, sans-serif; }
.home-book-meta { display: grid; max-width: 430px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border-top: 1px solid #ffffff35; padding-top: 17px; }
.home-book-meta p { display: grid; gap: 4px; margin: 0; }
.home-book-meta span { color: #aabac9; font: 500 12px/1.4 Poppins, sans-serif; text-transform: uppercase; }
.home-book-meta strong { color: #fff; font: 500 16px/1.4 Poppins, sans-serif; }
.home-book-button { display: inline-flex; min-width: 152px; min-height: 52px; margin: 30px 0 0; padding: 0 25px; align-items: center; justify-content: center; border: 1px solid #2d9fe7; border-radius: 4px; background: #2d9fe7; color: #fff; font: 600 15px/1.2 Poppins, sans-serif; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.home-book-button:hover { transform: translateY(-2px); border-color: #54b8ed; background: #1687d1; }
.home-book-button:focus-visible { outline: 3px solid #a2e1fa; outline-offset: 4px; }
.home-book-visual { min-width: 0; }
.home-book-visual img { width: 100%; height: 380px; border-radius: 16px; object-fit: cover; }
.home-page .site-footer { background: #1a1a2e; }
.home-page .footer-inner, .home-page .copyright { max-width: 1224px; }
.home-page .whatsapp { width: 64px; height: 64px; }
.home-page .whatsapp svg { width: 40px; height: 40px; }

@media (max-width: 920px) {
  .home-page .site-header { height: 101px; padding: 0 16px; }
  .home-page .site-nav { top: 101px; }
  .home-page .logo { width: 134px; }
  .home-content-width, .home-book-inner { width: calc(100% - 32px); }
  .home-page .hero { min-height: 499px; }
  .home-page .hero-content { padding: 24px 0; }
  .home-page .hero h1 { max-width: 100%; margin-bottom: 24px; font-size: 40px; }
  .home-page .hero .hero-copy { max-width: 100%; font-size: 18px; line-height: 1.5; }
  .home-page .home-services { min-height: 1913px; padding: 18px 0 40px; }
  .home-page .home-services h2 { margin-bottom: 18px; font-size: 24px; }
  .home-page .home-services h2 + .home-service-grid + h2 { margin: 40px 0 18px; }
  .home-page .home-service-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 0; }
  .home-page .home-service { font-size: 18px; }
  .home-page .home-service img { height: auto; aspect-ratio: 328 / 224; margin-bottom: 10px; border-radius: 20px; }
  .home-page .home-stats { min-height: 557px; }
  .home-page .home-stats-inner { min-height: 495px; grid-template-columns: 1fr; gap: 22px; padding: 65px 16px; text-align: center; }
  .home-page .home-stats-number { font-size: 120px; }
  .home-page .home-stats-copy h2 { font-size: 32px; }
  .home-page .home-stats-copy p { font-size: 20px; }
  .home-page .home-what-we-do { min-height: 0; padding: 48px 0 54px; background: #fff; }
  .home-page .home-what-we-do h2 { margin-bottom: 22px; font-size: 32px; }
  .home-page .home-what-we-do h2::after { width: 36px; height: 3px; margin-top: 12px; }
  .home-do-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-slideshow { transform: none; }
  .home-page .home-copy p { margin-bottom: 20px; font-size: 16px; line-height: 1.65; }
  .home-page .home-copy .button.dark { font-size: 15px; }
  .home-slideshow-viewport { border-radius: 8px; }
  .home-page .home-audiences { min-height: 0; padding: 48px 0 55px; }
  .home-page .home-audiences h2 { margin-bottom: 32px; font-size: 32px; }
  .home-audience-list { grid-template-columns: 1fr; gap: 22px; }
  .home-audience-row { height: auto; }
  .home-audience-row img { aspect-ratio: 328 / 264; }
  .home-audience-row > div { padding: 20px; }
  .home-audience-row h3 { min-height: 0; margin-bottom: 14px; font-size: 24px; }
  .home-audience-row p, .home-audience-row li { font-size: 16px; }
  .home-page .home-book-call { min-height: 0; }
  .home-book-inner { min-height: 0; padding: 52px 0; grid-template-columns: 1fr; gap: 32px; }
  .home-book-copy h2 { margin-bottom: 14px; font-size: 34px; }
  .home-book-description { max-width: 600px; margin-bottom: 24px; font-size: 16px; }
  .home-book-meta { max-width: 100%; gap: 20px; }
  .home-book-button { margin-top: 26px; }
  .home-book-visual img { height: auto; aspect-ratio: 16 / 11; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-slideshow-track { transition: none !important; }
}

/* Portfolio page */
.portfolio-page { --portfolio-width: 1180px; }
.portfolio-page .site-header { position: sticky; top: 0; }
.portfolio-hero {
  min-height: 440px; position: relative; overflow: hidden; display: flex; align-items: center;
  padding: 44px max(24px, calc((100vw - var(--portfolio-width)) / 2));
  color: #fff; background: linear-gradient(112deg, #111c32 0%, #152d50 65%, #1057f3 150%);
}
.portfolio-hero:after {
  content: ''; position: absolute; width: 470px; height: 470px; right: max(4vw, calc((100vw - 1370px) / 2)); top: -120px;
  border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 42px #ffffff08, 0 0 0 84px #ffffff06;
}
.portfolio-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.portfolio-hero .eyebrow, .portfolio-cta .eyebrow { color: #8ab5ff; }
.portfolio-hero h1 { margin: 8px 0 12px; font: 400 clamp(40px, 5.5vw, 60px)/1.05 Poppins, sans-serif; letter-spacing: -1.8px; }
.portfolio-hero-inner > p:not(.eyebrow) { max-width: 600px; color: #d5deec; font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
.portfolio-hero .button { border-radius: 4px; font-size: 14px; }
.portfolio-hero .button span { margin-left: 10px; }
.portfolio-hero-art { position: absolute; z-index: 1; right: max(8vw, calc((100vw - 1180px) / 2 + 20px)); top: 50%; display: grid; gap: 14px; transform: translateY(-50%) rotate(-7deg); }
.portfolio-hero-art span { display: block; padding: 11px 20px; border: 1px solid #ffffff36; background: #ffffff0d; color: #ffffffb0; font: 500 12px Poppins, sans-serif; letter-spacing: 3px; backdrop-filter: blur(6px); }
.portfolio-hero-art span:nth-child(2) { margin-left: 32px; color: #fff; border-color: #82adff; }
.portfolio-projects { max-width: var(--portfolio-width); margin: 0 auto; padding: 90px 24px 100px; }
.portfolio-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.portfolio-section-heading .eyebrow { margin: 0 0 9px; }
.portfolio-section-heading h2 { margin: 0; font: 500 clamp(27px, 3.5vw, 38px)/1.2 Poppins, sans-serif; letter-spacing: -.8px; }
.portfolio-section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 15px; }
.portfolio-projects .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.portfolio-projects .portfolio-card { overflow: hidden; border: 1px solid #e8ebf0; border-radius: 8px; padding: 0; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.portfolio-projects .portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px #101b3118; }
.portfolio-card-image { position: relative; overflow: hidden; background: #f1f3f7; }
.portfolio-card-image img { width: 100%; aspect-ratio: 1.48; object-fit: cover; margin: 0; transition: transform .35s ease; }
.portfolio-card-image img.drone-payload-image { object-position: left center; }
.portfolio-drone-card .portfolio-card-image img { object-position: left center; }
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.035); }
.portfolio-card-image span { position: absolute; left: 13px; bottom: 13px; padding: 6px 10px; border-radius: 3px; background: #101b31d9; color: #fff; font: 500 10px Poppins, sans-serif; letter-spacing: .45px; }
.portfolio-card-copy { padding: 19px 20px 22px; }
.portfolio-card-placeholder { display: grid; aspect-ratio: 1.48; place-items: center; background: radial-gradient(circle at 70% 30%, #3569bb 0, #203b68 30%, #111c32 75%); }
.portfolio-card-placeholder:before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border: 1px solid #ffffff28; border-radius: 50%; box-shadow: 0 0 0 22px #ffffff0a, 0 0 0 44px #ffffff08; }
.portfolio-card-placeholder span { position: relative; left: auto; bottom: auto; padding: 0; background: none; color: #ffffffd9; font: 500 30px Poppins, sans-serif; letter-spacing: 6px; }
.portfolio-card-category { display: block; margin-bottom: 8px; color: var(--blue); font: 600 10px Poppins, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.portfolio-projects .portfolio-card h3 { margin: 0 0 8px; font: 500 18px/1.35 Poppins, sans-serif; }
.portfolio-projects .portfolio-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.portfolio-cta { padding: 68px 24px 74px; text-align: center; background: #f4f7fb; }
.portfolio-cta .eyebrow { margin: 0 0 10px; color: var(--blue); }
.portfolio-cta h2 { margin: 0 0 12px; font: 500 clamp(29px, 4vw, 42px)/1.2 Poppins, sans-serif; letter-spacing: -1px; }
.portfolio-cta > p:not(.eyebrow) { max-width: 570px; margin: 0 auto 24px; color: var(--muted); }
.portfolio-cta .button { border-radius: 4px; }
.portfolio-page .site-footer { margin-top: 0; }
.portfolio-page a:focus-visible, .portfolio-page button:focus-visible { outline: 3px solid #77a6ff; outline-offset: 4px; }
@media (max-width: 920px) {
  .portfolio-hero-art { right: 5%; opacity: .65; }
  .portfolio-projects .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .portfolio-hero { min-height: 420px; padding: 42px 24px; }
  .portfolio-hero h1 { letter-spacing: -1.2px; }
  .portfolio-hero-inner > p:not(.eyebrow) { font-size: 15px; }
  .portfolio-hero-art { display: none; }
  .portfolio-projects { padding: 62px 20px 70px; }
  .portfolio-section-heading { display: block; margin-bottom: 26px; }
  .portfolio-section-heading > p { margin-top: 12px; }
  .portfolio-projects .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-card-image img { aspect-ratio: 1.6; }
  .portfolio-cta { padding: 54px 22px 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-projects .portfolio-card, .portfolio-card-image img { transition: none; }
  .portfolio-projects .portfolio-card:hover { transform: none; }
}

/* Contact page */
.contact-page .site-header { position: sticky; top: 0; }
.contact-hero {
  min-height: 350px; position: relative; display: flex; align-items: center; overflow: hidden;
  padding: 52px max(24px, calc((100vw - 1180px) / 2)); color: #fff;
  background: radial-gradient(ellipse at 86% 22%, #3bd3bd55 0, transparent 34%), linear-gradient(112deg, #10272d 0%, #125568 70%, #0d9488 150%);
}
.contact-hero:after {
  content: ''; position: absolute; width: 410px; height: 410px; right: max(5vw, calc((100vw - 1370px) / 2)); top: -120px;
  border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 38px #ffffff08, 0 0 0 76px #ffffff06;
}
.contact-hero-inner { position: relative; z-index: 1; width: min(700px, 100%); }
.contact-hero .eyebrow { margin: 0 0 10px; color: #91eee2; }
.contact-hero h1 { max-width: 680px; margin: 0 0 14px; font: 600 clamp(36px, 5.4vw, 58px)/1.12 Poppins, sans-serif; letter-spacing: -1.7px; }
.contact-hero-inner > p:not(.eyebrow) { max-width: 650px; margin: 0 0 22px; color: #d5deec; font-size: 16px; }
.contact-hero .button { border-radius: 4px; font-size: 14px; }
.contact-hero .button span { margin-left: 8px; }
.contact-content { width: min(1180px, 100%); margin: 0 auto; padding: 70px 24px 92px; }
.contact-content-heading { max-width: 650px; margin-bottom: 28px; }
.contact-content-heading .eyebrow { margin: 0 0 8px; color: var(--blue); }
.contact-content-heading h2 { margin: 0 0 10px; font: 500 clamp(28px, 3.5vw, 38px)/1.2 Poppins, sans-serif; letter-spacing: -.6px; }
.contact-content-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-method { position: relative; display: grid; min-height: 154px; grid-template-columns: 62px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 7px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-method:hover { transform: translateY(-3px); border-color: #c8d7f5; box-shadow: 0 12px 28px #101b3110; }
.contact-method-icon { grid-row: 1 / span 2; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #edf3ff; color: var(--blue); font: 500 26px Inter, sans-serif; }
.contact-method-label { margin: 1px 0 5px; color: #778195; font: 600 12px Poppins, sans-serif; letter-spacing: 1.1px; text-transform: uppercase; }
.contact-method strong { color: var(--ink); font: 500 19px Poppins, sans-serif; overflow-wrap: anywhere; }
.contact-method-arrow { position: absolute; top: 25px; right: 25px; color: #8190a8; font-size: 19px; }
.contact-method-whatsapp .contact-method-icon { background: #e5f7ec; color: #137a3a; }
.contact-page a:focus-visible, .contact-page button:focus-visible { outline: 3px solid #77a6ff; outline-offset: 4px; }
@media (max-width: 760px) {
  .contact-hero { min-height: 0; padding: 48px 24px; }
  .contact-hero h1 { letter-spacing: -1px; }
  .contact-hero-inner > p:not(.eyebrow) { font-size: 15px; }
  .contact-content { padding: 48px 20px 64px; grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .contact-methods { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-method { transition: none; }
}

/* Homepage hero refresh */
.home-page .hero { min-height: clamp(420px, 42vw, 540px); }
.home-page .hero:before { background: linear-gradient(90deg, #07111deb 0%, #07111db8 38%, #07111d35 78%, #07111d0d 100%), linear-gradient(0deg, #07111d55 0%, transparent 48%); }
.home-page .hero-image { object-position: center 52%; }
.home-page .hero-content { width: min(var(--home-width), calc(100% - 48px)); max-width: var(--home-width); margin: 0 auto; padding: 52px 0; }
.home-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #d5e6ff; font: 600 13px Poppins, sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
.home-hero-eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #63d4ff; box-shadow: 0 0 16px #63d4ff99; }
.home-page .hero h1 { max-width: 820px; margin: 0 0 18px; font: 400 clamp(46px, 5.5vw, 72px)/1.12 Poppins, sans-serif; letter-spacing: -2px; text-wrap: balance; }
.home-page .hero .hero-copy { max-width: 730px; margin: 0 0 28px; color: #eef4ff; font: 400 clamp(16px, 1.45vw, 19px)/1.7 Inter, sans-serif; }
@media (max-width: 920px) {
  .home-page .hero { min-height: 440px; }
  .home-page .hero-content { width: calc(100% - 40px); padding: 48px 0; }
  .home-page .hero h1 { max-width: 680px; font-size: clamp(42px, 7vw, 58px); }
  .home-page .hero .hero-copy { max-width: 620px; font-size: 17px; }
}
@media (max-width: 620px) {
  .home-page .hero { min-height: 460px; }
  .home-page .hero:before { background: linear-gradient(90deg, #07111de8 0%, #07111d9c 100%), linear-gradient(0deg, #07111d66, transparent 70%); }
  .home-page .hero-image { object-position: 58% center; }
  .home-page .hero-content { width: calc(100% - 40px); padding: 38px 0; }
  .home-hero-eyebrow { margin-bottom: 14px; font-size: 11px; }
  .home-page .hero h1 { max-width: 540px; margin-bottom: 16px; font-size: clamp(39px, 10vw, 50px); letter-spacing: -1.2px; }
  .home-page .hero .hero-copy { margin-bottom: 22px; font-size: 16px; line-height: 1.6; }
}

/* Custom Hardware Solutions hero */
.custom-hero, .engineering-hero, .fabrication-hero { min-height: 440px; justify-content: flex-start; text-align: left; background: #0b1628; }
.custom-hero:before, .engineering-hero:before, .fabrication-hero:before { background: linear-gradient(90deg, #06101fe8 0%, #07172bc2 48%, #07172b55 100%); }
.custom-hero .hero-content, .engineering-hero .hero-content, .fabrication-hero .hero-content { width: min(var(--max), calc(100% - 48px)); max-width: var(--max); margin: 0 auto; padding: 68px 0; }
.custom-hero .hero-content:before, .engineering-hero .hero-content:before, .fabrication-hero .hero-content:before { display: inline-flex; align-items: center; margin: 0 0 25px; padding: 9px 14px; border: 1px solid #ffffff55; border-radius: 999px; background: #ffffff12; color: #d7e8ff; font: 600 11px/1.2 Inter, sans-serif; letter-spacing: 1.6px; }
.custom-hero .hero-content:before { content: 'CUSTOM HARDWARE  ·  DESIGN  ·  PROTOTYPING'; }
.engineering-hero .hero-content:before { content: 'ENGINEERING DESIGN  ·  ELECTRONICS  ·  EMBEDDED SYSTEMS'; }
.fabrication-hero .hero-content:before { content: 'FABRICATION  ·  3D PRINTING  ·  CNC MACHINING'; }
.custom-hero h1, .engineering-hero h1, .fabrication-hero h1 { max-width: 850px; margin: 0 0 18px; font: 400 clamp(42px, 4.7vw, 60px)/1.1 Poppins, sans-serif; letter-spacing: -1.5px; text-wrap: balance; }
.custom-hero .hero-copy, .engineering-hero .hero-copy, .fabrication-hero .hero-copy { max-width: 780px; color: #e3ebf7; font: 400 clamp(16px, 1.35vw, 18px)/1.6 Inter, sans-serif; }
@media (max-width: 620px) {
  .custom-hero, .engineering-hero, .fabrication-hero { min-height: 420px; }
  .custom-hero .hero-content, .engineering-hero .hero-content, .fabrication-hero .hero-content { width: calc(100% - 40px); padding: 48px 0; }
  .custom-hero .hero-content:before, .engineering-hero .hero-content:before, .fabrication-hero .hero-content:before { max-width: 100%; margin-bottom: 22px; font-size: 9px; letter-spacing: 1px; }
  .custom-hero h1, .engineering-hero h1, .fabrication-hero h1 { margin-bottom: 16px; font-size: clamp(36px, 9vw, 46px); letter-spacing: -1px; }
  .custom-hero .hero-copy, .engineering-hero .hero-copy, .fabrication-hero .hero-copy { font-size: 15px; line-height: 1.55; }
}

/* Mobile and tablet refinements; desktop layout remains unchanged. */
@media (max-width: 920px) {
  .home-page .site-header { height: 82px; }
  .home-page .site-nav { top: 82px; }
  .home-page .logo { width: 140px; }
  .home-page .hero { min-height: 420px; }
  .home-page .home-services { min-height: 0; padding: 32px 0 44px; }
  .home-page .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .home-page .home-service img { aspect-ratio: 16 / 11; }
  .home-page .home-stats { min-height: 0; }
  .home-page .home-stats-inner { min-height: 0; padding: 48px 16px; gap: 16px; }
  .home-page .home-audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-categories .grid, .fabrication-categories .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-categories .service-category:last-child, .fabrication-categories .service-category:last-child { grid-column: 1 / -1; }
  .engineering-gallery .service-gallery, .fabrication-gallery .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-gallery .service-gallery img:last-child, .fabrication-gallery .service-gallery img:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .home-page .hero { min-height: 390px; }
  .home-page .home-services { padding: 30px 0 38px; }
  .home-page .home-service-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-page .home-audience-list { grid-template-columns: 1fr; }
  .engineering-categories .grid, .fabrication-categories .grid { grid-template-columns: 1fr; }
  .engineering-categories .service-category:last-child, .fabrication-categories .service-category:last-child { grid-column: auto; }
  .engineering-gallery .service-gallery, .fabrication-gallery .service-gallery { grid-template-columns: 1fr; }
  .engineering-gallery .service-gallery img:last-child, .fabrication-gallery .service-gallery img:last-child { grid-column: auto; }
  .portfolio-hero { min-height: 350px; }
}
