/***************************/
/* HERO SECTION */
/***************************/

.section-hero {
  /* margin-top: 9.6rem; */
  margin-bottom: 9.6rem;
  /* background-color: #f4f9ff; */
  background-color: #fff;
  padding: 4.8rem 0 9.6rem 0;
  overflow-x: clip;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 150%;
}

/* .hero-img-box img:hover {
  transform: scale(1.1);
  transition: all 0.4s;
} */

/* .page {
  min-height: 100vh;  
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2rem;
} */

/***************************/
/* CALCULATOR */
/***************************/
.calc {
  margin-bottom: 9.6rem;
}

.grid-calc {
  grid-template-columns: 2fr 1fr;
  align-items: start;
  column-gap: 3.2rem;
}

.calculator-expl {
  background: #99adc2;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 3.6rem;
}

.calculator-expl h2,
.calculator-expl p,
.calculator-expl ul {
  color: #003366;
}

/* .calculator-expl:hover {
  transform: scale(1.15);
  transition: all 0.4s;
} */

.calculator-card {
  /* max-width: 72rem; */
  font-size: 2rem;
  background: #ffffff;
  padding: 3.2rem;
  /* border-radius: 1.6rem; */
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.08);
}

.calculator-card h2 {
  margin-top: 0;
  font-size: 3.2rem;
  line-height: 1.2;
}

.calculator-card,
.calculator-expl {
  border-radius: 0.8rem;
}

.form-group {
  margin-top: 2.2rem;
}

.error-message-calc {
  display: none;
  color: red;
  font-size: 1.6rem;
}

.helper-text {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: #555;
}

.invalid {
  outline: 2px dashed red;
}

#result-card {
  scroll-margin-top: 8rem;
}

.result-card {
  display: none;
  margin-top: 2.4rem;
  padding: 2rem;
  border-radius: 1.2rem;
  background: #f4f7fb;
  border: 1px solid #d8e0ea;
}

.result-label {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  color: #5f6f86;
}

.result-value {
  margin: 0 0 1.2rem;
  font-size: 2.8rem;
  font-weight: 600;
}

.result-message {
  margin: 0;
}

.result-signal {
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.result-card.low {
  border-left: 0.6rem solid #6b7280;
}

.result-card.meaningful {
  border-left: 0.6rem solid #f59e0b;
}

.result-card.serious {
  border-left: 0.6rem solid #dc2626;
}

.calculator-button,
.reset-button {
  width: 100%;
  margin-top: 2rem;
  padding: 1.4rem 1.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
}

.calculator-button {
  background: #001429;
  color: #ffffff;
  border: none;
}

.reset-button {
  color: #001429;
  background: #fff;
  border: 1px solid #001429;
}

/***************************/
/* EXECUTION DRIFT */
/***************************/

.execution-drift {
  background-color: #fff;
  padding: 4.8rem 9.6rem 12.8rem;
  margin-bottom: 0;
}

.execution-drift .grid {
  row-gap: 3.2rem;
  align-items: center;
}

.step-text-box p {
  line-height: 1.6;
  text-align: left;
}

.execution-drift-img {
  width: 110%;
  height: auto;
  /* transform: translateY(-8rem); */
}

.execution-slows-img {
  width: 110%;
  height: auto;
  transform: translateX(-1rem);
}

.business-impact-img {
  width: 100%;
  height: auto;
}

/* .business-impact-img {
  transform: translateY(-8rem);
} */

.execution-drift h2.heading-secondary {
  text-align: center;
}

/***************************/
/* SECTION CLARITY COMPASS */
/***************************/
.section-clarity-compass {
  margin-bottom: 6.4rem;
}

.clarity-compass-container {
  background-color: #fff;
  margin-top: -4.8rem;
  /* box-shadow:
  0 - X movement
  2.4rem - Y movement
  4.8rem - blur
  (r, g, b, a) */
  box-shadow: 0 2.4rem 4.8rem rgba(0, 51, 102, 0.08);
  padding: 4.8rem 16rem;
  border-radius: 0.8rem;
  border: 1px solid #003366;
}

.clarity-compass-container p {
  max-width: 78ch;
}

.section-clarity-compass p:last-child,
.section-clarity-compass ul:last-child {
  /* Adds spacing after the last paragraph or list in each Clarity Compass content block. */
  margin-bottom: 4.8rem;
}

.section-clarity-compass h3 {
  border-bottom: 5px solid #003366;
}

.clarity-compass-transition {
  border-top: 1px solid #6685a3;
  padding-top: 3.2rem;
}

/***************************/
/* SECTION SAMPLE REPORT */
/***************************/

.section-sample-report {
  margin-bottom: 6.4rem;
  /*   border-top: 1px solid #d2deea;
  border-bottom: 1px solid #d2deea; */
}

.sample-report-container {
  /* 1140px; 1200px <-- standard */
  /* max-width: 120rem; */
  max-width: 200rem;
  align-items: center;
  padding: 0;
  margin: 0 auto;
}

.sample-report-proof-img {
  width: 100%;
  height: auto;
}

.sample-report-copy {
  padding-left: 6.4rem;
  max-width: 70rem;
}

.sample-report-disclosure {
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.6;
}

/***************************/
/* SECTION EXECUTIVE REVIEW */
/***************************/

.section-executive-review {
  background-color: #fff;
}

.container-executive-review {
  padding: 6.4rem 0;
  row-gap: 0;
}

.executive-review-item {
  margin-bottom: 2.4rem;
}

.executive-review-item:last-child {
  margin-bottom: 0;
}

.executive-review-item:last-child p {
  margin-bottom: 0;
}

.executive-review-item strong {
  font-size: 1.8rem;
}

.executive-risk-review-details {
  /* Keep the details panel in the right column and let it span both grid rows,
   so the booking block can sit directly below the headline in the left column. */
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

/***************************/
/* SECTION TESTIMONIALS */
/***************************/

.section-testimonials {
  background-color: #f4f9ff;
}

.container-testimonials {
  align-items: center;
  margin: 0 auto;
  max-width: 160rem;
  padding: 6.4rem 0;
}

/* .heading-testimonials {
  border-bottom: 5px solid #003366;
} */

.testimonial-cards {
  color: #555;
  /* background-color: #d2deea;
  border: 3px solid #003366;
  border-radius: 0.8rem; */
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 51, 102, 0.08);
  max-width: 48rem;
  background-color: #fff;
  padding: 4.8rem;
  border-radius: 0.8rem;
}

.testimonial-img-box {
  width: 80%;
  margin: 0 auto;
  display: flex;
  background-color: #eaf3fa;
  border-radius: 0.8rem;
  justify-content: center;
  align-items: flex-end;
  height: 18rem;
  /* margin-bottom: 1.6rem; */
}

.testimonial-text-box {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.testimonial-name {
  color: #172033;
  font-weight: 700;
}

p.testimonial-name,
p.testimonial-job-title {
  margin-bottom: 0;
}

.step-img-taavi {
  width: 40%;
}
.step-img-katre {
  width: 55%;
}
.step-img-riia {
  width: 33%;
}

.testimonial-text::before {
  content: "“";
  font-size: 6.2rem;
  color: #003366;
  display: block;
  line-height: 1;
  font-family: "Arial Black", Arial, sans-serif;
  margin-bottom: -2.4rem;
  margin-left: -3.6rem;
}

.testimonial-text,
.testimonial-author {
  padding-left: 3.6rem;
}

/***************************/
/* SECTION CTA */
/***************************/

.section-cta {
  background-color: #001f3d;
}

.container-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6.4rem 0;
}

.section-cta h2,
.section-cta p {
  color: #fff;
}

.section-cta .btn {
  display: flex;
  align-items: center;
  padding: 1.6rem 2.4rem;
}

/***************************/
/* SECTION FAQ */
/***************************/

.section-faq {
  background-color: #fff;
}

.container-faq {
  padding-top: 6.4rem;
  padding-bottom: 6.4rem;
}

summary {
  display: flex;
  justify-content: space-between;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2.4rem;
  color: #001429;
  cursor: pointer;
  list-style: none;
}

.faq-list {
  max-width: 70rem;
}

summary::after {
  content: "+";
  font-size: 2.4rem;
  font-weight: 600;
  color: #003366;
}

details[open] summary::after {
  content: "−";
}

details {
  border-bottom: 1px solid #d2deea;
  padding-top: 1.6rem;
}

details[open] summary {
  margin-bottom: 0.8rem;
  color: #003366;
}

details p {
  padding-left: 1.6rem;
}

/***************************/
/* SECTION FINAL CTA */
/***************************/

.section-final-cta {
  background-color: #002952;
}

.final-cta-content {
  max-width: 75rem;
  margin: 0 auto;
  text-align: center;
  padding: 6.4rem 0;
}

.section-final-cta .eyebrow,
.section-final-cta h2,
.section-final-cta p {
  color: #fff;
}

.section-final-cta h2 {
  margin-bottom: 2.4rem;
}

.final-cta-sample-report-link {
  display: block;
  margin-top: 1.6rem;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.2;
}

.final-cta-sample-report-link:hover,
.final-cta-sample-report-link:active {
  color: #888;
  transition: 0.5s;
}

/***************************/
/* FOOTER */
/***************************/

footer {
  background-color: #001429;
}

footer a,
footer p {
  font-size: 1.4rem;
  color: #888;
  margin-bottom: 0;
  line-height: 1.6;
}

footer a:hover,
footer a:active {
  color: #fff;
  transition: 0.5s;
}

.footer {
  justify-content: space-between;
  padding: 3.2rem;
}

.links-contact {
  display: flex;
  justify-content: flex-end;
  gap: 2.4rem;
}

.copyright {
  padding: 1.6rem 0;
  border-top: 1px solid #888;
  text-align: center;
}

.copyright p {
  font-size: 1.2rem;
}

/*********************************/
/* ANALYTICS CONSENT */
/*********************************/

body:has(.analytics-consent:not([style*="display: none"]))::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 20, 41, 0.65);
  z-index: 1000;
}

.analytics-consent {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 54rem);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  background-color: #eaf3fa;
  color: #001429;
  padding: 3rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 20, 41, 0.2);
}

.analytics-consent p {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  max-width: 110rem;
  margin-inline: auto;
  text-align: left;
}

.analytics-consent-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.analytics-consent-buttons button {
  padding: 1.2rem 2rem;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 0.9rem;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

#accept-analytics {
  background-color: #001429;
  color: #ffffff;
  border: 1px solid #001429;
}

#accept-analytics:hover {
  background-color: #19334d;
}

#decline-analytics {
  background-color: #ffffff;
  color: #001429;
  border: 1px solid #001429;
}

#decline-analytics:hover {
  background-color: #dceaf5;
}
