:root {
      --bg: #e9eef3;
      --card: rgba(255, 255, 255, 0.62);
      --glass: rgba(255, 255, 255, 0.45);
      --glass-strong: rgba(255, 255, 255, 0.78);
      --text: #101828;
      --muted: #667085;
      --line: rgba(255, 255, 255, 0.7);
      --primary: #0e6f68;
      --primary-dark: #075c56;
      --primary-soft: rgba(14, 111, 104, 0.12);
      --accent: #b8832d;
      --danger: #b42318;
      --shadow: 0 30px 80px rgba(16, 24, 40, 0.22);
    }

    * {
      box-sizing: border-box;
    }

    [hidden] {
      display: none !important;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Segoe UI", Tahoma, Arial, sans-serif;
      background:
        linear-gradient(135deg, rgba(14, 111, 104, 0.16), rgba(255, 255, 255, 0) 38%),
        linear-gradient(225deg, rgba(184, 131, 45, 0.18), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #f8fbfd 0%, #e9eef3 54%, #f3f6f8 100%),
        var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
      background-size: 30px 30px;
      mask-image: linear-gradient(180deg, #000, transparent 74%);
    }

    main {
      width: min(100%, 480px);
      min-height: 100vh;
      margin: 0 auto;
      padding: 18px 12px 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      position: relative;
    }

    .card {
      width: 100%;
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.66);
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      backdrop-filter: blur(22px) saturate(140%);
      -webkit-backdrop-filter: blur(22px) saturate(140%);
    }

    .card::before {
      content: "";
      display: block;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(184, 131, 45, 0.42), transparent);
    }

    .brand-card {
      box-shadow: 0 22px 58px rgba(16, 24, 40, 0.16);
    }

    .form-card {
      box-shadow: 0 24px 70px rgba(16, 24, 40, 0.2);
    }

    .brand {
      padding: 30px 22px 20px;
      text-align: center;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24));
    }

    .logo {
      width: min(210px, 74vw);
      height: auto;
      margin: 0 auto 12px;
      display: grid;
      place-items: center;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      border: 0;
      overflow: visible;
    }

    .logo img {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
    }

    h1 {
      margin: 0;
      font-size: 24px;
      line-height: 1.45;
      font-weight: 800;
    }

    .subtitle {
      margin: 8px 0 0;
      color: #58677a;
      font-size: 14px;
      line-height: 1.7;
    }

    form {
      padding: 18px 20px 22px;
    }

    .progress {
      padding: 17px 20px 0;
      background: rgba(255, 255, 255, 0.18);
    }

    .progress-meta {
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #536174;
      font-size: 12px;
      font-weight: 700;
    }

    .progress-track {
      height: 8px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.5);
      box-shadow: inset 0 1px 5px rgba(18, 32, 51, 0.08);
    }

    .progress-fill {
      width: 20%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--primary), #1b9c92);
      transition: width 0.24s ease;
      box-shadow: 0 0 18px rgba(14, 111, 104, 0.34);
    }

    .step {
      display: none;
    }

    .step.active {
      display: block;
      animation: stepIn 0.2s ease;
    }

    .step-shell {
      padding: 2px;
    }

    @keyframes stepIn {
      from {
        opacity: 0;
        transform: translateY(6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .step-title {
      margin: 0 0 14px;
      font-size: 20px;
      line-height: 1.5;
      font-weight: 800;
    }

    .options {
      display: grid;
      gap: 10px;
    }

    .option {
      position: relative;
    }

    .option input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .option span {
      min-height: 60px;
      padding: 15px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      border: 1px solid rgba(255, 255, 255, 0.74);
      border-radius: 16px;
      color: var(--text);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.36));
      font-size: 15px;
      line-height: 1.5;
      box-shadow: 0 10px 24px rgba(18, 32, 51, 0.07);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
    }

    .option input:focus-visible + span,
    .option span:hover {
      border-color: rgba(14, 111, 104, 0.5);
      box-shadow: 0 14px 28px rgba(18, 32, 51, 0.11);
      transform: translateY(-1px);
    }

    .option span::before {
      content: "";
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      border: 2px solid rgba(83, 97, 116, 0.5);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.46);
    }

    .option input:checked + span {
      border-color: var(--primary);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 0 0 3px rgba(14, 111, 104, 0.13), 0 16px 30px rgba(14, 111, 104, 0.12);
    }

    .option input:checked + span::before {
      border: 5px solid var(--primary);
      background: #fff;
    }

    .field {
      display: grid;
      gap: 8px;
      margin-bottom: 14px;
    }

    label {
      font-size: 14px;
      color: #344054;
      font-weight: 700;
    }

    input[type="text"],
    input[type="tel"] {
      width: 100%;
      height: 52px;
      padding: 11px 13px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 16px;
      font: inherit;
      color: var(--text);
      background: rgba(255, 255, 255, 0.7);
      outline: none;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(18, 32, 51, 0.06);
    }

    input[type="text"]:focus,
    input[type="tel"]:focus {
      border-color: var(--primary);
      background: rgba(255, 255, 255, 0.86);
      box-shadow: 0 0 0 3px rgba(14, 111, 104, 0.13), 0 12px 26px rgba(18, 32, 51, 0.08);
    }

    .policy-note {
      margin: 8px 0 18px;
      padding: 12px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
      border: 1px solid rgba(255, 255, 255, 0.66);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.44);
    }

    .actions {
      margin-top: 18px;
      display: flex;
      gap: 10px;
      position: sticky;
      bottom: 0;
      padding-top: 10px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 249, 251, 0.78) 38%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    button,
    .contact-link {
      width: 100%;
      min-height: 50px;
      border: 0;
      border-radius: 16px;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }

    button:hover,
    .contact-link:hover {
      transform: translateY(-1px);
    }

    button:disabled {
      cursor: progress;
      opacity: 0.72;
      transform: none;
    }

    .primary {
      background: linear-gradient(135deg, var(--primary), #1b9c92);
      color: #fff;
      box-shadow: 0 14px 28px rgba(14, 111, 104, 0.25);
    }

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

    .secondary {
      background: rgba(255, 255, 255, 0.58);
      color: #30394a;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
    }

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

    .whatsapp {
      background: linear-gradient(135deg, #16a34a, #22c55e);
      color: #fff;
    }

    .message {
      min-height: 22px;
      margin-top: 12px;
      padding-inline: 2px;
      color: var(--danger);
      font-size: 13px;
      line-height: 1.6;
    }

    .done {
      padding: 30px 22px 26px;
      display: none;
      text-align: center;
    }

    .done.active {
      display: block;
      animation: stepIn 0.22s ease;
    }

    .done::before {
      content: "✓";
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.76);
      color: var(--primary);
      font-size: 34px;
      font-weight: 700;
      box-shadow: 0 14px 30px rgba(14, 111, 104, 0.16);
    }

    .done h2 {
      margin: 0 0 8px;
      font-size: 22px;
      line-height: 1.5;
      font-weight: 800;
    }

    .done p {
      margin: 0 0 18px;
      color: var(--muted);
      line-height: 1.8;
      font-size: 14px;
    }

    .contact-actions {
      display: none;
      gap: 10px;
      margin-top: 12px;
    }

    .contact-actions.active {
      display: flex;
    }

    .step-count {
      margin-bottom: 12px;
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      display: none;
    }

    @media (max-width: 360px) {
      main {
        padding-inline: 10px;
      }

      .brand,
      form,
      .done {
        padding-inline: 16px;
      }

      .actions,
      .contact-actions {
        flex-direction: column;
      }
    }
