.quote-page {
  min-height: 100vh;
  margin: 0;
  color: #14211b;
  background: #f5f7f3;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
  min-height: 82px;
  padding: 10px clamp(22px, 10vw, 206px);
  background: rgba(10, 33, 27, 0.96);
  border-bottom: 1px solid rgba(246, 178, 58, 0.18);
  box-shadow: 0 12px 34px rgba(10, 33, 27, 0.16);
  position: sticky;
  top: 0;
  z-index: 80;
}

.quote-nav img {
  display: block;
  width: clamp(148px, 14vw, 206px);
  height: 58px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.22));
}

.quote-nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.9vw, 28px);
}

.quote-nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.quote-nav-links a:hover,
.quote-nav-links a[aria-current="page"] {
  color: #f6b23a;
}

.quote-nav-links .quote-nav-cta {
  min-height: 44px;
  padding: 12px 18px;
  color: #fff;
  background: #ea580c;
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.22);
}

.quote-nav-links .quote-nav-cta:hover,
.quote-nav-links .quote-nav-cta[aria-current="page"] {
  color: #fff;
  background: #f97316;
}

.quote-hero {
  padding: clamp(56px, 8vw, 104px) clamp(22px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 47, 38, 0.92), rgba(15, 77, 53, 0.78)),
    radial-gradient(circle at 82% 18%, rgba(246, 178, 58, 0.28), transparent 28%),
    linear-gradient(135deg, #08251f, #0f4d35 58%, #163a2e);
}

.quote-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.quote-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #f6b23a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.quote-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.quote-content {
  padding: clamp(42px, 6vw, 76px) clamp(22px, 6vw, 72px);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.quote-panel {
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid rgba(15, 77, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 77, 53, 0.08);
}

.quote-panel h2 {
  margin: 0 0 16px;
  color: #0b2f26;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.quote-panel p,
.quote-panel li,
.quote-panel label {
  color: #50625a;
  line-height: 1.7;
}

.quote-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

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

.quote-field-full,
.quote-actions,
.quote-honey,
.quote-form .pidgeon-mail-status {
  grid-column: 1 / -1;
}

.quote-honey {
  display: none !important;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: #14211b;
  background: #fbfcfa;
  border: 1px solid #d8ded9;
  border-radius: 5px;
  font: inherit;
}

.quote-form textarea {
  min-height: 126px;
  resize: vertical;
}

.quote-form input[type="file"] {
  padding: 10px;
  background: #fff;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: #0f4d35;
  border: 0;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.quote-button.secondary {
  color: #0f4d35;
  background: transparent;
  border: 1px solid #0f4d35;
}

@media (max-width: 1180px) {
  .quote-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 18px 12px;
  }

  .quote-nav img {
    width: clamp(130px, 38vw, 164px);
    height: 48px;
  }

  .quote-nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .quote-nav-links a {
    font-size: 0.84rem;
  }

  .quote-nav-links .quote-nav-cta {
    min-height: 38px;
    padding: 10px 14px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .quote-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .quote-nav {
    position: relative;
  }

  .quote-nav-links {
    flex-wrap: wrap;
    gap: 8px 12px;
    overflow: visible;
  }

  .quote-nav-links a {
    font-size: 0.74rem;
  }

  .quote-nav-links .quote-nav-cta {
    min-height: 34px;
    padding: 8px 12px;
  }

  .quote-actions {
    flex-direction: column;
  }

  .quote-button {
    width: 100%;
  }
}

/* Premium quote page finish. */
.quote-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 166, 80, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(240, 90, 26, 0.12), transparent 26%),
    linear-gradient(180deg, #071f1a 0, #f3f5ef 44%, #eef2eb 100%);
}

.quote-nav {
  background: rgba(7, 28, 23, 0.94);
  border-bottom: 1px solid rgba(214, 166, 80, 0.32);
  box-shadow: 0 20px 50px rgba(5, 22, 18, 0.32);
  backdrop-filter: blur(18px);
}

.quote-nav-links {
  gap: 8px;
}

.quote-nav-links a:not(.quote-nav-cta) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.92);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quote-nav-links a:first-child:not(.quote-nav-cta) {
  border-color: rgba(214, 166, 80, 0.42);
  background: rgba(214, 166, 80, 0.16);
  color: #fff7d6;
}

.quote-nav-links a:not(.quote-nav-cta):hover {
  border-color: rgba(246, 178, 58, 0.72);
  background: rgba(240, 90, 26, 0.9);
  color: #fff;
  transform: translateY(-1px);
}

.quote-nav-links .quote-nav-cta {
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.quote-hero {
  position: relative;
  overflow: hidden;
  min-height: min(560px, 72vh);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 10vw, 138px);
  background:
    linear-gradient(115deg, rgba(3, 18, 15, 0.98), rgba(9, 48, 36, 0.92) 48%, rgba(8, 56, 41, 0.82)),
    url("assets/pidgeon-hero.jpg") center / cover;
}

.quote-hero::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background:
    linear-gradient(112deg, transparent 0 36%, rgba(255, 255, 255, 0.16) 47%, transparent 58%),
    radial-gradient(circle at 78% 28%, rgba(214, 166, 80, 0.22), transparent 22%);
  opacity: 0.62;
  transform: translateX(-22%);
  animation: quoteHeroSheen 6s ease-in-out 1 both;
  pointer-events: none;
}

.quote-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 23, 0.86), rgba(7, 28, 23, 0.38), rgba(7, 28, 23, 0.88)),
    repeating-linear-gradient(105deg, transparent 0 26px, rgba(214, 166, 80, 0.055) 26px 28px);
  pointer-events: none;
}

.quote-hero .quote-wrap {
  position: relative;
  z-index: 1;
}

.quote-eyebrow {
  padding: 7px 10px;
  border: 1px solid rgba(246, 178, 58, 0.34);
  border-radius: 6px;
  background: rgba(246, 178, 58, 0.1);
  color: #ffd879;
}

.quote-hero h1 {
  max-width: 840px;
  text-wrap: balance;
}

.quote-hero p {
  max-width: 760px;
  font-weight: 600;
}

.quote-content {
  position: relative;
  margin-top: clamp(-58px, -5vw, -34px);
  padding-top: 0;
}

.quote-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.1fr);
  gap: clamp(18px, 3vw, 32px);
}

.quote-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  animation: quotePanelRise 650ms ease both;
}

.quote-panel:first-child {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 28, 23, 0.98), rgba(11, 59, 43, 0.94)),
    repeating-linear-gradient(100deg, transparent 0 22px, rgba(214, 166, 80, 0.06) 22px 24px);
  border-color: rgba(214, 166, 80, 0.26);
  box-shadow: 0 30px 70px rgba(7, 28, 23, 0.26);
}

.quote-panel:first-child::before {
  content: "Project briefing";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid rgba(246, 178, 58, 0.36);
  border-radius: 6px;
  background: rgba(246, 178, 58, 0.11);
  color: #ffd879;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.quote-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 245, 0.96));
  border-color: rgba(8, 56, 41, 0.16);
  box-shadow: 0 34px 90px rgba(8, 56, 41, 0.16);
}

.quote-panel:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #083829, #d6a650, #f05a1a, #083829);
  background-size: 240% 100%;
  animation: quoteAccentFlow 5s ease-in-out 1 both;
}

.quote-panel h2 {
  color: inherit;
}

.quote-panel:first-child p,
.quote-panel:first-child li {
  color: rgba(255, 255, 255, 0.76);
}

.quote-panel:first-child ul {
  padding: 0;
  list-style: none;
}

.quote-panel:first-child li {
  position: relative;
  padding-left: 28px;
}

.quote-panel:first-child li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: #d6a650;
  box-shadow: 0 0 0 4px rgba(214, 166, 80, 0.12);
}

.quote-form {
  gap: 16px;
}

.quote-form-status {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(8, 56, 41, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 56, 41, 0.07), rgba(214, 166, 80, 0.1));
}

.quote-form-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.quote-form-status-head span {
  color: #083829;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.quote-form-status-head strong {
  color: #b94112;
  font-size: 1rem;
}

.quote-form-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(8, 56, 41, 0.1);
}

.quote-form-progress span {
  --quote-progress: 0%;
  display: block;
  width: var(--quote-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #083829, #d6a650, #f05a1a);
  box-shadow: 0 0 24px rgba(214, 166, 80, 0.45);
  transition: width 360ms ease;
}

.quote-form-status p {
  margin: 10px 0 0;
  color: #53635d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.quote-form label {
  position: relative;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(8, 56, 41, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 246, 0.92));
  color: #083829;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.quote-form label::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #083829, #d6a650, #f05a1a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.quote-form label:focus-within {
  border-color: rgba(214, 166, 80, 0.8);
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 56, 41, 0.12);
  transform: translateY(-2px);
}

.quote-form label:focus-within::after {
  transform: scaleX(1);
}

.quote-form label.is-filled {
  border-color: rgba(8, 56, 41, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 240, 0.86));
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  border: 0;
  border-radius: 6px;
  background: rgba(8, 56, 41, 0.055);
  outline: 1px solid rgba(8, 56, 41, 0.08);
  outline-offset: 0;
  transition: background 180ms ease, outline-color 180ms ease, box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  background: rgba(255, 255, 255, 0.96);
  outline-color: rgba(214, 166, 80, 0.75);
  box-shadow: 0 0 0 4px rgba(214, 166, 80, 0.13);
}

.quote-form textarea {
  min-height: 154px;
}

.quote-actions {
  align-items: center;
}

.quote-button {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(15, 77, 53, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quote-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 48%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.quote-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(15, 77, 53, 0.24);
}

.quote-button:hover::before {
  transform: translateX(130%);
}

.quote-form .quote-button {
  min-height: 54px;
  padding-inline: 24px;
  background: linear-gradient(135deg, #083829, #116245);
  border: 1px solid rgba(214, 166, 80, 0.34);
}

.quote-button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 178, 58, 0.34);
}

.quote-panel:nth-child(2) .quote-button.secondary {
  color: #083829;
  background: rgba(8, 56, 41, 0.06);
  border-color: rgba(8, 56, 41, 0.2);
}

.pidgeon-mail-status {
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(214, 166, 80, 0.12);
  color: #083829;
}

@keyframes quoteHeroSheen {
  0%, 100% {
    transform: translateX(-24%) rotate(0.001deg);
    opacity: 0.28;
  }
  50% {
    transform: translateX(20%) rotate(0.001deg);
    opacity: 0.7;
  }
}

@keyframes quoteAccentFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240% 0;
  }
}

@keyframes quotePanelRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .quote-nav-links {
    gap: 8px;
  }

  .quote-nav-links a:not(.quote-nav-cta) {
    min-height: 34px;
    padding: 0 9px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .quote-hero {
    min-height: auto;
    padding-block: 64px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .quote-nav {
    position: sticky;
    gap: 8px;
  }

  .quote-nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }

  .quote-nav-links a:not(.quote-nav-cta),
  .quote-nav-links .quote-nav-cta {
    width: 100%;
    min-height: 34px;
    padding: 8px 6px;
    font-size: 0.68rem;
    text-align: center;
  }

  .quote-nav-links .quote-nav-cta {
    grid-column: span 3;
  }

  .quote-hero h1 {
    font-size: clamp(1.8rem, 11vw, 2.55rem);
  }

  .quote-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-hero::before,
  .quote-panel,
  .quote-panel:nth-child(2)::before {
    animation: none;
  }

  .quote-form label,
  .quote-button {
    transition: none;
  }
}
