:host {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.marine-quote-section,
.marine-quote-section *,
.marine-quote-section *::before,
.marine-quote-section *::after {
  box-sizing: border-box;
}

.marine-quote-section {
  --marine-bg: #fbf9f4;
  --marine-navy: #062737;
  --marine-text: #092532;
  --marine-muted: #68777e;
  --marine-border: #cad6d7;
  --marine-accent: #65c8b9;
  --marine-white: #ffffff;
  --marine-sticky-top: 110px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;

  padding: 72px 32px 80px;

  background: var(--marine-bg);
  color: var(--marine-text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  overflow: visible;
}

.marine-quote-container {
  width: 100%;
  max-width: 1320px;
  min-width: 0;

  margin: 0 auto;

  overflow: visible;
}

.marine-quote-layout {
  width: 100%;
  min-width: 0;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 350px);

  gap: 42px;

  align-items: start;
}

.marine-quote-form {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;
}

.marine-form-section {
  width: 100%;

  margin: 0 0 34px;

  padding: 0 0 34px;

  border-bottom:
    1px solid
    var(--marine-border);
}

.marine-section-heading {
  display: flex;

  align-items: baseline;

  gap: 14px;

  margin: 0 0 28px;
}

.marine-section-number {
  flex: 0 0 auto;

  color: #177d70;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 20px;

  line-height: 1;

  font-weight: 400;
}

.marine-section-heading h2 {
  margin: 0;

  color: var(--marine-navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 25px;

  line-height: 1.1;

  font-weight: 600;
}

.marine-grid {
  width: 100%;
  min-width: 0;

  display: grid;

  gap: 24px;
}

.marine-grid-two {
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
}

.marine-field-full {
  grid-column: 1 / -1;
}

.marine-field {
  width: 100%;
  min-width: 0;
}

.marine-field label {
  display: block;

  margin: 0 0 9px;

  color: var(--marine-navy);

  font-size: 13px;

  line-height: 1.35;

  font-weight: 700;
}

.marine-required {
  margin-left: 2px;
}

.marine-label-note {
  font-weight: 500;
}

.marine-field input,
.marine-field select,
.marine-field textarea {
  display: block;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;

  border:
    1px solid
    var(--marine-border);

  border-radius: 2px;

  background:
    rgba(
      255,
      255,
      255,
      0.28
    );

  color: var(--marine-text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 14px;

  line-height: 1.4;

  outline: none;

  box-shadow: none;
}

.marine-field input,
.marine-field select {
  height: 48px;

  padding: 0 13px;
}

.marine-field textarea {
  min-height: 145px;

  padding: 14px 13px;

  resize: vertical;
}

.marine-field input::placeholder,
.marine-field textarea::placeholder {
  color: #8c999e;

  opacity: 1;
}

.marine-field input:focus,
.marine-field select:focus,
.marine-field textarea:focus {
  border-color: #5eaaa1;

  box-shadow:
    0
    0
    0
    1px
    rgba(
      94,
      170,
      161,
      0.14
    );
}

.marine-field input:disabled,
.marine-field select:disabled,
.marine-field textarea:disabled {
  opacity: 0.6;

  cursor: not-allowed;
}

.marine-field select {
  appearance: none;

  -webkit-appearance: none;

  padding-right: 42px;

  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--marine-navy) 50%
    ),
    linear-gradient(
      135deg,
      var(--marine-navy) 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 15px) 21px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat: no-repeat;

  cursor: pointer;

  text-overflow: ellipsis;
}

.marine-help {
  margin: 8px 0 0;

  color: var(--marine-muted);

  font-size: 12px;

  line-height: 1.55;
}

.marine-help strong {
  color: var(--marine-text);

  font-weight: 600;
}

.marine-error-text {
  margin: 8px 0 0;

  color: #a2302b;

  font-size: 12px;

  line-height: 1.45;

  font-weight: 600;
}

.marine-submit-area {
  width: 100%;

  padding-top: 2px;
}

.marine-submit {
  min-width: 196px;
  min-height: 50px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 0 26px;

  border: 0;

  border-radius: 1px;

  background: var(--marine-navy);

  color: var(--marine-white);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 14px;

  line-height: 1;

  font-weight: 500;

  cursor: pointer;

  transition:
    opacity
    0.2s
    ease;
}

.marine-submit:hover {
  opacity: 0.92;
}

.marine-submit:disabled {
  opacity: 0.6;

  cursor: wait;
}

.marine-submit-status {
  min-height: 24px;

  margin-top: 14px;

  font-size: 13px;

  line-height: 1.5;
}

.marine-success {
  color: #177d70;

  font-weight: 700;
}

.marine-submit-error {
  color: #a2302b;

  font-weight: 700;
}

.marine-footer-text {
  width: 100%;
  max-width: 720px;

  margin: 0;

  color: var(--marine-muted);

  font-size: 12px;

  line-height: 1.65;
}

.marine-next-column {
  width: 100%;
  min-width: 0;

  align-self: stretch;
}

.marine-next-card {
  position: sticky;

  top:
    var(--marine-sticky-top);

  width: 100%;

  padding: 34px 30px 30px;

  background: var(--marine-navy);

  color: var(--marine-white);

  z-index: 0;
}

.marine-next-eyebrow {
  margin-bottom: 18px;

  color: var(--marine-accent);

  font-size: 11px;

  line-height: 1.2;

  font-weight: 700;

  letter-spacing: 1.5px;
}

.marine-next-title {
  margin: 0 0 30px;

  color: #ffffff;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 25px;

  line-height: 1.15;

  font-weight: 600;
}

.marine-next-steps {
  display: grid;

  gap: 25px;
}

.marine-next-step {
  display: grid;

  grid-template-columns:
    30px
    minmax(0, 1fr);

  gap: 14px;

  align-items: start;
}

.marine-step-number {
  width: 28px;
  height: 28px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    var(--marine-accent);

  border-radius: 50%;

  color: var(--marine-accent);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 12px;

  line-height: 1;
}

.marine-next-step h3 {
  margin: 1px 0 6px;

  color: #ffffff;

  font-size: 13px;

  line-height: 1.3;

  font-weight: 700;
}

.marine-next-step p {
  margin: 0;

  color: #cbd6da;

  font-size: 12px;

  line-height: 1.65;
}

.marine-next-divider {
  width: 100%;
  height: 1px;

  margin: 28px 0 20px;

  background:
    rgba(
      255,
      255,
      255,
      0.4
    );
}

.marine-payment-note {
  display: flex;

  align-items: flex-start;

  gap: 10px;
}

.marine-payment-note > span {
  color: var(--marine-accent);

  font-size: 14px;

  line-height: 1.4;
}

.marine-payment-note p {
  margin: 0;

  color: #d3dcdf;

  font-size: 11px;

  line-height: 1.6;
}

.marine-submit-frame {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;

  margin: -1px;

  border: 0;

  overflow: hidden;

  clip:
    rect(
      0,
      0,
      0,
      0
    );

  white-space: nowrap;
}

.marine-honeypot {
  position:
    absolute !important;

  left:
    -99999px !important;

  width:
    1px !important;

  height:
    1px !important;

  overflow:
    hidden !important;
}


/* =========================================================
   TABLET — 768px to 991px
   ========================================================= */

.marine-quote-section[data-layout="tablet"] {
  padding: 56px 24px 65px;
}

.marine-quote-section[data-layout="tablet"]
.marine-quote-layout {
  grid-template-columns:
    minmax(0, 1fr);

  gap: 34px;
}

.marine-quote-section[data-layout="tablet"]
.marine-next-card {
  position: relative;

  top: auto;
}


/* =========================================================
   MOBILE LANDSCAPE — 480px to 767px
   ========================================================= */

.marine-quote-section[data-layout="mobile-landscape"] {
  padding: 42px 20px 55px;
}

.marine-quote-section[data-layout="mobile-landscape"]
.marine-quote-layout {
  grid-template-columns:
    minmax(0, 1fr);
}

.marine-quote-section[data-layout="mobile-landscape"]
.marine-grid-two {
  grid-template-columns:
    minmax(0, 1fr);
}

.marine-quote-section[data-layout="mobile-landscape"]
.marine-field-full {
  grid-column: auto;
}

.marine-quote-section[data-layout="mobile-landscape"]
.marine-next-card {
  position: relative;

  top: auto;
}

.marine-quote-section[data-layout="mobile-landscape"]
.marine-submit {
  width: 100%;

  min-width: 0;
}


/* =========================================================
   MOBILE PORTRAIT — 0px to 479px
   ========================================================= */

.marine-quote-section[data-layout="mobile-portrait"] {
  padding: 32px 14px 45px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-quote-layout {
  grid-template-columns:
    minmax(0, 1fr);

  gap: 26px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-grid-two {
  grid-template-columns:
    minmax(0, 1fr);

  gap: 20px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-field-full {
  grid-column: auto;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-form-section {
  margin-bottom: 28px;

  padding-bottom: 28px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-section-heading {
  gap: 11px;

  margin-bottom: 24px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-section-heading h2 {
  font-size: 23px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-next-card {
  position: relative;

  top: auto;

  padding: 28px 22px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-next-title {
  font-size: 23px;
}

.marine-quote-section[data-layout="mobile-portrait"]
.marine-submit {
  width: 100%;

  min-width: 0;
}
