:root {
  --ink: #10242a;
  --muted: #56666a;
  --deep: #003f42;
  --deep-2: #00585d;
  --gold: #c99a37;
  --line: #dbe5e4;
  --soft: #f4f8f7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 44, 48, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 63, 66, 0.1);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 196px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--deep);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 63, 66, 0.18);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

.hero {
  position: relative;
  height: calc(100vh - 92px);
  min-height: 640px;
  max-height: 760px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.hero::after {
  position: absolute;
  right: -3vw;
  bottom: -1px;
  width: 22vw;
  min-width: 260px;
  height: 88px;
  background: linear-gradient(145deg, var(--gold) 0 42%, var(--deep) 42% 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(780px, 58vw);
  max-width: none;
  padding: 56px 24px 76px max(24px, calc((100vw - var(--max)) / 2));
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.7vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.hero p {
  max-width: 570px;
  margin: 26px 0 0;
  color: #243a40;
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(0, 63, 66, 0.21);
}

.btn-light {
  border-color: rgba(0, 63, 66, 0.35);
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: 1;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0 8%, rgba(255, 255, 255, 0.88) 21%, rgba(255, 255, 255, 0.12) 50%, rgba(0, 63, 66, 0.14) 100%);
  content: "";
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trust-strip,
.section,
.split-section,
.contact-section,
.form-section,
.cta-band,
.legal-section {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.trust-strip {
  padding: 26px 0 56px;
}

.trust-strip h2 {
  margin: 0 0 22px;
  text-align: center;
  color: var(--deep);
  font-size: 21px;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.strengths article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px 14px;
  align-items: center;
  padding: 20px 10px;
  border-right: 1px solid var(--line);
}

.strengths article:last-child {
  border-right: 0;
}

.strengths svg,
.service-icon svg,
.contact-panel svg,
.check-list svg,
.mini-grid svg {
  width: 36px;
  height: 36px;
  color: var(--deep);
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strengths strong {
  display: block;
  font-size: 15px;
}

.strengths span {
  display: block;
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 66px 0;
}

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

.section-heading h2,
.split-copy h2,
.contact-panel h2,
.cta-band h2,
.legal-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.section-heading p,
.split-copy p,
.contact-panel p,
.cta-band p,
.document-card p,
.legal-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-card {
  min-height: 245px;
  padding: 30px;
  background: var(--white);
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 7px;
  background: var(--soft);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.service-card a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-grid article {
  padding: 12px 28px 8px;
  border-left: 1px solid var(--line);
}

.process-grid article:first-child {
  border-left: 0;
}

.process-grid span {
  display: block;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1;
}

.process-grid h3 {
  margin: 20px 0 9px;
  font-size: 17px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 36, 42, 0.07);
}

.testimonial-card p {
  margin: 0 0 28px;
  color: #2d4248;
  font-size: 16px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 14px;
}

.testimonial-card .stars {
  margin-top: 18px;
  color: var(--gold);
  letter-spacing: 1px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--deep), #006066);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  opacity: 0.82;
}

.page-hero {
  display: flex;
  align-items: end;
  min-height: 360px;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2)) 70px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 44%, rgba(255, 255, 255, 0.58) 68%, rgba(0, 63, 66, 0.22)),
    url("/assets/images/hero-recovery.png") center / cover;
  border-bottom: 3px solid var(--gold);
}

.page-hero.slim {
  min-height: 330px;
}

.page-hero div {
  max-width: 780px;
}

.page-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: #2d4248;
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 58px;
  align-items: center;
  padding: 76px 0;
}

.split-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-grid span {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--deep);
  font-weight: 800;
}

.mini-grid svg,
.check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #2d4248;
  font-weight: 700;
}

.document-card {
  padding: 38px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--soft);
}

.document-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.article-grid,
.standards-list,
.detail-layout,
.resource-stack,
.checklist-layout {
  display: grid;
  gap: 18px;
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-grid article,
.detail-layout article,
.long-form,
.checklist-panel,
.standards-list article,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(16, 36, 42, 0.05);
}

.article-grid article,
.detail-layout article,
.long-form,
.checklist-panel {
  padding: 28px;
}

.article-grid h3,
.detail-layout h3,
.long-form h3,
.checklist-panel h3,
.standards-list h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.article-grid p,
.detail-layout p,
.long-form p,
.standards-list p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.resource-stack {
  grid-template-columns: 1fr;
}

.long-form {
  max-width: 980px;
  margin-inline: auto;
}

.long-form h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.long-form p + p {
  margin-top: 14px;
}

.checklist-layout {
  grid-template-columns: repeat(2, 1fr);
}

.checklist-panel {
  background: var(--soft);
}

.knowledge-section,
.standards-section,
.story-section {
  border-top: 1px solid var(--line);
}

.standards-list {
  grid-template-columns: repeat(4, 1fr);
}

.standards-list article {
  padding: 26px;
}

.standards-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--deep);
}

.standards-list svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.detail-layout {
  grid-template-columns: repeat(2, 1fr);
}

.faq-section {
  border-top: 1px solid var(--line);
}

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

.faq-grid details {
  padding: 0;
  overflow: hidden;
}

.faq-grid summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

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

.faq-grid summary::after {
  float: right;
  color: var(--gold);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

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

.faq-grid p {
  padding: 0 22px 22px;
}

.legal-section {
  max-width: 920px;
  padding: 72px 0;
}

.legal-section h2 {
  margin-top: 34px;
  font-size: 30px;
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 76px 0;
}

.contact-section > div:last-child {
  min-width: 0;
}

.contact-panel {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-panel ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.contact-panel li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  color: #263d43;
  font-weight: 700;
}

.contact-panel svg {
  width: 28px;
  height: 28px;
}

.contact-form,
.case-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 36, 42, 0.06);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(0, 63, 66, 0.1);
}

.form-section {
  padding: 76px 0;
}

.case-form {
  max-width: 900px;
  margin-inline: auto;
}

.case-form .btn,
.contact-form .btn {
  justify-self: start;
}

.notice {
  max-width: 900px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 63, 66, 0.25);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--deep);
}

.notice-error {
  border-color: rgba(160, 44, 44, 0.28);
  background: #fff5f3;
  color: #8a2424;
}

.floating-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0ca65b;
  color: var(--white);
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(12, 166, 91, 0.32);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.75fr;
  gap: 42px;
  padding: 46px max(24px, calc((100vw - var(--max)) / 2)) 22px;
  background: var(--deep);
  color: var(--white);
}

.site-footer p,
.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  max-width: 330px;
  margin: 16px 0 0;
}

.site-footer address,
.site-footer nav {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer strong {
  margin-bottom: 8px;
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    display: block;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    padding: 70px 24px 360px;
  }

  .hero-media {
    inset: auto 0 0;
    height: 390px;
  }

  .hero-media::before {
    background: linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0.5) 30%, rgba(0, 63, 66, 0.16) 100%);
  }

  .strengths,
  .process-grid,
  .testimonial-grid,
  .article-grid,
  .standards-list,
  .detail-layout,
  .checklist-layout,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-image {
    aspect-ratio: 16 / 9;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 78px;
    padding: 14px 18px;
  }

  .brand img {
    width: 166px;
  }

  .site-nav {
    top: 78px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-copy {
    padding: 52px 20px 300px;
  }

  .hero-media {
    height: 310px;
  }

  .hero::after {
    height: 56px;
  }

  .trust-strip,
  .section,
  .split-section,
  .contact-section,
  .form-section,
  .cta-band,
  .legal-section {
    width: min(100% - 32px, var(--max));
  }

  .strengths,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .article-grid,
  .standards-list,
  .detail-layout,
  .checklist-layout,
  .faq-grid,
  .mini-grid,
  .contact-form,
  .case-form {
    grid-template-columns: 1fr;
  }

  .strengths article,
  .process-grid article {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .page-hero {
    min-height: 300px;
    padding: 60px 20px 46px;
  }

  .section {
    padding: 48px 0;
  }

  .cta-band {
    display: grid;
    padding: 26px;
  }

  .contact-panel,
  .contact-form,
  .case-form,
  .document-card {
    padding: 24px;
  }

  label.wide {
    grid-column: auto;
  }

  .floating-whatsapp {
    position: static;
    width: min(100% - 32px, 360px);
    min-height: 46px;
    margin: 26px auto 0;
    padding: 0 16px;
    border-radius: 5px;
    justify-content: center;
  }

  .floating-whatsapp span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 38px 20px;
  }
}
