:root {
  --navy: #002f5f;
  --navy-2: #07517c;
  --teal: #009fc4;
  --teal-dark: #007f9f;
  --red: #e21e2b;
  --sky: #e9f8fc;
  --ice: #f4f9fb;
  --white: #ffffff;
  --ink: #152937;
  --muted: #587080;
  --line: #d8e4e8;
  --shadow: 0 24px 65px rgba(7, 31, 51, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--navy); padding: .65rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  color: var(--teal-dark); text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; font-weight: 800; margin: 0 0 .8rem;
}
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin-top: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin-top: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 720px; }
.muted { color: var(--muted); }
.section { padding: 6.5rem 0; }
.section-soft { background: var(--ice); }
.section-dark { background: var(--navy); color: #dcecf1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #64d6d0; }

.topbar { background: #041522; color: #d9e9ee; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1.5rem; padding: .45rem 0; }
.topbar a { text-decoration: none; }
.topbar-contact { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar-contact a + a { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.28); }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(7,31,51,.09); backdrop-filter: blur(14px);
}
.nav { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { display: block; width: clamp(278px, 30vw, 414px); height: 93px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 700; color: #2a4656; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); }
.menu-button { display: none; border: 0; background: none; color: var(--navy); padding: .5rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.2rem; border: 1px solid transparent; border-radius: 999px;
  color: var(--white); background: var(--teal); text-decoration: none; font-weight: 800;
  transition: .2s ease; cursor: pointer;
}
.button:hover { transform: translateY(-2px); background: var(--teal-dark); box-shadow: 0 12px 28px rgba(11,143,138,.22); }
.button-red { background: var(--red); }
.button-red:hover { background: #b92034; box-shadow: 0 12px 28px rgba(213,43,63,.24); }
.button-light { background: var(--white); color: var(--navy); }
.button-outline { background: transparent; border-color: currentColor; color: var(--navy); }
.button-small { min-height: 42px; padding: .6rem 1rem; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero {
  position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden;
  background: var(--navy) url("westmed-maritime-hero.webp") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,28,59,.97) 0%, rgba(0,47,95,.84) 36%, rgba(0,47,95,.22) 68%, rgba(0,47,95,.08) 100%);
}
.hero-content { position: relative; z-index: 1; color: #dcecf1; max-width: 720px; padding: 7rem 0; }
.hero h1 { color: var(--white); margin-bottom: 1.35rem; }
.hero .lead { color: #d2e2e8; max-width: 650px; }
.hero .eyebrow { color: #6ce0d8; }
.hero-note {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 2rem; font-size: .9rem; color: #c7dae2;
}
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6ce0d8; box-shadow: 0 0 0 6px rgba(108,224,216,.13); }

.proof-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.45rem 1rem; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--navy); }
.proof-item span { color: var(--muted); font-size: .88rem; }

.coverage-section { background: linear-gradient(135deg, #f3fbfd, #ffffff); border-bottom: 1px solid var(--line); }
.coverage-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.coverage-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; margin-top: 1.5rem; }
.coverage-list span { display: grid; gap: .15rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--muted); font-size: .88rem; }
.coverage-list strong { color: var(--navy); font-size: .96rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.35rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 12px 36px rgba(7,31,51,.06);
}
.card:hover { border-color: #afd5d7; }
.icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.3rem;
  border-radius: 16px; color: var(--teal-dark); background: var(--sky);
}
.icon svg { width: 26px; height: 26px; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { gap: .65rem; }

.package { position: relative; padding-top: 2.5rem; }
.package.featured { border: 2px solid var(--teal); transform: translateY(-8px); box-shadow: var(--shadow); }
.tag {
  position: absolute; top: 0; right: 1.2rem; transform: translateY(-50%);
  border-radius: 999px; background: var(--teal); color: var(--white); padding: .35rem .75rem;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.price { color: var(--navy); font-size: 2.1rem; font-weight: 900; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.list li { position: relative; padding: .42rem 0 .42rem 1.6rem; color: #405c6b; }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 900; }

.product {
  position: relative; min-height: 370px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); border-radius: 28px; padding: 2.4rem; background: var(--navy);
}
.product::before {
  content: ""; position: absolute; width: 290px; height: 290px; border-radius: 50%; top: -100px; right: -80px;
  background: radial-gradient(circle at 35% 35%, rgba(108,224,216,.45), rgba(11,143,138,.05) 70%);
}
.product.red::before { background: radial-gradient(circle at 35% 35%, rgba(255,113,130,.42), rgba(213,43,63,.04) 70%); }
.product > * { position: relative; z-index: 1; }
.product h3 { color: var(--white); font-size: 2rem; max-width: 420px; }
.product p { color: #d3e4e9; max-width: 520px; }
.product-badge { align-self: flex-start; margin-bottom: auto; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .45rem .75rem; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.product-photo-card {
  overflow: hidden; padding: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.product-photo-card img {
  width: 100%; aspect-ratio: 1 / .82; object-fit: contain; background: #fff;
  padding: 1rem;
}
.product-photo-card .product-copy { padding: 1.6rem 1.8rem 1.9rem; }
.product-photo-card .product-copy h3 { margin-bottom: .55rem; }
.product-photo-card img.pureguard-card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 7%; padding: 0; }
.pureguard-artwork { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.pureguard-image-crop { aspect-ratio: 2 / 2.58; overflow: hidden; background: #fff; }
.pureguard-image-crop img { width: 100%; height: 116%; object-fit: cover; object-position: top center; }
.pureguard-artwork figcaption { padding: .9rem 1rem 1rem; color: var(--muted); font-size: .82rem; font-weight: 700; text-align: center; }
.pureguard-artwork figcaption a { color: var(--teal-dark); }
.product-series {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 3rem;
  padding: 3rem 0;
}
.product-series + .product-series { border-top: 1px solid var(--line); }
.product-series + .product-series .series-copy { order: 2; }
.product-series + .product-series .product-gallery { order: 1; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.product-gallery figure {
  margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 12px 36px rgba(0,47,95,.08);
}
.product-gallery img { width: 100%; aspect-ratio: 1 / .9; object-fit: contain; padding: .55rem; background: #fff; }
.product-gallery figcaption { padding: .7rem 1rem 1rem; color: var(--muted); font-size: .8rem; font-weight: 800; text-align: center; }

.steps { counter-reset: steps; }
.step { position: relative; padding: 1.7rem 1rem 1.7rem 4.5rem; border-top: 1px solid rgba(255,255,255,.16); }
.step::before {
  counter-increment: steps; content: "0" counter(steps); position: absolute; left: .1rem; top: 1.45rem;
  color: #6ce0d8; font-weight: 900; font-size: 1.4rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: #b9d0d8; margin-bottom: 0; }

.page-hero { padding: 7.5rem 0 5rem; background: linear-gradient(140deg, var(--navy), #006b91); color: #d6e8ed; }
.page-hero h1 { color: var(--white); max-width: 950px; margin-bottom: 1.4rem; }
.page-hero .lead { color: #c6dce4; }
.callout { border-left: 4px solid var(--teal); background: var(--sky); padding: 1.5rem 1.7rem; border-radius: 0 18px 18px 0; }

.quote-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #bdced4; border-radius: 12px; padding: .75rem .85rem;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(11,143,138,.18); border-color: var(--teal); }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 1rem; }

.cta-band { background: linear-gradient(120deg, #007f9f, var(--navy)); color: var(--white); border-radius: 30px; padding: clamp(2rem,5vw,4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: var(--white); margin-bottom: .7rem; }
.cta-band p { color: #d5e8ed; margin-bottom: 0; }

.footer { background: #041522; color: #bfd2d9; padding: 4rem 0 1.5rem; }
.footer .brand { background: var(--white); border-radius: 16px; padding: .45rem .7rem; }
.footer .brand-logo { width: min(280px, 100%); height: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer a { color: #dceaf0; text-decoration: none; }
.footer a:hover { color: #6ce0d8; }
.footer-links { display: grid; gap: .55rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }

.whatsapp-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1rem; border-radius: 999px; background: #087f5b; color: #fff; text-decoration: none;
  font-weight: 800; box-shadow: 0 16px 36px rgba(4, 21, 34, .28); transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #066c4d; }
.whatsapp-float svg { width: 22px; height: 22px; flex: 0 0 auto; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 104px; flex-direction: column; align-items: stretch; padding: 1rem; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  .proof-grid, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .package.featured { transform: none; }
  .quote-layout, .footer-grid, .coverage-layout { grid-template-columns: 1fr; }
  .product-series { grid-template-columns: 1fr; gap: 1.75rem; }
  .product-series + .product-series .series-copy,
  .product-series + .product-series .product-gallery { order: initial; }
}

@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; }
  .topbar span { display: none; }
  .topbar-contact { justify-content: center; gap: .65rem; }
  .topbar-contact a + a { padding-left: .65rem; }
  .brand-logo { width: 267px; height: 81px; }
  .hero { min-height: 670px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(4,21,34,.96), rgba(4,21,34,.72)); }
  .section { padding: 4.5rem 0; }
  .grid-2, .proof-grid, .form-grid, .coverage-list { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .field-full { grid-column: auto; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: .8rem; bottom: .8rem; min-height: 48px; padding: .7rem .85rem; font-size: .88rem; }
}

@media (max-width: 370px) {
  .brand-logo { width: 220px; height: 72px; }
  .nav { gap: 1rem; }
  .topbar-contact { font-size: .76rem; }
}
