@import url("https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap");

:root {
  --deep: #0b4f79;
  --deep-dark: #083b5a;
  --accent: #ef1f4b;
  --text: #21343d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;

  overflow-x: hidden;
}

html::-webkit-scrollbar:horizontal {
  display: none;
}

body {
  font-family: "Mona Sans", sans-serif;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(
      800px 320px at 50% -20%,
      rgba(11, 79, 121, 0.14),
      transparent
    ),
    #f5f9ff;
}

.quote-hero {
  position: relative;
  min-height: 58vh;
  padding: 14px 14px 50px;
  background-image:
    linear-gradient(
      to right,
      rgba(10, 55, 88, 0.82) 0%,
      rgba(10, 55, 88, 0.42) 52%,
      rgba(10, 55, 88, 0.78) 100%
    ),
    url("../assets/sub.jpg");
  background-size: cover;
  background-position: center;
}

.topbar {
  width: 100%;
  min-height: 82px;
  padding: 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(162, 210, 237, 0.3);
  border-radius: 20px;
  background: rgba(11, 63, 98, 0.26);
  backdrop-filter: blur(3px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  color: #f5fbff;
}

.logo-home {
  color: inherit;
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-links a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #d5e6f7;
  font-weight: 500;
  padding-bottom: 6px;
  transition: color 0.28s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(239, 31, 75, 0.9) 0%,
    rgba(26, 151, 214, 0.9) 100%
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  background: var(--accent);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  box-shadow: 0 10px 20px rgba(239, 31, 75, 0.32);
  transform: translateY(-1px) scale(1.01);
}

.quote-hero-content {
  gap: 1.5rem;
  max-width: 760px;
  margin-top: clamp(44px, 8vh, 96px);
  color: #edf7ff;
  display: flex;
  flex-direction: column;
}

.quote-hero-content .eyebrow {
  color: #a8d8f4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.84rem;
}

.quote-hero-content h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  line-height: 0.96;
  font-weight: 900;
}

.quote-hero-content p:last-child {
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.55vw, 1.35rem);
  line-height: 1.45;
  color: #deedfb;
}

.quote-page {
  min-height: 100vh;
  padding: 34px 14px 70px;
}

.quote-layout {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.quote-points {
  display: grid;
  gap: 7rem;
  padding-top: clamp(20px, 2vw, 30px);
}
.point-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  position: relative;
  align-items: center;
}

.point-icon {
  position: relative;
}

.point-icon .material-symbols-outlined {
  color: #1b3f96;
  font-size: 55px;
}

.point-copy h3 {
  color: #ef1f4b;
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 900;
}

.point-copy p {
  color: #4f5f71;
  font-size: clamp(1rem, 1.42vw, 1.75rem);
  line-height: 1.5;
  max-width: 44ch;
}

.quote-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(14, 54, 75, 0.12);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(9, 56, 76, 0.12);
  padding: clamp(18px, 2.6vw, 30px);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 1.02rem;
  color: #ef1f4b;
}

.quote-form em {
  font-style: italic;
  font-weight: 500;
  font-size: 0.94rem;
}

.quote-form .span-2 {
  grid-column: span 2;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(48, 57, 66, 0.32);
  border-radius: 0;
  background: #fbfdff;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.captcha-wrap {
  margin-top: 4px;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.captcha-note {
  color: #4c5968;
  font-size: 0.88rem;
  font-weight: 500;
}

.submit-btn {
  margin-top: 8px;
  border: 0;
  width: 100px;
  min-height: 44px;
  border-radius: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(239, 31, 75, 0.28);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 88px) 14px clamp(44px, 6vw, 76px);
  background:
    radial-gradient(
      1200px 400px at 50% -40%,
      rgba(255, 255, 255, 0.08),
      transparent
    ),
    linear-gradient(180deg, #075f79 0%, #034f66 100%);
  color: #e5f7ff;
}

.footer-watermark {
  position: absolute;
  top: -22px;
  left: 14px;
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(194, 240, 255, 0.08);
  pointer-events: none;
}

.footer-top,
.footer-mid,
.footer-bottom {
  width: min(1240px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.footer-col h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #e9faff;
}

.footer-col a {
  display: block;
  color: #c9ecf7;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-mid {
  margin-top: clamp(26px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-row img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-row h3 {
  font-size: 30px;
  line-height: 1;
  color: #effcff;
}

.footer-brand p {
  margin-top: 8px;
  color: #c4e8f5;
  font-size: 0.96rem;
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-cta p {
  font-size: 1.5rem;
  color: #e8fbff;
  font-weight: 500;
}

.footer-btn {
  text-decoration: none;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 28px;
  min-width: 150px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(239, 31, 75, 0.32);
}

.footer-bottom {
  margin-top: clamp(24px, 3.6vw, 40px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(202, 235, 247, 0.24);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.footer-info h4 {
  font-size: 1.1rem;
  color: #eafaff;
  margin-bottom: 8px;
}

.footer-info p,
.footer-info a {
  display: block;
  color: #c8ebf7;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.4;
}

.footer-info a:hover {
  color: #ffffff;
}

.quote-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 34, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 14px;
}

.quote-modal.is-open {
  display: flex;
}

.quote-modal-card {
  width: min(460px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 18px 34px rgba(7, 35, 58, 0.2);
}

.quote-modal-card h3 {
  color: var(--deep);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.quote-modal-card p {
  color: #334454;
  line-height: 1.5;
}

.quote-modal-card button {
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

@media (max-width: 550px) {
  .quote-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .quote-modal-card {
    width: 100%;
    max-height: 82vh;
    overflow: auto;
    border-radius: 14px;
    padding: 18px 16px;
  }

  .quote-modal-card h3 {
    font-size: 1.15rem;
  }

  .quote-modal-card p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .quote-modal-card button {
    width: 100%;
    min-height: 42px;
  }
}

.menu-icon,
.xmenu {
  display: none !important;
  font-size: 32px;
  color: #d5e6f7;
  cursor: pointer;
}

.nav-overlay {
  display: none;
}
@media (max-width: 1270px) {
}

@media (max-width: 770px) {
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 18, 28, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 1090;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .topbar {
    position: relative;
    z-index: 1102;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .menu-icon {
    display: inline-grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(162, 210, 237, 0.4);
    background: rgba(11, 63, 98, 0.22);
    backdrop-filter: blur(4px);
    z-index: 1104;
  }

  .nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    position: fixed;
    right: 0;
    flex-direction: column;
    top: 0;
    width: min(330px, 84vw);
    height: 100vh;
    padding: 76px 18px 96px;
    border: 1px solid rgba(162, 210, 237, 0.34);
    border-radius: 8px;
    background: rgba(11, 63, 98, 0.86);
    backdrop-filter: blur(100px);
    box-shadow: 0 18px 34px rgba(2, 15, 24, 0.35);
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.28s ease,
      opacity 0.24s ease;
    z-index: 1103;
  }

  body.nav-open .nav-links {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    border-radius: 10px;
    padding: 10px 12px;
    color: #edf7ff;
    transition:
      background-color 0.22s ease,
      color 0.22s ease,
      transform 0.22s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(197, 228, 247, 0.16);
    color: #ffffff;
    transform: translateX(4px);
  }

  .xmenu {
    display: inline-grid !important;
    place-self: end;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(197, 228, 247, 0.35);
    background: rgba(9, 54, 86, 0.36);
  }

  .logo a {
    font-size: 0.98rem;
  }

  .cta-btn {
    position: fixed;
    right: 32px;
    bottom: 28px;
    width: min(290px, calc(84vw - 36px));
    margin-right: 0;
    display: none;
    z-index: 1101;
  }

  body.nav-open .cta-btn {
    z-index: 10000000000;
    display: inline-flex;
    top: 20rem;
    width: 200px;
    height: 3rem;
    margin-right: 50px;
  }

  .quote-hero-content h1 {
    line-height: 1.02;
  }

  .point-item {
    grid-template-columns: 72px 1fr;
  }

  .point-item:not(:last-child)::after {
    left: 35px;
  }

  .point-icon {
    width: 56px;
    height: 56px;
  }

  .quote-points {
    display: grid;
    gap: 3rem;
    padding-top: clamp(20px, 2vw, 30px);
  }

  .quote-layout {
    width: 97%;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form .span-2 {
    grid-column: auto;
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 550px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 26px);
  }
  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #e9faff;
  }
  .footer-col a {
    display: block;
    color: #c9ecf7;
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 13px;
    transition: color 0.2s ease;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .brand-row img {
    width: 45px;
    height: 45px;
    object-fit: contain;
  }
  .footer-brand p {
    margin-top: 8px;
    color: #c4e8f5;
    font-size: 10px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
}
