/* Alliance Ship Supply — shared design system
   Light corporate theme derived from the brand mark (navy + steel grey),
   amber used only as a sparing accent. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --navy: #0b2c4d;
    --navy-deep: #071c33;
    --steel: #6b7c8c;
    --accent: #b8863a;
    --bg: #ffffff;
    --bg-soft: #f4f6f8;
    --border: #e2e6ea;
    --text: #182430;
    --text-muted: #5b6b7a;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

body.wave-bg {
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='60' viewBox='0 0 180 60'%3E%3Cpath d='M0 30 C 22 12, 45 12, 67 30 S 112 48, 135 30 S 180 12, 180 30' stroke='%230b2c4d' stroke-opacity='0.16' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

main { flex: 1; }

a { color: inherit; }

/* Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 20px 50px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.logo img { width: 138px; }
.nav-toggle { display: none; flex: none; width: 40px; height: 40px; padding: 0; border: none; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: 0.2s; }
.nav-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 22px; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; }
nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 11.5px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.language-switcher { display: flex; gap: 10px; align-items: center; }
.language-switcher span { cursor: pointer; opacity: 0.75; transition: 0.2s; border-radius: 2px; }
.language-switcher span:hover { opacity: 1; transform: translateY(-1px); }

.header-icons { display: flex; align-items: center; gap: 14px; }
.header-icons a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); color: var(--navy); transition: 0.2s; }
.header-icons a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.header-icons svg { width: 15px; height: 15px; fill: currentColor; }

.btn-quote { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--navy); color: var(--navy); background: transparent; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; transition: 0.2s; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-quote:hover { background: var(--navy); color: #fff; }

/* Layout helpers */
.wrap { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }
main.wrap { padding: 56px 0 80px; }
section { padding: 70px 0; }
.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    color: var(--navy);
    max-width: 780px;
}
h2 { color: var(--navy); font-weight: 800; }
.lead {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    border-left: 3px solid var(--accent);
    padding-left: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 6px;
    border: 1px solid var(--navy);
    color: var(--navy);
    background: transparent;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
    cursor: pointer;
    font-family: inherit;
}
.btn:hover { background: var(--bg-soft); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }

/* Cards */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: 0.2s;
}
.card:hover { box-shadow: 0 12px 28px rgba(11,44,77,0.08); border-color: #d3dae1; }

/* Section head */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 38px; align-items: end; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.section-head p { color: var(--text-muted); font-size: 14px; line-height: 1.75; border-left: 3px solid var(--accent); padding-left: 18px; }

/* Footer */
footer {
    margin-top: auto;
    padding: 32px 20px;
    text-align: center;
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Modal */
#quoteModal { display:none; position:fixed; inset:0; background:rgba(7,28,51,0.6); z-index:1000; justify-content:center; align-items:center; }
.modal-content { background:#fff; color:var(--text); padding:44px; width:90%; max-width:520px; border-radius:10px; position:relative; box-shadow: 0 25px 60px rgba(0,0,0,0.25); }
.modal-content h2 { font-size: 24px; margin-bottom: 22px; }
.modal-close { position:absolute; top:18px; right:22px; cursor:pointer; font-size:28px; color:var(--text-muted); line-height:1; }
.form-input { width: 100%; padding: 14px; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 14px; background: var(--bg-soft); color: var(--text); }
.btn-modal-submit { width: 100%; min-height: 50px; background: var(--navy); color: #fff; border: none; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; cursor: pointer; border-radius: 6px; text-transform: uppercase; font-family: inherit; }
.btn-modal-submit:hover { background: var(--navy-deep); }

/* Floating WhatsApp contact */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0877c9;
    color: #fff;
    box-shadow: 0 10px 28px rgba(7, 28, 51, 0.28);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.whatsapp-float:hover {
    background: #0664aa;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(7, 28, 51, 0.34);
}
.whatsapp-float:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #0877c9;
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

@media (max-width: 980px) {
    header { padding: 18px 24px; }
    .nav-group { gap: 18px; }
    nav { gap: 14px; }
    .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    header { flex-wrap: nowrap; row-gap: 0; }
    .nav-toggle { display: flex; }
    .nav-group { display: none; width: 100%; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
    .nav-group.open { display: flex; }
    header:not(.scrolled) .nav-group { border-top-color: rgba(255,255,255,0.25); }
    nav { flex-direction: column; align-items: center; gap: 16px; }
    .header-icons { justify-content: center; }
    .language-switcher { justify-content: center; }
    .btn-quote { width: 100%; }
    section { padding: 48px 0; }
    h1 { font-size: 30px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Shared "new layout" components (home split, feature row, clients bar) */
.feature-row { padding: 54px 0 60px; background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-item { text-align: center; padding: 0 10px; }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border); color: var(--navy); }
.feature-icon svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.feature-item h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.feature-item p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.about-split { padding: 0; display: grid; grid-template-columns: 1fr 1.55fr; align-items: stretch; }
.about-split-copy { background: var(--navy); color: #fff; padding: 64px 54px; display: flex; flex-direction: column; justify-content: center; }
.about-split-copy .eyebrow { color: var(--accent); }
.about-split-copy h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; margin-bottom: 16px; }
.about-split-copy p { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.75; margin-bottom: 26px; }
.about-split-copy .btn { border-color: rgba(255,255,255,0.5); color: #fff; align-self: flex-start; }
.about-split-copy .btn:hover { background: rgba(255,255,255,0.12); }

.split-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-card { position: relative; min-height: 320px; display: flex; align-items: flex-end; background: var(--navy-deep); overflow: hidden; text-decoration: none; }
.split-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--steel), var(--navy-deep)); opacity: 0.9; }
.split-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,28,51,0.92) 20%, rgba(7,28,51,0.15) 70%); }
.split-card-body { position: relative; z-index: 1; padding: 26px 24px; color: #fff; }
.split-card-body h3 { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.split-card-body p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.split-card-body .go { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.split-card:hover .split-card-body .go { color: var(--accent); }

.clients-bar { position: relative; overflow: hidden; background: var(--navy); padding: 48px 0; }
.clients-bar::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -190px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }
.clients-bar-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px, 1.25fr) minmax(360px, 1fr) auto; gap: 40px; align-items: center; }
.clients-message > span { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.clients-bar h2 { max-width: 560px; color: #fff; font-size: clamp(18px, 2vw, 24px); line-height: 1.3; }
.clients-message p { margin-top: 9px; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.55; }
.operations-start { max-width: 590px; margin-top: 20px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-left: 3px solid var(--accent); border-radius: 6px; background: rgba(255,255,255,.055); }
.operations-start strong { display: block; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.operations-start small { display: block; margin-top: 6px; color: rgba(255,255,255,.68); font-size: 10.5px; line-height: 1.55; }
.client-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.client-benefits span { position: relative; padding-top: 16px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; line-height: 1.4; }
.client-benefits span::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--accent); }
.clients-btn { border-color: rgba(255,255,255,0.5); color: #fff; }
.clients-btn:hover { background: rgba(255,255,255,0.12); }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }
.hero-wave path { fill: var(--bg); }

@media (max-width: 980px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
    .about-split { grid-template-columns: 1fr; }
    .split-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .clients-bar-inner { grid-template-columns: 1fr; text-align: center; }
    .client-benefits { max-width: 620px; margin: 0 auto; text-align: left; }
}
@media (max-width: 680px) {
    .feature-grid { grid-template-columns: 1fr; }
    .split-cards { grid-template-columns: 1fr; }
    .about-split-copy { padding: 44px 26px; }
    .client-benefits { grid-template-columns: 1fr; gap: 16px; }
}
