/* ==========================================================================
   EasyPier Marina Software - site.css
   Own design system on top of Bootstrap 5.3 + Font Awesome 6.
   Direction: "harbour editorial" - deep-sea navy, the logo's sea blue, one warm buoy accent,
   one type family (Inter). The recurring motif is the Marina Chart (pier spine + finger berths)
   and the swell line of the EasyPier logo, instead of generic gradients.
   ========================================================================== */

:root {
    --ep-navy: #0a2540;
    --ep-navy-2: #123757;
    --ep-blue: #1ba3dd;           /* brand blue (logo) - decorative use */
    --ep-blue-dk: #0a72a5;        /* text / buttons on light backgrounds (AA) */
    --ep-blue-2: #5cc8f2;         /* accents on dark backgrounds */
    --ep-graphite: #3c3c3e;       /* logo grey */
    --ep-green: #1f8a5b;
    --ep-orange: #d2461b;         /* the single warm accent (buoy): primary CTA */
    --ep-ink: #1a2a3a;
    --ep-text: #47566a;
    --ep-muted: #5d6b7c;
    --ep-line: #e0e7ee;
    --ep-bg: #f1f6f9;             /* cool sea-mist neutral */
    --ep-water: #dcedf5;
    --ep-pier: #c9bba4;
    --ep-radius: 14px;
    --ep-radius-sm: 8px;
    --ep-shadow: 0 1px 2px rgba(10, 37, 64, .05), 0 6px 18px rgba(10, 37, 64, .06);
    --ep-shadow-lg: 0 2px 4px rgba(10, 37, 64, .05), 0 18px 40px rgba(10, 37, 64, .12);
    --ep-swell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C 220 6, 420 6, 640 30 S 1020 58, 1200 22' fill='none' stroke='%231ba3dd' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M0 50 C 260 22, 470 24, 700 42 S 1040 60, 1200 40' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--ep-text);
    --bs-link-color: #0a72a5;
    --bs-link-color-rgb: 10, 114, 165;
    --bs-link-hover-color: #0a2540;
    --bs-link-hover-color-rgb: 10, 37, 64;
    --bs-primary: #0a72a5;
    --bs-primary-rgb: 10, 114, 165;
    --bs-border-color: var(--ep-line);
    --bs-border-radius: 8px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--ep-navy); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.022em; }
h1 { font-weight: 750; letter-spacing: -.032em; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; font-weight: 400; line-height: 1.7; }
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; }
hr { border-color: var(--ep-line); opacity: 1; margin: 2.5rem 0; }
::selection { background: var(--ep-blue); color: #fff; }
.text-brand { color: var(--ep-blue-dk); }
:focus-visible { outline: 3px solid rgba(27, 163, 221, .55); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 10px; padding: .65rem 1.5rem; border: 0; letter-spacing: .005em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1.1rem; }
.btn-brand, .btn-primary { background: var(--ep-blue-dk); color: #fff; box-shadow: 0 1px 0 rgba(10, 37, 64, .2), 0 8px 18px rgba(10, 114, 165, .25); }
.btn-brand:hover, .btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--ep-navy); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(10, 37, 64, .2), 0 12px 24px rgba(10, 37, 64, .25); }
.btn-orange { background: var(--ep-orange); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .15), 0 8px 18px rgba(210, 70, 27, .28); }
.btn-orange:hover, .btn-orange:focus { background: #b03a14; color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ep-navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { background: #fff; color: var(--ep-blue-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 1.5px solid var(--ep-navy); color: var(--ep-navy); background: transparent; }
.btn-outline-brand:hover { background: var(--ep-navy); color: #fff; transform: translateY(-2px); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--ep-line); }
.site-header .navbar { padding: .55rem 0; }
.site-header .navbar-brand img { height: 46px; width: auto; }
.nav-main { gap: .1rem; align-items: center; }
.nav-main > li { position: relative; }
.nav-main > li > a { display: block; white-space: nowrap; padding: .55rem .8rem; font-weight: 600; font-size: .94rem; color: var(--ep-navy); position: relative; }
.nav-main > li > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--ep-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-main > li > a:hover, .nav-main > li.show > a { color: var(--ep-blue-dk); }
.nav-main > li > a:hover::after, .nav-main > li.show > a::after, .nav-main > li.active > a::after { transform: scaleX(1); }
.nav-main > li.active > a { color: var(--ep-blue-dk); }
.nav-main > li > a.dropdown-toggle::after { /* keep bootstrap caret, not the underline */
    position: static; height: 0; background: none; transform: none; display: inline-block; margin-left: .4em; vertical-align: .15em; border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; border-bottom: 0; border-radius: 0; }
.nav-main .dropdown-menu { border: 1px solid var(--ep-line); border-radius: var(--ep-radius-sm); padding: .5rem; box-shadow: var(--ep-shadow-lg); margin-top: .4rem; min-width: 340px; }
.nav-main .dropdown-item { border-radius: 6px; padding: .6rem .9rem; white-space: normal; color: var(--ep-ink); }
.nav-main .dropdown-item:hover, .nav-main .dropdown-item:focus { background: var(--ep-bg); color: var(--ep-blue-dk); }
.nav-main .dropdown-item b { color: var(--ep-navy); }
.nav-main .dropdown-item span { display: block; color: var(--ep-muted); font-size: .82rem; }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.lang-btn { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--ep-line); border-radius: 8px; padding: .4rem .8rem; font-size: .82rem; font-weight: 700; color: var(--ep-navy); letter-spacing: .03em; transition: border-color .2s, box-shadow .2s; }
.lang-btn:hover, .lang-btn.show { border-color: var(--ep-blue); box-shadow: 0 0 0 3px rgba(27, 163, 221, .12); }
.lang-btn::after { margin-left: .1rem; }
/* flags are round PNGs: show them whole, never cropped into a rectangle */
.lang-btn img, .lang-switch .dropdown-item img { width: 20px; height: 20px; flex: none; object-fit: contain; border-radius: 50%; box-shadow: 0 0 0 1px rgba(10, 37, 64, .12); }
.lang-switch .dropdown-menu { min-width: 10rem; border: 1px solid var(--ep-line); border-radius: var(--ep-radius-sm); padding: .4rem; box-shadow: var(--ep-shadow-lg); }
.lang-switch .dropdown-item { display: flex; align-items: center; gap: .6rem; border-radius: 6px; padding: .5rem .75rem; font-weight: 500; color: var(--ep-ink); }
.lang-switch .dropdown-item:hover { background: var(--ep-bg); color: var(--ep-blue-dk); }
.lang-switch .dropdown-item.active { background: rgba(27, 163, 221, .1); color: var(--ep-blue-dk); font-weight: 600; }
.btn-login { white-space: nowrap; background: var(--ep-navy); color: #fff !important; padding: .5rem 1.1rem; font-size: .88rem; box-shadow: none; }
.btn-login:hover { background: var(--ep-blue-dk); }
.navbar-toggler { border: 0; background: var(--ep-navy); color: #fff; border-radius: 8px; padding: .45rem .7rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 4px rgba(27, 163, 221, .25); }
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { padding: 1rem 0; }
    .nav-main { align-items: stretch; }
    .nav-main > li > a::after { display: none; }
    .nav-main > li.active > a { background: rgba(27, 163, 221, .08); border-radius: 8px; }
    .nav-main .dropdown-menu { min-width: 0; box-shadow: none; background: var(--ep-bg); border: 0; }
    .header-tools { margin-top: .75rem; }
    .site-header .navbar-collapse { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
    .header-tools { flex-wrap: wrap; padding-bottom: .25rem; }
    .lang-switch .dropdown-menu { position: static; margin-top: .5rem; box-shadow: none; }
}

/* ---------- Inner page header: night harbour (pier spine + finger berths) and the logo swell ---------- */
.page-hero { padding: 3.5rem 0 4.25rem; margin-bottom: 3.5rem; position: relative; overflow: hidden; background-color: var(--ep-navy);
    background-image: var(--ep-swell),
                      repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 30px);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 46px, min(38vw, 420px) 100%;
    background-position: left bottom 6px, right 8% top; }
/* the pier spine the finger berths hang from */
.page-hero::before { content: ""; position: absolute; top: 0; bottom: 40px; right: calc(8% + min(38vw, 420px)); width: 6px; background: rgba(255, 255, 255, .09); pointer-events: none; }
/* two moored boats: one in the logo blue, one buoy orange */
.page-hero::after { content: ""; position: absolute; right: calc(8% + min(38vw, 420px) - 150px); top: 33%; width: 140px; height: 20px; border-radius: 3px 50% 50% 3px; background: rgba(92, 200, 242, .38); box-shadow: 40px 60px 0 -2px rgba(210, 70, 27, .55), -10px 120px 0 0 rgba(255, 255, 255, .1); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -.022em; line-height: 1.12; margin: .4rem 0 0; max-width: 820px; text-wrap: balance; }
.page-hero h1 .h1-sub { display: block; margin-top: .45rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--ep-blue-2); }
.page-hero .breadcrumb { margin: 0; font-size: .88rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .78); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .page-lead { color: rgba(255, 255, 255, .85); max-width: 720px; margin: 1rem 0 0; font-size: 1.1rem; }
@media (max-width: 767.98px) { .page-hero::before, .page-hero::after { opacity: .4; } }

/* ---------- Home hero (light, product-first) ---------- */
.hero { position: relative; background: var(--ep-bg); color: var(--ep-text); overflow: hidden; padding: 4.5rem 0 5.5rem; border-bottom: 1px solid var(--ep-line); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none; background: var(--ep-swell) no-repeat left bottom / 100% 100%; opacity: .55; }
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--ep-blue-dk); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.4rem; }
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ep-orange); }
.hero h1 { color: var(--ep-navy); font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; margin: 0 0 1.4rem; }
.hero h1 em { font-style: normal; color: var(--ep-blue-dk); }
.hero-lead { color: var(--ep-text); font-size: 1.2rem; max-width: 540px; margin-bottom: 2.1rem; }
.hero-actions .btn { margin: 0 .6rem .6rem 0; }
.hero-badges { margin-top: 1.6rem; margin-left: -1.6rem; clip-path: inset(0 0 0 1.6rem); display: flex; flex-wrap: wrap; gap: .25rem 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ep-navy); }
/* every item carries its own leading "/"; the one that starts each line falls in the clipped gutter */
.hero-badges span::before { content: "/"; display: inline-block; width: 1.6rem; text-align: center; color: var(--ep-blue); font-weight: 400; }
@media (max-width: 767.98px) { .hero { padding: 3.25rem 0 4rem; } }

/* trust bar (client logos) */
.trust { padding: 2rem 0 1.75rem; border-bottom: 1px solid var(--ep-line); background: #fff; }
.trust-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); margin-bottom: 1.25rem; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.25rem; }
.trust-logos img { height: 84px; width: auto; max-width: 180px; mix-blend-mode: multiply; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.trust-logos img:hover { filter: none; opacity: 1; }
/* logos delivered white-on-dark: inverted so they read like the rest (dark mark, background falls away) */
.trust-logos img.logo-invert, .trust-logos img.logo-invert:hover { filter: grayscale(1) invert(1) contrast(1.6) brightness(1.08); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--ep-bg); }
.section-title { text-align: center; max-width: 780px; margin: 0 auto 3.25rem; }
.section-title.text-start { margin-left: 0; margin-right: 0; }
.kicker { display: inline-block; color: var(--ep-blue-dk); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; }
.section-title h2, .h-section { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 0 0 1rem; }
.section-title h2 strong, .h-section strong, h2 > strong { font-weight: inherit; color: var(--ep-blue-dk); }
.section-title p { font-size: 1.1rem; margin: 0; }
.section-title.is-left { text-align: left; margin: 0 0 1.5rem; }

/* ---------- Cards ---------- */
.g-card { background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 1.9rem 1.75rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.g-card:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-lg); border-color: transparent; }
.g-card.static:hover { transform: none; box-shadow: none; border-color: var(--ep-line); }
.icon-bubble { width: 48px; height: 48px; border-radius: 10px; background: rgba(27, 163, 221, .1); color: var(--ep-blue-dk); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.1rem; }
.g-card h3, .g-card h4 { font-size: 1.15rem; margin: 0 0 .6rem; }
.g-card p { margin: 0; font-size: .98rem; }
.g-card p + p { margin-top: .6rem; }

/* "Why EasyPier": bento of numbered cards, some with small HTML drawings of the product */
.why-head { max-width: 760px; margin-bottom: 2.5rem; }
.why-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card { display: flex; flex-direction: column; gap: 1.4rem; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 1.6rem 1.6rem 1.7rem; overflow: hidden; }
.why-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem; }
.why-n { display: block; font-weight: 700; font-size: .9rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--ep-orange); margin-bottom: .45rem; }
.why-card h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.why-card p { margin: 0; font-size: .98rem; }
.why-visual { margin-top: auto; }
.why-wide .why-visual { margin-top: 0; }
.why-tint { background: var(--ep-bg); border-color: transparent; }
.why-dark { background: var(--ep-navy); border-color: var(--ep-navy); color: #c9d6e6; }
.why-dark h3 { color: #fff; }
.why-dark p { color: rgba(255, 255, 255, .8); }
.why-dark .why-n { color: var(--ep-blue-2); }
@media (max-width: 991.98px) { .why-bento { grid-template-columns: repeat(2, 1fr); } .why-wide { grid-template-columns: 1fr; gap: 1.4rem; } }
@media (max-width: 575.98px) { .why-bento { grid-template-columns: 1fr; } .why-wide { grid-column: auto; } }
/* 01 supplies meter (water / power per berth) */
.msu { display: grid; gap: .55rem; background: #fff; border: 1px solid #d5dee7; border-radius: 10px; padding: .85rem 1rem; box-shadow: var(--ep-shadow); font-size: .8rem; }
.msu-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: .6rem; color: var(--ep-navy); font-weight: 600; }
.msu-row i { color: var(--ep-blue-dk); text-align: center; }
.msu-row .fa-bolt { color: #c98a12; }
.msu-row > span { display: grid; gap: 4px; }
.msu-bar { display: block; height: 8px; border-radius: 4px; background: #e9eff4; overflow: hidden; }
.msu-bar span { display: block; height: 100%; border-radius: 4px; background: var(--ep-blue); }
.msu-row:nth-child(2) .msu-bar span { background: #e0a526; }
.msu-row b { font-variant-numeric: tabular-nums; font-size: .78rem; }
/* 02 browser window */
.mbr { border: 1px solid #d5dee7; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--ep-shadow); font-size: .68rem; }
.mbr-bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; background: #edf2f6; }
.mbr-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #cdd7e1; }
.mbr-bar em { flex: 1; margin-left: 6px; font-style: normal; background: #fff; border-radius: 6px; padding: 3px 8px; color: var(--ep-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbr-bar em i { color: var(--ep-green); margin-right: 5px; font-size: .6rem; }
.mbr-app { display: flex; gap: .7rem; align-items: center; padding: 6px 10px; background: var(--ep-navy); color: rgba(255, 255, 255, .6); font-weight: 600; }
.mbr-app b { color: #fff; }
.mbr-app b span { color: var(--ep-blue-2); }
.mbr-app .on { color: #fff; box-shadow: inset 0 -2px 0 var(--ep-blue-2); }
.mbr-body { display: grid; gap: 6px; padding: 10px; }
.mbr-body i { height: 8px; border-radius: 4px; background: #edf2f6; }
.mbr-body i:nth-child(2) { width: 75%; }
.mbr-body i:nth-child(3) { width: 55%; }
.mbr-icons { display: flex; gap: .9rem; margin-top: .9rem; font-size: 1.25rem; color: var(--ep-muted); }
/* 03 report */
.mrp { border: 1px solid #d5dee7; border-radius: 10px; background: #fff; padding: 10px 12px 8px; box-shadow: var(--ep-shadow); }
.mrp-t { font-size: .7rem; font-weight: 700; color: var(--ep-navy); margin-bottom: 8px; }
.mrp-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding-bottom: 14px; position: relative; }
.mrp-bars span { flex: 1; position: relative; background: var(--ep-blue); border-radius: 3px 3px 0 0; opacity: .85; }
.mrp-bars span:nth-last-child(-n+3) { background: var(--ep-blue-dk); opacity: 1; }
.mrp-bars em { position: absolute; left: 0; right: 0; bottom: -14px; text-align: center; font-style: normal; font-size: .58rem; color: var(--ep-muted); }
.mrp-x { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.mrp-x span { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; color: var(--ep-navy); background: var(--ep-bg); border-radius: 6px; padding: .2rem .55rem; }
.mrp-x .fa-file-excel { color: var(--ep-green); }
.mrp-x .fa-file-word { color: #2b5fb4; }
.mrp-x .fa-file-pdf { color: #c53030; }
/* 04 chips */
.why-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.why-chips li { background: #fff; border: 1px solid var(--ep-line); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; color: var(--ep-navy); }
/* 05 settings */
.why-set { margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 10px; overflow: hidden; }
.why-set div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; background: rgba(255, 255, 255, .05); font-size: .85rem; }
.why-set dt { font-weight: 500; color: rgba(255, 255, 255, .7); }
.why-set dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }

/* Standard vs Premium comparison */
.compare-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 1.75rem 1.5rem 1.5rem; }
.compare-card.is-rec { border: 2px solid var(--ep-blue); box-shadow: 0 16px 36px rgba(27, 163, 221, .14); }
.compare-card h3 { font-size: 1.45rem; margin: 0 0 .75rem; display: flex; align-items: center; gap: .6rem; }
.compare-card h3 i { font-size: 1.1rem; color: var(--ep-blue-dk); }
.compare-card .check-list { margin: 0; }
.compare-tag { position: absolute; top: -12px; left: 1.25rem; background: var(--ep-orange); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 6px; }
.sticky-lg { position: sticky; top: 110px; }
@media (max-width: 991.98px) { .sticky-lg { position: static; } }

.module-card { display: block; background: #fff; border-radius: var(--ep-radius); overflow: hidden; border: 1px solid var(--ep-line); border-top: 4px solid var(--ep-blue); height: 100%; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-lg); color: inherit; }
.module-img { height: 200px; background: #fff; overflow: hidden; border-bottom: 1px solid var(--ep-line); }
.module-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: .6rem; transition: transform .5s ease; }
.module-card:hover .module-img img { transform: scale(1.05); }
.module-body { padding: 1.4rem 1.5rem 1.6rem; }
.module-body h3 { margin: 0 0 .25rem; font-size: 1.6rem; }
.module-body small { display: block; color: var(--ep-blue-dk); font-weight: 700; margin-bottom: .5rem; }
.module-body p { margin: 0; font-size: .95rem; }
.module-link { display: inline-block; margin-top: .9rem; font-weight: 800; color: var(--ep-blue-dk); }
.module-link i { transition: transform .2s; margin-left: .25rem; }
.module-card:hover .module-link i { transform: translateX(5px); }

.split-img, .shot { border-radius: var(--ep-radius); box-shadow: var(--ep-shadow-lg); width: 100%; display: block; }
.shot-sm { border-radius: var(--ep-radius-sm); box-shadow: var(--ep-shadow); }
/* screenshot in a browser frame */
.shot-frame { background: #fff; border: 1px solid #d5dee7; border-radius: 12px; box-shadow: var(--ep-shadow-lg); padding: .6rem; }
.shot-frame img { display: block; width: 100%; border-radius: 6px; }
.banner-img { border-radius: var(--ep-radius); box-shadow: var(--ep-shadow); width: 100%; display: block; transition: transform .3s ease; }
.banner-img:hover { transform: scale(1.012); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { padding: .35rem 0 .35rem 2.1rem; position: relative; color: #33404f; }
.check-list li::before { content: "\f00c"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .5rem; width: 22px; height: 22px; border-radius: 50%; background: rgba(31, 138, 91, .14); color: var(--ep-green); font-size: .65rem; text-align: center; line-height: 22px; }

/* CTA band */
.cta-band { color: #fff; border-radius: 20px; padding: 3.5rem 3rem 4rem; position: relative; overflow: hidden; box-shadow: var(--ep-shadow-lg); background-color: var(--ep-navy);
    background-image: var(--ep-swell); background-repeat: no-repeat; background-size: 100% 40px; background-position: left bottom 4px; }
.cta-band::before { content: ""; position: absolute; right: 7%; top: 24px; width: 150px; height: 18px; border-radius: 3px 50% 50% 3px; background: rgba(92, 200, 242, .32); box-shadow: -70px 34px 0 -1px rgba(255, 255, 255, .1); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band h2 strong { font-weight: inherit; color: #8fd6f5; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .75rem; }
.cta-actions .cta-talk { flex-basis: 100%; text-align: right; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; }
.cta-actions .cta-talk:hover { color: #fff; }
.cta-actions .cta-talk i { margin-left: .3rem; font-size: .8em; transition: transform .2s; }
.cta-actions .cta-talk:hover i { transform: translateX(4px); }
@media (max-width: 991.98px) { .cta-actions { justify-content: flex-start; } .cta-actions .cta-talk { text-align: left; } .cta-band { padding: 2.5rem 1.75rem 3.25rem; } .cta-band::before { display: none; } }

/* ---------- Product / feature pages ---------- */
.product-nav { display: flex; gap: .5rem; justify-content: space-between; }
.product-nav a { display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding: 0 1rem; border-radius: 8px; background: var(--ep-bg); color: var(--ep-navy); font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.product-nav a i { font-size: .75rem; }
.product-nav a:hover { background: var(--ep-navy); color: #fff; }
.carousel.shots { border-radius: var(--ep-radius); overflow: hidden; box-shadow: var(--ep-shadow-lg); background: var(--ep-bg); border: 1px solid var(--ep-line); }
.carousel.shots img { width: 100%; display: block; }
.carousel.shots .carousel-indicators [data-bs-target] { background-color: var(--ep-navy); }
.carousel.shots .carousel-control-prev-icon, .carousel.shots .carousel-control-next-icon { background-color: rgba(10, 37, 64, .7); border-radius: 50%; background-size: 55%; width: 2.4rem; height: 2.4rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px dashed #d5dee7; color: #33404f; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before { content: "\f058"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .55rem; color: var(--ep-green); }
/* feature row: text + screenshot, alternating */
.feature-row { padding: 3rem 0; border-top: 1px solid var(--ep-line); }
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row h3 { font-size: 1.6rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .7rem; }
.feature-row h3 i { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(27, 163, 221, .1); color: var(--ep-blue-dk); display: grid; place-items: center; font-size: 1.05rem; }
.feature-row img { cursor: zoom-in; }
/* in-page section index (features page) */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 0 3rem; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--ep-line); background: #fff; color: var(--ep-navy); font-weight: 600; font-size: .9rem; transition: border-color .2s, color .2s, background .2s; }
.toc a i { color: var(--ep-blue-dk); font-size: .85rem; }
.toc a:hover { border-color: var(--ep-blue); color: var(--ep-blue-dk); }
/* image lightbox (site.js: [data-zoom]) */
.zoom-modal .modal-content { background: transparent; border: 0; }
.zoom-modal img { display: block; width: 100%; border-radius: 10px; box-shadow: var(--ep-shadow-lg); background: #fff; }
.zoom-modal .btn-close { position: absolute; top: -2.4rem; right: 0; filter: invert(1); opacity: .9; }

/* ---------- Pricing ---------- */
.plan { background: #fff; border: 1px solid var(--ep-line); border-radius: 18px; padding: 2.1rem 1.9rem 1.9rem; height: 100%; box-shadow: var(--ep-shadow); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-lg); }
.plan h3 { font-size: 1.15rem; line-height: 1.4; margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ep-line); }
.plan .price { display: block; margin-top: .8rem; font-family: var(--font-display); font-size: 3.2rem; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--ep-navy); }
.plan .price small { font-family: var(--bs-font-sans-serif); font-size: .92rem; font-weight: 500; color: var(--ep-muted); letter-spacing: 0; }
.plan .btn { display: block; margin-bottom: 1.4rem; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan ul li { padding: .65rem 0; border-top: 1px solid var(--ep-line); font-size: .95rem; }
.plan ul li:first-child { border-top: 0; }
.plan ul li b { color: var(--ep-navy); }
.plan.popular { border: 2px solid var(--ep-blue); box-shadow: 0 20px 48px rgba(27, 163, 221, .18); }
@media (min-width: 992px) { .plan.popular { transform: translateY(-8px); } .plan.popular:hover { transform: translateY(-12px); } }
.plan-ribbon { position: absolute; top: 18px; right: 18px; background: var(--ep-orange); color: #fff; padding: .25rem .7rem; border-radius: 6px; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.plan ul.check-list { margin: .5rem 0 0; }
.plan ul.check-list li { padding: .3rem 0 .3rem 2.1rem; border-top: 0; font-size: .92rem; }
.plan ul.check-list li::before { top: .38rem; }
.plan ul.check-list ul.check-list { margin: .15rem 0 .2rem; }
.plan ul.check-list ul.check-list li { padding-left: 1.9rem; font-size: .88rem; color: var(--ep-muted); }
.plan ul.check-list ul.check-list li::before { background: rgba(27, 163, 221, .12); color: var(--ep-blue-dk); }

/* ---------- Logo grids (customers, marketplace, partners) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.logo-tile { background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius-sm); height: 110px; display: flex; align-items: center; justify-content: center; padding: 1rem; transition: box-shadow .25s, transform .25s; }
.logo-tile:hover { box-shadow: var(--ep-shadow); transform: translateY(-3px); }
.logo-tile img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter-bar button { border: 1px solid var(--ep-line); background: #fff; color: var(--ep-navy); border-radius: 8px; padding: .45rem 1.1rem; font-weight: 700; font-size: .9rem; transition: all .2s; }
.filter-bar button:hover { border-color: var(--ep-blue); color: var(--ep-blue-dk); }
.filter-bar button.active { background: var(--ep-navy); border-color: var(--ep-navy); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Marketplace page (partner cards) ---------- */
.mk-filter { max-width: 1080px; margin-left: auto; margin-right: auto; }
.mk-filter button { padding: .38rem .95rem; font-size: .85rem; } 
.mk-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .25s, transform .25s, border-color .25s; }
.mk-card:hover { box-shadow: var(--ep-shadow-lg); border-color: transparent; color: inherit; }
.mk-logo { height: 180px; padding: 0; background: #fff; overflow: hidden; }
.mk-logo img { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; transition: transform .3s ease; }
.mk-card:hover .mk-logo img { transform: translateZ(0) scale(1.03); }
.mk-body { display: block; padding: .9rem 2.8rem .95rem 1.1rem; background: var(--ep-bg); flex: 1; }
.mk-name { display: block; color: var(--ep-navy); font-size: 1rem; line-height: 1.25; }
.mk-type { display: block; margin-top: .2rem; color: var(--ep-muted); font-size: .82rem; }
.mk-go { position: absolute; right: .9rem; bottom: .9rem; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--ep-navy); color: #fff; font-size: .72rem; opacity: .9; transition: transform .25s, background .25s; } 
.mk-card:hover .mk-go { transform: scale(1.1); opacity: 1; background: var(--ep-blue-dk); }

/* ---------- Customers ---------- */
.client-card { display: flex; flex-direction: column; padding: 1.5rem; }
.client-logo { display: flex; align-items: center; justify-content: center; background: var(--ep-bg); border-radius: var(--ep-radius-sm); padding: 0; margin-bottom: 1.25rem; overflow: hidden; }
.client-logo img { max-width: 100%; object-fit: contain; width: 100%; mix-blend-mode: multiply; }
.client-card h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
.client-type { display: inline-block; align-self: flex-start; background: rgba(27, 163, 221, .1); color: var(--ep-blue-dk); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 6px; padding: .22rem .7rem; margin-bottom: .9rem; }
.client-desc p { font-size: .94rem; margin: 0 0 .6rem; }
.client-desc p:last-child { margin-bottom: 0; }
.client-meta { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.client-meta li { display: inline-flex; align-items: center; gap: .35rem; background: var(--ep-bg); border-radius: 6px; padding: .2rem .6rem; font-size: .8rem; font-weight: 600; color: var(--ep-navy); }
.client-meta i { color: var(--ep-blue-dk); }

/* ---------- Legal / long text ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.prose h4, .prose h5 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose p, .prose li { color: #33404f; }
.prose a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose a.btn { text-decoration: none; }
.prose table { width: 100%; margin: 1.25rem 0; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--ep-line); padding: .6rem .8rem; vertical-align: top; }
.prose th { background: var(--ep-bg); color: var(--ep-navy); }
.prose .table-wrap { overflow-x: auto; }
.data-box { background: var(--ep-bg); border: 1px solid var(--ep-line); border-radius: var(--ep-radius-sm); padding: 1.25rem 1.5rem; margin: 1rem 0 2rem; }
.data-box > :last-child { margin-bottom: 0; }
.doc-download { display: inline-flex; align-items: center; gap: .6rem; }

/* ---------- Sitemap ---------- */
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { margin: 0 0 .5rem; }
.sitemap-list a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.sitemap-list a i { font-size: .75rem; color: var(--ep-blue); }
.sitemap-list ul { list-style: none; padding: .5rem 0 .25rem 1.4rem; margin: 0; border-left: 2px solid var(--ep-line); }

/* ---------- Forms ---------- */
.form-control, .form-select { border: 1px solid #cdd7e1; border-radius: 8px; padding: .7rem 1rem; box-shadow: none; }
.form-control:focus, .form-select:focus { border-color: var(--ep-blue); box-shadow: 0 0 0 4px rgba(27, 163, 221, .15); }
label, .form-label { font-weight: 700; color: var(--ep-navy); font-size: .9rem; margin-bottom: .35rem; }
.alert { border: 0; border-radius: 10px; }
.contact-info { list-style: none; padding: 0; }
.contact-info li { display: flex; gap: .9rem; margin-bottom: 1rem; }
.contact-info i { width: 22px; color: var(--ep-blue-dk); margin-top: .3rem; text-align: center; }
.map-box { height: 360px; width: 100%; background: var(--ep-bg); }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ep-navy); color: #b2c1d4; margin-top: 5rem; }
/* the logo swell along the top edge of the footer */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 30px; background: var(--ep-swell) no-repeat left top / 100% 100%; opacity: .9; pointer-events: none; }
.footer-main { padding-top: 4.25rem; padding-bottom: 2.25rem; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.1rem; }
.site-footer p, .site-footer li { color: #b2c1d4; }
.site-footer a { color: #d4e6f7; }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: #e6f0fa; font-weight: 700; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .6rem; font-size: .95rem; }
.footer-contact i { color: var(--ep-blue-2); width: 18px; margin-top: .3rem; text-align: center; }
.footer-member { display: inline-block; opacity: .85; transition: transform .2s; }
.footer-member:hover { opacity: 1; transform: translateY(-3px); }
.footer-member img { width: 130px; height: auto; display: block; }
.newsletter .form-control { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 8px 0 0 8px; }
.newsletter .form-control::placeholder { color: #9db0c8; }
.newsletter .btn { border-radius: 0 8px 8px 0; background: var(--ep-orange); color: #fff; padding: 0 1.3rem; }
.newsletter .btn:hover { background: #b03a14; transform: none; }
.newsletter-consent { display: flex; gap: .55rem; align-items: flex-start; margin: .75rem 0 .4rem; font-weight: 400; font-size: .85rem; color: #c9d6e6; cursor: pointer; }
.newsletter-consent input { margin-top: .25rem; flex: none; accent-color: var(--ep-blue-2); }
.newsletter-legal { font-size: .72rem; line-height: 1.5; color: #9db0c8; margin: 0; }
.newsletter-legal a { color: #c9d6e6; text-decoration: underline; }
/* anti-spam honeypot (see Newsletter.ashx): off-screen, never visible or focusable */
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.social-link { display: inline-flex; width: 40px; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff !important; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.social-link:hover { background: var(--ep-blue-dk); transform: translateY(-3px); }
.footer-bottom { background: rgba(0, 0, 0, .22); padding: 1.3rem 0; font-size: .87rem; }
.footer-bottom p { margin: 0; color: #9db0c8; }
/* the footer logo GIF is white-on-black: let its black fall away into the navy */
.footer-bottom img { max-height: 38px; width: auto; mix-blend-mode: lighten; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: flex-end; }
.footer-links a { color: #9db0c8; font-size: .85rem; }
@media (max-width: 767.98px) { .footer-links { justify-content: flex-start; margin-top: .8rem; } }

/* cookie consent (see /site/js/cookie-consent.js) */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; max-width: 760px; margin: 0 auto; background: rgba(10, 37, 64, .98); color: #e6f0fa; border-radius: 12px; padding: 1.1rem 1.35rem; box-shadow: var(--ep-shadow-lg); font-size: .9rem; line-height: 1.55; }
.cc[hidden], .cc [hidden] { display: none !important; }
.cc-title { color: #fff; font-family: var(--bs-font-sans-serif); font-size: 1.05rem; font-weight: 700; margin: 0 0 .4rem; }
.cc p { margin: 0 0 .85rem; color: #e6f0fa; }
.cc a { color: #8fd6f5; text-decoration: underline; }
.cc-prefs { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: .75rem; margin-bottom: .85rem; }
.cc-opt { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 .55rem; font-weight: 400; font-size: .88rem; color: #e6f0fa; cursor: pointer; }
.cc-opt input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--ep-blue-2); }
.cc-opt input:disabled { cursor: not-allowed; }
.cc-opt strong { color: #fff; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
/* accept and reject share the same visual weight on purpose (AEPD: equal prominence) */
.cc-btn { border: 1px solid #fff; background: #fff; color: var(--ep-navy); border-radius: 999px; padding: .4rem 1.2rem; font-weight: 600; font-size: .88rem; cursor: pointer; }
.cc-btn:hover { background: #e6f0fa; }
.cc-btn.cc-btn-ghost { background: transparent; color: #fff; }
.cc-btn.cc-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.cc-btn:focus-visible { outline: 3px solid #8fd6f5; outline-offset: 2px; }
@media (max-width: 575.98px) { .cc-actions .cc-btn { flex: 1 1 auto; } }
/* third-party embeds held back until consent */
.embed-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; color: var(--ep-text); }
.embed-placeholder p { max-width: 520px; margin: 0; font-size: .92rem; }
.embed-placeholder .btn { background: var(--ep-blue-dk); color: #fff; border-radius: 999px; padding: .4rem 1.3rem; }

/* ---------- Scroll reveal ---------- */
/* only hidden when JS is running (html.js is set inline in the Master head), so content never stays invisible */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Home hero: interactive Marina Chart demo ----------
   An HTML/SVG redraw of the EasyPier "Marina Chart" screen with invented sample data.
   Berth selection, boat-type filter and search are wired in site.js. */
.mc-figure { margin: 0; }
@media (min-width: 992px) { .mc-figure { margin-right: -5%; } }
.mc { --st-contract: #0a72a5; --st-transit: #1f8a5b; --st-arrival: #d2461b; position: relative; background: #f3f6f8; border: 1px solid #d5dee7; border-radius: 12px; box-shadow: var(--ep-shadow-lg); overflow: hidden; font-size: 12px; line-height: 1.3; color: #22324a; text-align: left; }
.mc-top { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: var(--ep-navy); color: #fff; font-weight: 700; font-size: 12.5px; }
.mc-dots { display: flex; gap: 5px; }
.mc-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border-bottom: 1px solid #e2e8ee; }
.mc-in { border: 1px solid #d3dbe3; border-radius: 4px; padding: 4px 8px; background: #fff; white-space: nowrap; font-weight: 400; color: inherit; font-size: inherit; margin: 0; }
.mc-in i { margin-left: 14px; font-size: 9px; color: #7a8696; }
.mc-search { flex: 1 1 140px; display: flex; align-items: center; gap: 6px; cursor: text; }
.mc-search i { margin: 0; }
.mc-search input { flex: 1; min-width: 0; border: 0; padding: 0; background: transparent; font: inherit; color: #14233a; outline: 0; }
.mc-search input::placeholder { color: #8893a2; }
.mc-search:focus-within { border-color: var(--ep-blue); box-shadow: 0 0 0 3px rgba(27, 163, 221, .15); }
.mc-seg { display: flex; border: 1px solid #d3dbe3; border-radius: 4px; overflow: hidden; background: #eff3f6; }
.mc-seg button { padding: 4px 10px; color: #6f7b8b; border: 0; background: transparent; font: inherit; cursor: pointer; }
.mc-seg button.on { background: #fff; color: #14233a; font-weight: 700; }
.mc-seg button:not(.on):hover { color: #14233a; }
.mc-seg button:focus-visible { outline: 2px solid var(--ep-blue); outline-offset: -2px; }
.mc-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #e2e8ee; border-bottom: 1px solid #e2e8ee; }
.mc-kpis div { background: #fff; padding: 7px 10px; }
.mc-kpis b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.02em; color: #14233a; font-variant-numeric: tabular-nums; }
.mc-kpis span { display: block; font-size: 8.5px; letter-spacing: .05em; text-transform: uppercase; color: #7a8696; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-kpis .k-contract { color: var(--st-contract); }
.mc-kpis .k-transit { color: var(--st-transit); }
.mc-kpis .k-arrival { color: var(--st-arrival); }
.mc-kpis .k-free { color: #6f7b8b; }
.mc-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; }
.mc-map { background: var(--ep-water); padding: 6px; }
.mc-map svg { display: block; width: 100%; height: auto; font-family: var(--bs-font-sans-serif); }
.mc-land { fill: #e9e4d8; }
.mc-pier { fill: var(--ep-pier); }
.mc-finger { fill: #d8cdba; }
.mc-bld rect { fill: #fff; stroke: #cfc6b4; }
.mc-bld text { font-size: 9px; font-weight: 600; fill: #6a6150; text-anchor: middle; }
.mc-dock { font-size: 9px; font-weight: 700; letter-spacing: .08em; fill: #0a2540; text-anchor: middle; }
.mc-b { cursor: pointer; outline: none; }
.mc-slot { fill: transparent; }
.mc-hull { stroke: rgba(255, 255, 255, .9); stroke-width: 1; transition: opacity .2s, stroke .15s, stroke-width .15s; }
.mc-b[data-st="contract"] .mc-hull { fill: var(--st-contract); }
.mc-b[data-st="transit"] .mc-hull { fill: var(--st-transit); }
.mc-b[data-st="arrival"] .mc-hull { fill: #fff3ec; stroke: var(--st-arrival); stroke-width: 1.6; stroke-dasharray: 3 2; }
.mc-mast { fill: rgba(255, 255, 255, .95); }
.mc-cabin { fill: rgba(255, 255, 255, .55); }
.mc-b[data-st="arrival"] .mc-mast, .mc-b[data-st="arrival"] .mc-cabin { fill: rgba(210, 70, 27, .55); }
.mc-free { fill: rgba(255, 255, 255, .55); stroke: #8fa3b5; stroke-width: 1; stroke-dasharray: 3 3; transition: fill .2s; }
.mc-b:hover .mc-hull, .mc-b:focus-visible .mc-hull { stroke: #0a2540; stroke-width: 1.8; }
.mc-b:hover .mc-free, .mc-b:focus-visible .mc-free { fill: #fff; stroke: #0a2540; }
.mc-b.sel .mc-hull, .mc-b.sel .mc-free { stroke: #0a2540; stroke-width: 2.4; stroke-dasharray: none; }
.mc-b.sel .mc-slot { fill: rgba(255, 255, 255, .45); }
.mc-b.dim { opacity: .18; }
.mc-info { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #fff; border-left: 1px solid #e2e8ee; }
.mc-hint { margin: 0; color: #6f7b8b; font-size: 11.5px; }
.mc-info dl { margin: 0; display: grid; gap: 1px; background: #e9eef3; border: 1px solid #e2e8ee; border-radius: 6px; overflow: hidden; }
.mc-info dl[hidden], .mc-info [hidden] { display: none !important; }
.mc-info dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; background: #fff; }
.mc-info dt { font-weight: 500; color: #6f7b8b; font-size: 10.5px; }
.mc-info dd { margin: 0; font-weight: 700; color: #14233a; text-align: right; font-size: 11px; }
.mc-info .mc-info-h { background: #f3f7fa; }
.mc-info .mc-info-h dd { font-size: 13px; }
.mc-info dd .st { display: inline-flex; align-items: center; gap: 5px; }
.mc-info dd .st::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.mc-new { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; padding: 6px 8px; background: var(--ep-orange); color: #fff; font-weight: 700; font-size: 11px; }
.mc-empty { margin: 0; color: #6f7b8b; font-style: italic; }
.mc-legend { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid #e9eef3; display: grid; gap: 5px; font-size: 10.5px; color: #4a5565; }
.mc-legend li { display: flex; align-items: center; gap: 7px; }
.mc-legend i { width: 18px; height: 9px; border-radius: 2px 50% 50% 2px; }
.lg-contract { background: var(--st-contract); }
.lg-transit { background: var(--st-transit); }
.lg-arrival { background: #fff3ec; box-shadow: inset 0 0 0 1.5px var(--st-arrival); }
.lg-free { background: #fff; box-shadow: inset 0 0 0 1px #8fa3b5; border-radius: 2px !important; }
.mc-caption { margin-top: .75rem; font-size: .8rem; line-height: 1.5; color: var(--ep-muted); }
@media (max-width: 767.98px) {
    .mc-body { grid-template-columns: 1fr; }
    .mc-info { border-left: 0; border-top: 1px solid #e2e8ee; }
    .mc-legend { grid-template-columns: 1fr 1fr; }
    .mc-kpis span { font-size: 7.5px; }
    .mc-kpis b { font-size: 15px; }
}
/* entrance on page load only (site.js adds .play once and drops it on the first interaction) */
.mc.play .mc-b { animation: mcIn 360ms cubic-bezier(.23, 1, .32, 1) backwards; animation-delay: calc(120ms + var(--i, 0) * 14ms); }
@keyframes mcIn { from { opacity: 0; } }

/* ---------- Touch devices: no hover lift ---------- */
@media (hover: none) {
    .btn-brand:hover, .btn-primary:hover, .btn-orange:hover, .btn-light:hover, .btn-ghost:hover, .btn-outline-brand:hover,
    .g-card:hover, .module-card:hover, .module-card:hover .module-img img, .module-card:hover .module-link i,
    .banner-img:hover, .plan:hover, .logo-tile:hover, .mk-card:hover, .mk-card:hover .mk-logo img,
    .mk-card:hover .mk-go, .social-link:hover, .footer-member:hover { transform: none; }
    .g-card:hover, .module-card:hover, .logo-tile:hover, .mk-card:hover { box-shadow: none; }
    .g-card:hover, .mk-card:hover { border-color: var(--ep-line); }
    .plan:hover { box-shadow: var(--ep-shadow); }
    .plan.popular:hover { box-shadow: 0 20px 48px rgba(27, 163, 221, .18); }
}
@media (hover: none) and (min-width: 992px) { .plan.popular:hover { transform: translateY(-8px); } }

/* ---------- Home: "Novedades" and "EasyPier Insights" (category pages of the blog, see BlogFeed.cs) ---------- */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.news-head .section-title { margin: 0; }
.news-all { font-weight: 700; color: var(--ep-blue-dk); white-space: nowrap; }
.news-all i { margin-left: .3rem; transition: transform .2s; }
.news-all:hover i { transform: translateX(4px); }
.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); overflow: hidden; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-lg); border-color: transparent; color: inherit; }
.news-img { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--ep-bg); border-bottom: 1px solid var(--ep-line); overflow: hidden; color: var(--ep-blue); font-size: 2rem; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.news-body time { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); }
.news-body h3 { font-size: 1.15rem; line-height: 1.35; margin: .4rem 0 .5rem; }
.news-body p { font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .module-link { margin-top: auto; padding-top: .9rem; }
.news-card:hover .module-link i { transform: translateX(5px); }
@media (hover: none) { .news-card:hover, .news-card:hover .news-img img { transform: none; } .news-card:hover { box-shadow: none; border-color: var(--ep-line); } }


.section.insights { padding: 4rem 0; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ins-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); overflow: hidden; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ins-card:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-lg); border-color: transparent; color: inherit; }
.ins-img { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--ep-navy); overflow: hidden; color: var(--ep-blue-2); font-size: 2.5rem; }
.ins-img { position: relative; isolation: isolate; }
.ins-img::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--cover, none) center / cover no-repeat; filter: blur(22px) saturate(1.15) brightness(.8); }
.ins-img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.ins-card:hover .ins-img img { transform: scale(1.03); }
.ins-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.ins-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 .4rem; }
.ins-card.has-quote p { color: var(--ep-navy); font-weight: 600; letter-spacing: -.005em; }
.ins-body p { margin: 0; font-size: .95rem; }
.ins-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; }
.ins-foot time { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); }
.ins-foot .module-link { margin: 0; }
.ins-card:hover .module-link i { transform: translateX(5px); }
.ins-card.is-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.ins-card.is-feature .ins-img { aspect-ratio: 1 / 1; align-self: start; }
.ins-card.is-feature .ins-body { justify-content: center; padding: 1.4rem 2rem; }
.ins-card.is-feature h3 { font-size: 1.1rem; margin: 0 0 .6rem; }
.ins-card.is-feature.has-quote p { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; letter-spacing: -.015em; }
.ins-card.is-feature p { font-size: .95rem; line-height: 1.6; max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ins-card.is-feature .ins-foot { margin-top: 1rem; padding-top: 0; }
@media (max-width: 991.98px) { .ins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .ins-grid { grid-template-columns: 1fr; } .ins-card.is-feature { grid-template-columns: 96px minmax(0, 1fr); } .ins-card.is-feature .ins-body { padding: 1rem 1.1rem; } .ins-card.is-feature p { -webkit-line-clamp: 2; } .ins-card .module-link { display: none; } }
@media (hover: none) { .ins-card:hover, .ins-card:hover .ins-img img { transform: none; } .ins-card:hover { box-shadow: none; border-color: var(--ep-line); } }
   (Browsers without :has() keep the simple layout above: featured full width + cards below.) */
.ins-grid:has(> .ins-card:nth-child(2)) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-rows: auto; align-items: stretch; }
.ins-grid:has(> .ins-card:nth-child(2)) .is-feature { grid-column: 1; grid-row: 1; grid-template-columns: 200px minmax(0, 1fr); }
.ins-grid:has(> .ins-card:nth-child(3)) .is-feature { grid-row: 1 / span 2; }
.ins-grid:has(> .ins-card:nth-child(3)) .is-feature .ins-img { aspect-ratio: auto; align-self: stretch; }
.ins-grid:has(> .ins-card:nth-child(2)) .is-feature .ins-body { padding: 1.3rem 1.5rem; }
.ins-grid:has(> .ins-card:nth-child(2)) .is-feature.has-quote p { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) { grid-column: 2; flex-direction: row; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) .ins-img { flex: 0 0 38%; aspect-ratio: 1 / 1; align-self: stretch; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) .ins-body { padding: 1.1rem 1.25rem; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) h3 { font-size: .98rem; margin: 0 0 .3rem; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) .ins-foot { padding-top: .7rem; }
.ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) .module-link { display: none; }
@media (max-width: 991.98px) {
    .ins-grid:has(> .ins-card:nth-child(2)) { grid-template-columns: 1fr; }
    .ins-grid:has(> .ins-card:nth-child(2)) .is-feature { grid-row: auto; }
    .ins-grid:has(> .ins-card:nth-child(2)) .ins-card:not(.is-feature) { grid-column: 1; }
}
@media (max-width: 767.98px) { .ins-grid:has(> .ins-card:nth-child(2)) .is-feature { grid-template-columns: 96px minmax(0, 1fr); } }

/* ---------- Home: Premium visual (Marina Chart + floating cards of the Premium modules) ---------- */
.prem-visual { position: relative; padding: 2.2rem 0 2.6rem 1.5rem; }
.prem-shot { position: relative; }
.prem-card { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--ep-line); border-radius: 12px; padding: .7rem .9rem; box-shadow: var(--ep-shadow-lg); font-size: .8rem; line-height: 1.3; color: var(--ep-text); }
.prem-card b { display: block; color: var(--ep-navy); font-size: .84rem; }
.prem-card small { display: block; color: var(--ep-muted); font-size: .74rem; }
.prem-card > i { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(27, 163, 221, .12); color: var(--ep-blue-dk); font-size: .95rem; }
.prem-access { top: 0; left: 0; }
.prem-access em { margin-left: .4rem; font-style: normal; font-weight: 700; font-size: .72rem; color: var(--ep-green); background: rgba(31, 138, 91, .12); border-radius: 999px; padding: .15rem .55rem; }
.prem-docs { right: -.5rem; top: 38%; flex-direction: column; align-items: stretch; gap: .35rem; min-width: 220px; }
.prem-docs > b { display: flex; align-items: center; gap: .45rem; margin-bottom: .1rem; }
.prem-docs > b i { color: var(--ep-orange); }
.prem-docs > span { display: flex; align-items: center; gap: .45rem; padding-top: .35rem; border-top: 1px solid var(--ep-line); }
.prem-docs > span i { color: var(--ep-blue-dk); width: 14px; text-align: center; }
.prem-docs em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .72rem; color: var(--ep-green); }
.prem-school { bottom: 0; left: 12%; min-width: 230px; }
.prem-school > i { background: rgba(210, 70, 27, .1); color: var(--ep-orange); }
.prem-school > span { flex: 1; }
.prem-bar { display: block; height: 6px; margin-top: .35rem; border-radius: 3px; background: #e9eff4; overflow: hidden; }
.prem-bar span { display: block; width: 80%; height: 100%; border-radius: 3px; background: var(--ep-blue); }
@media (max-width: 575.98px) {
    .prem-visual { padding: 0; display: grid; gap: .6rem; }
    .prem-card { position: static; }
}

/* ---------- Header "Reservar demo" / "Book a demo": the one highlighted action in the menu ---------- */
.nav-main > li > a.nav-demo { background: var(--ep-orange); color: #fff; border-radius: 10px; padding: .5rem 1rem; margin-left: .35rem; }
.nav-main > li > a.nav-demo::after { display: none; }
.nav-main > li > a.nav-demo:hover, .nav-main > li.active > a.nav-demo { background: #b03a14; color: #fff; }
@media (max-width: 1199.98px) { .nav-main > li > a.nav-demo { margin: .5rem 0 0; text-align: center; } }
