:root {
  --navy: #04224e;
  --navy2: #072f67;
  --sea: #266d9c;
  --pale: #eaf6fb;
  --text: #193c5a;
  --line: #cbdfe9;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: white;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.64
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

button,
select,
input {
  font: inherit
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #54a9cf;
  outline-offset: 3px
}

.container {
  width: min(1110px, calc(100% - 44px));
  margin: auto
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e3edf1;
  position: relative;
  z-index: 10
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 103px
}

.logo {
  display: block;
  width: 226px;
  flex-shrink: 0
}

.logo img {
  width: 100%;
  display: block;
  height: auto
}

.menu {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy)
}

.menu a {
  padding: 15px 1px;
  border-bottom: 3px solid transparent
}

.menu a[aria-current="page"] {
  color: #095185;
  border-color: #267ba9
}

.menu a:hover {
  color: #14658e;
  text-decoration: none
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 5px;
  background: white;
  font-size: 24px;
  cursor: pointer
}

.hero {
  background: #79b3d8 url('../img/OCEAN_HERO_POSTER.jpg') center center /cover no-repeat;
  position: relative;
  color: white;
  min-height: 505px;
  overflow: hidden
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 505px;
  padding: 47px 0 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.09;
  margin: 0 0 21px;
  font-weight: 600;
  color: #fff
}

.quote-form {
  background: #fff;
  color: var(--navy);
  padding: 20px 22px 18px;
  border-radius: 5px;
  box-shadow: 0 7px 28px rgba(2, 27, 57, .24);
  width: min(590px, 100%)
}

.quote-fields {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 14px;
  align-items: end
}

.field label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px
}

.field input,
.field select {
  width: 100%;
  height: 45px;
  border: 1px solid #9ab8c6;
  border-radius: 3px;
  color: var(--text);
  padding: 0 12px;
  background: #fff
}

.primary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 21px;
  min-height: 44px;
  cursor: pointer
}

.primary-btn:hover {
  background: #154873;
  text-decoration: none
}

.quote-form .primary-btn {
  margin-top: 14px;
  width: 100%
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 21px;
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6
}

.contact-strip a {
  text-decoration: underline;
  text-underline-offset: 3px
}

.main-intro {
  background: var(--pale);
  padding: 31px 0;
  border-bottom: 1px solid var(--line)
}

.main-intro h2 {
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 2px;
  font-weight: 700;
  line-height: 1.25
}

.main-intro p {
  margin: 0;
  font-size: 16px;
  color: #2b6483
}

.main-content {
  padding: 42px 0 49px
}

.main-content h2 {
  font-family: Georgia, serif;
  font-size: 35px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px
}

.main-content p {
  font-size: 16px;
  margin: 0 0 16px;
  max-width: 1040px
}

.content-split {
  margin-top: 38px;
  padding-top: 33px;
  border-top: 1px solid var(--line)
}

.content-split h3 {
  font-size: 29px;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 14px
}

.offerings {
  padding-left: 24px;
  margin: 13px 0 5px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px 26px
}

.offerings li {
  font-weight: 700;
  font-size: 16px;
  color: #073865;
  padding: 5px 0
}

.offerings-note {
  font-size: 12px !important;
  color: #61788d
}

.featured {
  background: var(--pale);
  border-top: 1px solid var(--line);
  padding: 42px 0 49px
}

.featured-inner {
  display: grid;
  grid-template-columns: 47% 53%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(5, 30, 65, .06);
  min-height: 350px
}

.featured-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center
}

.featured-copy {
  align-self: center;
  padding: 37px 44px
}

.featured-copy h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 17px
}

.featured-copy p {
  font-size: 16px;
  margin: 0 0 14px
}

.inner-content {
  padding: 48px 0 65px;
  min-height: 300px
}

.inner-content h1 {
  font: 600 39px/1.19 Georgia, serif;
  color: var(--navy);
  margin: 0 0 13px
}

.inner-content h2 {
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 16px
}

.inner-content p {
  max-width: 1000px;
  margin: 0 0 15px
}

.portal-frame {
  display: block;
  width: 100%;
  border: 1px solid #cbdbe4;
  border-radius: 4px;
  background: white;
  min-height: 660px;
  margin: 24px auto
}

.portal-cta {
  border: 1px solid var(--line);
  background: var(--pale);
  border-radius: 5px;
  padding: 18px 21px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 18px 0
}

.portal-cta p {
  margin: 0;
  flex: 1 1 320px
}

.legal-container {
  padding: 45px 0 70px;
  min-height: 460px
}

footer {
  background: var(--navy2);
  color: #f4faff;
  padding: 45px 0 18px;
  border-top: 5px solid var(--navy)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px
}

footer h2 {
  font-size: 21px;
  margin: 0 0 11px;
  color: #fff
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none
}

footer li {
  margin: 5px 0
}

footer a:hover {
  text-decoration: underline
}

footer p {
  margin: 0 0 8px
}

.fax-label {
  font-weight: 600
}

.footer-bottom {
  border-top: 1px solid #54719a;
  margin-top: 28px;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  flex-wrap: wrap
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px
}

.footer-brand img {
  display: block;
  width: 148px;
  height: auto
}

.demo-label {
  display: none
}

@media(max-width:780px) {
  .header-content {
    min-height: 82px
  }

  .logo {
    width: 181px
  }

  .menu-btn {
    display: block
  }

  .menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 22px 22px;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .13);
    flex-direction: column;
    align-items: stretch;
    gap: 1px
  }

  .menu.open {
    display: flex
  }

  .menu a {
    padding: 11px
  }

  .hero,
  .hero-inner {
    min-height: 530px
  }

  .featured-inner {
    grid-template-columns: 1fr
  }

  .featured-photo img {
    height: 310px;
    min-height: 310px
  }

  .offerings {
    grid-template-columns: repeat(2, 1fr)
  }

  .main-intro h2 {
    font-size: 25px
  }
}

@media(max-width:520px) {
  .container {
    width: calc(100% - 32px)
  }

  .header-content {
    min-height: 74px
  }

  .logo {
    width: 165px
  }

  .menu {
    top: 74px
  }

  .hero,
  .hero-inner {
    min-height: 620px
  }

  .hero-inner {
    padding: 32px 0
  }

  .hero:before {
    background: linear-gradient(90deg, rgba(3, 35, 74, .88), rgba(4, 38, 74, .68))
  }

  .hero h1 {
    font-size: 40px
  }

  .quote-form {
    padding: 17px
  }

  .quote-fields {
    grid-template-columns: 1fr
  }

  .main-content {
    padding: 32px 0
  }

  .main-content h2 {
    font-size: 31px
  }

  .main-content p {
    font-size: 15px
  }

  .offerings {
    gap: 4px 18px
  }

  .featured {
    padding: 31px 0
  }

  .featured-photo img {
    height: 230px;
    min-height: 230px
  }

  .featured-copy {
    padding: 28px 22px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .inner-content h1 {
    font-size: 34px
  }

  .portal-frame {
    min-height: 650px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

/* refinements keep Essential header/quote/intro/list/feature/footer section order */
.site-header .logo {
  width: 244px
}

.hero-inner {
  align-items: stretch;
  justify-content: center;
  gap: 12px
}

.hero-heading h1 {
  margin: 0 0 15px
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(285px, 1fr);
  align-items: stretch;
  gap: 25px;
  width: 100%
}

.hero-quote,
.hero-contact {
  min-width: 0
}

.quote-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.quote-form .primary-btn {
  margin-top: 19px
}

.hero-contact {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 22px 26px;
  background: rgba(3, 33, 73, .83);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 5px;
  box-shadow: 0 7px 28px rgba(0, 19, 45, .21);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5
}

.hero-contact h2 {
  font: 600 23px/1.2 Georgia, serif;
  letter-spacing: .1px;
  color: #fff;
  margin: 0 0 7px
}

.contact-line {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 10px 0
}

.contact-line+.contact-line {
  border-top: 1px solid rgba(255, 255, 255, .24)
}

.contact-symbol {
  font-size: 19px;
  line-height: 1.1;
  width: 22px;
  text-align: center;
  color: #c8ebff;
  flex-shrink: 0
}

.contact-kicker {
  font-size: 10px;
  color: #d1e9f5;
  font-weight: 800;
  letter-spacing: 1.4px;
  display: block;
  margin-bottom: 2px
}

.hero-contact a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  color: #fff;
  text-underline-offset: 3px
}

.hero-contact a:hover {
  text-decoration: underline
}

.offerings {
  padding: 0;
  margin: 16px 0 14px;
  gap: 10px 13px;
  list-style: none
}

.offerings li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 53px;
  background: #f0f8fc;
  border: 1px solid #cbdfe9;
  border-left: 4px solid #246e9d;
  border-radius: 5px;
  color: #04224e;
  padding: 10px 15px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(2, 39, 70, .03)
}

.offerings-note {
  display: block;
  margin: 13px 0 0 !important;
  padding: 0;
  color: #667b8b !important;
  font-size: 11px !important;
  line-height: 1.5;
  max-width: 900px
}

.offerings-note span {
  font-weight: 800;
  color: #28587f
}

@media(max-width:930px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .84fr);
    gap: 15px
  }

  .hero-contact {
    padding: 18px
  }

  .hero-contact h2 {
    font-size: 21px
  }

  .site-header .logo {
    width: 208px
  }
}

@media(max-width:780px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .hero-inner {
    padding: 28px 0 31px
  }

  .hero,
  .hero-inner {
    min-height: unset
  }

  .hero-contact {
    gap: 0;
    padding: 16px 20px
  }

  .hero-contact h2 {
    font-size: 19px
  }

  .hero-contact .contact-line {
    padding: 7px 0
  }

  .hero-contact .contact-line a {
    font-size: 13px
  }

  .site-header .logo {
    width: 188px
  }
}

@media(max-width:520px) {
  .site-header .logo {
    width: 171px
  }

  .hero h1 {
    font-size: 39px
  }

  .hero,
  .hero-inner {
    min-height: unset
  }

  .hero-inner {
    padding: 26px 0 29px
  }

  .hero-grid {
    gap: 13px
  }

  .quote-form {
    padding: 17px 18px
  }

  .quote-form .primary-btn {
    margin-top: 15px
  }

  .hero-contact {
    padding: 14px 17px
  }

  .contact-line {
    gap: 8px
  }

  .offerings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px
  }

  .offerings li {
    font-size: 15px;
    min-height: 50px;
    padding: 9px 12px
  }

  .offerings-note {
    font-size: 11px !important
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero,
  html {
    scroll-behavior: auto
  }
}


/* OCEAN INSURANCE | ESSENTIAL TEMPLATE-SAFE VISUAL REFERENCE
   Scope: keep existing page order, controls and navigation. EZLynx must approve CSS insertion.
   This CSS is for the independent preview and OPTIONAL developer implementation only. */
:root {
  --navy: #052653;
  --navy2: #112c41;
  --sea: #257aa7;
  --pale: #edf8fd;
  --text: #193c5a;
  --line: #cbdfe9;
  --white: #fff
}

/* Logos: add breathing room to ALL website pages. Does not enlarge the header beyond its native block. */
.header-content {
  min-height: 112px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.site-header .logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 13px;
  box-sizing: content-box;
  width: 238px;
  max-width: 33vw;
}

.site-header .logo img {
  max-height: 90px;
  width: 100%;
  object-fit: contain;
}

/* Existing hero quote box, without contact card on its right */
.hero {
  min-height: 380px
}

.hero-inner {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 0 34px;
}

.hero-heading h1 {
  margin: 0 0 17px;
}

.hero-grid {
  display: block;
  max-width: 590px;
  width: 100%
}

.quote-form {
  width: 100%;
  min-height: 218px;
}

/* Contact is relocated into the EXISTING agency-contact content area, immediately below the banner. */
.agency-contact-band {
  background: #14283a;
  color: #fff;
  border-top: 2px solid #2d9bc3;
}

.agency-contact-list {
  display: grid;
  grid-template-columns: 1.25fr .9fr 1.25fr;
  gap: 0;
  padding: 19px 0;
  align-items: center;
}

.agency-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0 25px;
  border-right: 1px solid rgba(211, 233, 244, .33);
  line-height: 1.4;
  font-size: 15px;
}

.agency-contact-item:first-child {
  padding-left: 0
}

.agency-contact-item:last-child {
  border: 0;
  padding-right: 0
}

.agency-contact-item a {
  color: white;
  text-decoration: none;
  overflow-wrap: anywhere
}

.agency-contact-item a:hover {
  text-decoration: underline;
  text-underline-offset: 3px
}

.agency-contact-icon {
  color: #43bce6;
  flex-shrink: 0;
  width: 27px;
  height: 27px
}

.agency-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

.main-intro {
  text-align: center;
  padding: 27px 0;
  background: #edf8fd
}

.main-intro h2 {
  font-size: 29px
}

.offerings {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offerings li {
  border-left: 1px solid #b7d8ed;
  justify-content: center;
  gap: 10px;
  min-height: 57px;
}

.offerings-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #087ab1
}

.offerings-icon svg {
  height: 100%;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round
}

.offerings-note {
  font-size: 11px !important;
  color: #526a7a !important;
  margin-top: 12px !important
}

footer .footer-bottom .footer-brand img {
  max-width: 170px;
  width: 160px
}

footer .footer-brand {
  gap: 17px
}

footer .footer-brand img {
  margin: 0;
  flex-shrink: 0
}

.legal-container {
  max-width: 1000px
}

.legal-container h1 {
  font: 600 38px/1.2 Georgia, serif;
  color: var(--navy);
  margin-bottom: 17px
}

.legal-container h2 {
  font: 700 21px/1.3 Arial, sans-serif;
  color: var(--navy);
  margin: 28px 0 9px
}

.legal-container p,
.legal-container li {
  font-size: 15px;
  line-height: 1.72
}

.legal-container ul {
  padding-left: 22px
}

.legal-draft-notice {
  padding: 12px 16px;
  margin: 15px 0 22px;
  background: #fff9e9;
  border: 1px solid #ddc47b;
  color: #4a3f23;
  font-size: 13px;
  border-radius: 5px
}

@media(max-width:980px) {
  .agency-contact-item {
    font-size: 13px;
    padding: 0 14px;
    gap: 9px
  }

  .site-header .logo {
    max-width: 38vw
  }
}

@media(max-width:780px) {
  .header-content {
    min-height: 87px
  }

  .site-header .logo {
    width: 192px;
    max-width: calc(100% - 85px);
    padding: 7px 12px
  }

  .hero,
  .hero-inner {
    min-height: 360px
  }

  .agency-contact-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 9px 0
  }

  .agency-contact-item,
  .agency-contact-item:first-child,
  .agency-contact-item:last-child {
    padding: 10px 3px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .20)
  }

  .agency-contact-item:last-child {
    border-bottom: 0
  }

  .offerings {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .site-header .menu {
    top: 87px
  }
}

@media(max-width:520px) {
  .header-content {
    min-height: 82px;
    padding: 7px 0
  }

  .site-header .logo {
    width: 173px;
    max-width: calc(100% - 70px);
    padding: 9px 8px
  }

  .site-header .menu {
    top: 82px
  }

  .hero,
  .hero-inner {
    min-height: 360px
  }

  .hero-inner {
    padding: 24px 0
  }

  .hero h1 {
    font-size: 38px
  }

  .main-intro h2 {
    font-size: 24px
  }

  .agency-contact-item {
    font-size: 13px
  }

  .offerings li {
    min-height: 52px;
    gap: 6px;
    padding: 8px 6px
  }

  .offerings-icon {
    width: 20px;
    height: 20px
  }

  .footer-brand {
    flex-wrap: wrap
  }
}

/* Compare Quotes & Customer Service pages */
.portal-fallback {
  font-size: 14px;
  color: #365a78;
  margin-top: 14px !important
}

.portal-fallback a {
  color: #005d8a;
  text-decoration: underline;
  font-weight: 700
}

/* Home page only (body.page-home) */
/* FINAL OCEAN HERO CORRECTION — existing EZLynx Essential layout unchanged.
   Background is derived from the UNOBSTRUCTED sky/sea in the client-provided screenshot.
   No embedded screenshots, text or quote UI in this photographic background. */
.page-home .hero {
  background-image: url('../img/OCEAN_HERO_BACKGROUND_FINAL.jpg') !important;
  background-color: #3092d3 !important;
  background-repeat: no-repeat !important;
  background-position: center 50% !important;
  background-size: cover !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-home .hero::before,
.page-home .hero:before {
  content: none !important;
  display: none !important;
}

.page-home .hero h1,
.page-home .hero-heading h1 {
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.page-home .quote-form {
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.page-home .agency-contact-band {
  border: 0 !important;
  border-top: 0 !important;
  outline: 0 !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}

.page-home .hero+.agency-contact-band {
  border-top: 0 !important;
}

/* Keep the original three contact fields and all subsequent sections unchanged. */


/* FINAL APPROVED OCEAN BACKGROUND — NO SHADOW AND NO SEPARATOR LINE. */
.page-home .hero {
  background-image: url('../img/OCEAN_HERO_BACKGROUND_FINAL.jpg') !important;
  background-color: #82b8d9 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-home .hero::before,
.page-home .hero:before {
  content: none !important;
  display: none !important;
}

.page-home .hero h1 {
  text-shadow: none !important;
  filter: none !important;
}

.page-home .quote-form {
  box-shadow: none !important;
  filter: none !important;
}

.page-home .agency-contact-band {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.page-home .hero+.agency-contact-band {
  border: 0 !important;
  margin-top: 0 !important;
}