/* Shared finish and homepage details. */
:root {
  --site-navy: #0b263c;
  --site-border: #dce5ed;
  --site-radius: 10px;
}

@media (min-width: 993px) {
  .header {
    padding: 19.03px 0;
    min-height: 94.5px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 18px rgba(10, 25, 47, .07);
  }
  .header-inner { width: 100%; }
  .header .logo img { height: 55.44px; }
}
.nav-links > a, .dropdown > a {
  font-family: var(--font-sans);
  font-weight: 400;
}
.nav-links > a:hover, .dropdown:hover > a {
  box-shadow: none;
  transform: none;
}
.nav-links a[aria-current] { color: var(--brand-blue); }
.dropdown-content a { font-weight: 400; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #0084c9;
  outline-offset: 5px;
}

/* Clear surfaces over the existing photographic background. */
.corporate-page::before { opacity: .1; }
.service-main, .corporate-main, .references-main { padding-top: 137px; padding-bottom: 88px; }
.service-heading, .corporate-heading, .references-heading { margin-bottom: 42px; padding-bottom: 34px; }
.service-panel, .service-hub-card, .purpose-card, .reference-card, .service-directory {
  background: #fff;
  border-color: var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: 0 8px 28px rgba(10, 25, 47, .025);
}
.service-panel { padding: 36px; }
.service-hub-card > img { height: 265px; }
.service-hub-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10, 25, 47, .07); }
.service-button, .corporate-contact-button, .references-button,
.contact-btn { border-radius: 7px; font-weight: 500; }
.home-page .hero-buttons .btn { border-radius: 7px; }
.service-contact, .corporate-contact, .references-contact {
  background: var(--site-navy);
  border: 0;
  border-radius: var(--site-radius);
  color: #d5e1eb;
  padding: 36px;
}
.service-main .service-contact h2, .corporate-main .corporate-contact h2,
.references-main .references-contact h2 { color: #fff; }
.service-contact .service-eyebrow, .corporate-contact .corporate-eyebrow,
.references-contact .references-eyebrow { color: #80cffa; }
.service-contact .service-phone { color: #c7e8fb; }
.corporate-contact .corporate-contact-button, .service-contact .service-button,
.references-contact .references-button--primary { background: #fff; color: #075b8f; border-color: #fff; }
.references-contact .references-button:not(.references-button--primary) { color: #e5f3fc; border-color: #688298; }
.references-contact .references-button:not(.references-button--primary):hover { color: #fff; background: #244359; }
.references-contact p:last-child { color: #d5e1eb; }
.purpose-card-primary { background: var(--site-navy); border-color: var(--site-navy); }
.corporate-section { margin-top: 72px; }
.expertise-section { padding: 32px; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); }
.purpose-grid { gap: 24px; }
.principles-grid { gap: 20px; }
.principles-grid li { background: #fff; padding: 26px 22px; border-top: 2px solid #0072bc; border-radius: 0 0 10px 10px; }
.references-service-links a { border-radius: var(--site-radius); }

/* Illustrative photographs are explicitly labelled, rather than presented as projects. */
.editorial-figure { position: relative; margin: 0; overflow: hidden; background: #dae2e7; border-radius: var(--site-radius); }
.editorial-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-figure figcaption {
  position: absolute; inset: auto 0 0; padding: 32px 20px 17px;
  background: linear-gradient(transparent, rgba(5, 23, 36, .84));
  color: #fff; font-size: .72rem; line-height: 1.6; text-align: left;
}
.editorial-figure figcaption span { display: block; color: #d4dfe6; font-size: .65rem; margin-top: 5px; }
.about-story { grid-template-columns: 1fr 1fr; gap: 52px; }
.about-installation { height: 460px; align-self: stretch; }
.service-heading-visual { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.service-heading-copy { min-width: 0; }
.service-heading-visual h1 { font-size: clamp(1.9rem, 3.1vw, 2.65rem); }
.service-heading-image { align-self: stretch; min-height: 350px; }
.service-heading-image img { position: absolute; inset: 0; }
.image-disclosure { color: #526579; font-size: .72rem; margin: -16px 0 20px; text-align: left; }

/* Continuous center-to-edge scaling preserves each logo's original maximum size. */
.ticker-container .logo-box img { scale: var(--ticker-center-scale, 1); }

/* Permanent captions are desktop-only; mobile retains its active-logo label. */
@media (min-width: 993px) {
  .home-page .ticker-container { padding-bottom: 36px; }
  .home-page .ticker-track { align-items: stretch; }
  .home-page .ticker-item { min-width: 240px; gap: 18px; }
  .home-page .ticker-item .logo-box { flex-shrink: 0; }
  .home-page .brand-name {
    width: 260px;
    max-width: 100%;
    min-height: 3.1em;
    padding: 0 10px;
    color: #334b60;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .01em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .home-page .ticker-item:hover .brand-name { color: #0066a6; }
  .home-page .ticker-container:hover .ticker-item:not(:hover) { opacity: 1; }
  .home-page .ticker-container:hover .ticker-item:not(:hover) .logo-box { opacity: .65; }
}

/* Homepage narrative begins below the logo / services / ticker. */
.section-space { padding: 88px 0; }
.home-introduction { background: #fff; }
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.site-eyebrow { color: #006cae; font-size: .7rem; letter-spacing: .15em; font-weight: 600; margin-bottom: 16px; }
.home-intro-copy h2, .home-section-heading h2 {
  font-family: 'Montserrat', var(--font-sans); font-size: clamp(1.8rem, 3.1vw, 2.65rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -.035em; color: var(--text-dark);
}
.home-intro-copy h2 { margin-bottom: 24px; }
.home-intro-copy > p:not(.site-eyebrow) { font-size: .96rem; line-height: 1.85; margin-top: 14px; }
.home-intro-copy p, .home-process p, .home-specialties p, .contact-intro { text-align: left; }
.home-intro-image { min-height: 460px; height: 100%; }
.home-intro-image img { position: absolute; inset: 0; }
.home-sector-list { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--site-border); padding-top: 20px; margin: 24px 0 20px; color: #526579; font-size: .75rem; }
.site-text-link { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; color: #006cae; font-weight: 600; font-size: .85rem; }
.site-text-link:hover i { transform: translateX(4px); }
.site-text-link i { transition: transform .2s; }
.home-specialties { background: var(--site-navy); color: #cbdbe7; }
.home-specialties .site-eyebrow { color: #80cffa; }
.home-specialties h2, .home-specialties h3 { color: #fff; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.home-section-heading > p { color: #526579; font-size: .9rem; line-height: 1.8; }
.home-specialties .site-text-link { color: #b2e1fd; flex-shrink: 0; }
.home-specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.home-specialty a { display: block; }
.home-specialty-image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--site-radius); }
.home-specialty-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.home-specialty a:hover img { transform: scale(1.025); }
.home-specialty-image > span { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; background: rgba(5, 23, 36, .78); color: #fff; font-size: .64rem; border-radius: 4px; }
.home-specialty-copy { display: flex; gap: 20px; justify-content: space-between; padding-top: 24px; }
.specialty-number { color: #80cffa; font-size: .66rem; font-weight: 500; letter-spacing: .1em; }
.home-specialty-copy h3 { font-size: 1.35rem; font-weight: 500; margin: 8px 0 9px; line-height: 1.35; }
.home-specialty-copy p { font-size: .87rem; line-height: 1.75; max-width: 380px; }
.home-specialty-copy > i { color: #80cffa; padding-top: 30px; font-size: .85rem; }

/* Two services per slide; all pages share one natural height, so controls never jump. */
.home-services-carousel.is-carousel .home-services-viewport { overflow: hidden; touch-action: pan-y; }
.home-services-carousel.is-carousel .home-specialty-grid {
  display: flex;
  width: 100%;
  gap: 0;
  align-items: stretch;
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
}
.home-services-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-content: start;
}
.home-services-slide .home-specialty { min-width: 0; }
.home-services-carousel .home-specialty-grid.services-no-transition { transition: none !important; }
.home-services-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(181, 218, 241, .18); }
.home-services-controls[hidden] { display: none; }
.home-services-count { color: #a5d8f4; font-size: .76rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.home-services-nav { display: flex; gap: 10px; }
.home-services-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(181, 218, 241, .32); border-radius: 50%; background: transparent; color: #d3edfc; font-size: .75rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.home-services-button:hover { background: rgba(181, 218, 241, .12); border-color: #8bcdf2; }
.home-services-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.home-process { background: #fff; }
.home-process .home-section-heading h2 { max-width: 620px; }
.home-process-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.home-process-list li { border-top: 1px solid #b5cbdc; padding-top: 24px; }
.home-process-list li > span { display: block; color: #0072bc; font-size: 1.75rem; font-weight: 300; margin-bottom: 20px; }
.home-process-list h3 { color: var(--text-dark); font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.home-process-list p { font-size: .9rem; line-height: 1.85; }
.home-page .contact-section { background: #eaf0f5; backdrop-filter: none; padding: 88px 0; }
.home-page .contact-section .contact-layout { gap: 52px; }
.home-page .contact-title { font-size: clamp(1.9rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -.035em; }
.contact-intro { font-size: .93rem; line-height: 1.85; max-width: 440px; margin: -8px 0 28px; }
.home-page .contact-map-wrapper { box-shadow: none; border-radius: var(--site-radius); overflow: hidden; }
.home-page .contact-map { border-radius: var(--site-radius); }
.home-page .contact-details { margin-bottom: 28px; }
.home-page .contact-section p { text-align: left; }

/* A consistent closing section on every page. */
.footer.site-footer { background: #081f32; color: #b6c8d7; padding: 56px 0 0; border-top: 1px solid rgba(255,255,255,.1); text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 60px; padding-bottom: 42px; }
.site-footer p { text-align: left; font-size: .84rem; line-height: 1.85; }
.footer-brand-logo { display: inline-flex; align-items: center; max-width: 100%; margin-bottom: 18px; padding: 12px 16px; border-radius: 8px; background: #f3f5f8; }
.footer-brand-logo img { display: block; width: 190px; max-width: 100%; height: auto; }
.footer-motto { display: block; font-family: var(--font-serif); font-style: italic; color: #e1ebf2; font-size: 1.3rem; margin-top: 16px; }
.site-footer h2 { font-size: .78rem; color: #fff; font-weight: 500; letter-spacing: .04em; margin-bottom: 22px; }
.footer-grid nav a, .footer-contact > a { display: block; width: fit-content; font-size: .82rem; line-height: 1.8; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact > .footer-phone { color: #fff; font-size: 1.25rem; font-weight: 400; margin-bottom: 7px; }
.footer-contact p { margin-top: 18px; font-size: .76rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.13); padding-top: 20px; padding-bottom: 22px; }
.footer-bottom p, .footer-bottom a { font-size: .7rem; }
.footer-bottom a { display: flex; align-items: center; gap: 10px; }
.mobile-fabs span { display: none; }

@media (max-width: 1100px) and (min-width: 993px) {
  .header .container { padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 6px; }
  .nav-links > a, .dropdown > a { white-space: nowrap; letter-spacing: .6px; }
  .service-heading-visual { gap: 28px; }
}
@media (max-width: 992px) {
  .home-services-controls { display: none; }
  .home-services-carousel .home-specialty:nth-child(n + 3) { display: none; }
  /* Keep the old center size; position alone scales the images, not slide classes. */
  .home-page .ticker-item { transform: scale(1.25) !important; }
  .header {
    min-height: 66.15px;
    display: flex;
    align-items: center;
  }
  .header-inner { width: 100%; }
  .header .logo img { height: 40.7px !important; }
  .service-main, .corporate-main, .references-main { padding-top: 108px; padding-bottom: 56px; }
  .service-heading-visual { grid-template-columns: 1fr; gap: 28px; }
  .service-heading-image { height: 340px; min-height: 0; }
  .about-story, .home-intro-grid { gap: 32px; }
  .about-installation { height: 420px; }
  .home-intro-image { min-height: 400px; }
  .section-space { padding: 64px 0; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-specialty-grid { gap: 24px; }
  .home-services-slide { gap: 24px; }
  .home-process-list { gap: 22px; }
  .home-page .contact-section { padding: 64px 0 !important; }
  .footer.site-footer { padding: 44px 0 calc(100px + env(safe-area-inset-bottom, 0px)) !important; }
  .footer-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; }
  /* One low dock replaces the two stacked circles; footer padding clears it. */
  body .mobile-fabs {
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    flex-direction: row !important; gap: 0 !important;
    padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--site-border);
    box-shadow: 0 -3px 16px rgba(10,25,47,.06);
    z-index: 990 !important;
  }
  body .mobile-fabs .fab-btn {
    flex: 1; width: auto !important; height: 42px !important; border-radius: 6px !important;
    box-shadow: none !important; gap: 9px; background: transparent !important;
    color: #0b3e60 !important; font-size: .8rem; font-weight: 500;
  }
  body .mobile-fabs .fab-btn.whatsapp { border-right: 1px solid var(--site-border); border-radius: 0 !important; }
  body .mobile-fabs .fab-btn i { font-size: 1.2rem !important; }
  body .mobile-fabs .fab-btn span { display: inline; }
  .scroll-top-btn { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 640px) {
  .section-space { padding: 52px 0; }
  .home-intro-grid, .home-specialty-grid, .home-process-list, .about-story { grid-template-columns: 1fr; }
  .home-intro-image { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .home-intro-image img { position: static; }
  .home-intro-copy h2 br { display: none; }
  .home-intro-copy h2, .home-section-heading h2 { font-size: 1.8rem; }
  .home-specialty-grid { gap: 36px; }
  .home-process-list { gap: 30px; }
  .home-process-list li > span { margin-bottom: 12px; }
  .home-section-heading { margin-bottom: 28px; }
  .service-heading, .corporate-heading, .references-heading { margin-bottom: 30px; padding-bottom: 28px; }
  .service-heading-image { height: auto; aspect-ratio: 4 / 3; }
  .service-heading-image img { position: static; }
  .service-heading-visual h1 { font-size: 1.9rem; }
  .service-hub-card > img { height: 220px; }
  .service-panel, .service-contact, .corporate-contact, .references-contact, .expertise-section { padding: 26px 20px; }
  .corporate-section { margin-top: 42px; }
  .about-installation { height: auto; aspect-ratio: 4 / 3; }
  .about-installation img { height: 100%; }
  .image-disclosure { margin-top: -6px; }
  .home-page .contact-section { padding: 52px 0 !important; }
  .home-page .contact-section .contact-layout { gap: 32px; }
  .footer-grid { gap: 32px 20px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-footer h2 { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-specialty-image img, .service-hub-card, .site-text-link i { transition: none; }
  .home-services-carousel.is-carousel .home-specialty-grid { transition: none; }
}

/* Only JavaScript-enhanced, below-the-fold content waits for its reveal. */
.scroll-reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-pending { opacity: 1 !important; }
}
@media print {
  .scroll-reveal-pending { opacity: 1 !important; }
}
