/* ==========================================================================
   Mono Marine — design system v3
   Light corporate / engineering. Archivo + Inter, marine blue accent.
   ========================================================================== */

:root {
    /* Palette */
    --navy-950: #061a26;
    --navy-900: #0a2434;
    --navy-800: #0c2a3d;
    --navy-700: #123a52;

    --blue-700: #0a5c9e;
    --blue-600: #0b6fbd;
    --blue-500: #1585d8;
    --blue-100: #e8f2fa;

    --ink: #0c1f2c;
    --body: #4d5f6d;
    --muted: #5f7080;
    --line: #e3e9ef;
    --line-strong: #ccd8e2;
    --paper: #f5f8fa;
    --paper-2: #eef3f7;
    --white: #ffffff;

    /* Type */
    --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(60px, 7vw, 100px);
    --header-h: 78px;
    --radius: 6px;
    --radius-lg: 10px;

    --shadow-sm: 0 2px 12px rgba(12, 42, 61, 0.06);
    --shadow-md: 0 18px 48px rgba(12, 42, 61, 0.12);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------
   Reset and base
   --------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
address,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.9rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.8rem, 3.1vw, 2.6rem);
}

h3 {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--blue-600);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Utilities
   --------------------------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--paper {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section--navy {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.74);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--navy-800);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: none;
}

.icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.icon--sm {
    width: 14px;
    height: 14px;
}

.icon--solid {
    fill: currentColor;
    stroke: none;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-700);
}

.kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
    flex: none;
}

.kicker--light {
    color: #9fd0f5;
}

.kicker--plain::before {
    display: none;
}

.lead {
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.68;
    color: var(--body);
}

.section--navy .lead {
    color: rgba(255, 255, 255, 0.74);
}

/* Section header */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.sec-head__text {
    max-width: 660px;
}

.sec-head h2 {
    margin-top: 12px;
}

.sec-head__text .lead {
    margin-top: 14px;
    max-width: 56ch;
}

.sec-head__action {
    flex: none;
    padding-bottom: 4px;
}

/* ---------------------------------------------------------------
   Buttons and links
   --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 111, 189, 0.24);
}

.btn--primary:hover {
    background: var(--blue-700);
    box-shadow: 0 8px 22px rgba(10, 92, 158, 0.3);
}

.btn--navy {
    background: var(--navy-800);
    color: #fff;
}

.btn--navy:hover {
    background: var(--navy-700);
}

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--ink);
    background: #fff;
}

.btn--ghost:hover {
    border-color: var(--navy-800);
    color: var(--navy-800);
}

.btn--light {
    background: #fff;
    color: var(--navy-800);
}

.btn--light:hover {
    background: var(--blue-100);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-700);
    transition: color 0.2s ease;
}

.link-arrow .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
    color: var(--navy-800);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

.link-arrow--light {
    color: #9fd0f5;
}

.link-arrow--light:hover {
    color: #fff;
}

/* ---------------------------------------------------------------
   Top bar
   --------------------------------------------------------------- */
.topbar {
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 40px;
    padding-block: 7px;
}

.topbar__note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.78);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4fd1a1;
    animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 209, 161, 0.55);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(79, 209, 161, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 209, 161, 0);
    }
}

.topbar__group {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.76);
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: #fff;
}

.topbar .icon {
    width: 14px;
    height: 14px;
    color: #9fd0f5;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar__social a {
    color: rgba(255, 255, 255, 0.7);
}

.topbar__social a:hover {
    color: #9fd0f5;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.2s ease;
}

.masthead.is-scrolled {
    box-shadow: 0 8px 28px rgba(12, 42, 61, 0.08);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 36px);
    min-height: var(--header-h);
}

.masthead__brand {
    flex: none;
}

.masthead__brand img {
    width: auto;
    height: 54px;
}

.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 26px);
}

.nav__list > li {
    position: relative;
}

.nav__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav__list > li > a:hover {
    color: var(--blue-700);
}

.nav__list > li > a[aria-current="page"],
.nav__list > li > a[aria-current="true"] {
    color: var(--blue-700);
    border-color: var(--blue-600);
}

.nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    min-width: 270px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav__menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.has-menu:hover .nav__menu,
.has-menu:focus-within .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav__menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--body);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__menu a:hover,
.nav__menu a[aria-current="page"] {
    background: var(--blue-100);
    color: var(--blue-700);
}

.masthead__cta {
    flex: none;
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--navy-800);
}

.nav-toggle__close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
    display: block;
}

/* ---------------------------------------------------------------
   Forms
   --------------------------------------------------------------- */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-800);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-size: 14.5px;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    min-height: 124px;
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(11, 111, 189, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #7b8b99;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230c2a3d' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.field--honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
}

.form-note {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 3px solid var(--blue-600);
    border-radius: 4px;
    background: var(--blue-100);
    font-size: 14px;
    line-height: 1.55;
    color: var(--blue-700);
}

.form-note--error {
    border-color: #a3311f;
    background: #fbeeeb;
    color: #8a2a1b;
}

.form-note[hidden] {
    display: none;
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: clamp(48px, 6vw, 80px) 26px;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.5fr);
    gap: clamp(32px, 5vw, 72px);
}

.footer__brand img {
    width: auto;
    height: 54px;
    filter: brightness(0) invert(1);
}

.footer__brand p {
    max-width: 38ch;
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.66);
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.78);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer__social a:hover {
    border-color: var(--blue-500);
    background: rgba(21, 133, 216, 0.16);
    color: #fff;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer__nav h2 {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.footer__nav a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.76);
    transition: color 0.2s ease;
}

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

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    margin-top: clamp(36px, 4vw, 56px);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
}

.footer__bottom a:hover {
    color: #fff;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1f9d55;
    color: #fff;
    box-shadow: 0 12px 30px rgba(6, 26, 38, 0.26);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
    background: #178246;
    transform: translateY(-2px);
}

.whatsapp-float .icon {
    width: 25px;
    height: 25px;
}

/* ---------------------------------------------------------------
   News cards (homepage + news archive)
   Media ratio matches the 789 x 400 event artwork so posters are
   never cropped.
   --------------------------------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 789 / 400;
    background: var(--paper-2);
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px 24px;
}

.news-card__meta {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.news-card__meta span {
    margin-right: 8px;
    color: var(--blue-700);
}

.news-card__body h3 {
    margin: 10px 0 9px;
    font-size: 1.1rem;
    line-height: 1.32;
}

.news-card__body h3 a:hover {
    color: var(--blue-700);
}

.news-card__body > p {
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--muted);
}

.news-card__body .link-arrow {
    margin-top: auto;
    font-size: 13px;
}

/* ---------------------------------------------------------------
   Reveal animation
   --------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger: children of grids get sequential delays */
.reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
.reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }
.reveal.is-visible:nth-child(5) { transition-delay: 0.32s; }
.reveal.is-visible:nth-child(6) { transition-delay: 0.40s; }

/* Directional reveals */
.reveal.is-visible.split__media {
    opacity: 1;
    transform: none;
}

.reveal.split__body {
    transform: translateX(-24px);
}

.reveal.split__body.is-visible {
    transform: none;
}

.reveal.split__media {
    transform: translateX(24px);
}

.reveal.split__media.is-visible {
    transform: none;
}

/* Card hover lift */
.service-card,
.product-card,
.partner-card,
.dept-card,
.cert-card,
.news-card,
.feature-card,
.brief-card,
.info-card,
.quality-card {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover,
.product-card:hover,
.partner-card:hover,
.dept-card:hover,
.cert-card:hover,
.news-card:hover,
.brief-card:hover,
.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(12, 42, 61, 0.12);
}

.feature-card:hover,
.info-card:hover {
    transform: translateY(-3px);
}

/* CTA band — subtle gradient shimmer */
.cta-band {
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    width: 20%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: cta-shimmer 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes cta-shimmer {
    0% { left: -30%; }
    100% { left: 110%; }
}

/* Stat band — numbers glow on reveal */
.stat-band__item strong {
    transition: text-shadow 0.8s ease;
}

.stat-band__grid.is-visible .stat-band__item strong {
    text-shadow: 0 0 24px rgba(21, 133, 216, 0.3);
}

/* Service row image — subtle zoom on hover */
.service-row__media img {
    transition: transform 0.6s var(--ease);
}

.service-row:hover .service-row__media img {
    transform: scale(1.04);
}

/* Partner logo — subtle scale on hover */
.partner-card__logo img {
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.partner-card:hover .partner-card__logo img {
    transform: scale(1.06);
    filter: brightness(1.1);
}

/* Aside card / response phone — gentle glow pulse */
.aside-card__phone,
.response__phone {
    animation: phone-glow 3s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 16px rgba(21, 133, 216, 0.35); }
}

/* Chart figure — slow zoom on scroll into view */
.chart-figure {
    overflow: hidden;
}

.chart-figure img {
    transition: transform 8s var(--ease);
}

.chart-figure.is-visible img,
.chart-figure:hover img {
    transform: scale(1.02);
}

/* Marquee — pause on hover */
.marquee__track:hover {
    animation-play-state: paused;
}

.marquee__group:hover a img {
    filter: brightness(1.15);
    transform: scale(1.05);
    transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

/* Kicker line — static (no animation) */
.kicker::before {
    transform: scaleX(1);
}

/* Section heading — subtle scale on reveal */
.section-head h2,
.sec-head h2 {
    transform: scale(0.98);
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.section-head.is-visible h2,
.sec-head.is-visible h2 {
    transform: scale(1);
}

/* Service card number — scale on hover */
.service-card:hover .service-card__num {
    transform: scale(1.15);
    color: var(--blue-500);
}

.service-card__num {
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

/* News card — image zoom on hover */
.news-card__media img {
    transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__media img {
    transform: scale(1.06);
}

/* Partner card — logo glow on hover */
.partner-card__logo img {
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.partner-card:hover .partner-card__logo img {
    transform: scale(1.08);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(11, 111, 189, 0.2));
}

/* Form inputs — focus glow */
.field input:focus,
.field select:focus,
.field textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(11, 111, 189, 0.12), 0 4px 12px rgba(11, 111, 189, 0.08);
}

/* Stat band — number counter glow */
.stat-band__item strong {
    transition: text-shadow 0.8s ease;
}

.stat-band__item strong:hover {
    transform: scale(1.05);
    text-shadow: 0 0 24px rgba(21, 133, 216, 0.4);
}

/* Chart figure — slow zoom on hover */
.chart-figure img {
    transition: transform 8s var(--ease);
}

.chart-figure:hover img {
    transform: scale(1.03);
}

/* Contact form submit button — pulse on hover */
.contact-form__submit:hover {
    animation: btn-pulse 0.6s ease;
}

@keyframes btn-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Product card — image zoom on hover */
.product-card__media img {
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__media img {
    transform: scale(1.06);
}

/* Cert card — image zoom on hover */
.cert-card__media img {
    transition: transform 0.6s var(--ease);
}

.cert-card:hover .cert-card__media img {
    transform: scale(1.04);
}

/* Dept card — icon scale on hover */
.dept-card__icon {
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.dept-card:hover .dept-card__icon {
    transform: scale(1.15);
    color: var(--blue-600);
}

/* Dept card — bullet check icon bounce on hover */
.dept-card:hover .dept-card__icon svg {
    animation: icon-bounce 0.4s var(--ease);
}

@keyframes icon-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* About image — subtle zoom on hover */
.split__media img {
    transition: transform 0.8s var(--ease);
}

.split__media:hover img {
    transform: scale(1.03);
}

/* Footer social — scale on hover */
.footer__social a {
    transition: transform 0.2s var(--ease), border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer__social a:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Info card — icon rotate on hover */
.info-card__icon {
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.info-card:hover .info-card__icon {
    transform: rotate(8deg) scale(1.1);
    color: var(--blue-600);
}

/* Quality card — icon rotate on hover */
.quality-card__icon {
    transition: transform 0.3s var(--ease);
}

.quality-card:hover .quality-card__icon {
    transform: rotate(-8deg) scale(1.15);
}

/* Work card — caption slide up on hover */
.work__card figcaption {
    transition: transform 0.3s var(--ease);
}

.work__card:hover figcaption {
    transform: translateY(-4px);
}

/* Work card — image zoom */
.work__card img {
    transition: transform 0.6s var(--ease);
}

.work__card:hover img {
    transform: scale(1.08);
}

/* Hero panel — subtle entrance */
.hero__panel {
    animation: hero-panel-in 1s var(--ease) 0.3s both;
}

@keyframes hero-panel-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: none; }
}

/* Hero stats — counter glow */
.hero__stat {
    transition: transform 0.3s var(--ease);
}

.hero__stat:hover {
    transform: scale(1.05);
}

.hero__stat strong {
    transition: text-shadow 0.6s ease;
}

.hero__stat:hover strong {
    text-shadow: 0 0 20px rgba(21, 133, 216, 0.4);
}

/* CTA band — button glow on hover */
.cta-band__actions .btn--accent:hover {
    box-shadow: 0 8px 28px rgba(21, 133, 216, 0.4);
    transform: translateY(-2px);
}

.cta-band__actions .btn--ghost:hover {
    transform: translateY(-2px);
    border-color: #fff;
}

/* Brief card — label pulse */
.brief-card__label {
    animation: label-pulse 4s ease-in-out infinite;
}

@keyframes label-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; letter-spacing: 0.16em; }
}

/* Cert card — media zoom on hover */
.cert-card__media img {
    transition: transform 0.6s var(--ease);
}

.cert-card:hover .cert-card__media img {
    transform: scale(1.04);
}

/* Marquee — pause on hover */
.marquee__track:hover {
    animation-play-state: paused;
}

/* Kicker line — static (no animation) */
.kicker::before {
    transform: scaleX(1);
}

/* Section heading — subtle scale on reveal */
.section-head h2,
.sec-head h2 {
    transform: scale(0.98);
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.section-head.is-visible h2,
.sec-head.is-visible h2 {
    transform: scale(1);
}

/* Service row image — subtle zoom on hover */
.service-row__media img {
    transition: transform 0.6s var(--ease);
}

.service-row:hover .service-row__media img {
    transform: scale(1.04);
}

/* Partner logo — subtle scale on hover */
.partner-card__logo img {
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.partner-card:hover .partner-card__logo img {
    transform: scale(1.08);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(11, 111, 189, 0.2));
}

/* Form inputs — focus glow */
.field input:focus,
.field select:focus,
.field textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(11, 111, 189, 0.12), 0 4px 12px rgba(11, 111, 189, 0.08);
}

/* Stat band — number counter glow */
.stat-band__item strong {
    transition: text-shadow 0.8s ease;
}

.stat-band__item strong:hover {
    transform: scale(1.05);
    text-shadow: 0 0 24px rgba(21, 133, 216, 0.4);
}

/* Chart figure — slow zoom on hover */
.chart-figure img {
    transition: transform 8s var(--ease);
}

.chart-figure:hover img {
    transform: scale(1.03);
}

/* Contact form submit button — pulse on hover */
.contact-form__submit:hover {
    animation: btn-pulse 0.6s ease;
}

@keyframes btn-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* ---------------------------------------------------------------
   Textured backgrounds — subtle animated color
   --------------------------------------------------------------- */

/* Floating gradient blobs on section backgrounds */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(21, 133, 216, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: blob-float-1 25s ease-in-out infinite alternate;
}

.section--paper::before {
    background: radial-gradient(ellipse at center, rgba(10, 92, 158, 0.035) 0%, transparent 70%);
    top: auto;
    bottom: -20%;
    left: -10%;
    right: auto;
    animation: blob-float-2 30s ease-in-out infinite alternate;
}

@keyframes blob-float-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, 5%) scale(1.15); }
    100% { transform: translate(5%, -3%) scale(0.95); }
}

@keyframes blob-float-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, -4%) scale(1.1); }
    100% { transform: translate(-4%, 6%) scale(0.9); }
}

/* Ensure section content stays above blobs */
.section > * {
    position: relative;
    z-index: 1;
}

/* Animated gradient border on cards */
.service-card,
.product-card,
.partner-card,
.cert-card,
.news-card,
.quality-card,
.feature-card {
    position: relative;
}

.service-card::after,
.product-card::after,
.partner-card::after,
.cert-card::after,
.news-card::after,
.quality-card::after,
.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700), var(--blue-500));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradient-border 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.service-card:hover::after,
.product-card:hover::after,
.partner-card:hover::after,
.cert-card:hover::after,
.news-card:hover::after,
.quality-card:hover::after,
.feature-card:hover::after {
    opacity: 1;
}

/* Subtle animated dot pattern on paper sections */
.section--paper {
    background-image:
        radial-gradient(circle, rgba(10, 92, 158, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    animation: dot-drift 30s linear infinite;
}

@keyframes dot-drift {
    0% { background-position: 0 0; }
    100% { background-position: 24px 24px; }
}

/* CTA band — animated gradient background */
.cta-band {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
    background-size: 200% 200%;
    animation: cta-gradient 15s ease infinite;
}

@keyframes cta-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Stat band — subtle blue glow */
.stat-band {
    position: relative;
    overflow: hidden;
}

.stat-band::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(21, 133, 216, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: stat-glow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes stat-glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero — animated gradient overlay */
.hero__veil {
    animation: hero-veil 20s ease-in-out infinite alternate;
}

@keyframes hero-veil {
    0% { opacity: 0.85; }
    50% { opacity: 0.7; }
    100% { opacity: 0.9; }
}

/* Hero panel — subtle floating */
.hero__panel {
    animation: hero-panel-float 6s ease-in-out infinite;
}

@keyframes hero-panel-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Marquee — gradient fade edges */
.marquee {
    position: relative;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--paper), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--paper));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .section::before,
    .section--paper,
    .cta-band,
    .stat-band::before,
    .hero__veil,
    .hero__panel,
    .brief-card__label,
    .cta-band::before,
    .response__grid-bg,
    .response__grid-bg::before,
    .response__grid-bg::after,
    .response .shell::before {
        animation: none;
    }
}

/* Animated light effects — behind section headings */

.section-head,
.sec-head {
    position: relative;
    overflow: visible;
}

.section-head::before,
.sec-head::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(21, 133, 216, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: light-orb-float 8s ease-in-out infinite alternate;
}

.section-head::after,
.sec-head::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(10, 92, 158, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: light-orb-float-2 10s ease-in-out infinite alternate;
}

@keyframes light-orb-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(30px, -20px) scale(1.2); opacity: 1; }
    100% { transform: translate(-10px, 15px) scale(0.9); opacity: 0.7; }
}

@keyframes light-orb-float-2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-25px, 20px) scale(1.15); opacity: 0.8; }
    100% { transform: translate(15px, -10px) scale(0.95); opacity: 0.6; }
}

/* Kicker — animated glow pulse */
.kicker {
    animation: kicker-glow 4s ease-in-out infinite;
}

@keyframes kicker-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 12px rgba(21, 133, 216, 0.25); }
}

/* Section heading — animated underline */
.section-head h2,
.sec-head h2 {
    position: relative;
}

.section-head h2::after,
.sec-head h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--blue-600));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: heading-underline 6s linear infinite;
}

@keyframes heading-underline {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .section-head::before,
    .section-head::after,
    .sec-head::before,
    .sec-head::after,
    .kicker,
    .section-head h2::after,
    .sec-head h2::after {
        animation: none;
    }
}

@media (max-width: 1180px) {
    :root {
        --header-h: 72px;
    }

    .nav__list > li > a {
        font-size: 13px;
    }

    .masthead__cta {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        max-height: calc(100dvh - var(--header-h) - 46px);
        padding: 8px var(--gutter) 32px;
        overflow-y: auto;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 48px rgba(12, 42, 61, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__list {
        display: block;
    }

    .nav__list > li {
        border-bottom: 1px solid var(--line);
    }

    .nav__list > li > a {
        justify-content: space-between;
        padding: 15px 0;
        font-size: 15px;
        border-bottom: 0;
    }

    .nav__list > li > a[aria-current="page"],
    .nav__list > li > a[aria-current="true"] {
        color: var(--blue-700);
    }

    .nav__menu {
        position: static;
        min-width: 0;
        padding: 0 0 12px 14px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__menu::before {
        display: none;
    }

    .nav__menu a {
        padding: 8px 0;
        font-size: 14px;
    }

    .nav__menu a:hover {
        background: transparent;
        color: var(--blue-700);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .masthead__brand img {
        height: 46px;
    }
}

@media (max-width: 860px) {
    .topbar__social {
        display: none;
    }

    .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .sec-head__action {
        padding-bottom: 0;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .topbar__inner {
        justify-content: center;
    }

    .topbar__group--secondary {
        display: none;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 1023px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


