:root {
  --teal: #43d5cf;
  --teal-600: #0b8aa0;
  --deep: #07566b;
  --deep-900: #042f3f;
  --ink: #07191d;
  --muted: #5e7075;
  --line: #dbe8e8;
  --paper: #f7fbfa;
  --surface: #ffffff;
  --soft: #edf7f6;
  --shadow: 0 28px 80px rgba(4, 47, 63, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(67, 213, 207, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section-pad {
  padding: clamp(84px, 11vw, 150px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 830px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.86rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--deep);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-light {
  background: #fff;
  color: var(--deep-900);
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(4, 47, 63, 0.08);
  padding: 0.6rem 0.7rem 0.6rem 1.15rem;
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.brand img {
  width: 148px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border-radius: 999px;
  background: var(--deep-900);
  color: #fff;
  padding: 0.78rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px 20px 28px;
  color: #fff;
  background: var(--deep-900);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 47, 63, 0.9) 0%, rgba(4, 47, 63, 0.45) 46%, rgba(4, 47, 63, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 47, 63, 0.72) 0%, rgba(4, 47, 63, 0) 42%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-bottom: clamp(48px, 9vw, 120px);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 12vw, 10.6rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 1.35rem 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), 100%);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  padding: 1.05rem 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.hero-panel span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.intro {
  background: #fff;
}

.intro-grid,
.pricing-grid,
.calculator-shell,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-text p,
.pricing p,
.calculator-copy p {
  margin: 0 0 1rem;
}

.method {
  background: var(--paper);
}

.section-head {
  display: grid;
  gap: 0;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-item {
  min-height: 310px;
  padding: 2rem 2rem 0 0;
}

.process-item + .process-item {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.process-item span {
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.process-item h3,
.service-card h3 {
  margin: 3rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.process-item p,
.service-card p,
.calculator-copy,
.pricing,
.faq p,
.calculator-note {
  color: var(--muted);
}

.calculator-section {
  background: #fff;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.calculator-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.calc-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.price {
  display: block;
  margin-top: -0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  line-height: 0.92;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(67, 213, 207, 0.2);
  color: var(--deep);
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label,
.type-group legend {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.88rem 0.25rem;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.stepper input[type="number"] {
  appearance: textfield;
}

.stepper-button {
  height: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--deep);
  font-size: 1.4rem;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.stepper-button:hover {
  background: var(--soft);
}

.stepper-button:active {
  transform: scale(0.92);
}

.type-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
}

.type-group legend {
  grid-column: 1 / -1;
  margin-bottom: 0.1rem;
}

.type-card {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  padding: 1rem;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.type-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 138, 160, 0.35);
}

.type-card.is-selected {
  border-color: transparent;
  background: var(--deep-900);
  color: #fff;
  box-shadow: 0 18px 42px rgba(4, 47, 63, 0.2);
}

.type-card span {
  display: block;
  font-weight: 900;
}

.type-card small {
  display: block;
  margin-top: 0.35rem;
  color: inherit;
  opacity: 0.68;
}

.calc-detail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.calc-cta {
  width: 100%;
  margin-top: 1.2rem;
}

.calculator-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

.services {
  background: var(--paper);
}

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

.service-card {
  min-height: 280px;
  background: #fff;
  padding: 1.5rem;
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: var(--soft);
}

.pricing {
  background: #fff;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-table [role="row"] {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
}

.price-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.price-table .table-head {
  background: var(--deep-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.price-table [role="cell"]:nth-child(2) {
  color: var(--muted);
}

.price-table .table-minimum {
  grid-template-columns: 1fr auto;
  background: var(--soft);
}

.price-table .table-minimum strong {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 1.15rem 1.25rem;
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  font-weight: 900;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-600);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq p {
  margin: 1rem 0 0;
}

.final-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(67, 213, 207, 0.26), transparent 38%),
    linear-gradient(135deg, var(--deep-900), var(--teal-600));
  color: #fff;
}

.final-cta img {
  width: min(430px, 86vw);
  margin-bottom: 2.5rem;
}

.final-cta h2 {
  margin: 0;
  max-width: 700px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
}

.final-contact {
  align-self: end;
}

.final-contact p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

address {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

address a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  background: var(--deep-900);
  color: rgba(255, 255, 255, 0.58);
  padding: 2rem 1rem;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 40px rgba(4, 47, 63, 0.24);
  padding: 0.85rem 1rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    inset: 12px 12px auto;
    width: calc(100% - 24px);
  }

  .site-nav {
    display: none;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: 780px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(4, 47, 63, 0.88) 0%, rgba(4, 47, 63, 0.28) 70%),
      linear-gradient(90deg, rgba(4, 47, 63, 0.54), rgba(4, 47, 63, 0.04));
  }

  .hero-panel,
  .intro-grid,
  .pricing-grid,
  .calculator-shell,
  .final-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel span + span,
  .process-item + .process-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .process-item,
  .process-item + .process-item {
    min-height: auto;
    padding: 1.5rem 0;
  }

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

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 72px 0;
  }

  .nav-cta {
    padding: 0.72rem 0.9rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 720px;
    padding: 112px 14px 14px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.7rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel span {
    padding: 0.9rem;
  }

  .measure-grid,
  .type-group,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .type-card {
    min-height: 92px;
  }

  .calc-topline,
  .calc-detail {
    display: grid;
  }

  .price-table [role="row"] {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .price-table .table-head {
    display: none;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
