/* Hydolys Group: sober international trading style */
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(/assets/fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(/assets/fonts/manrope-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url(/assets/fonts/poppins-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format("woff2"); }

:root {
  --navy: #0e2236;
  --navy-2: #173450;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --line: #e2e6ea;
  --paper: #ffffff;
  --sand: #f5f3ef;
  --gold: #b08a4a;
  --gold-dark: #8e6d35;
  --radius: 6px;
  --wrap: 1160px;
  --head: "Manrope", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); margin-top: 1.6em; }
strong { font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .02em; padding: .8em 1.5em; border-radius: var(--radius); border: 2px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-small { padding: .45em 1em; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 1.15rem; letter-spacing: .14em; }
.brand small { font-weight: 500; letter-spacing: .3em; color: var(--gold-dark); font-size: .7em; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li > a:not(.btn) { display: block; padding: 24px 12px; font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.site-nav > ul > li.active > a:not(.btn) { color: var(--gold-dark); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 12px 30px rgba(14,34,54,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 18px; color: var(--ink); font-weight: 400; font-size: .92rem; }
.sub a:hover, .sub a[aria-current] { background: var(--sand); color: var(--navy); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:last-child, .nav-toggle span:last-child::before, .nav-toggle span:last-child::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); content: ""; transition: .2s; }
.nav-toggle span:last-child { top: 21px; }
.nav-toggle span:last-child::before { left: 0; top: -7px; }
.nav-toggle span:last-child::after { left: 0; top: 7px; }
.nav-open .nav-toggle span:last-child { background: transparent; }
.nav-open .nav-toggle span:last-child::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 24px 24px; }
  .site-nav > ul > li > a:not(.btn) { padding: 12px 0 4px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .sub a { padding: 6px 12px; }
  .nav-cta { margin: 12px 0 0; }
}

/* Page hero */
.page-hero { position: relative; background: var(--navy); color: #fff; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero picture, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-img, .page-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,34,54,.35) 0%, rgba(14,34,54,.85) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 48px; }
.page-hero h1 { color: #fff; margin: 0; max-width: 820px; }
.page-hero .lead { font-size: 1.15rem; max-width: 720px; margin: 16px 0 0; color: rgba(255,255,255,.88); }
.page-hero--plain { min-height: 220px; }
.crumbs { margin: 0 0 10px; font-size: .85rem; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Content */
.prose { max-width: 900px; padding-top: 56px; padding-bottom: 72px; }
.prose > h2 { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h3 { margin-top: 2em; font-weight: 600; }
.prose > h3 + h3 { margin-top: .4em; }
.prose > h2 + h3, .prose > h3:first-child { margin-top: .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .25em 0; }
.prose li::marker { color: var(--gold); }
.prose p > img, .prose > img, .prose p picture { border-radius: var(--radius); margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--sand); font-family: var(--head); font-weight: 700; color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 2em 0; }
.gallery img, .gallery picture { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); margin: 0; }
.datasheet { margin: 1.6em 0 2.4em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 2em 0; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: 0 14px 34px rgba(14,34,54,.12); transform: translateY(-2px); color: inherit; }
.card img, .card picture { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.card-body p { margin: 0 0 1em; color: var(--muted); font-size: .95rem; }
.card-body .more { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--gold-dark); }
.card-body dl { margin: 0 0 1em; font-size: .9rem; }
.card-body dt { font-family: var(--head); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); margin-top: .8em; }
.card-body dd { margin: .2em 0 0; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.cards-2 .card img { aspect-ratio: 21/9; }
.card-actions { margin: auto 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .cards img { margin: 0; }

/* Home */
.home-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.home-hero picture, .home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero img { width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,34,54,.9) 0%, rgba(14,34,54,.55) 60%, rgba(14,34,54,.3) 100%); }
.home-hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--gold); margin: 0 0 16px; }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 760px; }
.home-hero p.lead { font-size: 1.15rem; max-width: 600px; color: rgba(255,255,255,.88); margin: 0 0 32px; }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.home-hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
.service { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service img, .service picture { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.service h3 { font-size: 1.35rem; margin-bottom: .2em; }
.service .sub-title { font-family: var(--head); font-weight: 600; color: var(--gold-dark); margin: 0 0 .6em; }
.service p { margin: 0 0 .8em; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }

/* Forms */
.form label { display: block; font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--navy); }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); border: 1px solid #cfd6dd; border-radius: var(--radius); background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form textarea { resize: vertical; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(14,34,54,.06); }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1f6f43; }
.form-status.err { color: #a23a2a; }
.form-status a { font-weight: 600; }
.dialog { border: 0; border-radius: 10px; padding: 0; width: min(640px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.dialog::backdrop { background: rgba(14,34,54,.6); }
.dialog .form { padding: 32px; position: relative; }
.dialog h2 { margin-top: 0; }
.dialog-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-aside h3 { margin-top: 1.4em; }
.contact-aside h3:first-child { margin-top: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Notice */
.notice { background: var(--sand); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Footer */
.site-footer { background: #0a1928; color: rgba(255,255,255,.75); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { filter: invert(1); opacity: .9; margin-bottom: 12px; }
.footer-tag { font-family: var(--head); font-weight: 600; color: #fff; margin: 0; }
.site-footer h2 { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 .8em; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 28px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .section { padding: 64px 0; } .wrap { padding: 0 16px; } }
