﻿.forms-main {
  padding-top: 6.2rem;
  background-color: var(--bg-light);
}

.forms-hero {
  padding-bottom: 2.2rem;
}

.forms-hero .section-head h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
}

.forms-hero .section-head p {
  margin-top: 0.7rem;
  color: rgba(31, 42, 55, 0.75);
}

.forms-contact {
  padding-top: 1.2rem;
}

.contact-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 100%;
}

.quick-card {
  background-color: #ffffff;
  border: 1px solid rgba(31, 42, 55, 0.08);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
}

.quick-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.55rem;
  font-weight: 800;
}

.quick-card p {
  margin: 0;
  color: rgba(31, 42, 55, 0.65);
  font-size: 1.1rem;
  line-height: 1.85;
}

.quick-btn {
  border: 2px solid;
  border-radius: 8px;
  padding: 0.58rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.quick-btn.whatsapp {
  border-color: #C8A45A;
  color: #B8934A;
}

.quick-btn.map {
  border-color: #1F2F3F;
  color: #1F2F3F;
}

.quick-btn.support {
  border-color: #C8A45A;
  color: #C8A45A;
}

.quick-btn.email {
  border-color: #ef4056;
  color: #ef4056;
}

.quick-btn:hover,
.quick-btn:focus {
  background-color: rgba(31, 42, 55, 0.03);
}

.form-box {
  background-color: #ffffff;
  border: 1px solid rgba(31, 42, 55, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.form-box h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 800;
}

.form-subtitle {
  margin: 0.6rem 0 1.35rem;
  color: rgba(31, 42, 55, 0.56);
  font-size: 1.18rem;
}

.form-label {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.38rem;
}

.required {
  color: #c93131;
}

.form-control,
.form-select {
  border: 1px solid rgba(31, 42, 55, 0.16);
  border-radius: 8px;
  min-height: 48px;
  padding: 0.62rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(201, 162, 74, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 74, 0.15);
}

textarea.form-control {
  min-height: 120px;
}

.submit-btn {
  border: 0;
  border-radius: 6px;
  background-color: #C8A45A;
  color: #ffffff;
  font-weight: 800;
  padding: 0.68rem 1.4rem;
}

.submit-btn:hover,
.submit-btn:focus {
  background-color: #B8934A;
  color: #ffffff;
}

/* Professional Forms UI */
.forms-main {
  background:
    radial-gradient(circle at 10% 8%, rgba(201, 162, 74, 0.1), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(31, 42, 55, 0.1), transparent 30%),
    var(--bg-light);
}

.quick-card,
.form-box {
  border-color: rgba(31, 42, 55, 0.12);
  box-shadow: 0 20px 42px -30px rgba(31, 42, 55, 0.45);
}

.quick-card h3,
.form-box h2 {
  letter-spacing: -0.01em;
}

.quick-btn {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
}

.submit-btn {
  min-height: 46px;
  border-radius: 999px;
  background: linear-gradient(140deg, #C8A45A, #B8934A);
  box-shadow: 0 12px 26px -16px rgba(184, 147, 63, 0.85);
}

/* Visual Polish v2 */
.forms-hero .section-head {
  margin-bottom: 1rem;
}

.forms-hero .section-head p {
  max-width: 64ch;
  margin-inline: auto;
}

.contact-side {
  align-content: start;
}

.quick-card {
  min-height: 205px;
}

.quick-card h3 {
  line-height: 1.3;
}

.quick-card p {
  font-size: 1rem;
}

.form-box {
  border-radius: 18px;
}

.form-box .form-control,
.form-box .form-select {
  min-height: 50px;
}

.form-box textarea.form-control {
  min-height: 132px;
}

.form-submit-wrap .submit-btn,
.form-box > .submit-btn {
  min-width: 220px;
}

.quote-box .row {
  --bs-gutter-y: 1.05rem;
}

.forms-quote {
  padding-top: 2rem;
}

.quote-box {
  max-width: 980px;
  margin-inline: auto;
}

.form-submit-wrap {
  padding-top: 1.35rem;
  text-align: center;
}

.application-types-shell {
  border: 1px solid rgba(31, 47, 63, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 164, 90, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 24px 52px -38px rgba(31, 47, 63, 0.42);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.application-types-head {
  max-width: 820px;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.application-kicker {
  width: fit-content;
  margin: 0 auto 0.7rem;
  border: 1px solid rgba(200, 164, 90, 0.42);
  border-radius: 999px;
  background: rgba(200, 164, 90, 0.12);
  color: #1F2F3F;
  padding: 0.34rem 0.78rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.application-types-head h2 {
  margin: 0;
  color: #1F2F3F;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.28;
  font-weight: 900;
}

.application-types-head p:not(.application-kicker) {
  margin: 0.7rem auto 0;
  color: rgba(31, 47, 63, 0.72);
  line-height: 1.9;
  font-size: 1.05rem;
}

.application-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.application-type-card {
  min-height: 230px;
  border: 1px solid rgba(31, 47, 63, 0.1);
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 16px 34px -30px rgba(31, 47, 63, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.application-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, 0.46);
  box-shadow: 0 22px 38px -28px rgba(31, 47, 63, 0.5);
}

.application-type-card.featured {
  background: linear-gradient(135deg, #1F2F3F, #C8A45A);
  color: #ffffff;
}

.application-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(200, 164, 90, 0.14);
  color: #B8934A;
  font-size: 1.35rem;
}

.application-type-card.featured .application-type-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.application-type-card h3 {
  margin: 0;
  color: #1F2F3F;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 900;
}

.application-type-card.featured h3 {
  color: #ffffff;
}

.application-type-card p {
  margin: 0;
  color: rgba(31, 47, 63, 0.7);
  line-height: 1.8;
  font-size: 0.96rem;
}

.application-type-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.application-type-card span {
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(31, 47, 63, 0.06);
  color: #1F2F3F;
  padding: 0.28rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.application-type-card.featured span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.application-card-link {
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.34rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 900;
}

.application-card-link:hover,
.application-card-link:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.application-type-card:not(.featured) .application-card-link {
  background: linear-gradient(135deg, #1F2F3F, #C8A45A);
  color: #ffffff;
}

.application-type-card:not(.featured) .application-card-link:hover,
.application-type-card:not(.featured) .application-card-link:focus-visible {
  filter: brightness(1.06);
}

.google-form-section {
  padding-top: 0;
}

.google-form-shell {
  max-width: 1120px;
  margin-inline: auto;
  border: 1px solid rgba(31, 47, 63, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 52px -38px rgba(31, 47, 63, 0.45);
  overflow: hidden;
}

.google-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: 1px solid rgba(31, 47, 63, 0.1);
}

.google-form-head h2 {
  margin: 0;
  color: #1F2F3F;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.25;
}

.google-form-head p:not(.application-kicker) {
  margin: 0.5rem 0 0;
  color: rgba(31, 47, 63, 0.72);
  line-height: 1.8;
}

.google-form-open-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1F2F3F, #C8A45A);
  color: #ffffff;
  font-weight: 900;
  padding-inline: 1rem;
  white-space: nowrap;
}

.google-form-open-btn:hover,
.google-form-open-btn:focus-visible {
  color: #ffffff;
  filter: brightness(1.06);
}

.google-form-frame-wrap {
  background: #f7f9fb;
  padding: 0;
}

.google-form-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 860px;
  border: 0;
  background: #ffffff;
}

.fire-application-section {
  padding-top: 0;
}

.fire-application-document {
  max-width: 1080px;
  margin-inline: auto;
  border: 1px solid rgba(31, 47, 63, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 52px -38px rgba(31, 47, 63, 0.45);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.fire-application-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(31, 47, 63, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.fire-application-head h2 {
  margin: 0;
  color: #1F2F3F;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  font-weight: 900;
  line-height: 1.25;
}

.fire-print-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1F2F3F, #C8A45A);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 900;
  padding-inline: 1rem;
}

.fire-print-btn:hover,
.fire-print-btn:focus-visible {
  color: #ffffff;
  filter: brightness(1.05);
}

.fire-form-section {
  border: 1px solid rgba(31, 47, 63, 0.1);
  border-radius: 18px;
  background: #fbfcfd;
  padding: 1rem;
  margin-top: 0.85rem;
}

.fire-form-section h3 {
  margin: 0 0 0.8rem;
  color: #1F2F3F;
  font-size: 1.18rem;
  font-weight: 900;
}

.fire-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.fire-field-grid > div,
.fire-field-grid > label {
  min-height: 50px;
  border: 1px dashed rgba(31, 47, 63, 0.22);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.68rem 0.75rem;
  display: grid;
  align-content: start;
  gap: 0.38rem;
  color: #1F2F3F;
  font-weight: 800;
}

.fire-field-grid > .wide,
.fire-field-grid > label.wide {
  grid-column: 1 / -1;
}

.fire-field-grid span,
.fire-field-grid strong {
  color: #1F2F3F;
  line-height: 1.65;
}

.fire-field-grid strong {
  font-weight: 900;
}

.fire-input,
.fire-table-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(31, 47, 63, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0.48rem 0.62rem;
  font: inherit;
  font-weight: 700;
}

textarea.fire-input {
  min-height: 86px;
  resize: vertical;
}

.fire-input:focus,
.fire-table-input:focus {
  border-color: rgba(200, 164, 90, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(200, 164, 90, 0.14);
  outline: 0;
}

.fire-choice-box {
  align-content: start;
}

.fire-choice-box > span {
  color: #1F2F3F;
  font-weight: 900;
}

.fire-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.fire-checkbox-list span,
.fire-checkbox-list label,
.fire-choice-box label {
  color: #1F2F3F;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.fire-checkbox-list input,
.fire-choice-box input {
  width: 18px;
  height: 18px;
  accent-color: #C8A45A;
}

.fire-checkbox-list.coverage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fire-amounts-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  overflow: hidden;
  border-radius: 12px;
}

.fire-amounts-table th,
.fire-amounts-table td {
  border: 1px solid rgba(31, 47, 63, 0.16);
  padding: 0.75rem;
  color: #1F2F3F;
  height: 48px;
}

.fire-amounts-table th {
  background: rgba(31, 47, 63, 0.06);
  font-weight: 900;
}

.fire-table-input {
  min-height: 38px;
  border-style: dashed;
}

.fire-form-section.declaration p {
  margin: 0;
  color: #1F2F3F;
  line-height: 1.9;
  font-weight: 700;
}

.fire-signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fire-signature-grid span {
  border-bottom: 1px solid rgba(31, 47, 63, 0.35);
  color: #1F2F3F;
  padding: 0.55rem 0;
  font-weight: 800;
}

.support-modal .modal-content {
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 16px;
}

.support-modal .modal-header {
  border-bottom-color: rgba(31, 42, 55, 0.1);
}

.support-modal .modal-title {
  color: var(--text-dark);
  font-weight: 800;
}

.support-modal-note {
  margin-bottom: 0.75rem;
  color: rgba(31, 42, 55, 0.72);
}

.support-modal-list {
  display: grid;
  gap: 0.6rem;
}

.support-modal-list div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-dark);
}

.support-modal-list a {
  color: #B8934A;
  font-weight: 700;
}

.support-modal .modal-footer {
  border-top-color: rgba(31, 42, 55, 0.1);
  justify-content: center;
  gap: 0.6rem;
}

.support-modal-btn {
  border: 2px solid #C8A45A;
  color: #C8A45A;
  border-radius: 999px;
  font-weight: 800;
}

.support-modal-btn:hover,
.support-modal-btn:focus {
  background-color: rgba(10, 163, 191, 0.08);
  color: #C8A45A;
}

.support-modal-btn-alt {
  border-color: #C8A45A;
  color: #C8A45A;
}

.support-modal-btn-alt:hover,
.support-modal-btn-alt:focus {
  background-color: rgba(201, 162, 74, 0.1);
  color: #C8A45A;
}

@media (max-width: 1199.98px) {
  .quick-card h3 {
    font-size: 1.35rem;
  }

  .quick-card p {
    font-size: 1rem;
  }

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

@media (max-width: 991.98px) {
  .forms-main {
    padding-top: 5.6rem;
  }

  .contact-side {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .form-box {
    padding: 1rem 0.9rem;
  }

  .form-subtitle {
    font-size: 1rem;
  }

  .form-submit-wrap .submit-btn,
  .form-box > .submit-btn {
    width: 100%;
    min-width: 100%;
  }

  .application-types-shell {
    border-radius: 18px;
    padding: 1rem 0.85rem;
  }

  .application-types-head {
    text-align: start;
  }

  .application-kicker {
    margin-inline: 0;
  }

  .application-types-grid {
    grid-template-columns: 1fr;
  }

  .application-type-card {
    min-height: auto;
  }

  .google-form-head {
    align-items: stretch;
    flex-direction: column;
  }

  .google-form-open-btn {
    width: 100%;
    justify-content: center;
  }

  .google-form-frame-wrap iframe {
    min-height: 760px;
  }

  .fire-application-head {
    align-items: stretch;
    flex-direction: column;
  }

  .fire-print-btn {
    width: 100%;
    justify-content: center;
  }

  .fire-field-grid,
  .fire-checkbox-list.coverage,
  .fire-signature-grid {
    grid-template-columns: 1fr;
  }

  .fire-form-section {
    padding: 0.85rem;
  }
}

@media print {
  body {
    background: #ffffff !important;
  }

  .tkf-site-header,
  .forms-hero,
  .forms-quote,
  .fire-print-btn,
  .tkf-ai-fab {
    display: none !important;
  }

  body.has-site-nav {
    padding-top: 0 !important;
  }

  .forms-main,
  main > section {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
  }

  .fire-application-document {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .fire-form-section {
    break-inside: avoid;
    background: #ffffff;
  }
}



