:root {
  --ink: #061a35;
  --ink-soft: #33425a;
  --paper: #fff8df;
  --paper-strong: #fffdf5;
  --stone: #efe4c8;
  --teal: #061a35;
  --teal-dark: #031126;
  --brass: #ffc400;
  --brass-dark: #d99d00;
  --red: #ffc400;
  --white: #ffffff;
  --line: rgba(6, 26, 53, 0.16);
  --shadow: 0 24px 70px rgba(6, 26, 53, 0.18);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(6, 26, 53, 0.14);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(6, 26, 53, 0.16);
  backdrop-filter: blur(16px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(172px, 20vw, 230px);
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(6, 26, 53, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .main-nav {
  border-color: rgba(6, 26, 53, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

.main-nav a {
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.86rem;
  color: currentColor;
  opacity: 0.86;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--ink);
  color: var(--white);
  opacity: 1;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(6, 26, 53, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.site-header.is-scrolled .icon-link {
  border-color: rgba(6, 26, 53, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

.icon-link svg,
.btn svg,
.service-icon svg,
.quick-action svg,
.floating-whatsapp svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.wa-icon path:first-child {
  fill: currentColor;
  stroke: none;
}

.wa-icon path:last-child {
  fill: var(--white);
  stroke: none;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible,
.quick-action:hover,
.quick-action:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: rgba(255, 196, 0, 0.7);
  box-shadow: 0 16px 28px rgba(6, 26, 53, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-dark);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.btn-whatsapp {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(3, 17, 38, 0.24);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 17, 38, 0.88) 0%, rgba(3, 17, 38, 0.66) 38%, rgba(3, 17, 38, 0.16) 68%, rgba(3, 17, 38, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 17, 38, 0.42) 0%, rgba(3, 17, 38, 0) 30%, rgba(3, 17, 38, 0.48) 100%);
}

.hero-content {
  width: var(--container);
  align-self: center;
  margin: 76px auto 34px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 1px;
  width: min(100%, 520px);
  margin: 30px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-facts div {
  padding: 16px;
  background: rgba(3, 17, 38, 0.3);
}

.hero-facts dt {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 860;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.intro-band {
  background: var(--teal-dark);
  color: var(--white);
  border-top: 3px solid var(--brass);
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.intro-grid p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.text-link {
  color: var(--brass);
  font-weight: 800;
}

.section {
  padding: clamp(72px, 10vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1fr);
  gap: 28px 72px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.method-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.method-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

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

.service-card {
  min-height: 262px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.86);
  box-shadow: 0 12px 30px rgba(6, 26, 53, 0.06);
}

.service-card h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.24);
  color: var(--teal);
}

.featured-service {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 196, 0, 0.46);
}

.featured-service p {
  color: rgba(255, 255, 255, 0.76);
}

.featured-service .service-icon {
  background: rgba(255, 196, 0, 0.18);
  color: var(--brass);
}

.method-section {
  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--paper-strong);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 110px;
}

.method-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.timeline {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
  padding: 24px;
  background: var(--paper-strong);
}

.timeline span {
  color: var(--red);
  font-weight: 860;
}

.timeline strong {
  font-size: 1.06rem;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    linear-gradient(90deg, rgba(255, 196, 0, 0.18), transparent 46%),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.contact-quick {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.quick-action {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.86);
  box-shadow: 0 12px 34px rgba(6, 26, 53, 0.06);
  transition: transform 160ms ease, border-color 160ms ease;
}

.quick-action:hover,
.quick-action:focus-visible {
  border-color: rgba(255, 196, 0, 0.72);
}

.quick-action svg {
  width: 48px;
  height: 48px;
  color: var(--teal);
}

.quick-action strong,
.quick-action small {
  display: block;
}

.quick-action small {
  margin-top: 2px;
  color: var(--ink-soft);
}

.request-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.94);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 740;
}

label span {
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 23, 20, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
}

textarea {
  margin-top: 18px;
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.22);
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.form-footer p,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 760;
}

.site-footer {
  padding: 34px 0;
  background: var(--brass);
  color: var(--ink);
  border-top: 4px solid var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  max-width: 560px;
  margin: 0;
  color: rgba(6, 26, 53, 0.76);
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
  box-shadow: 0 16px 35px rgba(3, 17, 38, 0.34);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-content {
    margin-top: 104px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9.4vw, 3.4rem);
  }

  .hero-facts,
  .intro-grid,
  .section-heading,
  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    align-items: start;
  }

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

  .method-copy {
    position: static;
  }

  .timeline li {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .timeline p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .icon-link {
    display: none;
  }

  .brand-logo {
    width: min(174px, 49vw);
  }

  .btn {
    width: 100%;
  }

  .btn-small {
    width: auto;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 17, 38, 0.9), rgba(3, 17, 38, 0.58)),
      linear-gradient(180deg, rgba(3, 17, 38, 0.3), rgba(3, 17, 38, 0.5));
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 12px 14px;
  }

  .hero-facts dd {
    margin: 0;
  }

  .expertise-grid,
  .form-grid,
  .form-footer {
    grid-template-columns: 1fr;
  }

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

  .request-form {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }

  .footer-inner p {
    text-align: left;
  }

  .floating-whatsapp {
    display: none;
  }
}

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