
/* =========================================
   CREDITORE FRESH START
   Clean, responsive landing page
   ========================================= */

:root {
  --ink: #183b34;
  --ink-soft: #52635d;
  --teal: #087f76;
  --teal-dark: #06675f;
  --mint: #e8f2ed;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #e1e8e2;
  --shadow: 0 18px 55px rgba(24, 59, 52, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

/* Top navigation */

.site-header {
  width: 100%;
  min-height: 88px;
  padding: 16px clamp(20px, 5.5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border-bottom: 1px solid rgba(24, 59, 52, 0.07);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  width: 166px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--teal);
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 11px 18px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  color: var(--teal-dark);
  background: var(--white);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.header-cta strong {
  font-size: 13px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--teal);
  color: var(--white);
}

/* Hero and assessment form */

.hero {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 76px clamp(24px, 6vw, 90px) 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 105px);
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 23px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.08;
  font-weight: 750;
}

h1 span,
.section-heading h2 span {
  color: var(--teal);
}

.hero-description {
  max-width: 500px;
  margin-bottom: 27px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.benefit-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
}

.benefit-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.registration {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.registration-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 800;
}

.registration p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  line-height: 1.5;
}

.registration strong {
  font-size: 12px;
  font-weight: 750;
}

.registration p span {
  color: var(--ink-soft);
  font-size: 12px;
}

/* Assessment card */

.assessment-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: clamp(25px, 3.2vw, 42px);
  background: var(--white);
  border: 1px solid rgba(24, 59, 52, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 25px;
}

.assessment-card .eyebrow {
  margin-bottom: 10px;
}

.assessment-card h2 {
  margin-bottom: 10px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 750;
}

.form-intro {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px 14px;
  border: 1px solid #dfe6e1;
  border-radius: 7px;
  outline: none;
  background: #fcfdfb;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #89958e;
}

.form-field textarea {
  min-height: 88px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 118, 0.1);
}

.consent {
  margin: 18px 0;
}

.consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.consent input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.primary-button:focus-visible,
.header-cta:focus-visible,
.text-link:focus-visible,
.nav-menu a:focus-visible {
  outline: 3px solid rgba(8, 127, 118, 0.35);
  outline-offset: 3px;
}

.full-button {
  width: 100%;
}

.form-note {
  margin: 13px 0 0;
  color: #79867e;
  font-size: 10px;
  line-height: 1.65;
}

.whatsapp-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.whatsapp-option span {
  color: #8a958e;
  font-size: 10px;
  font-weight: 800;
}

.whatsapp-option a {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.whatsapp-option a:hover {
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 29px clamp(24px, 7vw, 100px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.trust-check {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.trust-item p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  line-height: 1.5;
}

.trust-item strong {
  font-size: 12px;
  font-weight: 750;
}

.trust-item p span {
  color: var(--ink-soft);
  font-size: 11px;
}

/* Shared content sections */

.content-section,
.steps-section,
.faq-section {
  padding: 90px clamp(24px, 6vw, 90px);
}

.content-section {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.closing-cta h2 {
  margin-bottom: 17px;
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.17;
  font-weight: 750;
}

.section-heading > p:last-child {
  max-width: 590px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

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

.story-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(24, 59, 52, 0.035);
}

.story-panel > img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  padding: 16px;
  background: #edf4ef;
}

.story-copy {
  padding: 27px 29px 30px;
}

.story-copy .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
}

.story-copy h3 {
  margin-bottom: 11px;
  font-size: 23px;
  line-height: 1.3;
}

.story-copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.disclaimer {
  margin: 18px 0 0;
  color: #7b8981;
  font-size: 11px;
  line-height: 1.7;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Steps */

.steps-section {
  background: var(--mint);
  text-align: center;
}

.steps-section .section-heading {
  margin-bottom: 42px;
}

.steps-grid {
  width: min(1100px, 100%);
  margin: 0 auto 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.step-card {
  padding: 29px;
  border: 1px solid rgba(24, 59, 52, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.85);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

/* Client stories */

.testimonials-section {
  text-align: center;
}

.testimonial-note {
  width: min(690px, 100%);
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.quote-mark {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.testimonial-note p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

/* FAQ */

.faq-section {
  background: var(--white);
}

.faq-section .section-heading {
  margin-bottom: 35px;
}

.faq-list {
  width: min(800px, 100%);
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 38px 22px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 690px;
  margin: 0;
  padding: 0 20px 23px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

/* Closing call to action */

.closing-cta {
  padding: 75px 24px;
  background: var(--ink);
  text-align: center;
}

.closing-cta .eyebrow {
  color: #8ed2c0;
}

.closing-cta h2 {
  max-width: 700px;
  margin: 0 auto 28px;
  color: var(--white);
}

.closing-cta .primary-button {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.closing-cta .primary-button:hover {
  background: var(--mint);
  border-color: var(--mint);
}

/* Footer */

.site-footer {
  padding: 43px clamp(24px, 6vw, 90px) 25px;
  background: #f0f3ef;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 30px;
}

.footer-brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.footer-main p {
  margin: 5px 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-contact a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact span {
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #dbe2dc;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.privacy-note {
  padding-top: 24px;
}

.privacy-note h2 {
  margin-bottom: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.privacy-note p {
  max-width: 900px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

/* Responsive layout */

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 7px;
  }

  .hero {
    gap: 38px;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(39px, 5vw, 56px);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    padding: 16px 20px;
    gap: 15px;
  }

  .brand img {
    width: 140px;
    max-height: 48px;
  }

  .header-cta {
    padding: 9px 12px;
  }

  .header-cta strong {
    font-size: 11px;
  }

  .nav-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 21px;
    padding: 10px 0 3px;
  }

  .nav-menu a {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 49px 22px 54px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    max-width: 570px;
    font-size: clamp(40px, 10vw, 58px);
  }

  .hero-description {
    font-size: 15px;
  }

  .assessment-card {
    max-width: 100%;
    padding: 27px 22px;
  }

  .trust-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
    padding: 27px 25px;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .content-section,
  .steps-section,
  .faq-section {
    padding: 65px 22px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .closing-cta h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .story-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .story-panel > img {
    height: 235px;
  }

  .story-copy {
    padding: 23px;
  }

  .step-card {
    padding: 25px;
  }

  .testimonial-note {
    padding: 28px 23px;
  }

  .closing-cta {
    padding: 62px 23px;
  }

  .site-footer {
    padding: 35px 23px 23px;
  }

  .footer-main {
    flex-direction: column;
    gap: 25px;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .brand img {
    width: 120px;
  }

  .header-cta {
    padding: 8px 9px;
  }

  .header-cta span {
    font-size: 9px;
  }

  .header-cta strong {
    font-size: 10px;
  }

  .nav-menu {
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
